From 2e91a65f016d10ff9ebfeecb3421802530623ff6 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 22 Mar 2022 17:33:59 +0100 Subject: [PATCH] Rename theme.css to widgets.css We'll use theme.css for overriding defaults. --- nih_plug_vizia/assets/{theme.css => widgets.css} | 0 nih_plug_vizia/src/widgets.rs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename nih_plug_vizia/assets/{theme.css => widgets.css} (100%) diff --git a/nih_plug_vizia/assets/theme.css b/nih_plug_vizia/assets/widgets.css similarity index 100% rename from nih_plug_vizia/assets/theme.css rename to nih_plug_vizia/assets/widgets.css diff --git a/nih_plug_vizia/src/widgets.rs b/nih_plug_vizia/src/widgets.rs index ba19be1c..6432c5cf 100644 --- a/nih_plug_vizia/src/widgets.rs +++ b/nih_plug_vizia/src/widgets.rs @@ -23,7 +23,7 @@ pub use peak_meter::PeakMeter; /// 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()]. 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