@acorex/styles 5.1.2 → 5.1.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.
- package/fonts/font-awesome/fa-brands-400.eot +0 -0
- package/fonts/font-awesome/fa-brands-400.svg +3570 -0
- package/fonts/font-awesome/fa-brands-400.ttf +0 -0
- package/fonts/font-awesome/fa-brands-400.woff +0 -0
- package/fonts/font-awesome/fa-brands-400.woff2 +0 -0
- package/fonts/font-awesome/fa-duotone-900.eot +0 -0
- package/fonts/font-awesome/fa-duotone-900.svg +15055 -0
- package/fonts/font-awesome/fa-duotone-900.ttf +0 -0
- package/fonts/font-awesome/fa-duotone-900.woff +0 -0
- package/fonts/font-awesome/fa-duotone-900.woff2 +0 -0
- package/fonts/font-awesome/fa-light-300.eot +0 -0
- package/fonts/font-awesome/fa-light-300.svg +12330 -0
- package/fonts/font-awesome/fa-light-300.ttf +0 -0
- package/fonts/font-awesome/fa-light-300.woff +0 -0
- package/fonts/font-awesome/fa-light-300.woff2 +0 -0
- package/fonts/font-awesome/fa-regular-400.eot +0 -0
- package/fonts/font-awesome/fa-regular-400.svg +11256 -0
- package/fonts/font-awesome/fa-regular-400.ttf +0 -0
- package/fonts/font-awesome/fa-regular-400.woff +0 -0
- package/fonts/font-awesome/fa-regular-400.woff2 +0 -0
- package/fonts/font-awesome/fa-solid-900.eot +0 -0
- package/fonts/font-awesome/fa-solid-900.svg +9588 -0
- package/fonts/font-awesome/fa-solid-900.ttf +0 -0
- package/fonts/font-awesome/fa-solid-900.woff +0 -0
- package/fonts/font-awesome/fa-solid-900.woff2 +0 -0
- package/fonts/font-awesome/font-awesome.css +16960 -0
- package/package.json +10 -10
- package/scss/buttons.scss +69 -0
- package/scss/calendar.scss +121 -0
- package/scss/checkbox.scss +46 -0
- package/scss/context-menu.scss +75 -0
- package/scss/data-grid.scss +117 -0
- package/scss/drawer.scss +138 -0
- package/scss/fieldset.scss +23 -0
- package/scss/forms.scss +515 -0
- package/scss/list.scss +47 -0
- package/scss/master.scss +259 -0
- package/scss/menu.scss +130 -0
- package/scss/mixin.scss +12 -0
- package/scss/page.scss +54 -0
- package/scss/progress.scss +11 -0
- package/scss/selection-list.scss +104 -0
- package/scss/style.scss +47 -0
- package/scss/tab-strip.scss +31 -0
- package/scss/tab.scss +36 -0
- package/scss/toast.scss +46 -0
- package/scss/tooltip.scss +55 -0
- package/scss/treeview.scss +122 -0
- package/scss/upload.scss +170 -0
- package/scss/variables.scss +139 -0
- package/index.scss +0 -11
- package/src/base/index.scss +0 -44
- package/src/components/_action-sheet.scss +0 -25
- package/src/components/_alert.scss +0 -64
- package/src/components/_avatar.scss +0 -135
- package/src/components/_badge.scss +0 -45
- package/src/components/_breadcrumbs.scss +0 -24
- package/src/components/_button.scss +0 -762
- package/src/components/_calendar.scss +0 -166
- package/src/components/_carousel.scss +0 -44
- package/src/components/_checkbox.scss +0 -63
- package/src/components/_collapse.scss +0 -52
- package/src/components/_datapager.scss +0 -40
- package/src/components/_datepicker.scss +0 -5
- package/src/components/_dialog.scss +0 -63
- package/src/components/_drawer.scss +0 -126
- package/src/components/_dropdown.scss +0 -226
- package/src/components/_editor-container.scss +0 -139
- package/src/components/_fieldset.scss +0 -8
- package/src/components/_form.scss +0 -8
- package/src/components/_input.scss +0 -14
- package/src/components/_label.scss +0 -7
- package/src/components/_list.scss +0 -80
- package/src/components/_loading.scss +0 -59
- package/src/components/_menu.scss +0 -50
- package/src/components/_numberbox.scss +0 -17
- package/src/components/_picker.scss +0 -11
- package/src/components/_popup.scss +0 -126
- package/src/components/_progress.scss +0 -62
- package/src/components/_radio.scss +0 -32
- package/src/components/_range-slider.scss +0 -15
- package/src/components/_rating.scss +0 -14
- package/src/components/_result.scss +0 -25
- package/src/components/_selectbox.scss +0 -18
- package/src/components/_selection-list.scss +0 -54
- package/src/components/_side-menu.scss +0 -42
- package/src/components/_skeleton.scss +0 -22
- package/src/components/_switch copy.scss +0 -185
- package/src/components/_switch.scss +0 -187
- package/src/components/_table.scss +0 -48
- package/src/components/_tabs.scss +0 -238
- package/src/components/_textarea.scss +0 -39
- package/src/components/_toast.scss +0 -82
- package/src/components/_tooltip.scss +0 -44
- package/src/components/_treeview.scss +0 -55
- package/src/components/index.scss +0 -42
- package/src/icons/Read Me.txt +0 -7
- package/src/icons/demo-files/demo.css +0 -152
- package/src/icons/demo-files/demo.js +0 -30
- package/src/icons/demo.html +0 -500
- package/src/icons/fonts/acorex-icon.eot +0 -0
- package/src/icons/fonts/acorex-icon.svg +0 -43
- package/src/icons/fonts/acorex-icon.ttf +0 -0
- package/src/icons/fonts/acorex-icon.woff +0 -0
- package/src/icons/selection.json +0 -1
- package/src/icons/style.css +0 -126
- package/src/icons/style.scss +0 -195
- package/src/icons/variables.scss +0 -37
- package/src/utility/_mixins.scss +0 -83
- package/src/utility/index.scss +0 -16
- package/src/variables/_colors.scss +0 -121
package/src/icons/style.css
DELETED
@@ -1,126 +0,0 @@
|
|
1
|
-
@font-face {
|
2
|
-
font-family: 'acorex-icon';
|
3
|
-
src: url('fonts/acorex-icon.eot?ymfsk5');
|
4
|
-
src: url('fonts/acorex-icon.eot?ymfsk5#iefix') format('embedded-opentype'),
|
5
|
-
url('fonts/acorex-icon.ttf?ymfsk5') format('truetype'),
|
6
|
-
url('fonts/acorex-icon.woff?ymfsk5') format('woff'),
|
7
|
-
url('fonts/acorex-icon.svg?ymfsk5#acorex-icon') format('svg');
|
8
|
-
font-weight: normal;
|
9
|
-
font-style: normal;
|
10
|
-
font-display: block;
|
11
|
-
}
|
12
|
-
|
13
|
-
[class^="ax-ic-"], [class*=" ax-ic-"] {
|
14
|
-
/* use !important to prevent issues with browser extensions that change fonts */
|
15
|
-
font-family: 'acorex-icon' !important;
|
16
|
-
speak: never;
|
17
|
-
font-style: normal;
|
18
|
-
font-weight: normal;
|
19
|
-
font-variant: normal;
|
20
|
-
text-transform: none;
|
21
|
-
line-height: 1;
|
22
|
-
|
23
|
-
/* Better Font Rendering =========== */
|
24
|
-
-webkit-font-smoothing: antialiased;
|
25
|
-
-moz-osx-font-smoothing: grayscale;
|
26
|
-
}
|
27
|
-
|
28
|
-
.ax-ic-star-filled:before {
|
29
|
-
content: "\e91e";
|
30
|
-
}
|
31
|
-
.ax-ic-star-half-filled:before {
|
32
|
-
content: "\e91f";
|
33
|
-
}
|
34
|
-
.ax-ic-star-outline:before {
|
35
|
-
content: "\e920";
|
36
|
-
}
|
37
|
-
.ax-ic-remove:before {
|
38
|
-
content: "\e91b";
|
39
|
-
}
|
40
|
-
.ax-ic-plus:before {
|
41
|
-
content: "\e91c";
|
42
|
-
}
|
43
|
-
.ax-ic-magnify:before {
|
44
|
-
content: "\e91d";
|
45
|
-
}
|
46
|
-
.ax-ic-arrow-circle:before {
|
47
|
-
content: "\e911";
|
48
|
-
}
|
49
|
-
.ax-ic-arrow-circle-fill:before {
|
50
|
-
content: "\e912";
|
51
|
-
}
|
52
|
-
.ax-ic-arrow-half:before {
|
53
|
-
content: "\e913";
|
54
|
-
}
|
55
|
-
.ax-ic-arrow-fill:before {
|
56
|
-
content: "\e914";
|
57
|
-
}
|
58
|
-
.ax-ic-arrow:before {
|
59
|
-
content: "\e915";
|
60
|
-
}
|
61
|
-
.ax-ic-unfold:before {
|
62
|
-
content: "\e916";
|
63
|
-
}
|
64
|
-
.ax-ic-half-arrow:before {
|
65
|
-
content: "\e917";
|
66
|
-
}
|
67
|
-
.ax-ic-fullscreen:before {
|
68
|
-
content: "\e918";
|
69
|
-
}
|
70
|
-
.ax-ic-close-fullscreen:before {
|
71
|
-
content: "\e919";
|
72
|
-
}
|
73
|
-
.ax-ic-fold:before {
|
74
|
-
content: "\e91a";
|
75
|
-
}
|
76
|
-
.ax-ic-eye:before {
|
77
|
-
content: "\e901";
|
78
|
-
}
|
79
|
-
.ax-ic-eye-off:before {
|
80
|
-
content: "\e902";
|
81
|
-
}
|
82
|
-
.ax-ic-calendar:before {
|
83
|
-
content: "\e903";
|
84
|
-
}
|
85
|
-
.ax-ic-time:before {
|
86
|
-
content: "\e900";
|
87
|
-
}
|
88
|
-
.ax-ic-check:before {
|
89
|
-
content: "\e904";
|
90
|
-
}
|
91
|
-
.ax-ic-check-filled:before {
|
92
|
-
content: "\e905";
|
93
|
-
}
|
94
|
-
.ax-ic-chevron:before {
|
95
|
-
content: "\e906";
|
96
|
-
}
|
97
|
-
.ax-ic-close:before {
|
98
|
-
content: "\e907";
|
99
|
-
}
|
100
|
-
.ax-ic-error-filled:before {
|
101
|
-
content: "\e908";
|
102
|
-
}
|
103
|
-
.ax-ic-chevron-page:before {
|
104
|
-
content: "\e909";
|
105
|
-
}
|
106
|
-
.ax-ic-info-filled:before {
|
107
|
-
content: "\e90a";
|
108
|
-
}
|
109
|
-
.ax-ic-chevron-double:before {
|
110
|
-
content: "\e90b";
|
111
|
-
}
|
112
|
-
.ax-ic-menu:before {
|
113
|
-
content: "\e90c";
|
114
|
-
}
|
115
|
-
.ax-ic-more:before {
|
116
|
-
content: "\e90d";
|
117
|
-
}
|
118
|
-
.ax-ic-warning-filled:before {
|
119
|
-
content: "\e90e";
|
120
|
-
}
|
121
|
-
.ax-ic-chevron-page-filled:before {
|
122
|
-
content: "\e90f";
|
123
|
-
}
|
124
|
-
.ax-ic-calendar-today:before {
|
125
|
-
content: "\e910";
|
126
|
-
}
|
package/src/icons/style.scss
DELETED
@@ -1,195 +0,0 @@
|
|
1
|
-
@import "variables";
|
2
|
-
|
3
|
-
@font-face {
|
4
|
-
font-family: '#{$icomoon-font-family}';
|
5
|
-
src: url('#{$icomoon-font-path}/#{$icomoon-font-family}.eot?ymfsk5');
|
6
|
-
src: url('#{$icomoon-font-path}/#{$icomoon-font-family}.eot?ymfsk5#iefix') format('embedded-opentype'),
|
7
|
-
url('#{$icomoon-font-path}/#{$icomoon-font-family}.ttf?ymfsk5') format('truetype'),
|
8
|
-
url('#{$icomoon-font-path}/#{$icomoon-font-family}.woff?ymfsk5') format('woff'),
|
9
|
-
url('#{$icomoon-font-path}/#{$icomoon-font-family}.svg?ymfsk5##{$icomoon-font-family}') format('svg');
|
10
|
-
font-weight: normal;
|
11
|
-
font-style: normal;
|
12
|
-
font-display: block;
|
13
|
-
}
|
14
|
-
|
15
|
-
[class^="ax-ic-"], [class*=" ax-ic-"] {
|
16
|
-
/* use !important to prevent issues with browser extensions that change fonts */
|
17
|
-
font-family: '#{$icomoon-font-family}' !important;
|
18
|
-
speak: never;
|
19
|
-
font-style: normal;
|
20
|
-
font-weight: normal;
|
21
|
-
font-variant: normal;
|
22
|
-
text-transform: none;
|
23
|
-
line-height: 1;
|
24
|
-
|
25
|
-
/* Better Font Rendering =========== */
|
26
|
-
-webkit-font-smoothing: antialiased;
|
27
|
-
-moz-osx-font-smoothing: grayscale;
|
28
|
-
}
|
29
|
-
|
30
|
-
.ax-ic-star-filled {
|
31
|
-
&:before {
|
32
|
-
content: $ax-ic-star-filled;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
.ax-ic-star-half-filled {
|
36
|
-
&:before {
|
37
|
-
content: $ax-ic-star-half-filled;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
.ax-ic-star-outline {
|
41
|
-
&:before {
|
42
|
-
content: $ax-ic-star-outline;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
.ax-ic-remove {
|
46
|
-
&:before {
|
47
|
-
content: $ax-ic-remove;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
.ax-ic-plus {
|
51
|
-
&:before {
|
52
|
-
content: $ax-ic-plus;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
.ax-ic-magnify {
|
56
|
-
&:before {
|
57
|
-
content: $ax-ic-magnify;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
.ax-ic-arrow-circle {
|
61
|
-
&:before {
|
62
|
-
content: $ax-ic-arrow-circle;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
.ax-ic-arrow-circle-fill {
|
66
|
-
&:before {
|
67
|
-
content: $ax-ic-arrow-circle-fill;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
.ax-ic-arrow-half {
|
71
|
-
&:before {
|
72
|
-
content: $ax-ic-arrow-half;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
.ax-ic-arrow-fill {
|
76
|
-
&:before {
|
77
|
-
content: $ax-ic-arrow-fill;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
.ax-ic-arrow {
|
81
|
-
&:before {
|
82
|
-
content: $ax-ic-arrow;
|
83
|
-
}
|
84
|
-
}
|
85
|
-
.ax-ic-unfold {
|
86
|
-
&:before {
|
87
|
-
content: $ax-ic-unfold;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
.ax-ic-half-arrow {
|
91
|
-
&:before {
|
92
|
-
content: $ax-ic-half-arrow;
|
93
|
-
}
|
94
|
-
}
|
95
|
-
.ax-ic-fullscreen {
|
96
|
-
&:before {
|
97
|
-
content: $ax-ic-fullscreen;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
.ax-ic-close-fullscreen {
|
101
|
-
&:before {
|
102
|
-
content: $ax-ic-close-fullscreen;
|
103
|
-
}
|
104
|
-
}
|
105
|
-
.ax-ic-fold {
|
106
|
-
&:before {
|
107
|
-
content: $ax-ic-fold;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
.ax-ic-eye {
|
111
|
-
&:before {
|
112
|
-
content: $ax-ic-eye;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
.ax-ic-eye-off {
|
116
|
-
&:before {
|
117
|
-
content: $ax-ic-eye-off;
|
118
|
-
}
|
119
|
-
}
|
120
|
-
.ax-ic-calendar {
|
121
|
-
&:before {
|
122
|
-
content: $ax-ic-calendar;
|
123
|
-
}
|
124
|
-
}
|
125
|
-
.ax-ic-time {
|
126
|
-
&:before {
|
127
|
-
content: $ax-ic-time;
|
128
|
-
}
|
129
|
-
}
|
130
|
-
.ax-ic-check {
|
131
|
-
&:before {
|
132
|
-
content: $ax-ic-check;
|
133
|
-
}
|
134
|
-
}
|
135
|
-
.ax-ic-check-filled {
|
136
|
-
&:before {
|
137
|
-
content: $ax-ic-check-filled;
|
138
|
-
}
|
139
|
-
}
|
140
|
-
.ax-ic-chevron {
|
141
|
-
&:before {
|
142
|
-
content: $ax-ic-chevron;
|
143
|
-
}
|
144
|
-
}
|
145
|
-
.ax-ic-close {
|
146
|
-
&:before {
|
147
|
-
content: $ax-ic-close;
|
148
|
-
}
|
149
|
-
}
|
150
|
-
.ax-ic-error-filled {
|
151
|
-
&:before {
|
152
|
-
content: $ax-ic-error-filled;
|
153
|
-
}
|
154
|
-
}
|
155
|
-
.ax-ic-chevron-page {
|
156
|
-
&:before {
|
157
|
-
content: $ax-ic-chevron-page;
|
158
|
-
}
|
159
|
-
}
|
160
|
-
.ax-ic-info-filled {
|
161
|
-
&:before {
|
162
|
-
content: $ax-ic-info-filled;
|
163
|
-
}
|
164
|
-
}
|
165
|
-
.ax-ic-chevron-double {
|
166
|
-
&:before {
|
167
|
-
content: $ax-ic-chevron-double;
|
168
|
-
}
|
169
|
-
}
|
170
|
-
.ax-ic-menu {
|
171
|
-
&:before {
|
172
|
-
content: $ax-ic-menu;
|
173
|
-
}
|
174
|
-
}
|
175
|
-
.ax-ic-more {
|
176
|
-
&:before {
|
177
|
-
content: $ax-ic-more;
|
178
|
-
}
|
179
|
-
}
|
180
|
-
.ax-ic-warning-filled {
|
181
|
-
&:before {
|
182
|
-
content: $ax-ic-warning-filled;
|
183
|
-
}
|
184
|
-
}
|
185
|
-
.ax-ic-chevron-page-filled {
|
186
|
-
&:before {
|
187
|
-
content: $ax-ic-chevron-page-filled;
|
188
|
-
}
|
189
|
-
}
|
190
|
-
.ax-ic-calendar-today {
|
191
|
-
&:before {
|
192
|
-
content: $ax-ic-calendar-today;
|
193
|
-
}
|
194
|
-
}
|
195
|
-
|
package/src/icons/variables.scss
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
$icomoon-font-family: "acorex-icon" !default;
|
2
|
-
$icomoon-font-path: "fonts" !default;
|
3
|
-
|
4
|
-
$ax-ic-star-filled: "\e91e";
|
5
|
-
$ax-ic-star-half-filled: "\e91f";
|
6
|
-
$ax-ic-star-outline: "\e920";
|
7
|
-
$ax-ic-remove: "\e91b";
|
8
|
-
$ax-ic-plus: "\e91c";
|
9
|
-
$ax-ic-magnify: "\e91d";
|
10
|
-
$ax-ic-arrow-circle: "\e911";
|
11
|
-
$ax-ic-arrow-circle-fill: "\e912";
|
12
|
-
$ax-ic-arrow-half: "\e913";
|
13
|
-
$ax-ic-arrow-fill: "\e914";
|
14
|
-
$ax-ic-arrow: "\e915";
|
15
|
-
$ax-ic-unfold: "\e916";
|
16
|
-
$ax-ic-half-arrow: "\e917";
|
17
|
-
$ax-ic-fullscreen: "\e918";
|
18
|
-
$ax-ic-close-fullscreen: "\e919";
|
19
|
-
$ax-ic-fold: "\e91a";
|
20
|
-
$ax-ic-eye: "\e901";
|
21
|
-
$ax-ic-eye-off: "\e902";
|
22
|
-
$ax-ic-calendar: "\e903";
|
23
|
-
$ax-ic-time: "\e900";
|
24
|
-
$ax-ic-check: "\e904";
|
25
|
-
$ax-ic-check-filled: "\e905";
|
26
|
-
$ax-ic-chevron: "\e906";
|
27
|
-
$ax-ic-close: "\e907";
|
28
|
-
$ax-ic-error-filled: "\e908";
|
29
|
-
$ax-ic-chevron-page: "\e909";
|
30
|
-
$ax-ic-info-filled: "\e90a";
|
31
|
-
$ax-ic-chevron-double: "\e90b";
|
32
|
-
$ax-ic-menu: "\e90c";
|
33
|
-
$ax-ic-more: "\e90d";
|
34
|
-
$ax-ic-warning-filled: "\e90e";
|
35
|
-
$ax-ic-chevron-page-filled: "\e90f";
|
36
|
-
$ax-ic-calendar-today: "\e910";
|
37
|
-
|
package/src/utility/_mixins.scss
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
@mixin screen($breakpoint) {
|
2
|
-
// $breakpoint is simply a variable that can have several values
|
3
|
-
|
4
|
-
@if $breakpoint == tablet {
|
5
|
-
// here `laptop` is the value of $breakpoint
|
6
|
-
// when call laptop, we mean the following piece of code
|
7
|
-
|
8
|
-
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
|
9
|
-
@content;
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
@if $breakpoint == mobile {
|
14
|
-
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
|
15
|
-
@content;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
|
19
|
-
@if $breakpoint == laptop {
|
20
|
-
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
|
21
|
-
@content;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
@mixin colors($array) {
|
27
|
-
@each $name, $color in $array {
|
28
|
-
@if (type-of($color) == "map") {
|
29
|
-
@each $subname, $variant in $color {
|
30
|
-
@if ($subname != "") {
|
31
|
-
--ax-color-#{$name}-#{$subname}: #{$variant};
|
32
|
-
} @else {
|
33
|
-
--ax-color-#{$name}: #{$variant};
|
34
|
-
}
|
35
|
-
}
|
36
|
-
} @else {
|
37
|
-
--ax-color-#{$name}: #{$color};
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
@mixin control-states($type) {
|
43
|
-
@if ($type == "editor") {
|
44
|
-
@apply dark:ax-border-white/[0.06] dark:ax-bg-white/[0.06] dark:ax-backdrop-blur-3xl;
|
45
|
-
}
|
46
|
-
@if ($type == "editor-disabled") {
|
47
|
-
@apply ax-bg-light-100 ax-text-light-fore dark:ax-border-white/[0.06] dark:ax-bg-white/[0.-04] dark:ax-text-opacity-60 ax-cursor-not-allowed;
|
48
|
-
}
|
49
|
-
@if ($type == "surface") {
|
50
|
-
@apply dark:ax-bg-default-background dark:ax-border-white/[0.16] dark:ax-shadow-md;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
@mixin color-look($color, $look) {
|
55
|
-
@if ($look == "default") {
|
56
|
-
@if ($color == "light") {
|
57
|
-
@apply ax-bg-#{$color}-100 ax-text-#{$color}-fore;
|
58
|
-
} @else {
|
59
|
-
@apply ax-bg-#{$color}-500 ax-text-#{$color}-fore;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
@if ($look == "outline") {
|
63
|
-
@apply ax-bg-transparent ax-text-#{$color}-500 ax-border ax-rounded-md ax-border-#{$color}-500;
|
64
|
-
}
|
65
|
-
@if ($look == "twotone") {
|
66
|
-
@apply ax-bg-#{$color}-50 ax-text-#{$color}-500;
|
67
|
-
}
|
68
|
-
@if ($look == "blank") {
|
69
|
-
@apply ax-bg-transparent ax-text-#{$color}-500;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
@mixin color-look-generator() {
|
74
|
-
$colors: ("primary", "secondary", "success", "warning", "danger", "info", "light", "dark");
|
75
|
-
$looks: ("default", "outline", "twotone", "blank");
|
76
|
-
@each $c in $colors {
|
77
|
-
@each $l in $looks {
|
78
|
-
&.ax-#{$c}-#{$l} {
|
79
|
-
@include color-look($c, $l);
|
80
|
-
}
|
81
|
-
}
|
82
|
-
}
|
83
|
-
}
|
package/src/utility/index.scss
DELETED
@@ -1,121 +0,0 @@
|
|
1
|
-
$theme-colors: (
|
2
|
-
"white": "255 255 255",
|
3
|
-
"black": "0 0 0",
|
4
|
-
"placeholder": "156 163 175",
|
5
|
-
"border": "209 213 219",
|
6
|
-
"disabled": "224 224 224",
|
7
|
-
"disabled-fore": "117 117 117",
|
8
|
-
"disabled-border": "191 191 191",
|
9
|
-
"primary": (
|
10
|
-
"": "59 130 246",
|
11
|
-
"fore": "255 255 255",
|
12
|
-
"50": "239 246 255",
|
13
|
-
"100": "219 234 254",
|
14
|
-
"200": "191 219 254",
|
15
|
-
"300": "147 197 253",
|
16
|
-
"400": "96 165 250",
|
17
|
-
"500": "59 130 246",
|
18
|
-
"600": "37 99 235",
|
19
|
-
"700": "29 78 216",
|
20
|
-
"800": "30 64 175",
|
21
|
-
"900": "30 58 138",
|
22
|
-
),
|
23
|
-
"secondary": (
|
24
|
-
"": "236 72 153",
|
25
|
-
"fore": "255 255 255",
|
26
|
-
"50": "253 242 248",
|
27
|
-
"100": "252 231 243",
|
28
|
-
"200": "251 207 232",
|
29
|
-
"300": "249 168 212",
|
30
|
-
"400": "244 114 182",
|
31
|
-
"500": "236 72 153",
|
32
|
-
"600": "219 39 119",
|
33
|
-
"700": "190 24 93",
|
34
|
-
"800": "157 23 77",
|
35
|
-
"900": "131 24 67",
|
36
|
-
),
|
37
|
-
"success": (
|
38
|
-
"": "76 175 80",
|
39
|
-
"fore": "255 255 255",
|
40
|
-
"50": "236 253 245",
|
41
|
-
"100": "209 250 229",
|
42
|
-
"200": "167 243 208",
|
43
|
-
"300": "110 231 183",
|
44
|
-
"400": "52 211 153",
|
45
|
-
"500": "16 185 129",
|
46
|
-
"600": "5 150 105",
|
47
|
-
"700": "4 120 87",
|
48
|
-
"800": "6 95 70",
|
49
|
-
"900": "6 78 59",
|
50
|
-
),
|
51
|
-
"danger": (
|
52
|
-
"": "239 68 68",
|
53
|
-
"fore": "255 255 255",
|
54
|
-
"50": "254 242 242",
|
55
|
-
"100": "254 226 226",
|
56
|
-
"200": "254 202 202",
|
57
|
-
"300": "252 165 165",
|
58
|
-
"400": "248 113 113",
|
59
|
-
"500": "239 68 68",
|
60
|
-
"600": "220 38 38",
|
61
|
-
"700": "185 28 28",
|
62
|
-
"800": "153 27 27",
|
63
|
-
"900": "127 29 29",
|
64
|
-
),
|
65
|
-
"warning": (
|
66
|
-
"": "251 191 36",
|
67
|
-
"fore": "120 53 15",
|
68
|
-
"50": "255 251 235",
|
69
|
-
"100": "254 243 199",
|
70
|
-
"200": "253 230 138",
|
71
|
-
"300": "252 211 77",
|
72
|
-
"400": "251 191 36",
|
73
|
-
"500": "245 158 11",
|
74
|
-
"600": "217 119 6",
|
75
|
-
"700": "180 83 9",
|
76
|
-
"800": "146 64 14",
|
77
|
-
"900": "120 53 15",
|
78
|
-
),
|
79
|
-
"info": (
|
80
|
-
"": "139 92 246",
|
81
|
-
"fore": "255 255 255",
|
82
|
-
"50": "245 243 255",
|
83
|
-
"100": "237 233 254",
|
84
|
-
"200": "221 214 254",
|
85
|
-
"300": "196 181 253",
|
86
|
-
"400": "167 139 250",
|
87
|
-
"500": "139 92 246",
|
88
|
-
"600": "124 58 237",
|
89
|
-
"700": "109 40 217",
|
90
|
-
"800": "91 33 182",
|
91
|
-
"900": "76 29 149",
|
92
|
-
),
|
93
|
-
"dark": (
|
94
|
-
"": "21 21 21",
|
95
|
-
"fore": "255 255 255",
|
96
|
-
"50": "227 227 227",
|
97
|
-
"100": "185 185 185",
|
98
|
-
"200": "138 138 138",
|
99
|
-
"300": "91 91 91",
|
100
|
-
"400": "56 56 56",
|
101
|
-
"500": "21 21 21",
|
102
|
-
"600": "18 18 18",
|
103
|
-
"700": "15 15 15",
|
104
|
-
"800": "12 12 12",
|
105
|
-
"900": "6 6 6",
|
106
|
-
),
|
107
|
-
"light": (
|
108
|
-
"": "100 116 139",
|
109
|
-
"fore": "15 23 42",
|
110
|
-
"50": "248 250 252",
|
111
|
-
"100": "241 245 249",
|
112
|
-
"200": "226 232 240",
|
113
|
-
"300": "203 213 225",
|
114
|
-
"400": "148 163 184",
|
115
|
-
"500": "100 116 139",
|
116
|
-
"600": "71 85 105",
|
117
|
-
"700": "51 65 85",
|
118
|
-
"800": "30 41 59",
|
119
|
-
"900": "15 23 42",
|
120
|
-
)
|
121
|
-
);
|