@pgianni/toolbox-tokens 0.1.0

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/package.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@pgianni/toolbox-tokens",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "files": [
6
+ "src"
7
+ ],
8
+ "exports": {
9
+ "./css": "./src/tokens.css",
10
+ "./json": "./src/tokens.json"
11
+ },
12
+ "sideEffects": [
13
+ "**/*.css"
14
+ ],
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/pgianni/toolbox-design-system.git",
18
+ "directory": "packages/tokens"
19
+ },
20
+ "publishConfig": {
21
+ "access": "public",
22
+ "provenance": true
23
+ }
24
+ }
package/src/tokens.css ADDED
@@ -0,0 +1,57 @@
1
+ :root {
2
+ --background: 0 0% 100%;
3
+ --foreground: 222.2 84% 4.9%;
4
+ --card: 0 0% 100%;
5
+ --card-foreground: 222.2 84% 4.9%;
6
+ --popover: 0 0% 100%;
7
+ --popover-foreground: 222.2 84% 4.9%;
8
+ --primary: 256 100% 50%;
9
+ --primary-foreground: 0 0% 100%;
10
+ --secondary: 210 40% 96.1%;
11
+ --secondary-foreground: 222.2 47.4% 11.2%;
12
+ --muted: 210 40% 96.1%;
13
+ --muted-foreground: 215.4 16.3% 46.9%;
14
+ --accent: 210 40% 96.1%;
15
+ --accent-foreground: 222.2 47.4% 11.2%;
16
+ --destructive: 0 84.2% 60.2%;
17
+ --destructive-foreground: 210 40% 98%;
18
+ --border: 214.3 31.8% 91.4%;
19
+ --input: 214.3 31.8% 91.4%;
20
+ --ring: 256 100% 50%;
21
+ --app-background: 210 40% 96.1%;
22
+ --card-muted: 0 0% 100%;
23
+ --icebreaker: 328 82% 59%;
24
+
25
+ --radius: 0.5rem;
26
+ --radius-sm: 0.375rem;
27
+ --radius-md: 0.5rem;
28
+ --radius-lg: 0.75rem;
29
+
30
+ --shadow-sm: 0 1px 2px 0 hsl(220 20% 10% / 0.05);
31
+ --shadow-md: 0 4px 6px -1px hsl(220 20% 10% / 0.1), 0 2px 4px -2px hsl(220 20% 10% / 0.1);
32
+ --shadow-lg: 0 10px 15px -3px hsl(220 20% 10% / 0.1), 0 4px 6px -4px hsl(220 20% 10% / 0.1);
33
+ }
34
+
35
+ .dark {
36
+ --background: 222.2 84% 4.9%;
37
+ --foreground: 0 0% 100%;
38
+ --card: 222.2 84% 4.9%;
39
+ --card-foreground: 0 0% 100%;
40
+ --popover: 222.2 84% 4.9%;
41
+ --popover-foreground: 0 0% 100%;
42
+ --primary: 256 100% 50%;
43
+ --primary-foreground: 0 0% 100%;
44
+ --secondary: 217.2 32.6% 17.5%;
45
+ --secondary-foreground: 0 0% 100%;
46
+ --muted: 217.2 32.6% 17.5%;
47
+ --muted-foreground: 210 30% 68%;
48
+ --accent: 217.2 32.6% 17.5%;
49
+ --accent-foreground: 0 0% 100%;
50
+ --destructive: 0 62.8% 30.6%;
51
+ --destructive-foreground: 0 0% 100%;
52
+ --border: 210 35% 18%;
53
+ --input: 210 35% 18%;
54
+ --ring: 256 100% 50%;
55
+ --app-background: 222.2 84% 4.9%;
56
+ --card-muted: 217.2 32.6% 17.5%;
57
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "color": {
3
+ "primary": { "light": "256 100% 50%", "dark": "256 100% 50%" },
4
+ "background": { "light": "0 0% 100%", "dark": "222.2 84% 4.9%" },
5
+ "foreground": { "light": "222.2 84% 4.9%", "dark": "0 0% 100%" },
6
+ "destructive": { "light": "0 84.2% 60.2%", "dark": "0 62.8% 30.6%" }
7
+ },
8
+ "radius": {
9
+ "sm": "0.375rem",
10
+ "md": "0.5rem",
11
+ "lg": "0.75rem"
12
+ }
13
+ }