) {
) {
type={type}
data-slot='input'
className={cn(
- 'file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-label disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
- 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]',
- 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive',
+ /* Text */
+ 'text-text-input selection:text-text md:text-sm file:text-destructive file:text-sm placeholder:text-text-muted-input',
+ /* Background */
+ 'bg-transparent selection:bg-muted-input file:bg-transparent',
+ /* Border */
+ 'rounded-md border border-input focus-visible:border-ring aria-invalid:border-destructive file:border-0',
+ /* Font */
+ 'file:font-label',
+ /* Cursor */
+ 'disabled:pointer-events-none disabled:cursor-not-allowed',
+ /* Ring */
+ 'focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40',
+ /* Outline */
+ 'outline-none',
+ /* Shadow */
+ 'shadow-md transition-[color,box-shadow] ',
+ /* Opacity */
+ 'disabled:opacity-50 ',
+ /* Scaling */
+ 'h-9 w-full min-w-0 file:h-7',
+ /* Spacing */
+ 'px-3 py-1',
+ /* Alignment */
+ 'flex file:inline-flex',
+ /* Miscellaneous */
+ /* ////////// */
className,
)}
{...props}
diff --git a/src/components/ui/label.tsx b/src/components/ui/label.tsx
index 3364d98..16acf98 100644
--- a/src/components/ui/label.tsx
+++ b/src/components/ui/label.tsx
@@ -13,7 +13,33 @@ function Label({
{children}
@@ -107,7 +171,34 @@ function SelectItem({
diff --git a/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsx
index 4a9fbd0..76b16c3 100644
--- a/src/components/ui/tabs.tsx
+++ b/src/components/ui/tabs.tsx
@@ -26,8 +26,34 @@ function TabsList({
@@ -42,7 +68,35 @@ function TabsTrigger({