@privateers/ui 0.3.2 → 0.3.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.
- package/dist/styles/library.css +69 -0
- package/package.json +2 -1
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Privateers Design System — Library entry point
|
|
3
|
+
* Import this in consuming apps (not index.css).
|
|
4
|
+
* index.css is for use inside the monorepo's Storybook only.
|
|
5
|
+
*
|
|
6
|
+
* Consuming app is responsible for:
|
|
7
|
+
* - @import "tailwindcss" (or equivalent Tailwind setup)
|
|
8
|
+
* - Font imports (Figtree, Geist Mono)
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
@import "./tokens.css";
|
|
12
|
+
|
|
13
|
+
@custom-variant dark (&:is(.dark *));
|
|
14
|
+
|
|
15
|
+
@theme inline {
|
|
16
|
+
--color-background: var(--background);
|
|
17
|
+
--color-foreground: var(--foreground);
|
|
18
|
+
--font-sans: var(--font-sans);
|
|
19
|
+
--font-mono: var(--font-mono);
|
|
20
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
21
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
22
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
23
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
24
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
25
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
26
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
27
|
+
--color-sidebar: var(--sidebar);
|
|
28
|
+
--color-chart-5: var(--chart-5);
|
|
29
|
+
--color-chart-4: var(--chart-4);
|
|
30
|
+
--color-chart-3: var(--chart-3);
|
|
31
|
+
--color-chart-2: var(--chart-2);
|
|
32
|
+
--color-chart-1: var(--chart-1);
|
|
33
|
+
--color-ring: var(--ring);
|
|
34
|
+
--color-input: var(--input);
|
|
35
|
+
--color-border: var(--border);
|
|
36
|
+
--color-destructive: var(--destructive);
|
|
37
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
38
|
+
--color-accent: var(--accent);
|
|
39
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
40
|
+
--color-muted: var(--muted);
|
|
41
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
42
|
+
--color-secondary: var(--secondary);
|
|
43
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
44
|
+
--color-primary: var(--primary);
|
|
45
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
46
|
+
--color-popover: var(--popover);
|
|
47
|
+
--color-card-foreground: var(--card-foreground);
|
|
48
|
+
--color-card: var(--card);
|
|
49
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
50
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
51
|
+
--radius-lg: var(--radius);
|
|
52
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
53
|
+
--radius-2xl: calc(var(--radius) + 8px);
|
|
54
|
+
--radius-3xl: calc(var(--radius) + 12px);
|
|
55
|
+
--radius-4xl: calc(var(--radius) + 16px);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@layer base {
|
|
59
|
+
* {
|
|
60
|
+
@apply border-border outline-ring/50;
|
|
61
|
+
}
|
|
62
|
+
body {
|
|
63
|
+
@apply bg-background text-foreground antialiased;
|
|
64
|
+
font-family: var(--font-sans);
|
|
65
|
+
}
|
|
66
|
+
code, pre, kbd, samp {
|
|
67
|
+
font-family: var(--font-mono);
|
|
68
|
+
}
|
|
69
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@privateers/ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Privateers Design System - A modern React component library built with Radix UI, CVA, and Tailwind CSS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"./styles": "./dist/styles/index.css",
|
|
22
22
|
"./styles/tokens": "./dist/styles/tokens.css",
|
|
23
|
+
"./styles/library": "./dist/styles/library.css",
|
|
23
24
|
"./styles/*": "./dist/styles/*",
|
|
24
25
|
"./tailwind/preset": {
|
|
25
26
|
"import": {
|