@magmonium/one 0.0.3 → 0.0.5

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.
Files changed (70) hide show
  1. package/package.json +9 -2
  2. package/sass/_date-picker.sass +147 -0
  3. package/sass/_index.sass +34 -0
  4. package/sass/_input-date.sass +25 -0
  5. package/sass/_m-components.sass +110 -0
  6. package/sass/_menu.sass +132 -0
  7. package/sass/_reset.sass +186 -0
  8. package/sass/animations/_index.sass +13 -0
  9. package/sass/animations/_registry.sass +51 -0
  10. package/sass/animations/background/_energy.sass +91 -0
  11. package/sass/animations/background/_gradient.sass +104 -0
  12. package/sass/animations/background/_index.sass +9 -0
  13. package/sass/animations/background/_nature.sass +110 -0
  14. package/sass/animations/background/_new-effects.sass +292 -0
  15. package/sass/animations/background/_particle.sass +122 -0
  16. package/sass/animations/background/_tech.sass +124 -0
  17. package/sass/functions/_functions.sass +107 -0
  18. package/sass/mixins/_backdrops.sass +230 -0
  19. package/sass/mixins/_backgrounds.sass +214 -0
  20. package/sass/mixins/_borders.sass +93 -0
  21. package/sass/mixins/_breakpoints.sass +68 -0
  22. package/sass/mixins/_button.sass +46 -0
  23. package/sass/mixins/_checkbox.sass +128 -0
  24. package/sass/mixins/_colors.sass +121 -0
  25. package/sass/mixins/_control.sass +13 -0
  26. package/sass/mixins/_device.sass +22 -0
  27. package/sass/mixins/_display.sass +210 -0
  28. package/sass/mixins/_flex.sass +104 -0
  29. package/sass/mixins/_form.sass +68 -0
  30. package/sass/mixins/_grid.sass +273 -0
  31. package/sass/mixins/_header.sass +71 -0
  32. package/sass/mixins/_index.sass +29 -0
  33. package/sass/mixins/_input.sass +132 -0
  34. package/sass/mixins/_interactive.sass +19 -0
  35. package/sass/mixins/_label.sass +25 -0
  36. package/sass/mixins/_layout.sass +251 -0
  37. package/sass/mixins/_links.sass +85 -0
  38. package/sass/mixins/_lists.sass +377 -0
  39. package/sass/mixins/_overflow.sass +121 -0
  40. package/sass/mixins/_position.sass +181 -0
  41. package/sass/mixins/_radio.sass +205 -0
  42. package/sass/mixins/_sizing.sass +181 -0
  43. package/sass/mixins/_spacing.sass +59 -0
  44. package/sass/mixins/_text.sass +159 -0
  45. package/sass/mixins/_toggle.sass +240 -0
  46. package/sass/mixins/_typography.sass +6 -0
  47. package/sass/mixins/_utilities.sass +70 -0
  48. package/sass/utilities/_backdrops.sass +228 -0
  49. package/sass/utilities/_backgrounds.sass +285 -0
  50. package/sass/utilities/_borders.sass +138 -0
  51. package/sass/utilities/_colors.sass +166 -0
  52. package/sass/utilities/_display.sass +308 -0
  53. package/sass/utilities/_flex.sass +91 -0
  54. package/sass/utilities/_grid.sass +502 -0
  55. package/sass/utilities/_index.sass +17 -0
  56. package/sass/utilities/_input.sass +14 -0
  57. package/sass/utilities/_links.sass +136 -0
  58. package/sass/utilities/_lists.sass +4 -0
  59. package/sass/utilities/_popup.sass +73 -0
  60. package/sass/utilities/_position.sass +88 -0
  61. package/sass/utilities/_sizing.sass +277 -0
  62. package/sass/utilities/_spacing.sass +121 -0
  63. package/sass/utilities/_text.sass +207 -0
  64. package/sass/variables/_animations.sass +5 -0
  65. package/sass/variables/_borders.sass +25 -0
  66. package/sass/variables/_colors.sass +93 -0
  67. package/sass/variables/_index.sass +6 -0
  68. package/sass/variables/_number.sass +1 -0
  69. package/sass/variables/_spacing.sass +28 -0
  70. package/sass/variables/_typography.sass +40 -0
@@ -0,0 +1,285 @@
1
+ // Background utility classes derived from mixins
2
+ @use '../mixins/backgrounds' as bg
3
+
4
+ // Basic background colors
5
+ .bg-primary
6
+ @include bg.bg-primary
7
+
8
+ .bg-secondary
9
+ @include bg.bg-secondary
10
+
11
+ .bg-surface
12
+ @include bg.bg-surface
13
+
14
+ .bg-overlay
15
+ @include bg.bg-overlay
16
+
17
+ // Status backgrounds
18
+ .bg-success
19
+ @include bg.bg-success
20
+
21
+ .bg-warning
22
+ @include bg.bg-warning
23
+
24
+ .bg-error
25
+ @include bg.bg-error
26
+
27
+ .bg-info
28
+ @include bg.bg-info
29
+
30
+ .bg-danger
31
+ @include bg.bg-danger
32
+
33
+ // Brand backgrounds
34
+ .bg-brand-primary
35
+ @include bg.bg-brand-primary
36
+
37
+ .bg-brand-secondary
38
+ @include bg.bg-brand-secondary
39
+
40
+ // Basic colors
41
+ .bg-transparent
42
+ @include bg.bg-transparent
43
+
44
+ .bg-black
45
+ @include bg.bg-black
46
+
47
+ .bg-white
48
+ @include bg.bg-white
49
+
50
+ // Grayscale backgrounds
51
+ .bg-gray-100
52
+ @include bg.bg-gray-100
53
+
54
+ .bg-gray-200
55
+ @include bg.bg-gray-200
56
+
57
+ .bg-gray-300
58
+ @include bg.bg-gray-300
59
+
60
+ .bg-gray-400
61
+ @include bg.bg-gray-400
62
+
63
+ .bg-gray-500
64
+ @include bg.bg-gray-500
65
+
66
+ .bg-gray-600
67
+ @include bg.bg-gray-600
68
+
69
+ .bg-gray-700
70
+ @include bg.bg-gray-700
71
+
72
+ .bg-gray-800
73
+ @include bg.bg-gray-800
74
+
75
+ .bg-gray-900
76
+ @include bg.bg-gray-900
77
+
78
+ // Background size utilities
79
+ .bg-cover
80
+ @include bg.bg-cover
81
+
82
+ .bg-contain
83
+ @include bg.bg-contain
84
+
85
+ .bg-auto
86
+ @include bg.bg-auto
87
+
88
+ // Background repeat utilities
89
+ .bg-repeat
90
+ @include bg.bg-repeat
91
+
92
+ .bg-no-repeat
93
+ @include bg.bg-no-repeat
94
+
95
+ .bg-repeat-x
96
+ @include bg.bg-repeat-x
97
+
98
+ .bg-repeat-y
99
+ @include bg.bg-repeat-y
100
+
101
+ // Background position utilities
102
+ .bg-position-center
103
+ @include bg.bg-position-center
104
+
105
+ .bg-position-top
106
+ @include bg.bg-position-top
107
+
108
+ .bg-position-bottom
109
+ @include bg.bg-position-bottom
110
+
111
+ .bg-position-left
112
+ @include bg.bg-position-left
113
+
114
+ .bg-position-right
115
+ @include bg.bg-position-right
116
+
117
+ // Background attachment utilities
118
+ .bg-fixed
119
+ @include bg.bg-fixed
120
+
121
+ .bg-local
122
+ @include bg.bg-local
123
+
124
+ .bg-scroll
125
+ @include bg.bg-scroll
126
+
127
+ // Glass morphism effect
128
+ .bg-glass
129
+ @include bg.bg-glass
130
+
131
+ .bg-glass-light
132
+ @include bg.bg-glass(8px, 0.15)
133
+
134
+ .bg-glass-heavy
135
+ @include bg.bg-glass(20px, 0.05)
136
+
137
+ // Background transitions
138
+ .bg-transition
139
+ @include bg.bg-transition
140
+
141
+ .bg-transition-fast
142
+ @include bg.bg-transition(0.15s)
143
+
144
+ .bg-transition-slow
145
+ @include bg.bg-transition(0.5s)
146
+
147
+ // Pattern backgrounds
148
+ .bg-stripes-light
149
+ @include bg.bg-stripes(#f8f9fa, #ffffff)
150
+
151
+ .bg-stripes-dark
152
+ @include bg.bg-stripes(#343a40, #495057)
153
+
154
+ .bg-dots-light
155
+ @include bg.bg-dots(rgba(0, 0, 0, 0.1))
156
+
157
+ .bg-dots-dark
158
+ @include bg.bg-dots(rgba(255, 255, 255, 0.1))
159
+
160
+ .bg-checkerboard
161
+ @include bg.bg-checkerboard
162
+
163
+ .bg-checkerboard-dark
164
+ @include bg.bg-checkerboard(#495057, #343a40)
165
+
166
+ // Background clip utilities
167
+ .bg-clip-text
168
+ @include bg.bg-clip-text
169
+
170
+ .bg-clip-padding
171
+ @include bg.bg-clip-padding
172
+
173
+ .bg-clip-border
174
+ @include bg.bg-clip-border
175
+
176
+ // Responsive backgrounds
177
+ @media (max-width: 768px)
178
+ .bg-white-mobile
179
+ @include bg.bg-white
180
+
181
+ .bg-gray-100-mobile
182
+ @include bg.bg-gray-100
183
+
184
+ .bg-transparent-mobile
185
+ @include bg.bg-transparent
186
+
187
+ @media (min-width: 769px)
188
+ .bg-surface-desktop
189
+ @include bg.bg-surface
190
+
191
+ .bg-gray-50-desktop
192
+ @include bg.bg-gray-100
193
+
194
+ // Hover states
195
+ .bg-hover-primary
196
+ &:hover
197
+ @include bg.bg-primary
198
+
199
+ .bg-hover-secondary
200
+ &:hover
201
+ @include bg.bg-secondary
202
+
203
+ .bg-hover-success
204
+ &:hover
205
+ @include bg.bg-success
206
+
207
+ .bg-hover-warning
208
+ &:hover
209
+ @include bg.bg-warning
210
+
211
+ .bg-hover-error
212
+ &:hover
213
+ @include bg.bg-error
214
+
215
+ .bg-hover-white
216
+ &:hover
217
+ @include bg.bg-white
218
+
219
+ .bg-hover-gray-100
220
+ &:hover
221
+ @include bg.bg-gray-100
222
+
223
+ .bg-hover-gray-200
224
+ &:hover
225
+ @include bg.bg-gray-200
226
+
227
+ .bg-hover-transparent
228
+ &:hover
229
+ @include bg.bg-transparent
230
+
231
+ // Focus states
232
+ .bg-focus-primary
233
+ &:focus
234
+ @include bg.bg-primary
235
+
236
+ .bg-focus-secondary
237
+ &:focus
238
+ @include bg.bg-secondary
239
+
240
+ // Active states
241
+ .bg-active-primary
242
+ &:active, &.active
243
+ @include bg.bg-primary
244
+
245
+ .bg-active-secondary
246
+ &:active, &.active
247
+ @include bg.bg-secondary
248
+
249
+ // Theme adaptive backgrounds
250
+ .bg-adaptive-surface
251
+ @include bg.bg-theme-adaptive(#ffffff)
252
+
253
+ .bg-adaptive-elevated
254
+ @include bg.bg-theme-adaptive(#f8f9fa)
255
+
256
+ .bg-adaptive-overlay
257
+ @include bg.bg-theme-adaptive(rgba(255, 255, 255, 0.9))
258
+
259
+ // Print safe backgrounds
260
+ .bg-print-safe
261
+ @include bg.bg-print-safe
262
+
263
+ // Gradient backgrounds
264
+ .bg-gradient-primary
265
+ @include bg.bg-gradient-vertical(var(--brand-primary, #007bff), var(--brand-secondary, #6c757d))
266
+
267
+ .bg-gradient-success
268
+ @include bg.bg-gradient-diagonal(var(--color-success, #28a745), #20c997)
269
+
270
+ .bg-gradient-warning
271
+ @include bg.bg-gradient-horizontal(var(--color-warning, #ffc107), #fd7e14)
272
+
273
+ .bg-gradient-info
274
+ @include bg.bg-gradient-radial(var(--color-info, #17a2b8), #007bff)
275
+
276
+ // Combined effect classes
277
+ .bg-interactive
278
+ @include bg.bg-surface
279
+ @include bg.bg-transition
280
+
281
+ &:hover
282
+ @include bg.bg-gray-100
283
+
284
+ &:active
285
+ @include bg.bg-gray-200
@@ -0,0 +1,138 @@
1
+ // Border Utility Classes
2
+ @use '../mixins/borders' as *
3
+ @use '../variables/borders' as *
4
+
5
+ // Generate border width utility classes for all border sizes
6
+ @each $key, $value in $border-widths
7
+ // Border all sides
8
+ .border-#{$key}
9
+ @include border($key)
10
+
11
+ // Directional borders
12
+ .border-t-#{$key}
13
+ @include border-top($key)
14
+
15
+ .border-r-#{$key}
16
+ @include border-right($key)
17
+
18
+ .border-b-#{$key}
19
+ @include border-bottom($key)
20
+
21
+ .border-l-#{$key}
22
+ @include border-left($key)
23
+
24
+ // Axis borders
25
+ .border-x-#{$key}
26
+ @include border-x($key)
27
+
28
+ .border-y-#{$key}
29
+ @include border-y($key)
30
+
31
+ // Size aliases for border widths (following spacing pattern)
32
+ @each $key, $value in $border-widths
33
+ $size-name: null
34
+ @if $key == 0
35
+ $size-name: 'xs'
36
+ @else if $key == 1
37
+ $size-name: 'sm'
38
+ @else if $key == 2
39
+ $size-name: 'md'
40
+ @else if $key == 3
41
+ $size-name: 'lg'
42
+ @else if $key == 4
43
+ $size-name: 'xl'
44
+ @else if $key == 5
45
+ $size-name: 'xxl'
46
+
47
+ @if $size-name
48
+ // Border width aliases
49
+ .border-#{$size-name}
50
+ @include border($key)
51
+
52
+ .border-t-#{$size-name}
53
+ @include border-top($key)
54
+
55
+ .border-r-#{$size-name}
56
+ @include border-right($key)
57
+
58
+ .border-b-#{$size-name}
59
+ @include border-bottom($key)
60
+
61
+ .border-l-#{$size-name}
62
+ @include border-left($key)
63
+
64
+ .border-x-#{$size-name}
65
+ @include border-x($key)
66
+
67
+ .border-y-#{$size-name}
68
+ @include border-y($key)
69
+
70
+ // Border style utility classes (excluding solid)
71
+ @each $style in $border-styles
72
+ .border-#{$style}
73
+ border-style: $style
74
+
75
+ // Border radius utility classes
76
+ @each $key, $value in $border-radius-sizes
77
+ .rounded-#{$key}
78
+ @include border-radius($key)
79
+
80
+ // Directional border radius
81
+ .rounded-t-#{$key}
82
+ @include border-radius-top($key)
83
+
84
+ .rounded-b-#{$key}
85
+ @include border-radius-bottom($key)
86
+
87
+ .rounded-l-#{$key}
88
+ @include border-radius-left($key)
89
+
90
+ .rounded-r-#{$key}
91
+ @include border-radius-right($key)
92
+
93
+ // Special border radius classes
94
+ .rounded-circle
95
+ @include border-radius(circle)
96
+
97
+ .rounded-pill
98
+ @include border-radius(pill)
99
+
100
+ // Border radius size aliases
101
+ @each $key, $value in $border-radius-sizes
102
+ @if $key != 'pill' and $key != 'circle'
103
+ $size-name: null
104
+ @if $key == 0
105
+ $size-name: 'xs'
106
+ @else if $key == 1
107
+ $size-name: 'sm'
108
+ @else if $key == 2
109
+ $size-name: 'md'
110
+ @else if $key == 3
111
+ $size-name: 'lg'
112
+ @else if $key == 4
113
+ $size-name: 'xl'
114
+ @else if $key == 5
115
+ $size-name: 'xxl'
116
+
117
+ @if $size-name
118
+ .rounded-#{$size-name}
119
+ @include border-radius($key)
120
+
121
+ .rounded-t-#{$size-name}
122
+ @include border-radius-top($key)
123
+
124
+ .rounded-b-#{$size-name}
125
+ @include border-radius-bottom($key)
126
+
127
+ .rounded-l-#{$size-name}
128
+ @include border-radius-left($key)
129
+
130
+ .rounded-r-#{$size-name}
131
+ @include border-radius-right($key)
132
+
133
+ // Special utility classes
134
+ .no-border
135
+ @include no-border
136
+
137
+ .border-reset
138
+ @include border-reset
@@ -0,0 +1,166 @@
1
+ // Color utility classes derived from mixins
2
+ @use '../mixins/colors' as colors
3
+
4
+ // Note: Basic text styling classes have been moved to utilities/_text.sass
5
+ // The following are color-only utility classes
6
+
7
+ // Status colors
8
+ .text-success
9
+ @include colors.text-success
10
+
11
+ .text-warning
12
+ @include colors.text-warning
13
+
14
+ .text-error
15
+ @include colors.text-error
16
+
17
+ .text-info
18
+ @include colors.text-info
19
+
20
+ .text-danger
21
+ @include colors.text-danger
22
+
23
+ // Brand colors
24
+ .text-brand-primary
25
+ @include colors.text-brand-primary
26
+
27
+ .text-brand-secondary
28
+ @include colors.text-brand-secondary
29
+
30
+ // Link colors
31
+ .text-link
32
+ @include colors.text-link
33
+
34
+ .text-link-visited
35
+ @include colors.text-link-visited
36
+
37
+ // Grayscale colors
38
+ .text-black
39
+ @include colors.text-black
40
+
41
+ .text-white
42
+ @include colors.text-white
43
+
44
+ .text-gray-100
45
+ @include colors.text-gray-100
46
+
47
+ .text-gray-200
48
+ @include colors.text-gray-200
49
+
50
+ .text-gray-300
51
+ @include colors.text-gray-300
52
+
53
+ .text-gray-400
54
+ @include colors.text-gray-400
55
+
56
+ .text-gray-500
57
+ @include colors.text-gray-500
58
+
59
+ .text-gray-600
60
+ @include colors.text-gray-600
61
+
62
+ .text-gray-700
63
+ @include colors.text-gray-700
64
+
65
+ .text-gray-800
66
+ @include colors.text-gray-800
67
+
68
+ .text-gray-900
69
+ @include colors.text-gray-900
70
+
71
+ // Theme-aware colors
72
+ .text-on-light
73
+ @include colors.text-on-light
74
+
75
+ .text-on-dark
76
+ @include colors.text-on-dark
77
+
78
+ // Opacity variations
79
+ .text-opacity-10
80
+ @include colors.text-opacity(0.1)
81
+
82
+ .text-opacity-25
83
+ @include colors.text-opacity(0.25)
84
+
85
+ .text-opacity-50
86
+ @include colors.text-opacity(0.5)
87
+
88
+ .text-opacity-75
89
+ @include colors.text-opacity(0.75)
90
+
91
+ .text-opacity-90
92
+ @include colors.text-opacity(0.9)
93
+
94
+ .text-transparent
95
+ @include colors.text-transparent
96
+
97
+ // Color transitions
98
+ .text-transition
99
+ @include colors.color-transition
100
+
101
+ .text-transition-fast
102
+ @include colors.color-transition(0.15s)
103
+
104
+ .text-transition-slow
105
+ @include colors.color-transition(0.5s)
106
+
107
+ // High contrast for accessibility
108
+ .text-high-contrast
109
+ @include colors.text-high-contrast
110
+
111
+ .text-high-contrast-inverse
112
+ @include colors.text-high-contrast-inverse
113
+
114
+ // Print colors
115
+ .text-print-only
116
+ @include colors.text-print-only
117
+
118
+ // Note: Responsive text color classes moved to utilities/_text.sass
119
+ // Keeping only non-conflicting color utilities
120
+
121
+ // Responsive text colors (color-only)
122
+ @media (max-width: 768px)
123
+ .text-white-mobile
124
+ @include colors.text-white
125
+
126
+ // Note: Hover states for primary/secondary text moved to utilities/_text.sass
127
+
128
+ .text-hover-success
129
+ &:hover
130
+ @include colors.text-success
131
+
132
+ .text-hover-warning
133
+ &:hover
134
+ @include colors.text-warning
135
+
136
+ .text-hover-error
137
+ &:hover
138
+ @include colors.text-error
139
+
140
+ .text-hover-white
141
+ &:hover
142
+ @include colors.text-white
143
+
144
+ .text-hover-black
145
+ &:hover
146
+ @include colors.text-black
147
+
148
+ // Note: Interactive states for primary/secondary text moved to utilities/_text.sass
149
+
150
+ // State combinations (color-only)
151
+ .text-interactive
152
+ @include colors.text-link
153
+ @include colors.color-transition
154
+
155
+ &:focus
156
+ @include colors.text-info
157
+
158
+ // Theme adaptive classes
159
+ .text-adaptive-primary
160
+ @include colors.text-theme-adaptive(#333333)
161
+
162
+ .text-adaptive-secondary
163
+ @include colors.text-theme-adaptive(#666666)
164
+
165
+ .text-adaptive-muted
166
+ @include colors.text-theme-adaptive(#999999)