Skip to content

Commit

Permalink
fix: listbox options dark bg opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
driss-chelouati committed Aug 30, 2023
1 parent 1cd247f commit 5ccb924
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/plugins/components/listbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const defaultListboxConfig = {
},
default: {
bg: 'white',
bgDark: 'muted-900/75',
bgDark: 'muted-900',
border: 'muted-300',
borderDark: 'muted-700',
borderFocus: 'muted-300',
Expand All @@ -151,7 +151,7 @@ const defaultListboxConfig = {
},
defaultContrast: {
bg: 'white',
bgDark: 'muted-950/75',
bgDark: 'muted-950',
border: 'muted-300',
borderDark: 'muted-800',
borderFocus: 'muted-300',
Expand All @@ -170,12 +170,12 @@ const defaultListboxConfig = {
border: 'muted-200',
borderDark: 'muted-800',
bg: 'white',
bgDark: 'muted-950/70',
bgDark: 'muted-950',
},
},
muted: {
bg: 'muted-200',
bgDark: 'muted-900/75',
bgDark: 'muted-900',
border: 'muted-300',
borderDark: 'muted-700',
borderFocus: 'muted-300',
Expand All @@ -199,7 +199,7 @@ const defaultListboxConfig = {
},
mutedContrast: {
bg: 'muted-200',
bgDark: 'muted-950/75',
bgDark: 'muted-950',
border: 'muted-300',
borderDark: 'muted-800',
borderFocus: 'muted-300',
Expand All @@ -218,7 +218,7 @@ const defaultListboxConfig = {
border: 'muted-200',
borderDark: 'muted-800',
bg: 'white',
bgDark: 'muted-950/70',
bgDark: 'muted-950',
},
},
notLoading: {
Expand Down Expand Up @@ -314,7 +314,7 @@ export default plugin.withOptions(

return function ({ addComponents, theme }) {
const config = theme(
'shurikenUi.listbox',
'shurikenUi.listbox'
) satisfies typeof defaultListboxConfig

addComponents({
Expand Down Expand Up @@ -774,5 +774,5 @@ export default plugin.withOptions(
},
},
}
},
}
)

0 comments on commit 5ccb924

Please sign in to comment.