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

@@ -52,7 +52,7 @@ export const IconButton = forwardRef<HTMLButtonElement, Props>(function IconButt
size={size}
className={classNames(
className,
'relative flex-shrink-0 text-gray-700 hover:text-gray-1000',
'group/button relative flex-shrink-0 text-fg-subtle',
'!px-0',
size === 'md' && 'w-9',
size === 'sm' && 'w-8',
@@ -71,6 +71,7 @@ export const IconButton = forwardRef<HTMLButtonElement, Props>(function IconButt
spin={spin}
className={classNames(
iconClassName,
'group-hover/button:text-fg',
props.disabled && 'opacity-70',
confirmed && 'text-green-600',
)}