auxalia-ui-kit 1.6.1 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,6 +33,38 @@ var preset = {
33
33
  display: ["Inter", "sans-serif"],
34
34
  body: ["Inter", "sans-serif"]
35
35
  },
36
+ fontSize: {
37
+ "2xs": ["var(--font-size-2xs)", { lineHeight: "var(--line-height-normal)" }],
38
+ xs: ["var(--font-size-xs)", { lineHeight: "var(--line-height-normal)" }],
39
+ sm: ["var(--font-size-xs)", { lineHeight: "var(--line-height-normal)" }],
40
+ base: ["var(--font-size-base)", { lineHeight: "var(--line-height-normal)" }],
41
+ md: ["var(--font-size-md)", { lineHeight: "var(--line-height-normal)" }],
42
+ lg: ["var(--font-size-lg)", { lineHeight: "var(--line-height-snug)" }],
43
+ xl: ["var(--font-size-xl)", { lineHeight: "var(--line-height-snug)" }],
44
+ "2xl": ["var(--font-size-2xl)", { lineHeight: "var(--line-height-tight)" }],
45
+ "3xl": ["var(--font-size-3xl)", { lineHeight: "var(--line-height-tight)" }],
46
+ "4xl": ["var(--font-size-4xl)", { lineHeight: "var(--line-height-tight)" }],
47
+ "5xl": ["var(--font-size-5xl)", { lineHeight: "var(--line-height-tight)" }]
48
+ },
49
+ fontWeight: {
50
+ normal: "var(--font-weight-normal)",
51
+ medium: "var(--font-weight-medium)",
52
+ semibold: "var(--font-weight-semibold)",
53
+ bold: "var(--font-weight-bold)"
54
+ },
55
+ lineHeight: {
56
+ none: "var(--line-height-none)",
57
+ tight: "var(--line-height-tight)",
58
+ snug: "var(--line-height-snug)",
59
+ normal: "var(--line-height-normal)",
60
+ relaxed: "var(--line-height-relaxed)"
61
+ },
62
+ letterSpacing: {
63
+ tight: "var(--tracking-tight)",
64
+ normal: "var(--tracking-normal)",
65
+ wide: "var(--tracking-wide)",
66
+ widest: "var(--tracking-widest)"
67
+ },
36
68
  colors: {
37
69
  // ─── Brand semantic tokens (map to CSS vars in tokens.css) ───
38
70
  primary: "var(--color-primary)",
package/dist/index.cjs CHANGED
@@ -1063,7 +1063,7 @@ function FieldError({
1063
1063
  {
1064
1064
  role: "alert",
1065
1065
  "data-slot": "field-error",
1066
- className: cn("text-destructive text-[10px] font-normal", className),
1066
+ className: cn("text-destructive text-2xs font-normal", className),
1067
1067
  ...props,
1068
1068
  children: content
1069
1069
  }
@@ -6457,7 +6457,7 @@ var selectTriggerVariants = (0, import_class_variance_authority12.cva)(
6457
6457
  },
6458
6458
  size: {
6459
6459
  sm: "h-8 px-3 text-sm",
6460
- md: "h-10 px-3 text-[14px]",
6460
+ md: "h-10 px-3 text-sm",
6461
6461
  lg: "h-12 px-4 text-base"
6462
6462
  }
6463
6463
  },
@@ -6663,7 +6663,7 @@ var textVariants = (0, import_class_variance_authority14.cva)(`text-content`, {
6663
6663
  variants: {
6664
6664
  size: {
6665
6665
  sm: "text-sm",
6666
- md: "text-md",
6666
+ md: "text-base",
6667
6667
  lg: "text-lg",
6668
6668
  xl: "text-xl font-semibold",
6669
6669
  "2xl": "text-2xl font-semibold",
@@ -7392,6 +7392,38 @@ var preset = {
7392
7392
  display: ["Inter", "sans-serif"],
7393
7393
  body: ["Inter", "sans-serif"]
7394
7394
  },
7395
+ fontSize: {
7396
+ "2xs": ["var(--font-size-2xs)", { lineHeight: "var(--line-height-normal)" }],
7397
+ xs: ["var(--font-size-xs)", { lineHeight: "var(--line-height-normal)" }],
7398
+ sm: ["var(--font-size-xs)", { lineHeight: "var(--line-height-normal)" }],
7399
+ base: ["var(--font-size-base)", { lineHeight: "var(--line-height-normal)" }],
7400
+ md: ["var(--font-size-md)", { lineHeight: "var(--line-height-normal)" }],
7401
+ lg: ["var(--font-size-lg)", { lineHeight: "var(--line-height-snug)" }],
7402
+ xl: ["var(--font-size-xl)", { lineHeight: "var(--line-height-snug)" }],
7403
+ "2xl": ["var(--font-size-2xl)", { lineHeight: "var(--line-height-tight)" }],
7404
+ "3xl": ["var(--font-size-3xl)", { lineHeight: "var(--line-height-tight)" }],
7405
+ "4xl": ["var(--font-size-4xl)", { lineHeight: "var(--line-height-tight)" }],
7406
+ "5xl": ["var(--font-size-5xl)", { lineHeight: "var(--line-height-tight)" }]
7407
+ },
7408
+ fontWeight: {
7409
+ normal: "var(--font-weight-normal)",
7410
+ medium: "var(--font-weight-medium)",
7411
+ semibold: "var(--font-weight-semibold)",
7412
+ bold: "var(--font-weight-bold)"
7413
+ },
7414
+ lineHeight: {
7415
+ none: "var(--line-height-none)",
7416
+ tight: "var(--line-height-tight)",
7417
+ snug: "var(--line-height-snug)",
7418
+ normal: "var(--line-height-normal)",
7419
+ relaxed: "var(--line-height-relaxed)"
7420
+ },
7421
+ letterSpacing: {
7422
+ tight: "var(--tracking-tight)",
7423
+ normal: "var(--tracking-normal)",
7424
+ wide: "var(--tracking-wide)",
7425
+ widest: "var(--tracking-widest)"
7426
+ },
7395
7427
  colors: {
7396
7428
  // ─── Brand semantic tokens (map to CSS vars in tokens.css) ───
7397
7429
  primary: "var(--color-primary)",
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tailwind_preset_default
3
- } from "./chunk-SGPYWKN6.js";
3
+ } from "./chunk-N24ZQVRM.js";
4
4
 
5
5
  // src/components/Alert.tsx
6
6
  import * as React from "react";
@@ -938,7 +938,7 @@ function FieldError({
938
938
  {
939
939
  role: "alert",
940
940
  "data-slot": "field-error",
941
- className: cn("text-destructive text-[10px] font-normal", className),
941
+ className: cn("text-destructive text-2xs font-normal", className),
942
942
  ...props,
943
943
  children: content
944
944
  }
@@ -6336,7 +6336,7 @@ var selectTriggerVariants = cva12(
6336
6336
  },
6337
6337
  size: {
6338
6338
  sm: "h-8 px-3 text-sm",
6339
- md: "h-10 px-3 text-[14px]",
6339
+ md: "h-10 px-3 text-sm",
6340
6340
  lg: "h-12 px-4 text-base"
6341
6341
  }
6342
6342
  },
@@ -6542,7 +6542,7 @@ var textVariants = cva14(`text-content`, {
6542
6542
  variants: {
6543
6543
  size: {
6544
6544
  sm: "text-sm",
6545
- md: "text-md",
6545
+ md: "text-base",
6546
6546
  lg: "text-lg",
6547
6547
  xl: "text-xl font-semibold",
6548
6548
  "2xl": "text-2xl font-semibold",
@@ -56,6 +56,38 @@ var preset = {
56
56
  display: ["Inter", "sans-serif"],
57
57
  body: ["Inter", "sans-serif"]
58
58
  },
59
+ fontSize: {
60
+ "2xs": ["var(--font-size-2xs)", { lineHeight: "var(--line-height-normal)" }],
61
+ xs: ["var(--font-size-xs)", { lineHeight: "var(--line-height-normal)" }],
62
+ sm: ["var(--font-size-xs)", { lineHeight: "var(--line-height-normal)" }],
63
+ base: ["var(--font-size-base)", { lineHeight: "var(--line-height-normal)" }],
64
+ md: ["var(--font-size-md)", { lineHeight: "var(--line-height-normal)" }],
65
+ lg: ["var(--font-size-lg)", { lineHeight: "var(--line-height-snug)" }],
66
+ xl: ["var(--font-size-xl)", { lineHeight: "var(--line-height-snug)" }],
67
+ "2xl": ["var(--font-size-2xl)", { lineHeight: "var(--line-height-tight)" }],
68
+ "3xl": ["var(--font-size-3xl)", { lineHeight: "var(--line-height-tight)" }],
69
+ "4xl": ["var(--font-size-4xl)", { lineHeight: "var(--line-height-tight)" }],
70
+ "5xl": ["var(--font-size-5xl)", { lineHeight: "var(--line-height-tight)" }]
71
+ },
72
+ fontWeight: {
73
+ normal: "var(--font-weight-normal)",
74
+ medium: "var(--font-weight-medium)",
75
+ semibold: "var(--font-weight-semibold)",
76
+ bold: "var(--font-weight-bold)"
77
+ },
78
+ lineHeight: {
79
+ none: "var(--line-height-none)",
80
+ tight: "var(--line-height-tight)",
81
+ snug: "var(--line-height-snug)",
82
+ normal: "var(--line-height-normal)",
83
+ relaxed: "var(--line-height-relaxed)"
84
+ },
85
+ letterSpacing: {
86
+ tight: "var(--tracking-tight)",
87
+ normal: "var(--tracking-normal)",
88
+ wide: "var(--tracking-wide)",
89
+ widest: "var(--tracking-widest)"
90
+ },
59
91
  colors: {
60
92
  // ─── Brand semantic tokens (map to CSS vars in tokens.css) ───
61
93
  primary: "var(--color-primary)",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tailwind_preset_default
3
- } from "./chunk-SGPYWKN6.js";
3
+ } from "./chunk-N24ZQVRM.js";
4
4
  export {
5
5
  tailwind_preset_default as default
6
6
  };
package/dist/tokens.css CHANGED
@@ -7,6 +7,37 @@
7
7
  /* ─── TYPOGRAPHY ────────────────────────────────────────────── */
8
8
  --font-sans: 'Inter', sans-serif;
9
9
 
10
+ /* Font sizes */
11
+ --font-size-2xs: 0.625rem; /* 10px */
12
+ --font-size-xs: 0.75rem; /* 12px */
13
+ --font-size-base: 0.875rem; /* 14px */
14
+ --font-size-md: 1rem; /* 16px */
15
+ --font-size-lg: 1.125rem; /* 18px */
16
+ --font-size-xl: 1.25rem; /* 20px */
17
+ --font-size-2xl: 1.5rem; /* 24px */
18
+ --font-size-3xl: 1.875rem; /* 30px */
19
+ --font-size-4xl: 2.25rem; /* 36px */
20
+ --font-size-5xl: 3rem; /* 48px */
21
+
22
+ /* Line heights */
23
+ --line-height-none: 1;
24
+ --line-height-tight: 1.25;
25
+ --line-height-snug: 1.375;
26
+ --line-height-normal: 1.5;
27
+ --line-height-relaxed: 1.625;
28
+
29
+ /* Font weights */
30
+ --font-weight-normal: 400;
31
+ --font-weight-medium: 500;
32
+ --font-weight-semibold: 600;
33
+ --font-weight-bold: 700;
34
+
35
+ /* Letter spacing */
36
+ --tracking-tight: -0.025em;
37
+ --tracking-normal: 0em;
38
+ --tracking-wide: 0.025em;
39
+ --tracking-widest: 0.1em;
40
+
10
41
  /* ─── STATIC PALETTE ───────────────────────────────────────── */
11
42
 
12
43
  /* Auxalia Green scale */
@@ -102,52 +133,53 @@
102
133
  .dark {
103
134
  /* ─── BRAND COLORS (dark mode) ─────────────────────────────── */
104
135
 
105
- --color-primary: hsl(73 100% 42%);
106
- --color-primary-hover: hsl(74 100% 36%);
136
+ --color-primary: hsl(73 100% 46%);
137
+ --color-primary-hover: hsl(73 100% 39%);
107
138
  --color-primary-foreground: hsl(222 34% 11%);
108
139
 
109
- /* Secondary becomes light on dark backgrounds */
110
- --color-secondary: hsl(210 25% 97%);
111
- --color-secondary-foreground: hsl(222 34% 11%);
112
- --color-secondary-hover: hsl(201 64% 96%);
140
+ /* Secondary: stays deep navy used as header background */
141
+ --color-secondary: hsl(203 100% 10%);
142
+ --color-secondary-foreground: hsl(0 0% 100%);
143
+ --color-secondary-hover: hsl(203 100% 7%);
113
144
 
114
- --color-accent: hsl(203 49% 22%);
115
- --color-accent-foreground: hsl(210 25% 97%);
145
+ --color-accent: hsl(203 55% 22%);
146
+ --color-accent-foreground: hsl(210 30% 95%);
116
147
 
117
148
  /* ─── SEMANTIC COLORS (dark mode) ──────────────────────────── */
118
149
 
119
- --color-surface: hsl(222 34% 11%);
120
- --color-surface-hover: hsl(203 49% 22%);
121
- --color-surface-foreground: hsl(210 25% 97%);
150
+ --color-surface: hsl(203 60% 15%);
151
+ --color-surface-hover: hsl(203 55% 20%);
152
+ --color-surface-foreground: hsl(210 30% 95%);
122
153
 
123
- --color-destructive: hsl(359 100% 70%);
124
- --color-destructive-hover: hsl(359 100% 61%);
125
- --color-destructive-foreground: hsl(222 34% 11%);
126
- --color-destructive-background: hsl(359 100% 61% / 0.15);
154
+ --color-destructive: hsl(359 90% 68%);
155
+ --color-destructive-hover: hsl(359 90% 58%);
156
+ --color-destructive-foreground: hsl(0 0% 100%);
157
+ --color-destructive-background: hsl(359 100% 61% / 0.12);
127
158
 
128
- --color-success: hsl(142 71% 55%);
159
+ --color-success: hsl(142 68% 52%);
129
160
  --color-success-foreground: hsl(222 34% 11%);
130
- --color-success-background: hsl(142 71% 45% / 0.15);
161
+ --color-success-background: hsl(142 68% 45% / 0.15);
131
162
 
132
- --color-warning: hsl(38 92% 62%);
163
+ --color-warning: hsl(38 90% 60%);
133
164
  --color-warning-foreground: hsl(222 34% 11%);
134
- --color-warning-background: hsl(38 92% 50% / 0.15);
165
+ --color-warning-background: hsl(38 90% 50% / 0.15);
135
166
 
136
- --color-info: hsl(205 43% 83%);
167
+ --color-info: hsl(205 55% 74%);
137
168
  --color-info-foreground: hsl(222 34% 11%);
138
169
 
139
170
  /* ─── BORDERS (dark mode) ───────────────────────────────────── */
140
- --color-border: hsl(203 49% 22%);
141
- --color-border-input: hsl(203 50% 25%);
171
+ --color-border: hsl(203 42% 21%);
172
+ --color-border-input: hsl(203 46% 28%);
142
173
 
143
174
  /* ─── TEXT (dark mode) ──────────────────────────────────────── */
144
- --color-text: hsl(210 25% 97%);
145
- --color-text-secondary: hsl(205 43% 83%);
146
- --color-text-muted: hsl(205 22% 40%);
175
+ --color-text: hsl(210 30% 96%);
176
+ --color-text-secondary: hsl(205 35% 70%);
177
+ --color-text-muted: hsl(205 25% 46%);
147
178
 
148
179
  /* ─── SURFACES (dark mode) ──────────────────────────────────── */
149
- --color-bg-hero: hsl(202 100% 8%);
150
- --color-card: hsl(222 34% 11%);
151
- --color-card-hover: hsl(203 49% 22%);
152
- --color-popover: hsl(203 49% 22%);
180
+ /* Depth hierarchy: bg-hero (darkest) card → surface → popover (lightest) */
181
+ --color-bg-hero: hsl(203 100% 6%);
182
+ --color-card: hsl(203 80% 11%);
183
+ --color-card-hover: hsl(203 60% 17%);
184
+ --color-popover: hsl(203 60% 16%);
153
185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auxalia-ui-kit",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
4
4
  "description": "feat: Add new 'surface' color variant with default, outline, ghost, and link styles to the Button component.",
5
5
  "license": "ISC",
6
6
  "author": {