@re-venue/design-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/dist/index.css ADDED
@@ -0,0 +1,3 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap");
2
+
3
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../src/_fonts.scss"],"names":[],"mappings":"AAAQ","file":"index.css"}
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@re-venue/design-tokens",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "exports": {
6
+ ".": "./src/index.scss",
7
+ "./*": "./src/*"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "src"
12
+ ],
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
+ "scripts": {
17
+ "build": "sass --load-path=../../node_modules src/index.scss dist/index.css"
18
+ }
19
+ }
@@ -0,0 +1,23 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap');
2
+
3
+ // Font families
4
+ $font-primary: 'Arsenal', sans-serif;
5
+ $font-secondary: 'Host Grotesk', sans-serif;
6
+ $font-monospace: 'Courier New', monospace;
7
+
8
+ // Font weights
9
+ $font-weight-light: 300;
10
+ $font-weight-regular: 400;
11
+ $font-weight-medium: 500;
12
+ $font-weight-bold: 700;
13
+
14
+ // Base font sizes
15
+ $font-size-small: 0.875rem; // 14px
16
+ $font-size-base: 1rem; // 16px
17
+ $font-size-large: 1.25rem; // 20px
18
+ $font-size-xlarge: 2rem; // 32px
19
+
20
+ // Line heights
21
+ $line-height-tight: 1.1;
22
+ $line-height-base: 1.2;
23
+ $line-height-loose: 1.5;
@@ -0,0 +1,4 @@
1
+ $safe-top: env(safe-area-inset-top);
2
+ $safe-bottom: env(safe-area-inset-bottom);
3
+ $safe-left: env(safe-area-inset-left);
4
+ $safe-right: env(safe-area-inset-right);
@@ -0,0 +1,47 @@
1
+ $theme-light: (
2
+ text-primary: #111111,
3
+ text-secondary: #444444,
4
+ text-muted: #777777,
5
+ text-inverse: #ffffff,
6
+ text-input: #000000,
7
+ text-button: #ffffff,
8
+ text-light: #dddddd,
9
+ text-medium: #777777,
10
+
11
+ bg-page: #f9f8f6,
12
+ bg-panel: #ffffff,
13
+ bg-input: #ffffff,
14
+ bg-surface: #f0f0f0,
15
+ bg-elevated: #ffffff,
16
+ bg-inverse: #151515,
17
+ bg-button: #151515,
18
+ bg-muted: #777777,
19
+
20
+ border: #111111,
21
+
22
+ accent: #e8c55b,
23
+ accent-hover: #f8ca41,
24
+ accent-contrast: #111111,
25
+
26
+ accent-alt: #0d75a4,
27
+ accent-alt-contrast: #ffffff
28
+ );
29
+
30
+ $theme-dark: (
31
+ text-primary: #f5f5f5,
32
+ text-secondary: #d1d1d1,
33
+ text-muted: #9ca3af,
34
+ text-inverse: #111111,
35
+
36
+ bg-page: #0f172a,
37
+ bg-panel: #ffffff,
38
+ bg-surface: #1e293b,
39
+ bg-elevated: #273449,
40
+ bg-inverse: #f5f5f5,
41
+
42
+ border: #334155,
43
+
44
+ accent: #60a5fa,
45
+ accent-hover: #3b82f6,
46
+ accent-contrast: #020617
47
+ );
@@ -0,0 +1,5 @@
1
+ $padding: 1.25rem;
2
+ $border-radius: 0.5rem;
3
+ $gap: 1rem;
4
+ // $shadow-panel: rgba(149, 157, 165, 0.2) 0px 8px 24px;
5
+ $shadow-panel: rgba(0, 0, 0, 0.24) 0px 3px 8px;
package/src/index.scss ADDED
@@ -0,0 +1,4 @@
1
+ @forward 'fonts';
2
+ @forward 'themes';
3
+ @forward 'variables';
4
+ @forward 'safe-area';