I have built a custom theme using the theme builder and put the theme's css in the application yet I am unsure of how to use it.
This is what I did.
I replaced the SyncfusionTheme in my web config.
<add key="SyncfusionTheme" value="ColorFull" />
added it to the stylemanager
@(Html.Syncfusion().StyleManager().Combine(true).Minify(true)
.Register(component =>
{
component.Add("~/Content/ColorFull-sftools.css");
component.Add(ComponentType.Menu);
component.Add(ComponentType.RichTextEditor);
component.Add(ComponentType.Ribbon);
component.Add(ComponentType.Accordion);
component.Add(ComponentType.Rotator);
component.Add(ComponentType.Grid);
component.Add("~/Content/Site.css");
}))
Yet when I run I get the following error.
Requested value 'ColorFull' was not found.
and breaks on the "component.Add(ComponentType.Menu);" line.
How do I fix this as I do not want to have to specify the theme for each control and was advised the use the code above to fix issue I had with the menu bar because it is on a partial in the header.