@filip.mazev/blocks-core 0.0.31 → 1.0.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": "@filip.mazev/blocks-core",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./mixins": "./lib/styles/_mixins.scss",
|
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"tslib": "^2.3.0"
|
|
29
29
|
},
|
|
30
|
+
"bin": {
|
|
31
|
+
"blocks-init": "./bin/setup.js"
|
|
32
|
+
},
|
|
30
33
|
"sideEffects": false,
|
|
31
34
|
"module": "fesm2022/filip.mazev-blocks-core.mjs",
|
|
32
35
|
"typings": "types/filip.mazev-blocks-core.d.ts"
|
|
@@ -18,7 +18,7 @@ $default-light-theme-config: (
|
|
|
18
18
|
'text-grayscale': map-get($gray-palette, 900),
|
|
19
19
|
'menu-item-text': map-get($gray-palette, 800),
|
|
20
20
|
'text-warn': map-get($warning-palette, 900),
|
|
21
|
-
'text-confirm': #084720,
|
|
21
|
+
'text-confirm': #084720,
|
|
22
22
|
|
|
23
23
|
// UI Elements
|
|
24
24
|
'bg-menu-item-hover': map-get($gray-palette, 200),
|
|
@@ -35,9 +35,10 @@ $default-light-theme-config: (
|
|
|
35
35
|
'button-grayscale': map-get($gray-palette, 200),
|
|
36
36
|
|
|
37
37
|
// Feedback
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'
|
|
38
|
+
'toast-info': #66a5e4,
|
|
39
|
+
'toast-error': map-get($error-palette, 50),
|
|
40
|
+
'toast-success': #f0fdf4,
|
|
41
|
+
'toast-warn': map-get($warning-palette, 50),
|
|
41
42
|
|
|
42
43
|
// Scrollbar & Sliders
|
|
43
44
|
'scroll-bg': map-get($gray-palette, 100),
|
|
@@ -53,8 +54,7 @@ $default-light-theme-config: (
|
|
|
53
54
|
'text': map-get($gray-palette, 900),
|
|
54
55
|
'status-warn': map-get($warning-palette, 500),
|
|
55
56
|
'status-error': map-get($error-palette, 500),
|
|
56
|
-
'error-subtle': map-get($error-palette, 50)
|
|
57
|
-
) !default;
|
|
57
|
+
'error-subtle': map-get($error-palette, 50)) !default;
|
|
58
58
|
|
|
59
59
|
$default-dark-theme-config: (
|
|
60
60
|
// General
|
|
@@ -91,9 +91,10 @@ $default-dark-theme-config: (
|
|
|
91
91
|
'button-grayscale': map-get($gray-palette, 700),
|
|
92
92
|
|
|
93
93
|
// Feedback
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
94
|
+
'toast-info': #1a6cbd,
|
|
95
|
+
'toast-error': #450a0a,
|
|
96
|
+
'toast-success': #052e16,
|
|
97
|
+
'toast-warn': #451a03,
|
|
97
98
|
|
|
98
99
|
// Scrollbar & Sliders
|
|
99
100
|
'scroll-bg': map-get($gray-palette, 800),
|
|
@@ -109,5 +110,4 @@ $default-dark-theme-config: (
|
|
|
109
110
|
'text': map-get($gray-palette, 50),
|
|
110
111
|
'status-warn': map-get($warning-palette, 400),
|
|
111
112
|
'status-error': map-get($error-palette, 400),
|
|
112
|
-
'error-subtle': rgba(239, 68, 68, 0.15)
|
|
113
|
-
) !default;
|
|
113
|
+
'error-subtle': rgba(239, 68, 68, 0.15)) !default;
|
|
@@ -30,9 +30,10 @@ $high-contrast-light-config: (
|
|
|
30
30
|
'button-warn': $hc-red,
|
|
31
31
|
'button-grayscale': $hc-white,
|
|
32
32
|
|
|
33
|
-
'
|
|
34
|
-
'
|
|
35
|
-
'
|
|
33
|
+
'toast-info': $hc-white,
|
|
34
|
+
'toast-error': #ff5151,
|
|
35
|
+
'toast-success': #54ff99,
|
|
36
|
+
'toast-warn': $hc-yellow,
|
|
36
37
|
|
|
37
38
|
'scroll-bg': $hc-white,
|
|
38
39
|
'scroll-thumb': $hc-black,
|
|
@@ -78,9 +79,10 @@ $high-contrast-dark-config: (
|
|
|
78
79
|
'button-warn': $hc-red,
|
|
79
80
|
'button-grayscale': $hc-black,
|
|
80
81
|
|
|
81
|
-
'
|
|
82
|
-
'
|
|
83
|
-
'
|
|
82
|
+
'toast-info': $hc-black,
|
|
83
|
+
'toast-error': $hc-red,
|
|
84
|
+
'toast-success': #22c733,
|
|
85
|
+
'toast-warn': #c7c722,
|
|
84
86
|
|
|
85
87
|
'scroll-bg': $hc-black,
|
|
86
88
|
'scroll-thumb': $hc-white,
|
|
@@ -35,9 +35,10 @@ $orange-company-light-theme-config: (
|
|
|
35
35
|
'button-grayscale': #d0d0d0b3,
|
|
36
36
|
|
|
37
37
|
// Feedback
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'
|
|
38
|
+
'toast-info': #a7cef6,
|
|
39
|
+
'toast-error': #fbbdbe,
|
|
40
|
+
'toast-success': #bdf7ae,
|
|
41
|
+
'toast-warn': #ffdc9b,
|
|
41
42
|
|
|
42
43
|
// Scrollbar & Sliders
|
|
43
44
|
'scroll-bg': #FFEDD4,
|
|
@@ -90,9 +91,10 @@ $orange-company-dark-theme-config: (
|
|
|
90
91
|
'button-grayscale': #2e2e2eb1,
|
|
91
92
|
|
|
92
93
|
// Feedback
|
|
93
|
-
'
|
|
94
|
-
'
|
|
95
|
-
'
|
|
94
|
+
'toast-info': #44719d,
|
|
95
|
+
'toast-error': #8e1416,
|
|
96
|
+
'toast-success': #2e7d32,
|
|
97
|
+
'toast-warn': #b27a1c,
|
|
96
98
|
|
|
97
99
|
// Scroll & Sliders
|
|
98
100
|
'scroll-bg': #712000,
|