We got CSS at home
This commit is contained in:
46
TestGame/Resources/default.style.toml
Normal file
46
TestGame/Resources/default.style.toml
Normal file
@@ -0,0 +1,46 @@
|
||||
[Button]
|
||||
BackgroundColor = "#0f62fe"
|
||||
TextColor = "#37eb34"
|
||||
Padding = 16.0
|
||||
|
||||
# Creates an empty rule for Button.Normal.
|
||||
# This will inherit style from Button, this is a temporary workaround.
|
||||
[Button.Normal]
|
||||
|
||||
[Button.Hovered]
|
||||
BackgroundColor = "#0353e9"
|
||||
|
||||
[Button.Pressed]
|
||||
BackgroundColor = "#002d9c"
|
||||
|
||||
[Button.Danger]
|
||||
TextColor = "#ffffff"
|
||||
|
||||
[Button.Danger.Normal]
|
||||
BackgroundColor = "#da1e28"
|
||||
|
||||
[Button.Danger.Hovered]
|
||||
BackgroundColor = "#ba1b23"
|
||||
|
||||
[Button.Danger.Pressed]
|
||||
BackgroundColor = "#750e13"
|
||||
|
||||
[Button.Outline]
|
||||
BackgroundColor = [0, 0, 0, 0]
|
||||
BorderSize = 1.0
|
||||
BorderColor = "#0f62fe"
|
||||
TextColor = "#0353e9"
|
||||
|
||||
[Button.Outline.Normal]
|
||||
TextColor = "#0353e9"
|
||||
|
||||
[Button.Outline.Hovered]
|
||||
BackgroundColor = "#0353e9"
|
||||
|
||||
[Button.Outline.Pressed]
|
||||
BackgroundColor = "#002d9c"
|
||||
BorderColor = [0, 0, 0, 0]
|
||||
|
||||
# Default background color for all Container derived classes.
|
||||
[Container]
|
||||
BackgroundColor = "#e0e0e0"
|
||||
Reference in New Issue
Block a user