Feat: Modify the style of the home page in bright mode #3221 (#3832)

### What problem does this PR solve?

Feat: Modify the style of the home page in bright mode #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-12-03 18:59:11 +08:00
committed by GitHub
parent 92ab7ef659
commit 54980337e4
12 changed files with 56 additions and 23 deletions

View File

@ -20,6 +20,7 @@ const buttonVariants = cva(
link: 'text-primary underline-offset-4 hover:underline',
tertiary:
'bg-colors-text-core-standard text-foreground hover:bg-colors-text-core-standard/80',
icon: 'bg-colors-background-inverse-standard text-foreground hover:bg-colors-background-inverse-standard/80',
},
size: {
default: 'h-10 px-4 py-2',

View File

@ -8,7 +8,7 @@ export function Container({
return (
<div
className={cn(
'px-2 py-1 bg-backgroundInverseStandard text-backgroundInverseStandard-foreground inline-flex items-center rounded-sm gap-2',
'px-2 py-1 bg-colors-background-inverse-standard inline-flex items-center rounded-sm gap-2',
className,
)}
{...props}

View File

@ -47,8 +47,10 @@ export function Segmented({
key={actualValue}
className={cn(
'inline-flex items-center px-3 py-2 text-sm font-medium rounded-sm cursor-pointer',
{ 'bg-backgroundCoreStandard': value === actualValue },
{
'bg-colors-background-inverse-strong': value === actualValue,
'text-colors-text-inverse-strong': value === actualValue,
},
)}
onClick={() => onChange?.(actualValue)}
>