@mohamedatia/fly-design-system 1.9.2 → 2.3.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mohamedatia/fly-design-system",
3
- "version": "1.9.2",
3
+ "version": "2.3.0",
4
4
  "description": "FlyOS design system — shared components, directives, pipes, services, and models for Business App developers.",
5
5
  "keywords": [
6
6
  "flyos",
@@ -1,89 +1,89 @@
1
- // ─── Light Theme (default) ───────────────────────────────────────────────────
2
- :root,
3
- html.light-theme {
4
- color-scheme: light;
5
- --primary-color: #E8732A;
6
- --primary-hover: #D4631E;
7
- --primary-light: rgba(232, 115, 42, 0.12);
8
-
9
- --accent-green: var(--system-green);
10
- --accent-red: var(--system-red);
11
- --accent-blue: var(--system-blue);
12
- --accent-orange: #E8732A;
13
- --accent-yellow: var(--system-yellow);
14
-
15
- --surface-ground: #f8f9fa;
16
- --surface-section: #ffffff;
17
- --surface-card: rgba(255, 255, 255, 0.55);
18
- --surface-border: rgba(0, 0, 0, 0.06);
19
- --surface-hover: rgba(0, 0, 0, 0.04);
20
- --text-color: #111827;
21
- --text-color-secondary: rgba(17, 24, 39, 0.55);
22
-
23
- --glass-bg: rgba(255, 255, 255, 0.55);
24
- --glass-bg-elevated: rgba(255, 255, 255, 0.72);
25
- --glass-blur: 40px;
26
- --glass-border: rgba(255, 255, 255, 0.35);
27
- --glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
28
- --glass-inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
29
-
30
- --card-radius: 20px;
31
- --card-padding: 20px;
32
- --card-gap: 14px;
33
-
34
- --window-bg: var(--material-glass);
35
- --window-radius: 24px;
36
- --window-blur: var(--material-glass-blur);
37
- --window-backdrop-saturate: 125%;
38
- --window-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
39
- --window-border: var(--material-glass-stroke);
40
- --window-specular: var(--material-glass-specular);
41
- --window-content-scrim: transparent;
42
- --app-content-plate: transparent;
43
-
44
- --titlebar-bg: transparent;
45
- --titlebar-height: 44px;
46
- --titlebar-padding: 0 14px;
47
-
48
- --dock-bg: rgba(255, 255, 255, 0.15);
49
- --dock-border: rgba(255, 255, 255, 0.3);
50
- --dock-blur: 50px;
51
-
52
- --menubar-bg: rgba(255, 255, 255, 0.55);
53
- --menubar-border: rgba(0, 0, 0, 0.06);
54
- --menubar-text: rgba(17, 24, 39, 1);
55
- --menubar-blur: 40px;
56
- --menubar-radius: 24px;
57
-
58
- --sidebar-bg: rgba(255, 255, 255, 0.35);
59
- --sidebar-border: rgba(255, 255, 255, 0.25);
60
- --sidebar-width: 60px;
61
- --sidebar-icon-size: 36px;
62
- --sidebar-radius: 28px;
63
-
64
- --focus-ring: rgba(232, 115, 42, 0.5);
65
-
66
- // Segmented `.vos-btn.selected` / `.active` (Settings theme row, clock, weather, etc.): dark pill on light UI.
67
- --btn-selected-bg: #111827;
68
- --btn-selected-text: #ffffff;
69
-
70
- // Business Apps / opaque content: :root visionOS tokens use white labels; override for light surfaces.
71
- --label-primary: #111827;
72
- --label-secondary: rgba(17, 24, 39, 0.65);
73
- --label-tertiary: rgba(17, 24, 39, 0.45);
74
- --separator-primary: rgba(0, 0, 0, 0.1);
75
- --separator: var(--separator-primary);
76
- --fill-secondary: #e5e7eb;
77
- --fill-tertiary: rgba(0, 0, 0, 0.04);
78
- --material-glass: #ffffff;
79
-
80
- // Aliases used by some Business App SCSS (not part of core visionOS tokens).
81
- --fly-color-surface: #ffffff;
82
- --fly-color-surface-alt: #f3f4f6;
83
- --fly-color-border: #e5e7eb;
84
- --fly-color-text-muted: rgba(17, 24, 39, 0.55);
85
- --fly-color-primary: var(--primary-color);
86
- --fly-color-primary-hover: var(--primary-hover);
87
- --fly-color-danger: var(--system-red);
88
- --fly-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
89
- }
1
+ // ─── Light Theme (default) ───────────────────────────────────────────────────
2
+ :root,
3
+ html.light-theme {
4
+ color-scheme: light;
5
+ --primary-color: #E8732A;
6
+ --primary-hover: #D4631E;
7
+ --primary-light: rgba(232, 115, 42, 0.12);
8
+
9
+ --accent-green: var(--system-green);
10
+ --accent-red: var(--system-red);
11
+ --accent-blue: var(--system-blue);
12
+ --accent-orange: #E8732A;
13
+ --accent-yellow: var(--system-yellow);
14
+
15
+ --surface-ground: #f8f9fa;
16
+ --surface-section: #ffffff;
17
+ --surface-card: rgba(255, 255, 255, 0.55);
18
+ --surface-border: rgba(0, 0, 0, 0.06);
19
+ --surface-hover: rgba(0, 0, 0, 0.04);
20
+ --text-color: #111827;
21
+ --text-color-secondary: rgba(17, 24, 39, 0.55);
22
+
23
+ --glass-bg: rgba(255, 255, 255, 0.55);
24
+ --glass-bg-elevated: rgba(255, 255, 255, 0.72);
25
+ --glass-blur: 40px;
26
+ --glass-border: rgba(255, 255, 255, 0.35);
27
+ --glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
28
+ --glass-inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
29
+
30
+ --card-radius: 20px;
31
+ --card-padding: 20px;
32
+ --card-gap: 14px;
33
+
34
+ --window-bg: var(--material-glass);
35
+ --window-radius: 24px;
36
+ --window-blur: var(--material-glass-blur);
37
+ --window-backdrop-saturate: 125%;
38
+ --window-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
39
+ --window-border: var(--material-glass-stroke);
40
+ --window-specular: var(--material-glass-specular);
41
+ --window-content-scrim: transparent;
42
+ --app-content-plate: transparent;
43
+
44
+ --titlebar-bg: transparent;
45
+ --titlebar-height: 44px;
46
+ --titlebar-padding: 0 14px;
47
+
48
+ --dock-bg: rgba(255, 255, 255, 0.15);
49
+ --dock-border: rgba(255, 255, 255, 0.3);
50
+ --dock-blur: 50px;
51
+
52
+ --menubar-bg: rgba(255, 255, 255, 0.55);
53
+ --menubar-border: rgba(0, 0, 0, 0.06);
54
+ --menubar-text: rgba(17, 24, 39, 1);
55
+ --menubar-blur: 40px;
56
+ --menubar-radius: 24px;
57
+
58
+ --sidebar-bg: rgba(255, 255, 255, 0.35);
59
+ --sidebar-border: rgba(255, 255, 255, 0.25);
60
+ --sidebar-width: 60px;
61
+ --sidebar-icon-size: 36px;
62
+ --sidebar-radius: 28px;
63
+
64
+ --focus-ring: rgba(232, 115, 42, 0.5);
65
+
66
+ // Segmented `.vos-btn.selected` / `.active` (Settings theme row, clock, weather, etc.): dark pill on light UI.
67
+ --btn-selected-bg: #111827;
68
+ --btn-selected-text: #ffffff;
69
+
70
+ // Business Apps / opaque content: :root visionOS tokens use white labels; override for light surfaces.
71
+ --label-primary: #111827;
72
+ --label-secondary: rgba(17, 24, 39, 0.65);
73
+ --label-tertiary: rgba(17, 24, 39, 0.45);
74
+ --separator-primary: rgba(0, 0, 0, 0.1);
75
+ --separator: var(--separator-primary);
76
+ --fill-secondary: #e5e7eb;
77
+ --fill-tertiary: rgba(0, 0, 0, 0.04);
78
+ --material-glass: #ffffff;
79
+
80
+ // Aliases used by some Business App SCSS (not part of core visionOS tokens).
81
+ --fly-color-surface: #ffffff;
82
+ --fly-color-surface-alt: #f3f4f6;
83
+ --fly-color-border: #e5e7eb;
84
+ --fly-color-text-muted: rgba(17, 24, 39, 0.55);
85
+ --fly-color-primary: var(--primary-color);
86
+ --fly-color-primary-hover: var(--primary-hover);
87
+ --fly-color-danger: var(--system-red);
88
+ --fly-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
89
+ }