refactor(styles): simplify color variables and update CSS constants
Add new color palette file and refactor constant definitions to use variable tokens.
This commit is contained in:
46 files changed
+1789
-1815
No files matched your search
@@ -0,0 +1,91 @@
|
||||
#panel {
|
||||
background-color: alpha(@background, 0.50);
|
||||
margin: -4px 0;
|
||||
transition: all 120ms ease-in-out;
|
||||
}
|
||||
|
||||
#modules-left,
|
||||
#modules-right {
|
||||
margin: 0 5px;
|
||||
padding: 2px 0;
|
||||
}
|
||||
|
||||
#panel-button:hover,
|
||||
#panel-button.active,
|
||||
#battery-button:hover,
|
||||
#battery-button.active,
|
||||
#network-button:hover,
|
||||
#network-button.active,
|
||||
#bt-button:hover,
|
||||
#bt-button.active,
|
||||
#tray-button:hover,
|
||||
#tray-button.active,
|
||||
#global-menu:hover,
|
||||
#global-menu.active,
|
||||
#workspaces>button:hover {
|
||||
background-color: @primary;
|
||||
color: @on-primary;
|
||||
}
|
||||
|
||||
#panel-button,
|
||||
#battery-button,
|
||||
#network-button,
|
||||
#bt-button,
|
||||
#tray-button {
|
||||
margin: 5px 0;
|
||||
padding: 0 2px;
|
||||
border-radius: apply(radius-sm);
|
||||
}
|
||||
|
||||
#menubar label,
|
||||
#battery-label,
|
||||
#date-time {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#global-menu {
|
||||
margin: 5px 2px;
|
||||
padding: 0 5px;
|
||||
border-radius: apply(radius-xs);
|
||||
}
|
||||
|
||||
#date-time {
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
#workspaces>button {
|
||||
margin: 6px 0;
|
||||
padding: 0 16px;
|
||||
border-radius: apply(radius-sm);
|
||||
min-width: 12px;
|
||||
border: 1px solid @outline;
|
||||
}
|
||||
|
||||
#workspaces>button.active {
|
||||
background-color: alpha(@foreground, 0.4);
|
||||
}
|
||||
|
||||
#workspaces>button.active label {
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#workspaces>button.urgent {
|
||||
background-color: alpha(@error, 0.7);
|
||||
}
|
||||
|
||||
|
||||
#panel-button:hover *,
|
||||
#panel-button.active *,
|
||||
#battery-button:hover *,
|
||||
#battery-button.active *,
|
||||
#network-button:hover *,
|
||||
#network-button.active *,
|
||||
#bt-button:hover *,
|
||||
#bt-button.active *,
|
||||
#tray-button:hover *,
|
||||
#tray-button.active *,
|
||||
#global-menu:hover *,
|
||||
#global-menu.active *,
|
||||
#workspaces>button:hover * {
|
||||
color: @on-primary;
|
||||
}
|
||||
Reference in new issue
Block a user