@erathen/theme 1.0.3 → 1.0.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erathen/theme",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Angular theme and design token library",
5
5
  "author": "Mute Studios",
6
6
  "license": "MIT",
@@ -0,0 +1,4 @@
1
+ @use '../variables/_color.sass'
2
+ @use '../variables/_radius.sass'
3
+ @use '../variables/_spacing.sass'
4
+ @use '../variables/_light.sass'
package/styles/dark.sass CHANGED
@@ -1,3 +1,14 @@
1
1
  .e-dark
2
- --era-color-bg-surface: #111827
3
- --era-color-text-primary: #f9fafb
2
+ /* Neutral / Surface Colors */
3
+ --e-color-surface-100: #0b0f19
4
+ --e-color-surface-200: #090c14
5
+ --e-color-surface-400: #07090f
6
+ --e-color-surface-600: #04060a
7
+ --e-color-surface-800: #020305
8
+
9
+ /* Text Colors */
10
+ --e-color-text-primary: #f9fafb
11
+ --e-color-text-secondary: #e5e7eb
12
+ --e-color-text-muted: #9ca3af
13
+ --e-color-text-disabled: #6b7280
14
+ --e-color-text-inverse: #070a10
package/styles/light.sass CHANGED
@@ -1,6 +1,20 @@
1
- :root
2
- :host
1
+ :root,
2
+ :host,
3
3
  .e-light
4
- --era-color-bg-surface: #ffffff
5
- --era-color-text-primary: #111827
6
- --era-radius-md: 8px
4
+ /* Neutral / Surface Colors */
5
+ --e-color-surface-100: #ffffff
6
+ --e-color-surface-200: #cccccc
7
+ --e-color-surface-400: #999999
8
+ --e-color-surface-600: #666666
9
+ --e-color-surface-800: #333333
10
+
11
+ /* Text Colors */
12
+ --e-color-text-primary: #070a10
13
+ --e-color-text-secondary: #374151
14
+ --e-color-text-muted: #6b7280
15
+ --e-color-text-disabled: #cfd1d4
16
+ --e-color-text-inverse: #ffffff
17
+
18
+
19
+
20
+
@@ -0,0 +1,22 @@
1
+ :root,
2
+ :host
3
+ /* Brand Colors */
4
+ --e-color-brand-100: #e71d36
5
+ --e-color-brand-200: #b9172b
6
+ --e-color-brand-400: #8b1120
7
+ --e-color-brand-600: #5c0c16
8
+ --e-color-brand-800: #2e060b
9
+ --e-color-brand-tint-100: #e71d36
10
+ --e-color-brand-tint-200: #ec4a5e
11
+ --e-color-brand-tint-400: #f17786
12
+ --e-color-brand-tint-600: #f5a5af
13
+ --e-color-brand-tint-800: #fad2d7
14
+
15
+ /* State Colors */
16
+ --e-color-success: #16a34a;
17
+ --e-color-warning: #f59e0b;
18
+ --e-color-danger: #dc2626;
19
+ --e-color-info: #2563eb;
20
+
21
+
22
+
@@ -0,0 +1,15 @@
1
+ :root,
2
+ :host
3
+ /* Radius Sizes */
4
+ --e-radius-xs: 2px
5
+ --e-radius-sm: 4px
6
+ --e-radius-md: 6px
7
+ --e-radius-lg: 8px
8
+ --e-radius-xl: 12px
9
+ --e-radius-xxl: 16px
10
+ --e-radius-full: 9999px
11
+
12
+ /* Shadows */
13
+ --e-shadow-sm: 0 1px 2px rgba(0,0,0,0.05)
14
+ --e-shadow-md: 0 4px 6px rgba(0,0,0,0.1)
15
+ --e-shadow-lg: 0 10px 15px rgba(0,0,0,0.15)
@@ -0,0 +1,11 @@
1
+ :root,
2
+ :host
3
+ --e-space-0: 0
4
+ --e-space-1: 0.25rem
5
+ --e-space-2: 0.5rem
6
+ --e-space-3: 0.75rem
7
+ --e-space-4: 1rem
8
+ --e-space-5: 1.25rem
9
+ --e-space-6: 1.5rem
10
+ --e-space-8: 2rem
11
+ --e-space-10: 2.5rem
@@ -0,0 +1,25 @@
1
+ :root,
2
+ :host
3
+ /* Font Families */
4
+ --e-font-family-base: 'Inter', system-ui, sans-serif
5
+
6
+ /* Font Sizes */
7
+ --e-font-size-xs: 0.75rem
8
+ --e-font-size-sm: 0.875rem
9
+ --e-font-size-md: 1rem
10
+ --e-font-size-lg: 1.125rem
11
+ --e-font-size-xl: 1.25rem
12
+ --e-font-size-xxl: 1.5rem
13
+
14
+ /* Font Weights */
15
+ --e-font-weight-regular: 400
16
+ --e-font-weight-medium: 500
17
+ --e-font-weight-semibold: 600
18
+ --e-font-weight-bold: 700
19
+ --e-font-weight-extrabold: 800
20
+ --e-font-weight-black: 900
21
+
22
+ /* Line Heights */
23
+ --e-line-height-tight: 1.25
24
+ --e-line-height-normal:1.5
25
+ --e-line-height-relaxed:1.75