mirror of
https://github.com/danth/stylix
synced 2024-11-25 21:50:22 +00:00
Adjust Waybar style 💄
* Specified that the font size is in pixels. (GTK warns about font sizes without units being deprecated.) * Removed border-radius as it was set to the default value. * Added support for tooltips.
This commit is contained in:
parent
d14076e46f
commit
0087f554ff
1 changed files with 7 additions and 4 deletions
|
@ -29,17 +29,20 @@ with config.stylix.fonts;
|
|||
|
||||
@define-color base08 ${base08}; @define-color base09 ${base09}; @define-color base0A ${base0A}; @define-color base0B ${base0B};
|
||||
@define-color base0C ${base0C}; @define-color base0D ${base0D}; @define-color base0E ${base0E}; @define-color base0F ${base0F};
|
||||
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: ${sansSerif.name};
|
||||
font-size: ${builtins.toString sizes.desktop};
|
||||
font-size: ${builtins.toString sizes.desktop}px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
window#waybar, tooltip {
|
||||
background: alpha(@base00, ${with config.stylix.opacity; builtins.toString desktop});
|
||||
color: @base05;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
border-color: @base0D;
|
||||
}
|
||||
''
|
||||
+ (builtins.readFile ./base.css)
|
||||
+ (if config.stylix.targets.waybar.enableLeftBackColors then builtins.readFile ./left.css else ''
|
||||
|
|
Loading…
Reference in a new issue