Add styling for TextView

This commit is contained in:
Sasha Koshka 2024-05-18 14:29:57 -04:00
parent d559cfe9da
commit 311eb0ecd2

View File

@ -105,6 +105,22 @@ var rules = []dataTheme.Rule {
},
),
},
// *.TextView[*]
dataTheme.Rule {
Role: theme.R("", "TextView", ""),
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(8)),
),
},
// *.NumberInput[*]
dataTheme.Rule {