Skip to content

Commit f14b74a

Browse files
authored
fix: border color incorrect in tailwind (#1544)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Introduced new UI theme variables for border color, border radius, and primary color states to enhance customization options. * **Refactor** * Removed redundant and unused CSS variables related to primary color and border radius for improved consistency and maintainability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent e2fa648 commit f14b74a

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

@tailwind-shared/base-utilities.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,7 @@
6060
border-color: hsl(var(--border));
6161
}
6262

63-
:root {
64-
--ui-primary: var(--color-primary-500);
65-
--ui-primary-hover: var(--color-primary-600);
66-
--ui-primary-active: var(--color-primary-700);
67-
}
6863

69-
.dark {
70-
--ui-primary: var(--color-primary-500);
71-
--ui-primary-hover: var(--color-primary-600);
72-
--ui-primary-active: var(--color-primary-700);
73-
}
7464

7565
body {
7666
--color-alpha: #1c1b1b;

@tailwind-shared/unraid-theme.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818

1919
/* Border color default */
2020
--default-border-color: var(--color-border);
21+
--ui-border-muted: hsl(var(--border));
22+
--ui-radius: 0.5rem;
23+
--ui-primary: var(--color-primary-500);
24+
--ui-primary-hover: var(--color-primary-600);
25+
--ui-primary-active: var(--color-primary-700);
2126

2227
/* Color palette */
2328
--color-inherit: inherit;
@@ -170,7 +175,6 @@
170175

171176
/* Radius */
172177
--radius: 0.5rem;
173-
--ui-radius: 0.5rem;
174178

175179
/* Text Resizing */
176180
--text-xs: 1.2rem; /* 12px at 10px base */

0 commit comments

Comments
 (0)