@filip.mazev/blocks-core 1.0.15 → 1.0.16
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
|
@@ -14,7 +14,23 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
@mixin respond-between($min, $max) {
|
|
17
|
-
@media (min-width: map.get($breakpoints, $min)) and (max-width: map.get($breakpoints, $max)) {
|
|
17
|
+
@media (min-width: map.get($breakpoints, $min)) and (max-width: map.get($breakpoints, $max)) {
|
|
18
18
|
@content;
|
|
19
19
|
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@function spacing($key) {
|
|
23
|
+
@return map-get($spacing, $key);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@function radius($key) {
|
|
27
|
+
@return map-get($radiuses, $key);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@function shadow($key) {
|
|
31
|
+
@return map-get($shadows, $key);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@function z($key) {
|
|
35
|
+
@return map-get($z-index, $key);
|
|
20
36
|
}
|
|
@@ -29,6 +29,51 @@ $hc-cyan: #00ffff;
|
|
|
29
29
|
$hc-red: #ff0000;
|
|
30
30
|
$hc-green: #00ff00;
|
|
31
31
|
|
|
32
|
+
$spacing: (
|
|
33
|
+
0: 0,
|
|
34
|
+
1: 0.25rem,
|
|
35
|
+
2: 0.5rem,
|
|
36
|
+
3: 0.75rem,
|
|
37
|
+
4: 1rem,
|
|
38
|
+
5: 1.25rem,
|
|
39
|
+
6: 1.5rem,
|
|
40
|
+
8: 2rem,
|
|
41
|
+
10: 2.5rem,
|
|
42
|
+
12: 3rem,
|
|
43
|
+
) !default;
|
|
44
|
+
|
|
45
|
+
$radiuses: (
|
|
46
|
+
none: 0,
|
|
47
|
+
sm: 0.25rem,
|
|
48
|
+
md: 0.5rem,
|
|
49
|
+
lg: 0.75rem,
|
|
50
|
+
xl: 1rem,
|
|
51
|
+
2xl: 1.5rem,
|
|
52
|
+
3xl: 1.875rem,
|
|
53
|
+
pill: 9999px,
|
|
54
|
+
) !default;
|
|
55
|
+
|
|
56
|
+
$shadows: (
|
|
57
|
+
sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
|
|
58
|
+
md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
|
|
59
|
+
lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
|
|
60
|
+
xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
|
|
61
|
+
modal: "0 8px 20px rgba(0, 0, 0, 0.12)",
|
|
62
|
+
toast: "0 4px 12px rgba(0, 0, 0, 0.15)",
|
|
63
|
+
) !default;
|
|
64
|
+
|
|
65
|
+
$z-index: (
|
|
66
|
+
base: 1,
|
|
67
|
+
dropdown: 100,
|
|
68
|
+
sticky: 200,
|
|
69
|
+
fixed: 300,
|
|
70
|
+
modal-backdrop: 400,
|
|
71
|
+
modal: 410,
|
|
72
|
+
popover: 500,
|
|
73
|
+
tooltip: 600,
|
|
74
|
+
toast: 9999,
|
|
75
|
+
) !default;
|
|
76
|
+
|
|
32
77
|
$breakpoints: (
|
|
33
78
|
xs: 360px,
|
|
34
79
|
|
|
@@ -35,18 +35,18 @@ $default-light-theme-config: (
|
|
|
35
35
|
'button-grayscale': map-get($gray-palette, 200),
|
|
36
36
|
|
|
37
37
|
// Feedback
|
|
38
|
-
'toast-info-bg': #
|
|
38
|
+
'toast-info-bg': #f7fbfff8,
|
|
39
39
|
'toast-info-border': #bcd3eb,
|
|
40
40
|
'toast-info-accent': #1a5bc4,
|
|
41
|
-
'toast-error-bg':
|
|
41
|
+
'toast-error-bg': #fffbfbf8,
|
|
42
42
|
'toast-error-border': #f5cccc,
|
|
43
|
-
'toast-error-accent':
|
|
44
|
-
'toast-success-bg': #
|
|
45
|
-
'toast-success-border': #
|
|
43
|
+
'toast-error-accent': #d33737,
|
|
44
|
+
'toast-success-bg': #fbfffcf8,
|
|
45
|
+
'toast-success-border': #a0e09a,
|
|
46
46
|
'toast-success-accent': #0e873a,
|
|
47
|
-
'toast-warn-bg':
|
|
47
|
+
'toast-warn-bg': #fffdf7f8,
|
|
48
48
|
'toast-warn-border': #f6e5c9,
|
|
49
|
-
'toast-warn-accent':
|
|
49
|
+
'toast-warn-accent': #ba7909,
|
|
50
50
|
|
|
51
51
|
// Scrollbar & Sliders
|
|
52
52
|
'scroll-bg': map-get($gray-palette, 100),
|
|
@@ -99,18 +99,18 @@ $default-dark-theme-config: (
|
|
|
99
99
|
'button-grayscale': map-get($gray-palette, 700),
|
|
100
100
|
|
|
101
101
|
// Feedback
|
|
102
|
-
'toast-info-bg': #
|
|
102
|
+
'toast-info-bg': #0c151ef8,
|
|
103
103
|
'toast-info-border': #1e2f44,
|
|
104
104
|
'toast-info-accent': #7cb7ff,
|
|
105
|
-
'toast-error-bg': #
|
|
105
|
+
'toast-error-bg': #1a0f0ff8,
|
|
106
106
|
'toast-error-border': #3b1313,
|
|
107
|
-
'toast-error-accent':
|
|
108
|
-
'toast-success-bg': #
|
|
107
|
+
'toast-error-accent': #ff5757,
|
|
108
|
+
'toast-success-bg': #0a150ff8,
|
|
109
109
|
'toast-success-border': #133914,
|
|
110
|
-
'toast-success-accent': #
|
|
111
|
-
'toast-warn-bg': #
|
|
110
|
+
'toast-success-accent': #56e87f,
|
|
111
|
+
'toast-warn-bg': #19100af8,
|
|
112
112
|
'toast-warn-border': #311e12,
|
|
113
|
-
'toast-warn-accent':
|
|
113
|
+
'toast-warn-accent': #ffab1b,
|
|
114
114
|
|
|
115
115
|
// Scrollbar & Sliders
|
|
116
116
|
'scroll-bg': map-get($gray-palette, 800),
|
|
@@ -35,18 +35,18 @@ $orange-company-light-theme-config: (
|
|
|
35
35
|
'button-grayscale': #d0d0d0b3,
|
|
36
36
|
|
|
37
37
|
// Feedback
|
|
38
|
-
'toast-info-bg': #
|
|
39
|
-
'toast-info-border': #
|
|
40
|
-
'toast-info-accent': #
|
|
41
|
-
'toast-error-bg': #
|
|
42
|
-
'toast-error-border': #
|
|
43
|
-
'toast-error-accent': #
|
|
44
|
-
'toast-success-bg': #
|
|
45
|
-
'toast-success-border': #
|
|
46
|
-
'toast-success-accent': #
|
|
47
|
-
'toast-warn-bg': #
|
|
48
|
-
'toast-warn-border': #
|
|
49
|
-
'toast-warn-accent': #
|
|
38
|
+
'toast-info-bg': #fbfdfff8,
|
|
39
|
+
'toast-info-border': #d0ddea,
|
|
40
|
+
'toast-info-accent': #1e69a7,
|
|
41
|
+
'toast-error-bg': #fffcfcf8,
|
|
42
|
+
'toast-error-border': #ead0d0,
|
|
43
|
+
'toast-error-accent': #ba2e2e,
|
|
44
|
+
'toast-success-bg': #fcfffcf8,
|
|
45
|
+
'toast-success-border': #d1ead0,
|
|
46
|
+
'toast-success-accent': #1e8f2d,
|
|
47
|
+
'toast-warn-bg': #fffefbf8,
|
|
48
|
+
'toast-warn-border': #eae3d0,
|
|
49
|
+
'toast-warn-accent': #a96d18,
|
|
50
50
|
|
|
51
51
|
// Scrollbar & Sliders
|
|
52
52
|
'scroll-bg': #FFEDD4,
|
|
@@ -99,18 +99,18 @@ $orange-company-dark-theme-config: (
|
|
|
99
99
|
'button-grayscale': #2e2e2eb1,
|
|
100
100
|
|
|
101
101
|
// Feedback
|
|
102
|
-
'toast-info-bg': #
|
|
103
|
-
'toast-info-border': #
|
|
104
|
-
'toast-info-accent': #
|
|
105
|
-
'toast-error-bg': #
|
|
106
|
-
'toast-error-border': #
|
|
107
|
-
'toast-error-accent': #
|
|
108
|
-
'toast-success-bg': #
|
|
109
|
-
'toast-success-border': #
|
|
110
|
-
'toast-success-accent': #
|
|
111
|
-
'toast-warn-bg': #
|
|
112
|
-
'toast-warn-border': #
|
|
113
|
-
'toast-warn-accent': #
|
|
102
|
+
'toast-info-bg': #0c0d0ef8,
|
|
103
|
+
'toast-info-border': #17202b,
|
|
104
|
+
'toast-info-accent': #5fb7c3,
|
|
105
|
+
'toast-error-bg': #0e0c0cf8,
|
|
106
|
+
'toast-error-border': #2b1717,
|
|
107
|
+
'toast-error-accent': #f76d6d,
|
|
108
|
+
'toast-success-bg': #0c0e0cf8,
|
|
109
|
+
'toast-success-border': #172b18,
|
|
110
|
+
'toast-success-accent': #5fc370,
|
|
111
|
+
'toast-warn-bg': #0e0d0cf8,
|
|
112
|
+
'toast-warn-border': #2b2317,
|
|
113
|
+
'toast-warn-accent': #e4ad55,
|
|
114
114
|
|
|
115
115
|
// Scroll & Sliders
|
|
116
116
|
'scroll-bg': #712000,
|