Update fallback style
This commit is contained in:
parent
59f32e6c1f
commit
48990469cf
@ -145,26 +145,12 @@ rules := []style.Rule {
|
||||
tomo.AGap(0, 0),
|
||||
), tomo.R("", "NumberInput")),
|
||||
|
||||
// *.Container[sunken]
|
||||
// *.Root
|
||||
style.Ru(style.AS (
|
||||
tomo.ABorder (
|
||||
outline,
|
||||
tomo.Border {
|
||||
Width: tomo.I(1, 0, 0, 1),
|
||||
Color: borderColorEngraved,
|
||||
}),
|
||||
tomo.AColor(tomo.ColorSunken),
|
||||
// tomo.ATexture(textureCorkboard),
|
||||
tomo.APadding(8),
|
||||
), tomo.R("", "Container"), "sunken"),
|
||||
tomo.AGap(0, 0),
|
||||
), tomo.R("", "Root")),
|
||||
|
||||
// *.Container[outer]
|
||||
style.Ru(style.AS (
|
||||
tomo.AttrColor { Color: tomo.ColorBackground },
|
||||
tomo.AttrPadding(tomo.I(8)),
|
||||
), tomo.R("", "Container"), "outer"),
|
||||
|
||||
// *.Container[menu]
|
||||
// *.Root[menu]
|
||||
style.Ru(style.AS (
|
||||
tomo.AttrBorder {
|
||||
outline,
|
||||
@ -175,7 +161,38 @@ rules := []style.Rule {
|
||||
},
|
||||
tomo.AttrColor { Color: tomo.ColorBackground },
|
||||
tomo.AttrGap { },
|
||||
), tomo.R("", "Container"), "menu"),
|
||||
), tomo.R("", "Root"), "menu"),
|
||||
|
||||
// *.Pegboard
|
||||
style.Ru(style.AS (
|
||||
tomo.ABorder (
|
||||
outline,
|
||||
tomo.Border {
|
||||
Width: tomo.I(1, 0, 0, 1),
|
||||
Color: borderColorEngraved,
|
||||
}),
|
||||
tomo.AColor(tomo.ColorSunken),
|
||||
// tomo.ATexture(textureCorkboard),
|
||||
tomo.APadding(8),
|
||||
), tomo.R("", "Pegboard")),
|
||||
|
||||
// *.Segment
|
||||
style.Ru(style.AS (
|
||||
tomo.AttrBorder {
|
||||
tomo.Border {
|
||||
Width: tomo.I(1),
|
||||
Color: borderColorLifted,
|
||||
},
|
||||
},
|
||||
tomo.AttrColor { Color: tomo.ColorBackground },
|
||||
tomo.AttrPadding(tomo.I(8)),
|
||||
), tomo.R("", "Segment")),
|
||||
|
||||
// *.Segment[option]
|
||||
style.Ru(style.AS (
|
||||
tomo.AttrColor { Color: tomo.ColorSunken },
|
||||
tomo.AttrPadding(tomo.I(8)),
|
||||
), tomo.R("", "Segment"), "option"),
|
||||
|
||||
// *.Heading
|
||||
style.Ru(style.AS (
|
||||
|
Loading…
Reference in New Issue
Block a user