mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Substitution variables
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
/* CSS file for basic.py */
|
||||
|
||||
$primary: #20639b;
|
||||
|
||||
App > View {
|
||||
docks: side=left/1;
|
||||
text: on #20639b;
|
||||
text: on $primary;
|
||||
}
|
||||
|
||||
Widget:hover {
|
||||
@@ -34,7 +36,7 @@ Widget:hover {
|
||||
}
|
||||
|
||||
#content {
|
||||
text: white on #20639b;
|
||||
text: white on $primary;
|
||||
border-bottom: hkey #0f2b41;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user