Start on welcome experience settings
This commit is contained in:
parent
a0637a769c
commit
416c793076
9 changed files with 326 additions and 66 deletions
|
@ -37,6 +37,7 @@ pub struct Theme {
|
|||
pub tooltip: TooltipStyle,
|
||||
pub terminal: TerminalStyle,
|
||||
pub feedback: FeedbackStyle,
|
||||
pub welcome: WelcomeStyle,
|
||||
pub color_scheme: ColorScheme,
|
||||
}
|
||||
|
||||
|
@ -850,6 +851,20 @@ pub struct FeedbackStyle {
|
|||
pub link_text_hover: ContainedText,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct WelcomeStyle {
|
||||
pub checkbox: CheckboxStyle,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct CheckboxStyle {
|
||||
pub width: f32,
|
||||
pub height: f32,
|
||||
pub unchecked: ContainerStyle,
|
||||
pub checked: ContainerStyle,
|
||||
pub hovered: ContainerStyle,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct ColorScheme {
|
||||
pub name: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue