/* === Catppuccin Mocha Palette === */ /* Background / Base */ @define-color crust #11111b; @define-color mantle #181825; @define-color base #1e1e2e; @define-color base-alpha rgba(30, 30, 46, 0.9); /* Surface */ @define-color surface0 #313244; @define-color surface1 #45475a; @define-color surface2 #585b70; /* Overlays */ @define-color overlay0 #6c7086; @define-color overlay1 #7f849c; @define-color overlay2 #9399b2; /* Subtext & Text */ @define-color subtext0 #a6adc8; @define-color subtext1 #bac2de; @define-color text #cdd6f4; /* Accents */ @define-color rosewater #f5e0dc; @define-color flamingo #f2cdcd; @define-color pink #f5c2e7; @define-color mauve #cba6f7; @define-color red #f38ba8; @define-color maroon #eba0ac; @define-color peach #fab387; @define-color yellow #f9e2af; @define-color green #a6e3a1; @define-color teal #94e2d5; @define-color sapphire #74c7ec; @define-color blue #89b4fa; @define-color lavender #b4befe; /* --- Global --- */ * { font-family: Aporetic Sans Mono, Iosevka Nerd Font, Roboto, Helvetica, Arial, sans-serif; font-size: 13px; } window#waybar { background-color: transparent; color: @text; } /* Shared styles for all modules */ .modules-left > widget, .modules-center > widget, .modules-right > widget { min-width: 80px; color: @text; font-weight: bold; border-radius:30px; background: linear-gradient(@base-alpha, @base-alpha) padding-box, linear-gradient(45deg, @blue, @green) border-box; border: 2px solid transparent; } .modules-left > box + box, .modules-center > box + box, .modules-right > box + box { min-width: 80px; margin-left: 10px; } #modules-left > label, #modules-center > label, #modules-right > label { min-width: 80px; padding: 0px 10px; } /* --- Group specifics --- */ #hardware:hover #custom-hardware-anchor { opacity: 0; min-width: 0; padding: 0; margin: 0; transition: opacity 0.2s ease, width 0.2s ease; } #connections:hover #custom-connections-anchor { opacity: 0; min-width: 0; padding: 0; margin: 0; transition: opacity 0.2s ease, width 0.2s ease; } /* --------------------------------------------------------- */ /* All workspace buttons */ /* --------------------------------------------------------- */ #workspaces button label { padding: 0px 5px; border-radius: 10px; border: 2px solid transparent; background-color: transparent; font-weight: normal; transition: all 0.2s ease; min-width: 30px; } #workspaces button.active label { font-weight: bold; } #workspaces button:hover { background: transparent; } /* --------------------------------------------------------- */ /* Styled Modules */ /* --------------------------------------------------------- */ #pulseaudio-slider.widget { min-width: 100px; /* make it 100px wide */ } /* --------------------------------------------------------- */ /* Unstyled Modules */ /* --------------------------------------------------------- */ #clock, #idle_inhibitor, #battery, #cpu, #memory, #temperature, #network, #pulseaudio, #tray { margin: 0 5px; padding: 0 2px; } /* --------------------------------------------------------- */ /* STATES */ /* --------------------------------------------------------- */ #idle_inhibitor.activated { background-color: @green; } #battery.charging { color: @green; } #battery.warning:not(.charging) { color: white; animation: blink 0.5s linear infinite alternate; } @keyframes blink { to { background-color: #ffffff; color: black; } } #network.disconnected { background-color: @red; } #temperature.critical { background-color: @red; }