OmniaFramework/extra/testTheme.txt

52 lines
1,016 B
Text

% ================== testTheme.txt ==================
% ---- Variables ----
$accentColor = Color(rgba(255, 0, 255, 255))
$color2 = Color(#0000FFFF)
% -------------------
window.backgroundColor = Color(rgba(40, 0, 0, 255))
(label) {
textColor = $accentColor
backgroundColor = Color(#000000FF)
borderColor = $accentColor
fontSize = 50
borderRadius = 20
borderWidth = 2
showBackground = true
showBorder = true
padding = Rect(15, 15, 15, 15)
}
(@testLabel label) {
textColor = $color2
backgroundColor = Color(#000000FF)
fontSize = 20
}
(label:hover) {
textColor = Color(rgb(0, 255, 0))
borderColor = Color(rgb(0, 255, 0))
}
(label:pressed) {
textColor = Color(#FF0000FF)
}
(@testLabel label:hover) {
borderColor = $color2
}
(@testLabel label:pressed) {
backgroundColor = Color(#0040AAFF)
textColor = Color(#505050FF)
}
(label:disabled) {
backgroundColor = Color(#EEEEEEFF)
textColor = Color(#505050FF)
borderColor = Color(#000000FF)
}
% ===================================================