Use new theme vars (#63)

This PR swaps the theme to use the new stuff from the Theme Studio
This commit is contained in:
Gregory Schier
2024-08-13 07:44:28 -07:00
committed by GitHub
parent a0950ce5b8
commit b5242b9a3f
79 changed files with 1113 additions and 1004 deletions

View File

@@ -87,8 +87,8 @@ export function Tabs({
'h-full flex items-center rounded',
'!px-2 ml-[1px]',
addBorders && 'border',
isActive ? 'text-fg' : 'text-fg-subtle hover:text-fg',
isActive && addBorders ? 'border-background-highlight' : 'border-transparent',
isActive ? 'text-text' : 'text-text-subtle hover:text-text',
isActive && addBorders ? 'border-border-subtle' : 'border-transparent',
);
if ('options' in t) {
@@ -103,7 +103,6 @@ export function Tabs({
onChange={t.options.onChange}
>
<button
color="custom"
onClick={isActive ? undefined : () => handleTabChange(t.value)}
className={btnClassName}
>
@@ -113,7 +112,7 @@ export function Tabs({
<Icon
size="sm"
icon="chevronDown"
className={classNames('ml-1', isActive ? 'text-fg-subtle' : 'opacity-50')}
className={classNames('ml-1', isActive ? 'text-text-subtle' : 'opacity-50')}
/>
</button>
</RadioDropdown>
@@ -122,7 +121,6 @@ export function Tabs({
return (
<button
key={t.value}
color="custom"
onClick={() => handleTabChange(t.value)}
className={btnClassName}
>