Update Wintergreen style
This commit is contained in:
parent
0eced435a0
commit
bea78be331
@ -154,6 +154,22 @@ var rules = []dataTheme.Rule {
|
||||
),
|
||||
},
|
||||
|
||||
// *.Container[menu]
|
||||
dataTheme.Rule {
|
||||
Role: tomo.R("", "Container", "menu"),
|
||||
Default: dataTheme.AS (
|
||||
dataTheme.AttrBorder {
|
||||
outline,
|
||||
tomo.Border {
|
||||
Width: tomo.I(1),
|
||||
Color: borderColorLifted,
|
||||
},
|
||||
},
|
||||
dataTheme.AttrColor { Color: tomo.ColorBackground },
|
||||
dataTheme.AttrGap { },
|
||||
),
|
||||
},
|
||||
|
||||
// *.Heading[*]
|
||||
dataTheme.Rule {
|
||||
Role: tomo.R("", "Heading", ""),
|
||||
@ -263,4 +279,20 @@ var rules = []dataTheme.Rule {
|
||||
dataTheme.AttrGap { X: 8, Y: 8 },
|
||||
),
|
||||
},
|
||||
|
||||
// *.MenuItem[*]
|
||||
dataTheme.Rule {
|
||||
Role: tomo.R("", "MenuItem", ""),
|
||||
Default: dataTheme.AS (
|
||||
dataTheme.AttrPadding(tomo.I(4)),
|
||||
dataTheme.AttrGap { X: 4, Y: 4 },
|
||||
dataTheme.AttrColor { Color: color.Transparent },
|
||||
),
|
||||
Hovered: dataTheme.AS (
|
||||
dataTheme.AttrColor { Color: tomo.ColorAccent },
|
||||
),
|
||||
Focused: dataTheme.AS (
|
||||
dataTheme.AttrColor { Color: tomo.ColorAccent },
|
||||
),
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user