/* ------------------------------------------------- * SwayNotificationCenter (swaync) – Catppuccin Mocha-ish * Put in: ~/.config/swaync/style.css * * Tip: GTK_DEBUG=interactive swaync (inspect CSS classes) * ------------------------------------------------- */ /* --- Catppuccin Mocha core (commonly used values) --- */ @define-color crust #11111b; @define-color mantle #181825; @define-color base #1e1e2e; @define-color surface0 #313244; @define-color surface1 #45475a; @define-color surface2 #585b70; @define-color text #cdd6f4; @define-color subtext1 #bac2de; @define-color subtext0 #a6adc8; @define-color blue #89b4fa; @define-color green #a6e3a1; @define-color yellow #f9e2af; @define-color red #f38ba8; /* If you want even more blur-through effect, increase transparency a bit */ @define-color panel_rgba rgba(30, 30, 46, 0.78); @define-color card_rgba rgba(49, 50, 68, 0.78); /* ---- Kill GTK list row selection glow (common tweak) ---- */ list, listview, row, listview row, listview row:selected, listview row:hover, listview row:focus, listview row:active { background-color: transparent; background-image: none; box-shadow: none; outline: none; } /* ---- Global defaults ---- */ * { color: @text; font-family: "Aporetic Sans Mono", "Iosevka Nerd Font", "Sans"; font-size: 13px; } .notification-row { margin: 0; padding: 0; } /* Notification popup window */ window#notification-window { background: transparent; } /* Control center window */ .control-center { background-color: @panel_rgba; border-radius: 18px; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.45); border: 1px solid rgba(186, 194, 222, 0.10); } /* Widgets */ .widget-title { margin: 0 0 10px 0; padding: 6px 10px; border-radius: 14px; background-color: rgba(24, 24, 37, 0.70); border: 1px solid rgba(186, 194, 222, 0.08); } .widget-title > label { font-size: 14px; font-weight: 700; } .widget-title button { border-radius: 12px; padding: 6px 10px; background-color: rgba(69, 71, 90, 0.55); border: 1px solid rgba(186, 194, 222, 0.10); box-shadow: none; } .widget-title button:hover { background-color: rgba(88, 91, 112, 0.55); } .widget-dnd { margin: 0 0 12px 0; padding: 10px 12px; border-radius: 16px; background-color: rgba(24, 24, 37, 0.65); border: 1px solid rgba(186, 194, 222, 0.08); } .widget-dnd .switch { border-radius: 999px; } .widget-notifications { margin: 0; padding: 0; } /* ---- Notification cards (both popup + center list) ---- */ .notification-background { margin: 10px 0; padding: 0; background: transparent; } .notification-background .notification { background-color: @card_rgba; border-radius: 16px; padding: 12px 12px; border: 1px solid rgba(186, 194, 222, 0.10); box-shadow: 0 8px 22px rgba(0,0,0,0.35); } /* Left colored accent bar using urgency */ .notification.critical { border-left: 4px solid @red; } .notification.low { border-left: 4px solid @blue; } .notification.normal { border-left: 4px solid @green; } /* Header/meta */ .notification .app-name { color: @subtext1; font-weight: 700; } .notification .time { color: @subtext0; font-size: 12px; } /* Text */ .notification .summary { color: @text; font-weight: 800; font-size: 14px; margin-top: 2px; } .notification .body { color: @subtext1; margin-top: 6px; line-height: 1.25; } /* Icons */ .notification .image { border-radius: 12px; } .notification .app-icon { border-radius: 10px; } /* Buttons */ .notification button { border-radius: 12px; background-color: rgba(69, 71, 90, 0.55); border: 1px solid rgba(186, 194, 222, 0.10); box-shadow: none; padding: 6px 10px; } .notification button:hover { background-color: rgba(88, 91, 112, 0.55); } .notification .close-button { border-radius: 12px; background-color: rgba(243, 139, 168, 0.12); border: 1px solid rgba(243, 139, 168, 0.18); } .notification .close-button:hover { background-color: rgba(243, 139, 168, 0.20); } /* Empty state */ .control-center .placeholder { color: @subtext0; } /* Optional: nicer separators if you use them in your build */ separator { background: rgba(186, 194, 222, 0.08); }