Theme system refactor (#31)

This commit is contained in:
Gregory Schier
2024-05-21 17:56:06 -07:00
committed by GitHub
parent 8606940dee
commit 83aaeb94f6
82 changed files with 909 additions and 739 deletions

View File

@@ -82,7 +82,7 @@ export function Tabs({
{tabs.map((t) => {
const isActive = t.value === value;
const btnClassName = classNames(
isActive ? 'text-gray-800' : 'text-gray-600 hover:text-gray-700',
isActive ? 'text-fg' : 'text-fg-subtler hover:text-fg-subtle',
'!px-2 ml-[1px]',
);
@@ -108,7 +108,7 @@ export function Tabs({
icon="chevronDown"
className={classNames(
'-mr-1.5 mt-0.5',
isActive ? 'opacity-100' : 'opacity-20',
isActive ? 'text-fg-subtle' : 'opacity-50',
)}
/>
}