Use Refineable
for ThemeStyles
(#3196)
This PR updates the `ThemeStyles` struct to use the `Refineable` trait instead of a custom declarative macro for generating refinements. Release Notes: - N/A
This commit is contained in:
parent
36a73d657a
commit
272f856460
5 changed files with 17 additions and 60 deletions
|
@ -5,7 +5,6 @@ mod registry;
|
|||
mod scale;
|
||||
mod settings;
|
||||
mod syntax;
|
||||
mod utils;
|
||||
|
||||
pub use colors::*;
|
||||
pub use default_colors::*;
|
||||
|
@ -55,7 +54,7 @@ pub struct ThemeVariant {
|
|||
pub(crate) id: String,
|
||||
pub name: SharedString,
|
||||
pub appearance: Appearance,
|
||||
pub styles: ThemeStyle,
|
||||
pub styles: ThemeStyles,
|
||||
}
|
||||
|
||||
impl ThemeVariant {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue