boreal-ui 0.0.41 → 0.0.43
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/next/style.css +533 -0
- package/package.json +4 -3
|
@@ -0,0 +1,533 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* ---------------------------------------------------------------------
|
|
5
|
+
* globals.scss
|
|
6
|
+
* ---------------------------------------------------------------------
|
|
7
|
+
* Global style definitions and base theme setup for Boreal UI.
|
|
8
|
+
* This file is responsible for setting:
|
|
9
|
+
*
|
|
10
|
+
* 1. CSS Variables (`:root`) — Derived from SCSS theme tokens
|
|
11
|
+
* - Automatically syncs SCSS color and font variables to global CSS variables
|
|
12
|
+
* - Enables theming and dynamic runtime overrides
|
|
13
|
+
*
|
|
14
|
+
* 2. Global Element Styles
|
|
15
|
+
* - `body`, headings (`h1–h6`), paragraphs, links, and layout defaults
|
|
16
|
+
* - Applies font, color, spacing, and background rules using theme tokens
|
|
17
|
+
*
|
|
18
|
+
* 3. Scrollbar Styling
|
|
19
|
+
* - Thin scrollbar with custom thumb and track colors
|
|
20
|
+
* - Supports hiding scrollbars with `.hideScrollbar` utility
|
|
21
|
+
*
|
|
22
|
+
* 4. Focus Outlines
|
|
23
|
+
* - Custom `:focus` styles using accessible high-contrast outlines
|
|
24
|
+
*
|
|
25
|
+
* 5. Utility Classes
|
|
26
|
+
* - `.noScroll`: disables scroll overflow
|
|
27
|
+
* - `.errorMessage`: standardized error message styling
|
|
28
|
+
* - `.loadingContainer`: centered layout for loading views
|
|
29
|
+
* - `.sr_only` and `:global(.sr_only)`: accessibility class for screen-reader-only content
|
|
30
|
+
*
|
|
31
|
+
* 6. Mixin: `visually-hidden`
|
|
32
|
+
* - Reusable mixin for accessibility-hidden content
|
|
33
|
+
* - Applied via `.sr_only` and `:global(.sr_only)`
|
|
34
|
+
*
|
|
35
|
+
* Dependencies:
|
|
36
|
+
* - Resets: `modern-css-reset`
|
|
37
|
+
* - SCSS Modules: `theme`, `animations`, `breakpoints`
|
|
38
|
+
* - Sass Color Utilities: `sass:color`
|
|
39
|
+
*
|
|
40
|
+
* Note:
|
|
41
|
+
* All transitions use the theme-defined `$transition-default` for consistency.
|
|
42
|
+
* CSS variables allow dynamic switching between light/dark/custom themes.
|
|
43
|
+
*/
|
|
44
|
+
@import "modern-css-reset/modern-css-reset.css";
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* ---------------------------------------------------------------------
|
|
48
|
+
* theme.scss
|
|
49
|
+
* ---------------------------------------------------------------------
|
|
50
|
+
* Global design tokens and theme configuration for the Boreal UI system.
|
|
51
|
+
* This file defines SCSS variables, maps, and constants for:
|
|
52
|
+
* - Colors (brand, background, feedback, text)
|
|
53
|
+
* - Fonts (families, sizes, weights)
|
|
54
|
+
* - Spacing
|
|
55
|
+
* - Border radii
|
|
56
|
+
* - Shadows
|
|
57
|
+
* - Transitions
|
|
58
|
+
* - Z-index layers
|
|
59
|
+
* - Thematic color maps
|
|
60
|
+
* - UI states (success, error, warning)
|
|
61
|
+
* - Rounding and shadow presets
|
|
62
|
+
*
|
|
63
|
+
* All variables support the `!default` flag to allow overrides via user-defined themes.
|
|
64
|
+
* ---------------------------------------------------------------------
|
|
65
|
+
*
|
|
66
|
+
* == Color Palette ==
|
|
67
|
+
* $primary-color – Brand primary color
|
|
68
|
+
* $secondary-color – Secondary accent color
|
|
69
|
+
* $tertiary-color – Alternate accent color
|
|
70
|
+
* $quaternary-color – Alternate accent color
|
|
71
|
+
* $background-color – Main background color (dark)
|
|
72
|
+
* $background-color-surface – Surface layer background (cards, modals)
|
|
73
|
+
* $error-color, $success-color, $warning-color – Feedback states
|
|
74
|
+
* $link-color – Link default color
|
|
75
|
+
* $link-hover-color – Link hover state
|
|
76
|
+
* $text-color, $text-color-light, $text-color-primary, $text-color-secondary – Text coloring
|
|
77
|
+
*
|
|
78
|
+
* == Typography ==
|
|
79
|
+
* $font-family-primary / secondary – Primary typefaces
|
|
80
|
+
* $font-size-xxs to $font-size-xxl – Font size scale
|
|
81
|
+
* $font-weight-light to bolder – Font weights
|
|
82
|
+
*
|
|
83
|
+
* == Spacing ==
|
|
84
|
+
* $spacing-xxs to $spacing-xl – Margin/padding utility scale
|
|
85
|
+
*
|
|
86
|
+
* == Border Radius ==
|
|
87
|
+
* $border-radius-xs to full – Border rounding presets
|
|
88
|
+
*
|
|
89
|
+
* == Shadows ==
|
|
90
|
+
* $box-shadow-light to intense – Shadow elevation levels
|
|
91
|
+
* $inverted-shadows – Shadows used on dark surfaces (e.g. modals)
|
|
92
|
+
*
|
|
93
|
+
* == Transitions ==
|
|
94
|
+
* $transition-fast / default / slow – Standard easing transitions
|
|
95
|
+
*
|
|
96
|
+
* == Z-Index Layers ==
|
|
97
|
+
* $z-index-drawer – For slide-out panels
|
|
98
|
+
* $z-index-modal – For modals and overlays
|
|
99
|
+
* $z-index-tooltip – Highest layer for tooltips and floating labels
|
|
100
|
+
*
|
|
101
|
+
* == Theme Map ==
|
|
102
|
+
* $themes: map of theme names (e.g. "primary", "secondary") to their visual styles
|
|
103
|
+
* - Each theme includes: bg, hover, text, border, text-hover
|
|
104
|
+
*
|
|
105
|
+
* == State Map ==
|
|
106
|
+
* $states: visual styles for UI feedback states (success, error, warning)
|
|
107
|
+
*
|
|
108
|
+
* == Rounding / Shadow Maps ==
|
|
109
|
+
* $rounding: key-value pairs for component rounding levels
|
|
110
|
+
* $shadow: key-value pairs for shadow levels
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* -----------------------------------------------------
|
|
115
|
+
* _animations.scss
|
|
116
|
+
* -----------------------------------------------------
|
|
117
|
+
* This file contains reusable keyframe animations
|
|
118
|
+
* used across the component library for transitions,
|
|
119
|
+
* loaders, and visual enhancements.
|
|
120
|
+
*
|
|
121
|
+
* List of Animations:
|
|
122
|
+
*
|
|
123
|
+
* 1. fade-in
|
|
124
|
+
* - Smoothly fades in an element by transitioning opacity from 0 to 1.
|
|
125
|
+
*
|
|
126
|
+
* 2. slide-up
|
|
127
|
+
* - Slides an element upward into view from below while fading in.
|
|
128
|
+
*
|
|
129
|
+
* 3. spin-3d
|
|
130
|
+
* - Rotates an element in 3D space along both X and Y axes (360°).
|
|
131
|
+
*
|
|
132
|
+
* 4. spin
|
|
133
|
+
* - Continuously rotates an element clockwise in 2D space.
|
|
134
|
+
*
|
|
135
|
+
* 5. pulse
|
|
136
|
+
* - Gently scales an element up and down to create a pulsing effect.
|
|
137
|
+
*
|
|
138
|
+
* 6. fade-in-up
|
|
139
|
+
* - Combines a fade-in with a slight upward motion (used for tooltips, popups).
|
|
140
|
+
*
|
|
141
|
+
* 7. progress-grow
|
|
142
|
+
* - Expands the width of a progress bar from 0% to 100%.
|
|
143
|
+
*
|
|
144
|
+
* 8. indeterminate-move
|
|
145
|
+
* - Moves an element from left to right in a loop, used in indeterminate loaders.
|
|
146
|
+
*
|
|
147
|
+
* 9. skeleton-loading
|
|
148
|
+
* - Creates a sweeping shimmer effect for skeleton loaders.
|
|
149
|
+
*/
|
|
150
|
+
@keyframes fade-in {
|
|
151
|
+
from {
|
|
152
|
+
opacity: 0;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
to {
|
|
156
|
+
opacity: 1;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
@keyframes slide-up {
|
|
161
|
+
from {
|
|
162
|
+
transform: translateY(100%);
|
|
163
|
+
opacity: 0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
to {
|
|
167
|
+
transform: translateY(0);
|
|
168
|
+
opacity: 1;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
@keyframes spin-3d {
|
|
173
|
+
0% {
|
|
174
|
+
transform: rotateX(0deg) rotateY(0deg);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
100% {
|
|
178
|
+
transform: rotateX(360deg) rotateY(360deg);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
@keyframes spin {
|
|
183
|
+
0% {
|
|
184
|
+
transform: rotate(0deg);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
100% {
|
|
188
|
+
transform: rotate(360deg);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@keyframes pulse {
|
|
193
|
+
0% {
|
|
194
|
+
transform: scale(1);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
50% {
|
|
198
|
+
transform: scale(1.1);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
100% {
|
|
202
|
+
transform: scale(1);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
@keyframes fade-in-up {
|
|
207
|
+
from {
|
|
208
|
+
opacity: 0;
|
|
209
|
+
transform: translateY(-5px);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
to {
|
|
213
|
+
opacity: 1;
|
|
214
|
+
transform: translateY(0);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@keyframes progress-grow {
|
|
219
|
+
from {
|
|
220
|
+
width: 0;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
to {
|
|
224
|
+
width: 100%;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@keyframes indeterminate-move {
|
|
229
|
+
0% {
|
|
230
|
+
transform: translateX(-100%);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
50% {
|
|
234
|
+
transform: translateX(0);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
100% {
|
|
238
|
+
transform: translateX(100%);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@keyframes skeleton-loading {
|
|
243
|
+
0% {
|
|
244
|
+
left: -100%;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
100% {
|
|
248
|
+
left: 100%;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* -----------------------------------------------------
|
|
254
|
+
* _breakpoints.scss
|
|
255
|
+
* -----------------------------------------------------
|
|
256
|
+
* These constants define the standard device-width breakpoints
|
|
257
|
+
* used in responsive media queries throughout the theme.
|
|
258
|
+
*
|
|
259
|
+
* - $breakpoint-xs: 320px (Extra small, portrait phones)
|
|
260
|
+
* - $breakpoint-sm: 480px (Small devices, larger phones)
|
|
261
|
+
* - $breakpoint-md: 768px (Medium devices, tablets)
|
|
262
|
+
* - $breakpoint-lg: 1024px (Large devices, desktops)
|
|
263
|
+
* - $breakpoint-xl: 1280px (Extra large desktops)
|
|
264
|
+
* - $breakpoint-xxl: 1536px (Widescreens, large monitors)
|
|
265
|
+
*
|
|
266
|
+
* $breakpoints map:
|
|
267
|
+
* Use this map to loop over breakpoints or access named values.
|
|
268
|
+
*/
|
|
269
|
+
:root {
|
|
270
|
+
/* ================================
|
|
271
|
+
PRIMARY COLOR PALETTE
|
|
272
|
+
================================== */
|
|
273
|
+
--primary-color: #1c4d3a;
|
|
274
|
+
--primary-color-light: rgb(107.6 201.4 165.0285714286);
|
|
275
|
+
--primary-color-hover: rgb(14.4 39.6 29.8285714286);
|
|
276
|
+
--primary-text-color-contrast: rgb(0 0 0);
|
|
277
|
+
|
|
278
|
+
/* ================================a
|
|
279
|
+
SECONDARY COLOR PALETTE
|
|
280
|
+
================================== */
|
|
281
|
+
--secondary-color: #6e502e;
|
|
282
|
+
--secondary-color-light: rgb(210.7692307692 181.9230769231 149.2307692308);
|
|
283
|
+
--secondary-color-hover: rgb(74.0384615385 53.8461538462 30.9615384615);
|
|
284
|
+
--secondary-text-color: rgb(0 0 0);
|
|
285
|
+
|
|
286
|
+
/* ================================
|
|
287
|
+
TERTIARY COLOR PALETTE
|
|
288
|
+
================================== */
|
|
289
|
+
--tertiary-color: #092b1c;
|
|
290
|
+
--tertiary-color-light: rgb(44.9615384615 211.0384615385 137.7692307692);
|
|
291
|
+
--tertiary-color-hover: rgb(0.1730769231 0.8269230769 0.5384615385);
|
|
292
|
+
--tertiary-text-color: rgb(255 255 255);
|
|
293
|
+
|
|
294
|
+
/* ================================
|
|
295
|
+
QUATERNARY COLOR PALETTE
|
|
296
|
+
================================== */
|
|
297
|
+
--quaternary-color: #a1733a;
|
|
298
|
+
--quaternary-color-light: rgb(231.9589041096 213.6849315068 191.0410958904);
|
|
299
|
+
--quaternary-color-hover: rgb(123.5068493151 88.2191780822 44.4931506849);
|
|
300
|
+
--quaternary-text-color: rgb(255 255 255);
|
|
301
|
+
|
|
302
|
+
/* ================================
|
|
303
|
+
FEEDBACK COLORS
|
|
304
|
+
================================== */
|
|
305
|
+
--success-color: #51c703;
|
|
306
|
+
--success-color-hover: rgb(60.5495049505 148.7574257426 2.2425742574);
|
|
307
|
+
--warning-color: #fca505;
|
|
308
|
+
--warning-color-hover: rgb(203.557312253 132.7193675889 2.442687747);
|
|
309
|
+
--error-color: #f83838;
|
|
310
|
+
--error-color-hover: rgb(244.4029126214 8.5970873786 8.5970873786);
|
|
311
|
+
--disabled-color: rgb(184 184 184 / 86.7%);
|
|
312
|
+
|
|
313
|
+
/* ================================
|
|
314
|
+
BACKGROUND COLORS
|
|
315
|
+
================================== */
|
|
316
|
+
--background-color: #222e2e;
|
|
317
|
+
--background-color-light: rgb(55.675 75.325 75.325);
|
|
318
|
+
--background-color-lighter: rgb(77.35 104.65 104.65);
|
|
319
|
+
--background-color-dark: rgb(12.325 16.675 16.675);
|
|
320
|
+
--background-color-darker: hsl(180deg 15% -4.3137254902%);
|
|
321
|
+
|
|
322
|
+
/* ================================
|
|
323
|
+
TEXT COLORS
|
|
324
|
+
================================== */
|
|
325
|
+
--text-color-primary: rgb(255 255 255);
|
|
326
|
+
--text-color: rgb(255 255 255);
|
|
327
|
+
--text-color-light: hsl(0deg 0% 120%);
|
|
328
|
+
--text-color-lighter: hsl(0deg 0% 140%);
|
|
329
|
+
|
|
330
|
+
/* ================================
|
|
331
|
+
LINK COLORS
|
|
332
|
+
================================== */
|
|
333
|
+
--link-color: #8bb0c7;
|
|
334
|
+
--link-hover-color: #627e8f;
|
|
335
|
+
--link-hover-color-primary: rgb(22.4 61.6 46.4);
|
|
336
|
+
--link-hover-color-secondary: rgb(88 64 36.8);
|
|
337
|
+
|
|
338
|
+
/* ================================
|
|
339
|
+
FOCUS & INTERACTION
|
|
340
|
+
================================== */
|
|
341
|
+
--focus-outline-color: var(--text-color-primary);
|
|
342
|
+
|
|
343
|
+
/* ===========================
|
|
344
|
+
Border Radius (Rounding)
|
|
345
|
+
=========================== */
|
|
346
|
+
--border-radius-none: 0;
|
|
347
|
+
--border-radius-sm: 4px;
|
|
348
|
+
--border-radius-md: 8px;
|
|
349
|
+
--border-radius-lg: 16px;
|
|
350
|
+
--border-radius-full: 9999px;
|
|
351
|
+
|
|
352
|
+
/* ===========================
|
|
353
|
+
Shadows
|
|
354
|
+
=========================== */
|
|
355
|
+
--box-shadow-none: none;
|
|
356
|
+
--box-shadow-light: 0 2px 4px rgb(0 0 0 / 10%);
|
|
357
|
+
--box-shadow-medium: 0 4px 8px rgb(0 0 0 / 20%);
|
|
358
|
+
--box-shadow-heavy: 0 6px 12px rgb(0 0 0 / 30%);
|
|
359
|
+
--box-shadow-intense: 0 8px 16px rgb(0 0 0 / 40%);
|
|
360
|
+
|
|
361
|
+
/* ===========================
|
|
362
|
+
Inverted Shadows (Light UI)
|
|
363
|
+
=========================== */
|
|
364
|
+
--box-shadow-inverted-none: none;
|
|
365
|
+
--box-shadow-inverted-light: 0 2px 4px rgb(255 255 255 / 5%);
|
|
366
|
+
--box-shadow-inverted-medium: 0 4px 8px rgb(255 255 255 / 8%);
|
|
367
|
+
--box-shadow-inverted-strong: 0 6px 12px rgb(255 255 255 / 12%);
|
|
368
|
+
--box-shadow-inverted-intense: 0 8px 16px rgb(255 255 255 / 20%);
|
|
369
|
+
|
|
370
|
+
/* ===========================
|
|
371
|
+
Divider & Overlay Colors
|
|
372
|
+
=========================== */
|
|
373
|
+
--divider-color: rgb(99.025 133.975 133.975); /* subtle dividers */
|
|
374
|
+
--overlay-color: rgb(0 0 0 / 50%); /* for modals or overlays */
|
|
375
|
+
--font-family-primary: lora, arial, sans-serif;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
body {
|
|
379
|
+
font-family: var(--font-family-primary);
|
|
380
|
+
font-size: var(--font-size-base);
|
|
381
|
+
color: var(--text-color-primary);
|
|
382
|
+
background-color: var(--background-color);
|
|
383
|
+
margin: 0;
|
|
384
|
+
padding: 0;
|
|
385
|
+
line-height: 1.5;
|
|
386
|
+
overflow-x: hidden;
|
|
387
|
+
transition:
|
|
388
|
+
background-color 0.3s ease-in-out,
|
|
389
|
+
color 0.3s ease-in-out;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
h1,
|
|
393
|
+
h2,
|
|
394
|
+
h3,
|
|
395
|
+
h4,
|
|
396
|
+
h5,
|
|
397
|
+
h6 {
|
|
398
|
+
font-family: Lora, arial, sans-serif;
|
|
399
|
+
margin: 0;
|
|
400
|
+
font-weight: 700;
|
|
401
|
+
transition: color 0.3s ease-in-out;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
h1 {
|
|
405
|
+
font-size: 32px;
|
|
406
|
+
font-weight: 900;
|
|
407
|
+
line-height: 1.2;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
h2 {
|
|
411
|
+
font-size: 24px;
|
|
412
|
+
font-weight: 900;
|
|
413
|
+
line-height: 1.3;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
h3 {
|
|
417
|
+
font-size: 16px;
|
|
418
|
+
line-height: 1.4;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
h4 {
|
|
422
|
+
font-size: 18px;
|
|
423
|
+
line-height: 1.5;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
h5,
|
|
427
|
+
h6 {
|
|
428
|
+
font-size: 14px;
|
|
429
|
+
line-height: 1.6;
|
|
430
|
+
font-weight: 400;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
h6 {
|
|
434
|
+
text-transform: uppercase;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
p {
|
|
438
|
+
font-size: 18px;
|
|
439
|
+
line-height: 1.6;
|
|
440
|
+
font-weight: 500;
|
|
441
|
+
margin-bottom: 16px;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
a {
|
|
445
|
+
color: var(--link-color);
|
|
446
|
+
font-weight: 700;
|
|
447
|
+
text-decoration: none;
|
|
448
|
+
transition:
|
|
449
|
+
color 0.3s ease-in-out,
|
|
450
|
+
text-decoration 0.3s ease-in-out;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
a:hover {
|
|
454
|
+
color: var(--link-color-hover);
|
|
455
|
+
text-decoration: underline;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.noScroll {
|
|
459
|
+
overflow: hidden;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.errorMessage {
|
|
463
|
+
color: #f83838;
|
|
464
|
+
font-size: 14px;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.loadingContainer {
|
|
468
|
+
min-height: 100vh;
|
|
469
|
+
display: flex;
|
|
470
|
+
justify-content: center;
|
|
471
|
+
align-items: center;
|
|
472
|
+
font-size: 1.5rem;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
* {
|
|
476
|
+
scrollbar-width: thin;
|
|
477
|
+
scrollbar-color: var(--primary-color) var(--background-color-light);
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
*:focus {
|
|
481
|
+
outline: 2px solid var(--focus-outline-color);
|
|
482
|
+
outline-offset: 2px;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
::-webkit-scrollbar {
|
|
486
|
+
width: 12px;
|
|
487
|
+
height: 12px;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
::-webkit-scrollbar-track {
|
|
491
|
+
background: var(--background-color);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
::-webkit-scrollbar-thumb {
|
|
495
|
+
background-color: var(--primary-color);
|
|
496
|
+
border-radius: 6px;
|
|
497
|
+
border: 3px solid var(--background-color-light);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
::-webkit-scrollbar-thumb:hover {
|
|
501
|
+
background-color: var(--primary-color-hover);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.hideScrollbar {
|
|
505
|
+
scrollbar-width: none;
|
|
506
|
+
-ms-overflow-style: none;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.hideScrollbar::-webkit-scrollbar {
|
|
510
|
+
display: none;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.sr_only {
|
|
514
|
+
position: absolute;
|
|
515
|
+
width: 1px;
|
|
516
|
+
height: 1px;
|
|
517
|
+
margin: -1px;
|
|
518
|
+
overflow: hidden;
|
|
519
|
+
clip: rect(0 0 0 0);
|
|
520
|
+
white-space: nowrap;
|
|
521
|
+
border: 0;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
::global(.sr_only) {
|
|
525
|
+
position: absolute;
|
|
526
|
+
width: 1px;
|
|
527
|
+
height: 1px;
|
|
528
|
+
margin: -1px;
|
|
529
|
+
overflow: hidden;
|
|
530
|
+
clip: rect(0 0 0 0);
|
|
531
|
+
white-space: nowrap;
|
|
532
|
+
border: 0;
|
|
533
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "boreal-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.43",
|
|
4
4
|
"description": "A modern, customizable React/Next.js component library",
|
|
5
5
|
"author": "Davin Chiupka",
|
|
6
6
|
"license": "ISC",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"build:next": "vite build --config vite.config.next.ts",
|
|
23
23
|
"build:types": "tsc -p tsconfig.build.json",
|
|
24
24
|
"build:types:public": "tsc -p tsconfig.build.json && node scripts/generateTypesBarrel.cjs",
|
|
25
|
+
"build:css-next": "sass --load-path=node_modules src/styles/globals.scss src/styles/style.css --no-source-map",
|
|
25
26
|
"build": "npm run clean && npm run build:core && npm run build:next && npm run build:types && npm run build:types:public",
|
|
26
27
|
"lint:styles": "stylelint '**/*.{css,scss}'",
|
|
27
28
|
"lint:styles:fix": "stylelint '**/*.{css,scss}' --fix",
|
|
@@ -53,7 +54,6 @@
|
|
|
53
54
|
],
|
|
54
55
|
"sideEffects": false,
|
|
55
56
|
"dependencies": {
|
|
56
|
-
"modern-css-reset": "^1.4.0",
|
|
57
57
|
"recharts": "^3.1.2"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
@@ -97,13 +97,14 @@
|
|
|
97
97
|
"jest": "^29.7.0",
|
|
98
98
|
"jest-axe": "^10.0.0",
|
|
99
99
|
"jest-environment-jsdom": "^29.7.0",
|
|
100
|
+
"modern-css-reset": "^1.4.0",
|
|
100
101
|
"next": "^16.0.7",
|
|
101
102
|
"prettier": "^3.5.3",
|
|
102
103
|
"react": "^19.2.1",
|
|
103
104
|
"react-dom": "^19.2.1",
|
|
104
105
|
"react-icons": "^5.5.0",
|
|
105
106
|
"rollup-plugin-copy": "^3.5.0",
|
|
106
|
-
"sass": "^1.
|
|
107
|
+
"sass": "^1.94.2",
|
|
107
108
|
"sass-embedded": "^1.86.3",
|
|
108
109
|
"sass-loader": "^16.0.5",
|
|
109
110
|
"storybook": "^10.1.4",
|