Skip to content

what wrong with my styling #4037

Open
Open
@idea90

Description

@idea90

i have every style somehow it just black

Image
config.jsonrc

config.jsonc
style.css
@import "colors.css";

  • {
    /* otf-font-awesome is required to be installed for icons */
    font-family: AdwaitaSans Nerd Font;
    font-size: 13px;
    font-weight: bold;
    }

window#waybar {
background-color: rgba(0,0,0,0);
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
}
#workspaces button {
padding: 0 5px;
background-color: @surface;
color: @on_surface;
margin: 4px;
border-radius:15px;
}

#workspaces button:hover {
background: @secondary;
color: @on_secondary;
margin: 4px;
border-radius:15px;
}

#workspaces button.active {
background: @primary;
color: @on_primary;
margin: 4px;
border-radius:15px;
}

#workspaces button.urgent {
background: @error;
color: @on_error;
margin: 4px;
border-radius:15px;
}

#clock,
#battery,
#backlight,
#network,
#pulseaudio,
#tray {
padding: 0 10px;
color: #ffffff;
}

#window,
#workspaces {
margin: 0 4px;
}

/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}

/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}

#clock {
background: @background;
color: @primary;
margin: 4px;
border-radius:15px;
border: 2px solid @primary;
}

#battery {
background: @background;
color: @primary;
margin: 4px;
border-radius:15px;
border: 2px solid @primary;
}

#battery.charging, #battery.plugged {
background: @background;
color: @secondary;
margin: 4px;
border-radius:15px;
border: 2px solid @secondary;
}

@Keyframes blink {
to {
background: @background;
color: @secondary;
margin: 4px;
border-radius:15px;
border: 2px solid @secondary;
}
}

/* Using steps() instead of linear as a timing function to limit cpu usage */
#battery.critical:not(.charging) {
background: @background;
color: @secondary;
border: 2px solid @secondary;
margin: 4px;
border-radius:15px;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
#backlight {
background: @background;
color: @primary;
margin: 4px;
border-radius:15px;
border: 2px solid @primary;
}
#pulseaudio {
background: @background;
color: @primary;
margin: 4px;
border-radius:15px;
border: 2px solid @primary;
}

#pulseaudio.muted {
background: @background;
color: @primary;
margin: 4px;
border-radius:15px;
border: 2px solid @primary;
}
#tray {
background: @background;
color: @primary;
margin: 4px;
border-radius:15px;
border: 2px solid @primary;
}

#tray > .passive {
-gtk-icon-effect: dim;
}

#tray > .needs-attention {
-gtk-icon-effect: highlight;
background: @background;
color: @primary;
margin: 4px;
border-radius:15px;
border: 2px solid @primary;
}
.modules-left {
background: @background;
color: @on_primary;
margin: 4px;
border-radius:15px;
border: 2px solid @primary;
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions