@cloudgrid-io/ui 0.0.1

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.
@@ -0,0 +1,151 @@
1
+ {
2
+ "$comment": "Generated from src/tokens.css by scripts/build.mjs. Do not edit. tokens.css is the source of truth. Values may reference other tokens with var(); resolve them against the same scope, then the default scope.",
3
+ "name": "@cloudgrid-io/ui",
4
+ "scopes": {
5
+ "default": {
6
+ "--cg-ink": "#222222",
7
+ "--cg-primary": "#5a47f0",
8
+ "--cg-secondary": "#b6de68",
9
+ "--cg-tertiary": "#60e9f0",
10
+ "--cg-danger": "#E53935",
11
+ "--cg-primary-press": "#4b39db",
12
+ "--cg-primary-tint": "#eeecfe",
13
+ "--cg-secondary-press": "#a6cf57",
14
+ "--cg-tertiary-press": "#4dd8e0",
15
+ "--cg-neutral-0": "#ffffff",
16
+ "--cg-lavender-50": "#f2f1f7",
17
+ "--cg-neutral-100": "#f1f1f1",
18
+ "--cg-neutral-200": "#e3e3e3",
19
+ "--cg-neutral-400": "#acacac",
20
+ "--cg-neutral-500": "#8e8e8e",
21
+ "--cg-neutral-700": "#595959",
22
+ "--cg-neutral-900": "#222222",
23
+ "--cg-surface-page": "var(--cg-neutral-0)",
24
+ "--cg-surface-page-alt": "var(--cg-lavender-50)",
25
+ "--cg-surface-card": "var(--cg-neutral-0)",
26
+ "--cg-surface-subtle": "var(--cg-lavender-50)",
27
+ "--cg-surface-control": "var(--cg-neutral-200)",
28
+ "--cg-surface-panel": "var(--cg-primary)",
29
+ "--cg-surface-code": "var(--cg-ink)",
30
+ "--cg-text-primary": "var(--cg-neutral-900)",
31
+ "--cg-text-secondary": "var(--cg-neutral-700)",
32
+ "--cg-text-muted": "var(--cg-neutral-500)",
33
+ "--cg-text-placeholder": "var(--cg-neutral-400)",
34
+ "--cg-text-accent": "var(--cg-primary)",
35
+ "--cg-text-inverse": "var(--cg-neutral-0)",
36
+ "--cg-text-on-primary": "var(--cg-neutral-0)",
37
+ "--cg-text-on-accent": "var(--cg-ink)",
38
+ "--cg-text-on-code": "#e7e7e7",
39
+ "--cg-border-hairline": "var(--cg-neutral-100)",
40
+ "--cg-border-control": "var(--cg-neutral-200)",
41
+ "--cg-border-strong": "var(--cg-ink)",
42
+ "--cg-border-accent": "var(--cg-primary)",
43
+ "--cg-focus-ring": "rgba(90, 71, 240, 0.28)",
44
+ "--cg-link": "var(--cg-text-primary)",
45
+ "--cg-link-hover": "var(--cg-primary)",
46
+ "--cg-font-display": "'Futura Condensed ExtraBold', 'Futura Condensed', 'Saira Semi Condensed Variable', 'Saira Semi Condensed', 'Arial Narrow', sans-serif",
47
+ "--cg-font-body": "'Manrope Variable', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
48
+ "--cg-font-mono": "'JetBrains Mono Variable', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace",
49
+ "--cg-weight-regular": "400",
50
+ "--cg-weight-medium": "500",
51
+ "--cg-weight-bold": "700",
52
+ "--cg-weight-display": "800",
53
+ "--cg-display-xl": "56px",
54
+ "--cg-display-lg": "44px",
55
+ "--cg-display-md": "38px",
56
+ "--cg-display-sm": "30px",
57
+ "--cg-display-line": "1.06",
58
+ "--cg-display-tracking": "0.012em",
59
+ "--cg-heading-lg": "24px",
60
+ "--cg-heading-md": "20px",
61
+ "--cg-heading-sm": "17px",
62
+ "--cg-heading-line": "1.3",
63
+ "--cg-body-lg": "19px",
64
+ "--cg-body-md": "16px",
65
+ "--cg-body-sm": "15px",
66
+ "--cg-caption": "13px",
67
+ "--cg-body-line": "1.5",
68
+ "--cg-body-tracking": "0em",
69
+ "--cg-mono-size": "14px",
70
+ "--cg-mono-line": "1.7",
71
+ "--cg-label-size": "15px",
72
+ "--cg-label-weight": "var(--cg-weight-medium)",
73
+ "--cg-space-1": "4px",
74
+ "--cg-space-2": "8px",
75
+ "--cg-space-3": "12px",
76
+ "--cg-space-4": "16px",
77
+ "--cg-space-5": "20px",
78
+ "--cg-space-6": "24px",
79
+ "--cg-space-8": "32px",
80
+ "--cg-space-10": "40px",
81
+ "--cg-space-12": "48px",
82
+ "--cg-space-16": "64px",
83
+ "--cg-space-20": "80px",
84
+ "--cg-space-30": "120px",
85
+ "--cg-column-form": "414px",
86
+ "--cg-column-wide": "920px",
87
+ "--cg-page-pad": "32px",
88
+ "--cg-header-height": "90px",
89
+ "--cg-footer-height": "64px",
90
+ "--cg-stack-tight": "8px",
91
+ "--cg-stack": "16px",
92
+ "--cg-stack-loose": "24px",
93
+ "--cg-section-gap": "56px",
94
+ "--cg-container": "1280px",
95
+ "--cg-measure": "68ch",
96
+ "--cg-radius-xs": "8px",
97
+ "--cg-radius-sm": "10px",
98
+ "--cg-radius-md": "12px",
99
+ "--cg-radius-lg": "14px",
100
+ "--cg-radius-xl": "16px",
101
+ "--cg-radius-2xl": "24px",
102
+ "--cg-radius-pill": "999px",
103
+ "--cg-border-width": "1px",
104
+ "--cg-border-width-strong": "1.5px",
105
+ "--cg-shadow-none": "none",
106
+ "--cg-shadow-card": "0 1px 2px rgba(34, 34, 34, 0.04)",
107
+ "--cg-shadow-raised": "0 4px 14px rgba(34, 34, 34, 0.06)",
108
+ "--cg-shadow-hover": "0 8px 24px rgba(34, 34, 34, 0.08)",
109
+ "--cg-shadow-panel": "0 10px 40px rgba(90, 71, 240, 0.18)",
110
+ "--cg-ring-focus": "0 0 0 3px var(--cg-focus-ring)",
111
+ "--cg-duration-fast": "120ms",
112
+ "--cg-duration": "180ms",
113
+ "--cg-duration-slow": "280ms",
114
+ "--cg-ease-out": "cubic-bezier(0, 0, 0.2, 1)",
115
+ "--cg-ease-in-out": "cubic-bezier(0.4, 0, 0.2, 1)",
116
+ "--cg-transition-control": "background-color var(--cg-duration) var(--cg-ease-out), border-color var(--cg-duration) var(--cg-ease-out), color var(--cg-duration) var(--cg-ease-out), box-shadow var(--cg-duration) var(--cg-ease-out)",
117
+ "--cg-lift-hover": "translateY(-1px)",
118
+ "--cg-press-scale": "0.985"
119
+ },
120
+ "panel": {
121
+ "--cg-text-primary": "#ffffff",
122
+ "--cg-text-secondary": "rgba(255, 255, 255, 0.82)",
123
+ "--cg-text-muted": "rgba(255, 255, 255, 0.66)",
124
+ "--cg-text-accent": "#ffffff",
125
+ "--cg-border-control": "rgba(255, 255, 255, 0.62)",
126
+ "--cg-border-hairline": "rgba(255, 255, 255, 0.24)",
127
+ "--cg-border-strong": "#ffffff",
128
+ "--cg-focus-ring": "rgba(255, 255, 255, 0.5)",
129
+ "--cg-link": "#ffffff",
130
+ "--cg-link-hover": "var(--cg-secondary)",
131
+ "--cg-surface-card": "transparent",
132
+ "--cg-danger": "#FFDAD6"
133
+ },
134
+ "ink": {
135
+ "--cg-text-primary": "#ffffff",
136
+ "--cg-text-secondary": "rgba(255, 255, 255, 0.78)",
137
+ "--cg-text-muted": "rgba(255, 255, 255, 0.56)",
138
+ "--cg-text-accent": "var(--cg-secondary)",
139
+ "--cg-surface-card": "rgba(255, 255, 255, 0.04)",
140
+ "--cg-surface-page-alt": "rgba(255, 255, 255, 0.06)",
141
+ "--cg-border-control": "rgba(255, 255, 255, 0.4)",
142
+ "--cg-border-hairline": "rgba(255, 255, 255, 0.16)",
143
+ "--cg-border-strong": "#ffffff",
144
+ "--cg-border-accent": "var(--cg-secondary)",
145
+ "--cg-focus-ring": "rgba(182, 222, 104, 0.45)",
146
+ "--cg-link": "#ffffff",
147
+ "--cg-link-hover": "var(--cg-secondary)",
148
+ "--cg-danger": "#FF8A80"
149
+ }
150
+ }
151
+ }
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@cloudgrid-io/ui",
3
+ "version": "0.0.1",
4
+ "description": "CloudGrid brand design tokens: CSS variables, Tailwind theme, self-hosted fonts, machine-readable JSON.",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/",
7
+ "access": "restricted"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/cloudgrid-io/ui.git",
12
+ "directory": "packages/tokens"
13
+ },
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "exports": {
18
+ "./tokens.css": "./dist/tokens.css",
19
+ "./theme.css": "./dist/theme.css",
20
+ "./shadcn.css": "./dist/shadcn.css",
21
+ "./fonts.css": "./dist/fonts.css",
22
+ "./prose.css": "./dist/prose.css",
23
+ "./tokens.json": "./dist/tokens.json",
24
+ "./tokens/*.json": "./dist/tokens/*.json"
25
+ },
26
+ "scripts": {
27
+ "build": "node scripts/build.mjs",
28
+ "prepack": "node scripts/build.mjs",
29
+ "test": "node --test \"test/*.test.mjs\"",
30
+ "import:tokens": "node scripts/import-design-tokens.mjs",
31
+ "extract:dtcg": "node scripts/extract-dtcg.mjs",
32
+ "verify:equivalence": "node scripts/verify-equivalence.mjs"
33
+ },
34
+ "dependencies": {
35
+ "@fontsource-variable/jetbrains-mono": "^5.3.0",
36
+ "@fontsource-variable/manrope": "^5.3.0",
37
+ "@fontsource/saira-semi-condensed": "^5.3.0"
38
+ }
39
+ }