@ewanc26/ui 0.1.0 → 0.1.2
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,38 @@
|
|
|
1
|
+
/* ─── pds-tokens.css ─────────────────────────────────────────────────────────
|
|
2
|
+
*
|
|
3
|
+
* Design tokens for the PDS landing terminal aesthetic.
|
|
4
|
+
* A dark, Catppuccin-inspired forest-green palette.
|
|
5
|
+
*
|
|
6
|
+
* Usage:
|
|
7
|
+
* import '@ewanc26/ui/styles/pds-tokens.css';
|
|
8
|
+
*
|
|
9
|
+
* Then reference tokens as CSS custom properties, e.g.:
|
|
10
|
+
* background-color: var(--pds-color-crust);
|
|
11
|
+
* font-family: var(--pds-font-mono);
|
|
12
|
+
* ─────────────────────────────────────────────────────────────────────────── */
|
|
13
|
+
|
|
14
|
+
:root {
|
|
15
|
+
/* Typography */
|
|
16
|
+
--pds-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
17
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
18
|
+
|
|
19
|
+
/* Surfaces — darkest to lightest */
|
|
20
|
+
--pds-color-crust: #0d1210;
|
|
21
|
+
--pds-color-mantle: #141c19;
|
|
22
|
+
--pds-color-base: #1a2420;
|
|
23
|
+
--pds-color-surface-0: #243028;
|
|
24
|
+
--pds-color-surface-1: #2e3d34;
|
|
25
|
+
--pds-color-overlay-0: #4d6b58;
|
|
26
|
+
|
|
27
|
+
/* Text */
|
|
28
|
+
--pds-color-text: #cdd6f4;
|
|
29
|
+
--pds-color-subtext-0: #93b09a;
|
|
30
|
+
|
|
31
|
+
/* Accents */
|
|
32
|
+
--pds-color-green: #a6e3a1;
|
|
33
|
+
--pds-color-red: #f38ba8;
|
|
34
|
+
--pds-color-yellow: #f9e2af;
|
|
35
|
+
|
|
36
|
+
/* Utility */
|
|
37
|
+
--pds-color-shadow: #000000;
|
|
38
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ewanc26/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Svelte UI component library extracted from ewancroft.uk — pluggable layout, UI primitives, stores, and SEO components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
|
+
"./styles/pds-tokens.css": {
|
|
8
|
+
"source": "./src/lib/styles/pds-tokens.css",
|
|
9
|
+
"default": "./dist/styles/pds-tokens.css"
|
|
10
|
+
},
|
|
7
11
|
".": {
|
|
8
12
|
"source": "./src/lib/index.ts",
|
|
9
13
|
"types": "./dist/index.d.ts",
|
|
@@ -13,7 +17,9 @@
|
|
|
13
17
|
},
|
|
14
18
|
"svelte": "./dist/index.js",
|
|
15
19
|
"types": "./dist/index.d.ts",
|
|
16
|
-
"publishConfig": {
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
17
23
|
"files": [
|
|
18
24
|
"dist",
|
|
19
25
|
"src"
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* ─── pds-tokens.css ─────────────────────────────────────────────────────────
|
|
2
|
+
*
|
|
3
|
+
* Design tokens for the PDS landing terminal aesthetic.
|
|
4
|
+
* A dark, Catppuccin-inspired forest-green palette.
|
|
5
|
+
*
|
|
6
|
+
* Usage:
|
|
7
|
+
* import '@ewanc26/ui/styles/pds-tokens.css';
|
|
8
|
+
*
|
|
9
|
+
* Then reference tokens as CSS custom properties, e.g.:
|
|
10
|
+
* background-color: var(--pds-color-crust);
|
|
11
|
+
* font-family: var(--pds-font-mono);
|
|
12
|
+
* ─────────────────────────────────────────────────────────────────────────── */
|
|
13
|
+
|
|
14
|
+
:root {
|
|
15
|
+
/* Typography */
|
|
16
|
+
--pds-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
17
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
18
|
+
|
|
19
|
+
/* Surfaces — darkest to lightest */
|
|
20
|
+
--pds-color-crust: #0d1210;
|
|
21
|
+
--pds-color-mantle: #141c19;
|
|
22
|
+
--pds-color-base: #1a2420;
|
|
23
|
+
--pds-color-surface-0: #243028;
|
|
24
|
+
--pds-color-surface-1: #2e3d34;
|
|
25
|
+
--pds-color-overlay-0: #4d6b58;
|
|
26
|
+
|
|
27
|
+
/* Text */
|
|
28
|
+
--pds-color-text: #cdd6f4;
|
|
29
|
+
--pds-color-subtext-0: #93b09a;
|
|
30
|
+
|
|
31
|
+
/* Accents */
|
|
32
|
+
--pds-color-green: #a6e3a1;
|
|
33
|
+
--pds-color-red: #f38ba8;
|
|
34
|
+
--pds-color-yellow: #f9e2af;
|
|
35
|
+
|
|
36
|
+
/* Utility */
|
|
37
|
+
--pds-color-shadow: #000000;
|
|
38
|
+
}
|