chore: buttons in dark themes

This commit is contained in:
Aman Harwara
2023-05-26 13:28:28 +05:30
parent c21ed0a8b6
commit c29832ab77
4 changed files with 4 additions and 1 deletions

View File

@@ -42,4 +42,5 @@
--sn-desktop-titlebar-ui-hover-color: var(--highlight-color);
--sn-stylekit-menu-border: 1px solid #434b60;
--navigation-item-selected-background-color: var(--sn-stylekit-background-color);
--normal-button-background-color: var(--sn-stylekit-passive-color-5);
}

View File

@@ -43,4 +43,5 @@
--sn-stylekit-scrollbar-thumb-color: var(--sn-stylekit-info-color);
--sn-stylekit-menu-border: 1px solid #494965;
--navigation-item-selected-background-color: var(--sn-stylekit-background-color);
--normal-button-background-color: var(--sn-stylekit-passive-color-5);
}

View File

@@ -58,4 +58,5 @@
--sn-desktop-titlebar-ui-hover-color: var(--highlight-color);
--sn-stylekit-menu-border: 1px solid #1f5461;
--navigation-item-selected-background-color: var(--sn-stylekit-background-color);
--normal-button-background-color: var(--sn-stylekit-passive-color-5);
}

View File

@@ -59,7 +59,7 @@ const getClassName = (
let focusHoverStates = primary
? 'hover:brightness-125 focus:outline-none focus:brightness-125'
: 'focus:bg-contrast focus:outline-none hover:bg-contrast'
: 'focus:bg-contrast focus:outline-none hover:border-info hover:text-info hover:bg-contrast'
if (disabled) {
colors = primary ? 'bg-passive-2 text-info-contrast' : 'bg-default text-passive-2'