1
0
Fork 0

Rename theme.css to widgets.css

We'll use theme.css for overriding defaults.
This commit is contained in:
Robbert van der Helm 2022-03-22 17:33:59 +01:00
parent 10bd7f46ea
commit 2e91a65f01
2 changed files with 1 additions and 1 deletions

View file

@ -23,7 +23,7 @@ pub use peak_meter::PeakMeter;
/// Register the default theme for the widgets exported by this module. This is automatically called /// Register the default theme for the widgets exported by this module. This is automatically called
/// for you when using [`create_vizia_editor()`][super::create_vizia_editor()]. /// for you when using [`create_vizia_editor()`][super::create_vizia_editor()].
pub fn register_theme(cx: &mut Context) { pub fn register_theme(cx: &mut Context) {
cx.add_theme(include_str!("../assets/theme.css")); cx.add_theme(include_str!("../assets/widgets.css"));
} }
/// An event that updates a parameter's value. Since NIH-plug manages the parameters, interacting /// An event that updates a parameter's value. Since NIH-plug manages the parameters, interacting