@acorex/styles 5.8.0 → 6.0.1
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/index.js +191 -0
- package/index.scss +0 -1
- package/package.json +17 -10
- package/src/base/index.scss +3 -1
- package/src/components/_action-sheet.scss +2 -3
- package/src/components/_alert.scss +53 -55
- package/src/components/_avatar.scss +1 -3
- package/src/components/_badge.scss +150 -6
- package/src/components/_breadcrumbs.scss +14 -11
- package/src/components/_button.scss +11 -15
- package/src/components/_calendar.scss +5 -5
- package/src/components/_checkbox.scss +3 -8
- package/src/components/_collapse.scss +5 -12
- package/src/components/_color-palette.scss +9 -25
- package/src/components/_color-picker.scss +2 -2
- package/src/components/_data-table.scss +6 -6
- package/src/components/_datapager.scss +3 -3
- package/src/components/_decoration.scss +13 -13
- package/src/components/_dialog.scss +1 -1
- package/src/components/_drawer.scss +7 -7
- package/src/components/_dropdown.scss +8 -10
- package/src/components/_editor-container.scss +13 -13
- package/src/components/_fieldset.scss +2 -2
- package/src/components/_form.scss +1 -1
- package/src/components/_input.scss +1 -1
- package/src/components/_label.scss +1 -1
- package/src/components/_list.scss +8 -23
- package/src/components/_loading.scss +14 -21
- package/src/components/_menu.scss +4 -5
- package/src/components/_numberbox.scss +1 -3
- package/src/components/_popup.scss +1 -5
- package/src/components/_progress.scss +11 -13
- package/src/components/_radio.scss +1 -1
- package/src/components/_range-slider.scss +162 -31
- package/src/components/_result.scss +2 -3
- package/src/components/_selectbox.scss +2 -2
- package/src/components/_selection-list.scss +1 -1
- package/src/components/_switch.scss +0 -1
- package/src/components/_table.scss +5 -5
- package/src/components/_tabs.scss +3 -3
- package/src/components/_textarea.scss +5 -6
- package/src/components/_toast.scss +1 -1
- package/src/components/_treeview.scss +0 -1
- package/src/components/index.scss +0 -2
- package/src/icons/demo-files/demo.css +152 -152
- package/src/icons/demo-files/demo.js +30 -30
- package/src/utility/_mixins.scss +6 -6
- package/src/utility/index.scss +3 -3
- package/src/components/_picker.scss +0 -179
- package/src/components/_side-menu.scss +0 -42
- package/src/components/_switch copy.scss +0 -185
@@ -1,5 +1,4 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-result,
|
3
2
|
.ax-result {
|
4
3
|
@apply ax-flex ax-flex-col;
|
5
4
|
.ax-result-icon {
|
@@ -7,10 +6,10 @@
|
|
7
6
|
}
|
8
7
|
.ax-result-title,
|
9
8
|
.ax-result-description {
|
10
|
-
@apply ax-mt-
|
9
|
+
@apply ax-mt-2 ax-text-center;
|
11
10
|
}
|
12
11
|
.ax-result-title {
|
13
|
-
@apply ax-text-
|
12
|
+
@apply ax-text-lg ax-font-semibold ax-text-light-700 dark:ax-text-light-50;
|
14
13
|
}
|
15
14
|
.ax-result-description {
|
16
15
|
@apply ax-text-sm ax-text-light-500 dark:ax-text-light-100;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-select-box {
|
2
|
+
.ax-select-box {
|
3
3
|
.ax-select-box-selection {
|
4
4
|
@apply ax-flex ax-justify-center ax-items-center ax-outline-none;
|
5
5
|
|
6
|
-
.ax-badge{
|
6
|
+
.ax-badge {
|
7
7
|
@apply dark:ax-bg-white/[0.16] dark:ax-text-light-100;
|
8
8
|
}
|
9
9
|
.ax-dropdown-chips {
|
@@ -43,7 +43,7 @@
|
|
43
43
|
.ax-selection-list {
|
44
44
|
&.ax-vertical,&.ax-horizontal {
|
45
45
|
& > div {
|
46
|
-
@apply ax-p-4 ax-border ax-border-light-300 dark:ax-border-white/[0.09] ax-rounded-
|
46
|
+
@apply ax-p-4 ax-border ax-border-light-300 dark:ax-border-white/[0.09] ax-rounded-default ax-shadow-sm;
|
47
47
|
&.ax-state-selected {
|
48
48
|
@apply ax-border-primary-500 ax-ring-1 ax-ring-primary-500 ax-shadow-primary-500;
|
49
49
|
}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
@layer components {
|
2
2
|
.ax-table {
|
3
|
-
@apply ax-w-full ax-rounded-
|
3
|
+
@apply ax-w-full ax-rounded-default ax-border-collapse ax-border ax-border-light-200 dark:ax-border-white/10 ax-overflow-hidden;
|
4
4
|
td {
|
5
|
-
@apply ax-border-b ax-border-light-200 dark:ax-border-white/
|
5
|
+
@apply ax-border-b ax-border-light-200 dark:ax-border-white/10 ax-px-6 ax-py-4 ax-text-sm;
|
6
6
|
}
|
7
7
|
thead {
|
8
|
-
@apply ax-bg-light-100 dark:ax-bg-
|
8
|
+
@apply ax-bg-light-100 dark:ax-bg-white/10 ax-shadow-sm ax-border-b ax-border-light-200 dark:ax-border-white/10;
|
9
9
|
th {
|
10
10
|
@apply ax-text-sm ax-font-bold ax-text-start ax-py-4 ax-px-6;
|
11
11
|
}
|
@@ -44,7 +44,7 @@
|
|
44
44
|
|
45
45
|
td,
|
46
46
|
th {
|
47
|
-
@apply ax-border ax-border-light-200 dark:ax-border-white/
|
47
|
+
@apply ax-border ax-border-light-200 dark:ax-border-white/10;
|
48
48
|
&:first-child {
|
49
49
|
@apply ax-border-s-0;
|
50
50
|
}
|
@@ -69,7 +69,7 @@
|
|
69
69
|
}
|
70
70
|
}
|
71
71
|
tr {
|
72
|
-
@apply ax-border ax-border-light-200 dark:ax-border-white/
|
72
|
+
@apply ax-border ax-border-light-200 dark:ax-border-white/10;
|
73
73
|
}
|
74
74
|
tr,
|
75
75
|
tbody {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-tabs {
|
2
|
+
.ax-tabs {
|
3
3
|
@apply ax-p-0 ax-overflow-y-hidden ax-overflow-x-auto ax-w-max ax-block;
|
4
4
|
|
5
5
|
.ax-items-wrapper {
|
@@ -20,11 +20,11 @@
|
|
20
20
|
@apply ax-text-black;
|
21
21
|
}
|
22
22
|
|
23
|
-
ax-prefix {
|
23
|
+
.ax-prefix {
|
24
24
|
@apply ax-flex ax-flex-row ax-pe-2;
|
25
25
|
}
|
26
26
|
|
27
|
-
ax-suffix {
|
27
|
+
.ax-suffix {
|
28
28
|
@apply ax-flex ax-flex-row ax-ps-2;
|
29
29
|
}
|
30
30
|
}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-textarea,
|
3
2
|
.ax-textarea {
|
4
3
|
min-height: calc(var(--ax-base-size) * var(--ax-base-ratio));
|
5
4
|
@apply ax-relative ax-flex ax-flex-col ax-rounded ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-light-300 ax-overflow-hidden ax-w-full;
|
@@ -18,19 +17,19 @@
|
|
18
17
|
@apply ax-outline-transparent;
|
19
18
|
}
|
20
19
|
}
|
21
|
-
> ax-prefix,
|
22
|
-
> ax-suffix {
|
20
|
+
> .ax-prefix,
|
21
|
+
> .ax-suffix {
|
23
22
|
@apply ax-mb-2 ax-p-1.5 ax-absolute;
|
24
23
|
@include control-states("editor");
|
25
|
-
ax-button {
|
24
|
+
.ax-button {
|
26
25
|
@apply ax-text-sm;
|
27
26
|
--ax-base-size: 5px;
|
28
27
|
}
|
29
28
|
}
|
30
|
-
> ax-prefix {
|
29
|
+
> .ax-prefix {
|
31
30
|
@apply ax-top-0 ax-end-0;
|
32
31
|
}
|
33
|
-
> ax-suffix {
|
32
|
+
> .ax-suffix {
|
34
33
|
@apply ax-bottom-0 ax-end-0;
|
35
34
|
}
|
36
35
|
|
@@ -22,7 +22,6 @@
|
|
22
22
|
@import "./label";
|
23
23
|
@import "./list";
|
24
24
|
@import "./numberbox";
|
25
|
-
@import "./picker";
|
26
25
|
@import "./loading";
|
27
26
|
@import "./menu";
|
28
27
|
@import "./popup";
|
@@ -33,7 +32,6 @@
|
|
33
32
|
@import "./result";
|
34
33
|
@import "./selectbox";
|
35
34
|
@import "./selection-list";
|
36
|
-
@import "./side-menu";
|
37
35
|
@import "./skeleton";
|
38
36
|
@import "./switch";
|
39
37
|
@import "./table";
|
@@ -1,152 +1,152 @@
|
|
1
|
-
body {
|
2
|
-
padding: 0;
|
3
|
-
margin: 0;
|
4
|
-
font-family: sans-serif;
|
5
|
-
font-size: 1em;
|
6
|
-
line-height: 1.5;
|
7
|
-
color: #555;
|
8
|
-
background: #fff;
|
9
|
-
}
|
10
|
-
h1 {
|
11
|
-
font-size: 1.5em;
|
12
|
-
font-weight: normal;
|
13
|
-
}
|
14
|
-
small {
|
15
|
-
font-size: .66666667em;
|
16
|
-
}
|
17
|
-
a {
|
18
|
-
color: #e74c3c;
|
19
|
-
text-decoration: none;
|
20
|
-
}
|
21
|
-
a:hover, a:focus {
|
22
|
-
box-shadow: 0 1px #e74c3c;
|
23
|
-
}
|
24
|
-
.bshadow0, input {
|
25
|
-
box-shadow: inset 0 -2px #e7e7e7;
|
26
|
-
}
|
27
|
-
input:hover {
|
28
|
-
box-shadow: inset 0 -2px #ccc;
|
29
|
-
}
|
30
|
-
input, fieldset {
|
31
|
-
font-family: sans-serif;
|
32
|
-
font-size: 1em;
|
33
|
-
margin: 0;
|
34
|
-
padding: 0;
|
35
|
-
border: 0;
|
36
|
-
}
|
37
|
-
input {
|
38
|
-
color: inherit;
|
39
|
-
line-height: 1.5;
|
40
|
-
height: 1.5em;
|
41
|
-
padding: .25em 0;
|
42
|
-
}
|
43
|
-
input:focus {
|
44
|
-
outline: none;
|
45
|
-
box-shadow: inset 0 -2px #449fdb;
|
46
|
-
}
|
47
|
-
.glyph {
|
48
|
-
font-size: 16px;
|
49
|
-
width: 15em;
|
50
|
-
padding-bottom: 1em;
|
51
|
-
margin-right: 4em;
|
52
|
-
margin-bottom: 1em;
|
53
|
-
float: left;
|
54
|
-
overflow: hidden;
|
55
|
-
}
|
56
|
-
.liga {
|
57
|
-
width: 80%;
|
58
|
-
width: calc(100% - 2.5em);
|
59
|
-
}
|
60
|
-
.talign-right {
|
61
|
-
text-align: right;
|
62
|
-
}
|
63
|
-
.talign-center {
|
64
|
-
text-align: center;
|
65
|
-
}
|
66
|
-
.bgc1 {
|
67
|
-
background: #f1f1f1;
|
68
|
-
}
|
69
|
-
.fgc1 {
|
70
|
-
color: #999;
|
71
|
-
}
|
72
|
-
.fgc0 {
|
73
|
-
color: #000;
|
74
|
-
}
|
75
|
-
p {
|
76
|
-
margin-top: 1em;
|
77
|
-
margin-bottom: 1em;
|
78
|
-
}
|
79
|
-
.mvm {
|
80
|
-
margin-top: .75em;
|
81
|
-
margin-bottom: .75em;
|
82
|
-
}
|
83
|
-
.mtn {
|
84
|
-
margin-top: 0;
|
85
|
-
}
|
86
|
-
.mtl, .mal {
|
87
|
-
margin-top: 1.5em;
|
88
|
-
}
|
89
|
-
.mbl, .mal {
|
90
|
-
margin-bottom: 1.5em;
|
91
|
-
}
|
92
|
-
.mal, .mhl {
|
93
|
-
margin-left: 1.5em;
|
94
|
-
margin-right: 1.5em;
|
95
|
-
}
|
96
|
-
.mhmm {
|
97
|
-
margin-left: 1em;
|
98
|
-
margin-right: 1em;
|
99
|
-
}
|
100
|
-
.mls {
|
101
|
-
margin-left: .25em;
|
102
|
-
}
|
103
|
-
.ptl {
|
104
|
-
padding-top: 1.5em;
|
105
|
-
}
|
106
|
-
.pbs, .pvs {
|
107
|
-
padding-bottom: .25em;
|
108
|
-
}
|
109
|
-
.pvs, .pts {
|
110
|
-
padding-top: .25em;
|
111
|
-
}
|
112
|
-
.unit {
|
113
|
-
float: left;
|
114
|
-
}
|
115
|
-
.unitRight {
|
116
|
-
float: right;
|
117
|
-
}
|
118
|
-
.size1of2 {
|
119
|
-
width: 50%;
|
120
|
-
}
|
121
|
-
.size1of1 {
|
122
|
-
width: 100%;
|
123
|
-
}
|
124
|
-
.clearfix:before, .clearfix:after {
|
125
|
-
content: " ";
|
126
|
-
display: table;
|
127
|
-
}
|
128
|
-
.clearfix:after {
|
129
|
-
clear: both;
|
130
|
-
}
|
131
|
-
.hidden-true {
|
132
|
-
display: none;
|
133
|
-
}
|
134
|
-
.textbox0 {
|
135
|
-
width: 3em;
|
136
|
-
background: #f1f1f1;
|
137
|
-
padding: .25em .5em;
|
138
|
-
line-height: 1.5;
|
139
|
-
height: 1.5em;
|
140
|
-
}
|
141
|
-
#testDrive {
|
142
|
-
display: block;
|
143
|
-
padding-top: 24px;
|
144
|
-
line-height: 1.5;
|
145
|
-
}
|
146
|
-
.fs0 {
|
147
|
-
font-size: 16px;
|
148
|
-
}
|
149
|
-
.fs1 {
|
150
|
-
font-size: 32px;
|
151
|
-
}
|
152
|
-
|
1
|
+
body {
|
2
|
+
padding: 0;
|
3
|
+
margin: 0;
|
4
|
+
font-family: sans-serif;
|
5
|
+
font-size: 1em;
|
6
|
+
line-height: 1.5;
|
7
|
+
color: #555;
|
8
|
+
background: #fff;
|
9
|
+
}
|
10
|
+
h1 {
|
11
|
+
font-size: 1.5em;
|
12
|
+
font-weight: normal;
|
13
|
+
}
|
14
|
+
small {
|
15
|
+
font-size: .66666667em;
|
16
|
+
}
|
17
|
+
a {
|
18
|
+
color: #e74c3c;
|
19
|
+
text-decoration: none;
|
20
|
+
}
|
21
|
+
a:hover, a:focus {
|
22
|
+
box-shadow: 0 1px #e74c3c;
|
23
|
+
}
|
24
|
+
.bshadow0, input {
|
25
|
+
box-shadow: inset 0 -2px #e7e7e7;
|
26
|
+
}
|
27
|
+
input:hover {
|
28
|
+
box-shadow: inset 0 -2px #ccc;
|
29
|
+
}
|
30
|
+
input, fieldset {
|
31
|
+
font-family: sans-serif;
|
32
|
+
font-size: 1em;
|
33
|
+
margin: 0;
|
34
|
+
padding: 0;
|
35
|
+
border: 0;
|
36
|
+
}
|
37
|
+
input {
|
38
|
+
color: inherit;
|
39
|
+
line-height: 1.5;
|
40
|
+
height: 1.5em;
|
41
|
+
padding: .25em 0;
|
42
|
+
}
|
43
|
+
input:focus {
|
44
|
+
outline: none;
|
45
|
+
box-shadow: inset 0 -2px #449fdb;
|
46
|
+
}
|
47
|
+
.glyph {
|
48
|
+
font-size: 16px;
|
49
|
+
width: 15em;
|
50
|
+
padding-bottom: 1em;
|
51
|
+
margin-right: 4em;
|
52
|
+
margin-bottom: 1em;
|
53
|
+
float: left;
|
54
|
+
overflow: hidden;
|
55
|
+
}
|
56
|
+
.liga {
|
57
|
+
width: 80%;
|
58
|
+
width: calc(100% - 2.5em);
|
59
|
+
}
|
60
|
+
.talign-right {
|
61
|
+
text-align: right;
|
62
|
+
}
|
63
|
+
.talign-center {
|
64
|
+
text-align: center;
|
65
|
+
}
|
66
|
+
.bgc1 {
|
67
|
+
background: #f1f1f1;
|
68
|
+
}
|
69
|
+
.fgc1 {
|
70
|
+
color: #999;
|
71
|
+
}
|
72
|
+
.fgc0 {
|
73
|
+
color: #000;
|
74
|
+
}
|
75
|
+
p {
|
76
|
+
margin-top: 1em;
|
77
|
+
margin-bottom: 1em;
|
78
|
+
}
|
79
|
+
.mvm {
|
80
|
+
margin-top: .75em;
|
81
|
+
margin-bottom: .75em;
|
82
|
+
}
|
83
|
+
.mtn {
|
84
|
+
margin-top: 0;
|
85
|
+
}
|
86
|
+
.mtl, .mal {
|
87
|
+
margin-top: 1.5em;
|
88
|
+
}
|
89
|
+
.mbl, .mal {
|
90
|
+
margin-bottom: 1.5em;
|
91
|
+
}
|
92
|
+
.mal, .mhl {
|
93
|
+
margin-left: 1.5em;
|
94
|
+
margin-right: 1.5em;
|
95
|
+
}
|
96
|
+
.mhmm {
|
97
|
+
margin-left: 1em;
|
98
|
+
margin-right: 1em;
|
99
|
+
}
|
100
|
+
.mls {
|
101
|
+
margin-left: .25em;
|
102
|
+
}
|
103
|
+
.ptl {
|
104
|
+
padding-top: 1.5em;
|
105
|
+
}
|
106
|
+
.pbs, .pvs {
|
107
|
+
padding-bottom: .25em;
|
108
|
+
}
|
109
|
+
.pvs, .pts {
|
110
|
+
padding-top: .25em;
|
111
|
+
}
|
112
|
+
.unit {
|
113
|
+
float: left;
|
114
|
+
}
|
115
|
+
.unitRight {
|
116
|
+
float: right;
|
117
|
+
}
|
118
|
+
.size1of2 {
|
119
|
+
width: 50%;
|
120
|
+
}
|
121
|
+
.size1of1 {
|
122
|
+
width: 100%;
|
123
|
+
}
|
124
|
+
.clearfix:before, .clearfix:after {
|
125
|
+
content: " ";
|
126
|
+
display: table;
|
127
|
+
}
|
128
|
+
.clearfix:after {
|
129
|
+
clear: both;
|
130
|
+
}
|
131
|
+
.hidden-true {
|
132
|
+
display: none;
|
133
|
+
}
|
134
|
+
.textbox0 {
|
135
|
+
width: 3em;
|
136
|
+
background: #f1f1f1;
|
137
|
+
padding: .25em .5em;
|
138
|
+
line-height: 1.5;
|
139
|
+
height: 1.5em;
|
140
|
+
}
|
141
|
+
#testDrive {
|
142
|
+
display: block;
|
143
|
+
padding-top: 24px;
|
144
|
+
line-height: 1.5;
|
145
|
+
}
|
146
|
+
.fs0 {
|
147
|
+
font-size: 16px;
|
148
|
+
}
|
149
|
+
.fs1 {
|
150
|
+
font-size: 32px;
|
151
|
+
}
|
152
|
+
|
@@ -1,30 +1,30 @@
|
|
1
|
-
if (!('boxShadow' in document.body.style)) {
|
2
|
-
document.body.setAttribute('class', 'noBoxShadow');
|
3
|
-
}
|
4
|
-
|
5
|
-
document.body.addEventListener("click", function(e) {
|
6
|
-
var target = e.target;
|
7
|
-
if (target.tagName === "INPUT" &&
|
8
|
-
target.getAttribute('class').indexOf('liga') === -1) {
|
9
|
-
target.select();
|
10
|
-
}
|
11
|
-
});
|
12
|
-
|
13
|
-
(function() {
|
14
|
-
var fontSize = document.getElementById('fontSize'),
|
15
|
-
testDrive = document.getElementById('testDrive'),
|
16
|
-
testText = document.getElementById('testText');
|
17
|
-
function updateTest() {
|
18
|
-
testDrive.innerHTML = testText.value || String.fromCharCode(160);
|
19
|
-
if (window.icomoonLiga) {
|
20
|
-
window.icomoonLiga(testDrive);
|
21
|
-
}
|
22
|
-
}
|
23
|
-
function updateSize() {
|
24
|
-
testDrive.style.fontSize = fontSize.value + 'px';
|
25
|
-
}
|
26
|
-
fontSize.addEventListener('change', updateSize, false);
|
27
|
-
testText.addEventListener('input', updateTest, false);
|
28
|
-
testText.addEventListener('change', updateTest, false);
|
29
|
-
updateSize();
|
30
|
-
}());
|
1
|
+
if (!('boxShadow' in document.body.style)) {
|
2
|
+
document.body.setAttribute('class', 'noBoxShadow');
|
3
|
+
}
|
4
|
+
|
5
|
+
document.body.addEventListener("click", function(e) {
|
6
|
+
var target = e.target;
|
7
|
+
if (target.tagName === "INPUT" &&
|
8
|
+
target.getAttribute('class').indexOf('liga') === -1) {
|
9
|
+
target.select();
|
10
|
+
}
|
11
|
+
});
|
12
|
+
|
13
|
+
(function() {
|
14
|
+
var fontSize = document.getElementById('fontSize'),
|
15
|
+
testDrive = document.getElementById('testDrive'),
|
16
|
+
testText = document.getElementById('testText');
|
17
|
+
function updateTest() {
|
18
|
+
testDrive.innerHTML = testText.value || String.fromCharCode(160);
|
19
|
+
if (window.icomoonLiga) {
|
20
|
+
window.icomoonLiga(testDrive);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
function updateSize() {
|
24
|
+
testDrive.style.fontSize = fontSize.value + 'px';
|
25
|
+
}
|
26
|
+
fontSize.addEventListener('change', updateSize, false);
|
27
|
+
testText.addEventListener('input', updateTest, false);
|
28
|
+
testText.addEventListener('change', updateTest, false);
|
29
|
+
updateSize();
|
30
|
+
}());
|
package/src/utility/_mixins.scss
CHANGED
@@ -41,13 +41,13 @@
|
|
41
41
|
|
42
42
|
@mixin control-states($type) {
|
43
43
|
@if ($type == "editor") {
|
44
|
-
@apply dark:ax-border-white/
|
44
|
+
@apply dark:ax-border-white/10 dark:ax-bg-white/10 dark:ax-backdrop-blur-3xl;
|
45
45
|
}
|
46
46
|
@if ($type == "editor-disabled") {
|
47
|
-
@apply ax-bg-light-100 ax-text-light-fore dark:ax-border-white/
|
47
|
+
@apply ax-bg-light-100 ax-text-light-fore dark:ax-border-white/10 dark:ax-bg-white/[0.-04] dark:ax-text-opacity-60 ax-cursor-not-allowed #{!important};
|
48
48
|
}
|
49
49
|
@if ($type == "surface") {
|
50
|
-
@apply dark:ax-bg-default-background dark:ax-border-white/
|
50
|
+
@apply dark:ax-bg-default-background dark:ax-border-white/10 dark:ax-shadow-md;
|
51
51
|
}
|
52
52
|
}
|
53
53
|
|
@@ -63,8 +63,8 @@
|
|
63
63
|
}
|
64
64
|
}
|
65
65
|
@if ($look == "outline") {
|
66
|
-
@apply ax-bg-transparent ax-text-#{$color}-500 ax-border ax-rounded-
|
67
|
-
ax-header {
|
66
|
+
@apply ax-bg-transparent ax-text-#{$color}-500 ax-border ax-rounded-default ax-border-#{$color}-500;
|
67
|
+
.ax-header {
|
68
68
|
@apply ax-bg-#{$color}-50;
|
69
69
|
}
|
70
70
|
.ax-alert-progress{
|
@@ -99,7 +99,7 @@
|
|
99
99
|
}
|
100
100
|
|
101
101
|
// @mixin button-on-colorful-bg {
|
102
|
-
// ax-button {
|
102
|
+
// .ax-button {
|
103
103
|
// @apply ax-bg-black/20 ax-text-sm ax-border-0 ax-outline-0 ax-ring-0 ax-ring-transparent ax-h-auto ax-shadow-none ax-font-semibold #{!important};
|
104
104
|
// & > button {
|
105
105
|
// @apply ax-py-1.5 ax-px-2;
|
package/src/utility/index.scss
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
@layer utilities {
|
2
2
|
.ax-sm {
|
3
|
-
--ax-base-size:
|
3
|
+
--ax-base-size: calc(var(--ax-size) - 2px);
|
4
4
|
font-size: 0.75rem;
|
5
5
|
* {
|
6
6
|
font-size: 0.75rem;
|
7
7
|
}
|
8
8
|
}
|
9
9
|
.ax-md {
|
10
|
-
--ax-base-size:
|
10
|
+
--ax-base-size: var(--ax-size);
|
11
11
|
font-size: 1rem;
|
12
12
|
* {
|
13
13
|
font-size: 1rem;
|
14
14
|
}
|
15
15
|
}
|
16
16
|
.ax-lg {
|
17
|
-
--ax-base-size:
|
17
|
+
--ax-base-size: calc(var(--ax-size) + 2px);
|
18
18
|
font-size: 1.125rem;
|
19
19
|
* {
|
20
20
|
font-size: 1.125rem;
|