diff --git a/styles/mullvad-leta/catppuccin.user.less b/styles/mullvad-leta/catppuccin.user.less index 2a8c0385..7a22682b 100644 --- a/styles/mullvad-leta/catppuccin.user.less +++ b/styles/mullvad-leta/catppuccin.user.less @@ -67,53 +67,68 @@ } } - a { - color: @text; + &, svelte-css-wrapper > * { + --blue: @base; + --blue-dark: @mantle; + --blue-link: @surface1; + --blue-link--hover: @surface2; + --text-link: @blue; + + --border-color: @accent; + --bg-color-checked: @surface0; + --bg-color-hover: @surface1; + --divider-color: @surface1; + --focus-outline-color: @accent; + + --color-text: @text; + --color-icon: @subtext1; + --chevron-color: @subtext1; + --icons-color: @subtext1; + --input-color: @subtext1; + --placeholder-color: @subtext1; + + --border: 1px solid @surface0; + --border-hover: 1px solid @surface2; + --border-focused: 1px solid @surface2; + --clear-select-focus-outline: 1px solid @accent; + + --background: @base; + --list-background: @base; + --disabled-background: @surface0; + --disabled-border-color: @surface0; + --form-control-disabled: @overlay0; + + --item-color: @subtext1; + --item-hover-bg: @surface0; + --item-hover-color: @subtext1; + --item-is-active-bg: @surface1; + --item-is-active-color: @text; + --selected-item-color: @subtext1; + + --grey-dark: @surface1; + --success: @green; + --warning: @yellow; + --danger: @red; + --tag-danger-background: @red; + --tag-danger-color: @base; } - --blue: @base; - --blue-dark: @mantle; - --blue-link: @surface1; - --blue-link--hover: @surface2; - --text-link: @blue; + .results { + /* favicons */ + .icon-wrapper { + background-color: @mantle; + } - --border-color: @accent; - --bg-color-checked: @surface0; - --bg-color-hover: @surface1; - --divider-color: @surface1; + /* urls */ + cite { + color: @subtext0; + } + } - --color-text: @text; - --color-icon: @subtext1; - --icons-color: @subtext1; - --input-color: @subtext1; - - --border: 1px solid @surface0; - --border-hover: 1px solid @surface2; - --border-focused: 1px solid @accent; - --clear-select-focus-outline: 1px solid @accent; - - --background: @base; - --list-background: @base; - --disabled-background: @surface0; - --disabled-border-color: @surface0; - --form-control-disabled: @overlay0; - - --item-color: @subtext1; - --item-hover-bg: @surface0; - --item-hover-color: @subtext1; - --item-is-active-bg: @surface1; - --item-is-active-color: @text; - --selected-item-color: @subtext1; - - --grey-dark: @surface1; - --success: @green; - --danger: @red; - --tag-danger-background: @red; - --tag-danger-color: @base; - - .settings, - img[alt="Favicon"] { - background-color: @mantle !important; + /* search query and engines */ + input[name="q"], + .radio-group label { + color: @text !important; } img[src="/mullvad-vpn-logo.svg"] { @@ -123,27 +138,24 @@ content: url("data:image/svg+xml,@{svg}"); } - input[type="checkbox"] { - background-color: @surface0 !important; - } - - input[name="q"], - .radio-group label { + a { color: @text; + + /* anchors */ + &[href^="#"]::before { + color: @overlay2; + } } - .result img + a { - color: @subtext0 !important; + /* tooltips */ + button:not([disabled])[aria-label] { + &:focus::after, &:hover::after { + color: @subtext1; + } } footer a { color: @subtext1; - border-inline-end-color: @subtext1; - } - - /* anchors */ - h2 a[aria-hidden="true"] { - color: @text !important; } } } diff --git a/styles/mullvad-leta/preview.webp b/styles/mullvad-leta/preview.webp index 0c0d5acd..77ba3f46 100644 Binary files a/styles/mullvad-leta/preview.webp and b/styles/mullvad-leta/preview.webp differ