From 919b7b46de8106acfb0dbf2af2b73c5235730ac0 Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Tue, 21 Jan 2025 08:22:42 -0500 Subject: [PATCH] fix(pronouns.page): misc (#1586) --- styles/pronouns.page/catppuccin.user.less | 57 ++++++++--------------- 1 file changed, 20 insertions(+), 37 deletions(-) diff --git a/styles/pronouns.page/catppuccin.user.less b/styles/pronouns.page/catppuccin.user.less index d28354af..08d904f1 100644 --- a/styles/pronouns.page/catppuccin.user.less +++ b/styles/pronouns.page/catppuccin.user.less @@ -67,7 +67,7 @@ } } - background-color: @base !important; + background: @base; color: @text !important; --bs-body-color: @text; @@ -78,9 +78,11 @@ --bs-secondary-color: @subtext0; --bs-tertiary-bg: @crust; --bs-success-text-emphasis: @green; + --bs-success-rgb: #rgbify(@green)[]; --bs-info-text-emphasis: @sapphire; --bs-warning-text-emphasis: @yellow; --bs-danger-text-emphasis: @red; + --bs-danger-rgb: #rgbify(@red)[]; --bs-light-text-emphasis: @text; --bs-dark-text-emphasis: @subtext1; --bs-heading-color: @text; @@ -243,41 +245,22 @@ } } } - - .vdp-datepicker__calendar { - background-color: @crust; - border-color: @surface0; - - .disabled { - color: @subtext0; - } - - .prev::after { - border-right-color: @text; - } - .next::after { - border-left-color: @text; - } - - header span:not(.disabled):hover { - background-color: @text; - color: @crust; - - &.prev::after { - border-right-color: @crust; + + /* Date/calendar input */ + .dp__theme_dark, .dp__theme_light { + --dp-primary-color: @accent; + --dp-text-color: @text; + --dp-hover-text-color: @text; + --dp-background-color: @surface0; + --dp-hover-color: @surface1; + --dp-disabled-color: @surface2; + --dp-icon-color: @subtext0; + --dp-hover-icon-color: @subtext1; + --dp-secondary-color: @subtext0; + + .dp__overlay_cell_active, .dp__active_date, .dp__range_end, .dp__range_start { + color: @crust; } - &.next::after { - border-left-color: @crust; - } - } - - .cell.selected { - background-color: @accent; - color: @crust; - } - .cell:not(.blank, .disabled):hover { - border-color: @accent; - } } /* Header */ @@ -406,7 +389,7 @@ .colour-default { color: @text !important; } - .colour-pink { + .colour-pink, .text-primary { color: @accent !important; } .colour-orange { @@ -445,7 +428,7 @@ a { color: @accent; - &:hover { + &:not(.nav-link.active):hover { color: lighten(@accent, 5%); } }