@principal-ade/industry-theme 0.1.4 → 0.1.6

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.
@@ -1,213 +0,0 @@
1
- /**
2
- * Glassmorphism theme - Showcasing transparency and blur effects
3
- * Designed to work over gradient or image backgrounds
4
- */
5
-
6
- import { Theme } from './index';
7
-
8
- export const glassmorphismTheme: Theme = {
9
- // Spacing scale
10
- space: [0, 4, 8, 16, 32, 64, 128, 256, 512],
11
-
12
- // Typography - Modern sans-serif
13
- fonts: {
14
- body: '"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',
15
- heading: '"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',
16
- monospace: '"Fira Code", "SF Mono", Monaco, Inconsolata, monospace',
17
- },
18
-
19
- fontSizes: [12, 14, 16, 18, 20, 24, 32, 48, 64, 96],
20
-
21
- fontScale: 1.0,
22
-
23
- fontWeights: {
24
- body: 400,
25
- heading: 600,
26
- bold: 700,
27
- light: 300,
28
- medium: 500,
29
- semibold: 600,
30
- },
31
-
32
- lineHeights: {
33
- body: 1.6,
34
- heading: 1.3,
35
- tight: 1.4,
36
- relaxed: 1.8,
37
- },
38
-
39
- // Layout
40
- breakpoints: ['640px', '768px', '1024px', '1280px'],
41
- sizes: [16, 32, 64, 128, 256, 512, 768, 1024, 1536],
42
- radii: [0, 8, 12, 16, 20, 24, 32, 40],
43
- shadows: [
44
- 'none',
45
- '0 8px 32px 0 rgba(31, 38, 135, 0.15)',
46
- '0 12px 40px 0 rgba(31, 38, 135, 0.2)',
47
- '0 16px 48px 0 rgba(31, 38, 135, 0.25)',
48
- '0 20px 56px 0 rgba(31, 38, 135, 0.3)',
49
- '0 24px 64px 0 rgba(31, 38, 135, 0.35)',
50
- ],
51
- zIndices: [0, 1, 10, 20, 30, 40, 50],
52
-
53
- // Colors - Heavy use of transparency for glass effect
54
- colors: {
55
- // Base colors with transparency
56
- text: 'rgba(255, 255, 255, 0.95)', // Nearly opaque white
57
- background: 'rgba(255, 255, 255, 0.1)', // Very transparent white
58
- primary: 'rgba(99, 102, 241, 0.9)', // Semi-transparent indigo
59
- secondary: 'rgba(139, 92, 246, 0.9)', // Semi-transparent purple
60
- accent: 'rgba(236, 72, 153, 0.9)', // Semi-transparent pink
61
- highlight: 'rgba(99, 102, 241, 0.2)', // Transparent indigo
62
- muted: 'rgba(255, 255, 255, 0.05)', // Barely visible white
63
-
64
- // Status colors with transparency
65
- success: 'rgba(34, 197, 94, 0.9)', // Semi-transparent green
66
- warning: 'rgba(251, 146, 60, 0.9)', // Semi-transparent orange
67
- error: 'rgba(239, 68, 68, 0.9)', // Semi-transparent red
68
- info: 'rgba(59, 130, 246, 0.9)', // Semi-transparent blue
69
-
70
- // Glass effect colors
71
- border: 'rgba(255, 255, 255, 0.18)', // Transparent white border
72
- backgroundSecondary: 'rgba(255, 255, 255, 0.15)', // Slightly more opaque
73
- backgroundTertiary: 'rgba(255, 255, 255, 0.2)', // Even more opaque
74
- backgroundLight: 'rgba(255, 255, 255, 0.08)', // Very light overlay
75
- backgroundHover: 'rgba(255, 255, 255, 0.25)', // Hover state
76
- surface: 'rgba(255, 255, 255, 0.12)', // Surface panels
77
- textSecondary: 'rgba(255, 255, 255, 0.8)', // Slightly transparent text
78
- textTertiary: 'rgba(255, 255, 255, 0.6)', // More transparent text
79
- textMuted: 'rgba(255, 255, 255, 0.5)', // Half transparent text
80
-
81
- // Search highlight colors
82
- highlightBg: 'rgba(251, 191, 36, 0.3)', // Transparent yellow
83
- highlightBorder: 'rgba(251, 191, 36, 0.5)', // Stronger yellow border
84
- },
85
-
86
- // Dark mode with different transparency levels
87
- modes: {
88
- dark: {
89
- // Dark glass colors
90
- text: 'rgba(255, 255, 255, 0.95)',
91
- background: 'rgba(0, 0, 0, 0.3)', // Semi-transparent black
92
- primary: 'rgba(129, 140, 248, 0.9)', // Lighter indigo
93
- secondary: 'rgba(167, 139, 250, 0.9)', // Lighter purple
94
- accent: 'rgba(244, 114, 182, 0.9)', // Lighter pink
95
- highlight: 'rgba(129, 140, 248, 0.25)',
96
- muted: 'rgba(0, 0, 0, 0.15)',
97
-
98
- success: 'rgba(74, 222, 128, 0.9)',
99
- warning: 'rgba(251, 191, 36, 0.9)',
100
- error: 'rgba(248, 113, 113, 0.9)',
101
- info: 'rgba(96, 165, 250, 0.9)',
102
-
103
- border: 'rgba(255, 255, 255, 0.15)',
104
- backgroundSecondary: 'rgba(0, 0, 0, 0.4)',
105
- backgroundTertiary: 'rgba(0, 0, 0, 0.5)',
106
- backgroundLight: 'rgba(0, 0, 0, 0.2)',
107
- backgroundHover: 'rgba(255, 255, 255, 0.1)',
108
- surface: 'rgba(0, 0, 0, 0.35)',
109
- textSecondary: 'rgba(255, 255, 255, 0.8)',
110
- textTertiary: 'rgba(255, 255, 255, 0.6)',
111
- textMuted: 'rgba(255, 255, 255, 0.4)',
112
-
113
- highlightBg: 'rgba(251, 191, 36, 0.35)',
114
- highlightBorder: 'rgba(251, 191, 36, 0.6)',
115
- },
116
-
117
- // Frosted mode - maximum blur effect
118
- frosted: {
119
- text: 'rgba(31, 41, 55, 0.95)', // Dark text for light backgrounds
120
- background: 'rgba(255, 255, 255, 0.3)', // More opaque white
121
- primary: 'rgba(79, 70, 229, 0.95)', // Solid indigo
122
- secondary: 'rgba(124, 58, 237, 0.95)', // Solid purple
123
- accent: 'rgba(219, 39, 119, 0.95)', // Solid pink
124
- highlight: 'rgba(79, 70, 229, 0.15)',
125
- muted: 'rgba(255, 255, 255, 0.4)',
126
-
127
- success: 'rgba(16, 185, 129, 0.95)',
128
- warning: 'rgba(245, 158, 11, 0.95)',
129
- error: 'rgba(220, 38, 38, 0.95)',
130
- info: 'rgba(37, 99, 235, 0.95)',
131
-
132
- border: 'rgba(255, 255, 255, 0.5)',
133
- backgroundSecondary: 'rgba(255, 255, 255, 0.4)',
134
- backgroundTertiary: 'rgba(255, 255, 255, 0.5)',
135
- backgroundLight: 'rgba(255, 255, 255, 0.25)',
136
- backgroundHover: 'rgba(255, 255, 255, 0.6)',
137
- surface: 'rgba(255, 255, 255, 0.35)',
138
- textSecondary: 'rgba(31, 41, 55, 0.8)',
139
- textTertiary: 'rgba(31, 41, 55, 0.6)',
140
- textMuted: 'rgba(31, 41, 55, 0.5)',
141
-
142
- highlightBg: 'rgba(251, 191, 36, 0.4)',
143
- highlightBorder: 'rgba(251, 191, 36, 0.7)',
144
- }
145
- },
146
-
147
- // Component variants
148
- buttons: {
149
- primary: {
150
- color: 'white',
151
- bg: 'primary',
152
- borderWidth: 1,
153
- borderStyle: 'solid',
154
- borderColor: 'rgba(255, 255, 255, 0.2)',
155
- '&:hover': {
156
- bg: 'secondary',
157
- },
158
- },
159
- secondary: {
160
- color: 'text',
161
- bg: 'rgba(255, 255, 255, 0.1)',
162
- borderWidth: 1,
163
- borderStyle: 'solid',
164
- borderColor: 'rgba(255, 255, 255, 0.2)',
165
- '&:hover': {
166
- bg: 'rgba(255, 255, 255, 0.2)',
167
- },
168
- },
169
- ghost: {
170
- color: 'text',
171
- bg: 'transparent',
172
- borderWidth: 1,
173
- borderStyle: 'solid',
174
- borderColor: 'transparent',
175
- '&:hover': {
176
- borderColor: 'rgba(255, 255, 255, 0.2)',
177
- bg: 'rgba(255, 255, 255, 0.05)',
178
- },
179
- },
180
- },
181
-
182
- text: {
183
- heading: {
184
- fontFamily: 'heading',
185
- fontWeight: 'heading',
186
- lineHeight: 'heading',
187
- },
188
- body: {
189
- fontFamily: 'body',
190
- fontWeight: 'body',
191
- lineHeight: 'body',
192
- },
193
- caption: {
194
- fontSize: 1,
195
- color: 'textSecondary',
196
- },
197
- },
198
-
199
- cards: {
200
- primary: {
201
- bg: 'surface',
202
- border: '1px solid',
203
- borderColor: 'border',
204
- borderRadius: 3,
205
- },
206
- secondary: {
207
- bg: 'backgroundSecondary',
208
- border: '1px solid',
209
- borderColor: 'border',
210
- borderRadius: 3,
211
- },
212
- },
213
- };