Include new objects in Wintergreen theme
This commit is contained in:
parent
da4af8d240
commit
dfd566b23d
@ -109,24 +109,7 @@ var rules = []dataTheme.Rule {
|
|||||||
dataTheme.Rule {
|
dataTheme.Rule {
|
||||||
Role: theme.R("", "NumberInput", ""),
|
Role: theme.R("", "NumberInput", ""),
|
||||||
Default: dataTheme.AS (
|
Default: dataTheme.AS (
|
||||||
dataTheme.AttrBorder {
|
dataTheme.AttrGap { },
|
||||||
outline,
|
|
||||||
tomo.Border {
|
|
||||||
Width: tomo.I(1),
|
|
||||||
Color: borderColorInput,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
dataTheme.AttrColor { Color: colorInput },
|
|
||||||
dataTheme.AttrPadding(tomo.I(5, 4, 4, 5)),
|
|
||||||
),
|
|
||||||
Focused: dataTheme.AS (
|
|
||||||
dataTheme.AttrBorder {
|
|
||||||
outline,
|
|
||||||
tomo.Border {
|
|
||||||
Width: tomo.I(1),
|
|
||||||
Color: borderColorFocused,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -213,4 +196,39 @@ var rules = []dataTheme.Rule {
|
|||||||
dataTheme.AttrMinimumSize { X: 12, Y: 12, },
|
dataTheme.AttrMinimumSize { X: 12, Y: 12, },
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// *.Checkbox[*]
|
||||||
|
dataTheme.Rule {
|
||||||
|
Role: theme.R("", "Checkbox", ""),
|
||||||
|
Default: dataTheme.AS (
|
||||||
|
dataTheme.AttrBorder {
|
||||||
|
outline,
|
||||||
|
tomo.Border {
|
||||||
|
Width: tomo.I(1, 0, 0, 1),
|
||||||
|
Color: borderColorEngraved,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
dataTheme.AttrColor { Color: theme.ColorSunken },
|
||||||
|
dataTheme.AttrPadding(tomo.I(0, 1, 1, 0)),
|
||||||
|
dataTheme.AttrMinimumSize { X: 19, Y: 19 },
|
||||||
|
),
|
||||||
|
Focused: dataTheme.AS (
|
||||||
|
dataTheme.AttrBorder {
|
||||||
|
outline,
|
||||||
|
tomo.Border {
|
||||||
|
Width: tomo.I(1),
|
||||||
|
Color: borderColorFocused,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
dataTheme.AttrPadding(tomo.I(0)),
|
||||||
|
),
|
||||||
|
},
|
||||||
|
|
||||||
|
// *.LabelCheckbox[*]
|
||||||
|
dataTheme.Rule {
|
||||||
|
Role: theme.R("", "LabelCheckbox", ""),
|
||||||
|
Default: dataTheme.AS (
|
||||||
|
dataTheme.AttrGap { X: 8, Y: 8 },
|
||||||
|
),
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user