Slight style tweaks to Wintergreen
This commit is contained in:
parent
7c5de5a370
commit
e46d66885d
@ -61,7 +61,7 @@ func New () (*style.Style, event.Cookie) {
|
|||||||
atlasTexture := tomo.NewTexture(atlasImage)
|
atlasTexture := tomo.NewTexture(atlasImage)
|
||||||
|
|
||||||
textureCheckboxChecked := atlasTexture.SubTexture(image.Rect( 0, 0, 12, 11))
|
textureCheckboxChecked := atlasTexture.SubTexture(image.Rect( 0, 0, 12, 11))
|
||||||
textureCorkboard := atlasTexture.SubTexture(image.Rect(16, 0, 28, 12))
|
// textureCorkboard := atlasTexture.SubTexture(image.Rect(16, 0, 28, 12))
|
||||||
textureTearLine := atlasTexture.SubTexture(image.Rect(16, 12, 18, 13))
|
textureTearLine := atlasTexture.SubTexture(image.Rect(16, 12, 18, 13))
|
||||||
textureHandleVertical := atlasTexture.SubTexture(image.Rect(28, 0, 29, 2))
|
textureHandleVertical := atlasTexture.SubTexture(image.Rect(28, 0, 29, 2))
|
||||||
textureHandleHorizontal := atlasTexture.SubTexture(image.Rect(28, 0, 30, 1))
|
textureHandleHorizontal := atlasTexture.SubTexture(image.Rect(28, 0, 30, 1))
|
||||||
@ -160,8 +160,8 @@ rules := []style.Rule {
|
|||||||
Width: tomo.I(1, 0, 0, 1),
|
Width: tomo.I(1, 0, 0, 1),
|
||||||
Color: borderColorEngraved,
|
Color: borderColorEngraved,
|
||||||
}),
|
}),
|
||||||
tomo.AColor(nil),
|
tomo.AColor(tomo.ColorSunken),
|
||||||
tomo.ATexture(textureCorkboard),
|
// tomo.ATexture(textureCorkboard),
|
||||||
tomo.APadding(8),
|
tomo.APadding(8),
|
||||||
), tomo.R("", "Container"), "sunken"),
|
), tomo.R("", "Container"), "sunken"),
|
||||||
|
|
||||||
@ -189,6 +189,11 @@ rules := []style.Rule {
|
|||||||
tomo.AAlign(tomo.AlignMiddle, tomo.AlignMiddle),
|
tomo.AAlign(tomo.AlignMiddle, tomo.AlignMiddle),
|
||||||
), tomo.R("", "Heading")),
|
), tomo.R("", "Heading")),
|
||||||
|
|
||||||
|
// *.Heading
|
||||||
|
style.Ru(style.AS (
|
||||||
|
tomo.APadding(4, 8),
|
||||||
|
), tomo.R("", "Heading"), "menu"),
|
||||||
|
|
||||||
// *.Separator
|
// *.Separator
|
||||||
style.Ru(style.AS (
|
style.Ru(style.AS (
|
||||||
tomo.AttrBorder {
|
tomo.AttrBorder {
|
||||||
@ -498,7 +503,7 @@ rules := []style.Rule {
|
|||||||
Color: borderColorLifted,
|
Color: borderColorLifted,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
tomo.AttrPadding(tomo.I(4, 8, 4, 8)),
|
tomo.AttrPadding(tomo.I(4, 8, 7, 8)),
|
||||||
tomo.AttrColor { Color: tomo.ColorBackground },
|
tomo.AttrColor { Color: tomo.ColorBackground },
|
||||||
), tomo.R("", "Tab"), "active"),
|
), tomo.R("", "Tab"), "active"),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user