/* Apex Neon for SwayNotificationCenter State over decoration. If it isn't important, it doesn't glow. */ @define-color base #050505; /* Void */ @define-color surface #141414; /* Panel */ @define-color overlay #262626; /* Border */ @define-color text #ededed; /* Foreground */ @define-color muted #737373; /* Subtext */ @define-color red #ff0044; /* Active intent / destructive */ @define-color cyan #00eaff; /* Info / hover */ @define-color green #00ff99; /* Enabled / OK */ @define-color purple #9d00ff; /* Special mode */ @define-color alert #ff8899; /* Critical (distinct from "you are here" red) */ * { all: unset; font-family: "JetBrainsMono Nerd Font", "Inter", sans-serif; font-size: 12px; color: @text; } /* ===== Windows ===== */ .control-center, .notification-window { background-color: rgba(5, 5, 5, 0.92); } .control-center { border: 2px solid @overlay; border-radius: 12px; padding: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.70); } .notification-window { border: 2px solid @overlay; border-radius: 12px; padding: 8px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.70); } /* ===== Title row ===== */ .widget-title { margin-bottom: 8px; } .widget-title label { font-size: 15px; font-weight: 800; } .widget-title button { background-color: @surface; border: 1px solid @overlay; border-radius: 10px; padding: 6px 10px; } .widget-title button:hover { border-color: @red; } .widget-title button:active { background-color: @red; color: @base; /* text turns black on red, non-negotiable */ } /* ===== DND ===== */ .widget-dnd { background-color: @surface; border: 1px solid @overlay; border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; } .widget-dnd label { font-weight: 700; } .widget-dnd switch { background-color: @overlay; border-radius: 999px; padding: 3px; } .widget-dnd switch slider { background-color: @text; border-radius: 999px; min-width: 18px; min-height: 18px; } .widget-dnd switch:checked { background-color: @purple; } .widget-dnd switch:checked slider { background-color: @base; } /* ===== Notifications list: remove "giant grey slab" ===== */ .widget-notifications { background-color: transparent; } .notification-group, .notification-group-headers, .notification-group-icon { background-color: transparent; } /* ===== Notification card ===== */ .notification-row { background-color: transparent; margin: 0 0 8px 0; outline: none; } .notification { background-color: @surface; border: 1px solid @overlay; border-radius: 12px; padding: 10px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.60); } .notification-row:hover .notification { border-color: @cyan; } .notification-row:focus .notification { border-color: @red; } /* Urgency */ .notification.critical { border-color: @alert; box-shadow: 0 0 0 1px @alert; } .image { border-radius: 10px; margin-right: 8px; } .summary { font-weight: 800; font-size: 13px; } .body { color: @muted; margin-top: 2px; } .time { color: @cyan; font-weight: 700; } /* Notification actions */ .notification-action { background-color: @overlay; border-radius: 10px; padding: 5px 8px; margin-top: 6px; } .notification-action:hover { box-shadow: inset 0 0 0 1px @cyan; } .notification-action:active { background-color: @cyan; color: @base; } /* Close button */ .close-button { background-color: @overlay; border-radius: 8px; padding: 3px; } .close-button:hover { background-color: @red; color: @base; } .close-button:active { background-color: @red; color: @base; } /* ===== Popup notifications container (safe even if class names differ) ===== */ .floating-notifications.background { background-color: transparent; padding: 0; }