@acorex/styles 19.10.0-next.1 → 19.10.0-next.2
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/base/index.scss +22 -0
- package/{src/shared → components}/_action-item.scss +3 -3
- package/{src/shared → components}/_actionsheet.scss +7 -6
- package/{src/shared → components}/_check-box.scss +8 -14
- package/{src/shared → components}/_drop-down.scss +7 -16
- package/{src/shared → components}/_editor-container.scss +22 -78
- package/{src/shared → components}/_general-button.scss +11 -12
- package/{src/shared → components}/_list.scss +15 -41
- package/{src/shared → components}/_radio.scss +8 -14
- package/components/_ripple.scss +13 -0
- package/{src/shared → components}/_table.scss +9 -30
- package/components/_uploader.scss +44 -0
- package/{src/shared → components}/index.scss +2 -3
- package/icons/fontawesome/index.scss +10 -11
- package/icons/huge/huge-bulk/index.scss +4 -4
- package/icons/huge/huge-duotone/index.scss +4 -4
- package/icons/huge/huge-solid-sharp/index.scss +4 -4
- package/icons/huge/huge-solid-standard/index.scss +4 -4
- package/icons/huge/huge-stroke-rounded/index.scss +4 -4
- package/icons/huge/huge-stroke-sharp/index.scss +4 -4
- package/icons/huge/huge-stroke-standard/index.scss +4 -4
- package/icons/huge/huge-twotone/index.scss +4 -4
- package/icons/material/index.scss +4 -5
- package/index.scss +5 -7
- package/mixins/_look.scss +68 -0
- package/package.json +1 -1
- package/tailwind-base.js +231 -158
- package/themes/default.scss +26 -139
- package/utils/_theme-generator.scss +228 -0
- package/utils/_utils.scss +286 -0
- package/utils/index.scss +2 -0
- package/variables/_colors.scss +8 -0
- package/variables/_looks.scss +1 -0
- package/variables/index.scss +2 -0
- package/index.css +0 -2843
- package/index.min.css +0 -1
- package/src/base/index.scss +0 -13
- package/src/mixins/_look.scss +0 -83
- package/src/shared/_color-look.scss +0 -822
- package/src/shared/_inputs.scss +0 -16
- package/src/shared/_utils.scss +0 -85
- package/src/utility/index.scss +0 -24
- package/src/variables/_colors.scss +0 -2
- package/src/variables/_degrees.scss +0 -1
- package/src/variables/index.scss +0 -2
- package/themes/default.css +0 -1
- /package/{src/base → base}/_preflight.scss +0 -0
- /package/{src/mixins → mixins}/_media.scss +0 -0
- /package/{src/mixins → mixins}/_util.scss +0 -0
- /package/{src/mixins → mixins}/index.scss +0 -0
@@ -1,7 +1,6 @@
|
|
1
1
|
@use '../mixins/index.scss';
|
2
2
|
|
3
3
|
.ax-radio {
|
4
|
-
// @apply ax-m-0 ax-h-4 ax-w-4 ax-cursor-pointer ax-appearance-none ax-rounded ax-border ax-border-default ax-bg-input-surface ax-align-middle ax-outline-none;
|
5
4
|
margin: 0px;
|
6
5
|
height: 1rem /* 16px */;
|
7
6
|
min-height: 1rem /* 16px */;
|
@@ -11,20 +10,17 @@
|
|
11
10
|
appearance: none;
|
12
11
|
border-radius: 9999px /* 4px */;
|
13
12
|
border-width: 1px;
|
14
|
-
border-color: rgba(var(--ax-color-input-border));
|
15
|
-
background-color: rgba(var(--ax-color-input-surface));
|
13
|
+
border-color: rgba(var(--ax-sys-color-input-surface-border));
|
14
|
+
background-color: rgba(var(--ax-sys-color-input-surface));
|
16
15
|
vertical-align: middle;
|
17
16
|
outline: 2px solid transparent;
|
18
17
|
outline-offset: 2px;
|
19
18
|
|
20
19
|
&:checked {
|
21
|
-
|
22
|
-
|
23
|
-
background-color: rgba(var(--ax-color-primary-500)) !important;
|
20
|
+
border-color: rgba(var(--ax-sys-color-primary-500)) !important;
|
21
|
+
background-color: rgba(var(--ax-sys-color-primary-500)) !important;
|
24
22
|
background-size: contain;
|
25
23
|
background-repeat: no-repeat;
|
26
|
-
|
27
|
-
// @apply ax-bg-contain ax-bg-no-repeat;
|
28
24
|
}
|
29
25
|
|
30
26
|
&:checked {
|
@@ -33,14 +29,12 @@
|
|
33
29
|
|
34
30
|
&:focus-visible,
|
35
31
|
&:focus {
|
36
|
-
// @apply ax-ring-2 ax-ring-primary-500 ax-ring-offset-2 ax-ring-offset-surface;
|
37
32
|
box-shadow:
|
38
|
-
0px 0px 0px 2px rgba(var(--ax-color-surface)),
|
39
|
-
0px 0px 0px 4px rgba(var(--ax-color-primary-500));
|
33
|
+
0px 0px 0px 2px rgba(var(--ax-sys-color-surface)),
|
34
|
+
0px 0px 0px 4px rgba(var(--ax-sys-color-primary-500));
|
40
35
|
}
|
41
36
|
|
42
37
|
&:disabled {
|
43
|
-
// @apply ax-cursor-not-allowed ax-opacity-50;
|
44
38
|
cursor: not-allowed;
|
45
39
|
opacity: 0.5;
|
46
40
|
}
|
@@ -49,8 +43,8 @@
|
|
49
43
|
// @include darkMode() {
|
50
44
|
// .ax-checkbox {
|
51
45
|
// &:checked {
|
52
|
-
// border-color: rgba(var(--ax-color-primary-200)) !important;
|
53
|
-
// background-color: rgba(var(--ax-color-primary-200)) !important;
|
46
|
+
// border-color: rgba(var(--ax-sys-color-primary-200)) !important;
|
47
|
+
// background-color: rgba(var(--ax-sys-color-primary-200)) !important;
|
54
48
|
// background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='black' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
|
55
49
|
// }
|
56
50
|
// }
|
@@ -2,39 +2,34 @@
|
|
2
2
|
@include mixins.darkMode() {
|
3
3
|
.ax-table {
|
4
4
|
thead {
|
5
|
-
|
6
|
-
background-color: rgba(var(--ax-color-on-surface));
|
5
|
+
background-color: rgba(var(--ax-sys-color-surface-high));
|
7
6
|
}
|
8
7
|
}
|
9
8
|
}
|
10
9
|
.ax-table {
|
11
|
-
// @apply ax-w-full ax-border-collapse ax-border-spacing-0 ax-overflow-hidden ax-rounded-default ax-border ax-border-default ax-text-sm;
|
12
10
|
width: 100%;
|
13
11
|
border-collapse: collapse;
|
14
12
|
border-spacing: 0;
|
15
13
|
overflow: hidden;
|
16
|
-
border-radius: var(--ax-
|
14
|
+
border-radius: var(--ax-sys-border-radius);
|
17
15
|
border-width: 1px;
|
18
|
-
border-color: rgba(var(--ax-
|
16
|
+
border-color: rgba(var(--ax-sys-border-color));
|
19
17
|
font-size: 0.875rem /* 14px */;
|
20
18
|
line-height: 1.25rem /* 20px */;
|
21
19
|
td {
|
22
|
-
// @apply ax-border-b ax-border-default ax-px-4 ax-py-3;
|
23
20
|
border-bottom-width: 1px;
|
24
|
-
border-color: rgba(var(--ax-
|
21
|
+
border-color: rgba(var(--ax-sys-border-color));
|
25
22
|
padding-left: 1rem /* 16px */;
|
26
23
|
padding-right: 1rem /* 16px */;
|
27
24
|
padding-top: 0.75rem /* 12px */;
|
28
25
|
padding-bottom: 0.75rem /* 12px */;
|
29
26
|
}
|
30
27
|
thead {
|
31
|
-
// @apply ax-border-b ax-border-default ax-bg-on-surface;
|
32
28
|
border-bottom-width: 1px;
|
33
|
-
border-color: rgba(var(--ax-
|
34
|
-
background-color: rgba(var(--ax-color-
|
29
|
+
border-color: rgba(var(--ax-sys-border-color));
|
30
|
+
background-color: rgba(var(--ax-sys-color-surface-high));
|
35
31
|
|
36
32
|
th {
|
37
|
-
// @apply ax-px-4 ax-py-3.5 ax-text-start ax-font-medium ax-uppercase;
|
38
33
|
padding-left: 1rem /* 16px */;
|
39
34
|
padding-right: 1rem /* 16px */;
|
40
35
|
padding-top: 0.875rem /* 14px */;
|
@@ -48,8 +43,7 @@
|
|
48
43
|
tbody {
|
49
44
|
tr {
|
50
45
|
&:nth-child(even) {
|
51
|
-
|
52
|
-
background-color: rgba(var(--ax-color-on-surface));
|
46
|
+
background-color: rgba(var(--ax-sys-color-surface-high));
|
53
47
|
}
|
54
48
|
}
|
55
49
|
}
|
@@ -57,7 +51,6 @@
|
|
57
51
|
&.ax-table-bordered {
|
58
52
|
thead {
|
59
53
|
th {
|
60
|
-
// @apply ax-border-t-0 #{!important};
|
61
54
|
border-top-width: 0px !important;
|
62
55
|
}
|
63
56
|
}
|
@@ -65,13 +58,11 @@
|
|
65
58
|
tr {
|
66
59
|
&:last-child {
|
67
60
|
td {
|
68
|
-
// @apply ax-border-b-0 #{!important};
|
69
61
|
border-bottom-width: 0px !important;
|
70
62
|
}
|
71
63
|
}
|
72
64
|
td {
|
73
65
|
&:last-child {
|
74
|
-
// @apply ax-border-b-0 #{!important};
|
75
66
|
border-bottom-width: 0px !important;
|
76
67
|
}
|
77
68
|
}
|
@@ -80,37 +71,30 @@
|
|
80
71
|
|
81
72
|
td,
|
82
73
|
th {
|
83
|
-
// @apply ax-border ax-border-default;
|
84
74
|
border-width: 1px;
|
85
|
-
border-color: rgba(var(--ax-
|
75
|
+
border-color: rgba(var(--ax-sys-border-color));
|
86
76
|
|
87
77
|
&:first-child {
|
88
|
-
// @apply ax-border-s-0;
|
89
78
|
border-inline-start-width: 0px;
|
90
79
|
}
|
91
80
|
&:last-child {
|
92
|
-
// @apply ax-border-e-0;
|
93
81
|
border-inline-end-width: 0px;
|
94
82
|
}
|
95
83
|
}
|
96
84
|
}
|
97
85
|
@include mixins.mediaLessThan('xs') {
|
98
86
|
&.ax-table-responsive {
|
99
|
-
// @apply ax-block ax-break-words ax-border-0;
|
100
87
|
display: block;
|
101
88
|
overflow-wrap: break-word;
|
102
89
|
border-width: 0px;
|
103
90
|
|
104
91
|
thead {
|
105
|
-
// @apply ax-absolute -ax-start-full -ax-top-full;
|
106
92
|
position: absolute;
|
107
93
|
inset-inline-start: -100%;
|
108
94
|
top: -100%;
|
109
95
|
}
|
110
96
|
|
111
97
|
td {
|
112
|
-
// @apply ax-clear-both ax-box-border ax-block ax-w-full ax-px-2.5 ax-py-1.5;
|
113
|
-
|
114
98
|
float: inline-start;
|
115
99
|
clear: both;
|
116
100
|
box-sizing: border-box;
|
@@ -121,25 +105,20 @@
|
|
121
105
|
padding-top: 0.375rem /* 6px */;
|
122
106
|
padding-bottom: 0.375rem /* 6px */;
|
123
107
|
&:last-child {
|
124
|
-
// @apply ax-border-0;
|
125
108
|
border-width: 0px;
|
126
109
|
}
|
127
110
|
&:before {
|
128
|
-
// @apply ax-block ax-font-bold;
|
129
|
-
|
130
111
|
content: attr(data-label);
|
131
112
|
display: block;
|
132
113
|
font-weight: 700;
|
133
114
|
}
|
134
115
|
}
|
135
116
|
tr {
|
136
|
-
// @apply ax-border ax-border-default;
|
137
117
|
border-width: 1px;
|
138
|
-
border-color: rgba(var(--ax-
|
118
|
+
border-color: rgba(var(--ax-sys-border-color));
|
139
119
|
}
|
140
120
|
tr,
|
141
121
|
tbody {
|
142
|
-
// @apply ax-mb-2.5 ax-block ax-w-full;
|
143
122
|
float: inline-start;
|
144
123
|
margin-bottom: 0.625rem /* 10px */;
|
145
124
|
width: 100%;
|
@@ -0,0 +1,44 @@
|
|
1
|
+
@use '../mixins/index.scss' as mixin;
|
2
|
+
.ax-uploader-overlay-state {
|
3
|
+
border-radius: inherit;
|
4
|
+
pointer-events: none;
|
5
|
+
position: absolute;
|
6
|
+
inset-inline-start: 0px;
|
7
|
+
top: 0px;
|
8
|
+
z-index: 10;
|
9
|
+
display: flex;
|
10
|
+
height: 100%;
|
11
|
+
width: 100%;
|
12
|
+
cursor: pointer;
|
13
|
+
flex-direction: column;
|
14
|
+
align-items: center;
|
15
|
+
justify-content: center;
|
16
|
+
gap: 0.5rem /* 8px */;
|
17
|
+
background-color: rgba(var(--ax-sys-color-primary-200), 0.75);
|
18
|
+
font-size: 0.875rem /* 14px */;
|
19
|
+
line-height: 1.25rem /* 20px */;
|
20
|
+
color: rgba(var(--ax-sys-color-on-primary-tint));
|
21
|
+
outline-style: dashed;
|
22
|
+
outline-offset: -4px;
|
23
|
+
transition-property: all;
|
24
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
25
|
+
transition-duration: 150ms;
|
26
|
+
}
|
27
|
+
|
28
|
+
.ax-drop-zone {
|
29
|
+
> input {
|
30
|
+
position: absolute;
|
31
|
+
height: 100%;
|
32
|
+
width: 100%;
|
33
|
+
cursor: pointer;
|
34
|
+
opacity: 0;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
@include mixin.darkMode() {
|
39
|
+
.ax-uploader-overlay-state {
|
40
|
+
background-color: rgba(var(--ax-sys-color-primary-800), 0.75);
|
41
|
+
color: rgba(var(--ax-sys-color-on-primary));
|
42
|
+
outline-color: rgba(var(--ax-sys-color-on-primary));
|
43
|
+
}
|
44
|
+
}
|
@@ -1,12 +1,11 @@
|
|
1
1
|
@forward './action-item';
|
2
2
|
@forward './actionsheet';
|
3
3
|
@forward './check-box';
|
4
|
-
@forward './color-look';
|
5
4
|
@forward './drop-down';
|
6
5
|
@forward './editor-container';
|
7
6
|
@forward './general-button';
|
8
|
-
@forward './inputs';
|
9
7
|
@forward './list';
|
10
8
|
@forward './radio';
|
9
|
+
@forward './ripple';
|
11
10
|
@forward './table';
|
12
|
-
@forward './
|
11
|
+
@forward './uploader';
|
@@ -1,33 +1,32 @@
|
|
1
1
|
@use './variables';
|
2
2
|
|
3
3
|
.ax-icon-thin {
|
4
|
-
--ax-icon-weight: 100;
|
4
|
+
--ax-sys-icon-weight: 100;
|
5
5
|
}
|
6
6
|
.ax-icon-light {
|
7
|
-
--ax-icon-weight: 300;
|
7
|
+
--ax-sys-icon-weight: 300;
|
8
8
|
}
|
9
9
|
.ax-icon-regular {
|
10
|
-
--ax-icon-weight: 400;
|
10
|
+
--ax-sys-icon-weight: 400;
|
11
11
|
}
|
12
12
|
.ax-icon-solid {
|
13
|
-
--ax-icon-weight: 900;
|
13
|
+
--ax-sys-icon-weight: 900;
|
14
14
|
}
|
15
15
|
|
16
16
|
.ax-icon {
|
17
17
|
-moz-osx-font-smoothing: grayscale;
|
18
18
|
-webkit-font-smoothing: antialiased;
|
19
19
|
display: inline-flex !important;
|
20
|
+
align-items: center;
|
21
|
+
justify-content: center;
|
20
22
|
font-style: normal;
|
21
23
|
font-variant: normal;
|
22
|
-
line-height: 1;
|
23
24
|
text-rendering: auto;
|
24
25
|
font-family: 'Font Awesome 6 Pro';
|
25
|
-
width:
|
26
|
-
height:
|
27
|
-
|
28
|
-
|
29
|
-
font-weight: var(--ax-icon-weight, 400);
|
30
|
-
font-size: var(--ax-icon-size, 100%);
|
26
|
+
width: var(--ax-sys-icon-width, inherit);
|
27
|
+
height: var(--ax-sys-icon-height, inherit);
|
28
|
+
font-weight: var(--ax-sys-icon-weight, 400);
|
29
|
+
font-size: var(--ax-sys-icon-size, 100%);
|
31
30
|
}
|
32
31
|
|
33
32
|
.ax-icon-more-horizontal {
|
@@ -13,16 +13,16 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
.ax-icon-thin {
|
16
|
-
--ax-icon-weight: 100;
|
16
|
+
--ax-sys-icon-weight: 100;
|
17
17
|
}
|
18
18
|
.ax-icon-light {
|
19
|
-
--ax-icon-weight: 300;
|
19
|
+
--ax-sys-icon-weight: 300;
|
20
20
|
}
|
21
21
|
.ax-icon-regular {
|
22
|
-
--ax-icon-weight: 400;
|
22
|
+
--ax-sys-icon-weight: 400;
|
23
23
|
}
|
24
24
|
.ax-icon-solid {
|
25
|
-
--ax-icon-weight: 900;
|
25
|
+
--ax-sys-icon-weight: 900;
|
26
26
|
}
|
27
27
|
|
28
28
|
.ax-icon-more-horizontal {
|
@@ -14,16 +14,16 @@
|
|
14
14
|
}
|
15
15
|
|
16
16
|
.ax-icon-thin {
|
17
|
-
--ax-icon-weight: 100;
|
17
|
+
--ax-sys-icon-weight: 100;
|
18
18
|
}
|
19
19
|
.ax-icon-light {
|
20
|
-
--ax-icon-weight: 300;
|
20
|
+
--ax-sys-icon-weight: 300;
|
21
21
|
}
|
22
22
|
.ax-icon-regular {
|
23
|
-
--ax-icon-weight: 400;
|
23
|
+
--ax-sys-icon-weight: 400;
|
24
24
|
}
|
25
25
|
.ax-icon-solid {
|
26
|
-
--ax-icon-weight: 900;
|
26
|
+
--ax-sys-icon-weight: 900;
|
27
27
|
}
|
28
28
|
|
29
29
|
.ax-icon-more-horizontal {
|
@@ -13,16 +13,16 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
.ax-icon-thin {
|
16
|
-
--ax-icon-weight: 100;
|
16
|
+
--ax-sys-icon-weight: 100;
|
17
17
|
}
|
18
18
|
.ax-icon-light {
|
19
|
-
--ax-icon-weight: 300;
|
19
|
+
--ax-sys-icon-weight: 300;
|
20
20
|
}
|
21
21
|
.ax-icon-regular {
|
22
|
-
--ax-icon-weight: 400;
|
22
|
+
--ax-sys-icon-weight: 400;
|
23
23
|
}
|
24
24
|
.ax-icon-solid {
|
25
|
-
--ax-icon-weight: 900;
|
25
|
+
--ax-sys-icon-weight: 900;
|
26
26
|
}
|
27
27
|
|
28
28
|
.ax-icon-more-horizontal {
|
@@ -13,16 +13,16 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
.ax-icon-thin {
|
16
|
-
--ax-icon-weight: 100;
|
16
|
+
--ax-sys-icon-weight: 100;
|
17
17
|
}
|
18
18
|
.ax-icon-light {
|
19
|
-
--ax-icon-weight: 300;
|
19
|
+
--ax-sys-icon-weight: 300;
|
20
20
|
}
|
21
21
|
.ax-icon-regular {
|
22
|
-
--ax-icon-weight: 400;
|
22
|
+
--ax-sys-icon-weight: 400;
|
23
23
|
}
|
24
24
|
.ax-icon-solid {
|
25
|
-
--ax-icon-weight: 900;
|
25
|
+
--ax-sys-icon-weight: 900;
|
26
26
|
}
|
27
27
|
|
28
28
|
.ax-icon-more-horizontal {
|
@@ -13,16 +13,16 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
.ax-icon-thin {
|
16
|
-
--ax-icon-weight: 100;
|
16
|
+
--ax-sys-icon-weight: 100;
|
17
17
|
}
|
18
18
|
.ax-icon-light {
|
19
|
-
--ax-icon-weight: 300;
|
19
|
+
--ax-sys-icon-weight: 300;
|
20
20
|
}
|
21
21
|
.ax-icon-regular {
|
22
|
-
--ax-icon-weight: 400;
|
22
|
+
--ax-sys-icon-weight: 400;
|
23
23
|
}
|
24
24
|
.ax-icon-solid {
|
25
|
-
--ax-icon-weight: 900;
|
25
|
+
--ax-sys-icon-weight: 900;
|
26
26
|
}
|
27
27
|
|
28
28
|
.ax-icon-more-horizontal {
|
@@ -13,16 +13,16 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
.ax-icon-thin {
|
16
|
-
--ax-icon-weight: 100;
|
16
|
+
--ax-sys-icon-weight: 100;
|
17
17
|
}
|
18
18
|
.ax-icon-light {
|
19
|
-
--ax-icon-weight: 300;
|
19
|
+
--ax-sys-icon-weight: 300;
|
20
20
|
}
|
21
21
|
.ax-icon-regular {
|
22
|
-
--ax-icon-weight: 400;
|
22
|
+
--ax-sys-icon-weight: 400;
|
23
23
|
}
|
24
24
|
.ax-icon-solid {
|
25
|
-
--ax-icon-weight: 900;
|
25
|
+
--ax-sys-icon-weight: 900;
|
26
26
|
}
|
27
27
|
|
28
28
|
.ax-icon-more-horizontal {
|
@@ -13,16 +13,16 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
.ax-icon-thin {
|
16
|
-
--ax-icon-weight: 100;
|
16
|
+
--ax-sys-icon-weight: 100;
|
17
17
|
}
|
18
18
|
.ax-icon-light {
|
19
|
-
--ax-icon-weight: 300;
|
19
|
+
--ax-sys-icon-weight: 300;
|
20
20
|
}
|
21
21
|
.ax-icon-regular {
|
22
|
-
--ax-icon-weight: 400;
|
22
|
+
--ax-sys-icon-weight: 400;
|
23
23
|
}
|
24
24
|
.ax-icon-solid {
|
25
|
-
--ax-icon-weight: 900;
|
25
|
+
--ax-sys-icon-weight: 900;
|
26
26
|
}
|
27
27
|
|
28
28
|
.ax-icon-more-horizontal {
|
@@ -13,16 +13,16 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
.ax-icon-thin {
|
16
|
-
--ax-icon-weight: 100;
|
16
|
+
--ax-sys-icon-weight: 100;
|
17
17
|
}
|
18
18
|
.ax-icon-light {
|
19
|
-
--ax-icon-weight: 300;
|
19
|
+
--ax-sys-icon-weight: 300;
|
20
20
|
}
|
21
21
|
.ax-icon-regular {
|
22
|
-
--ax-icon-weight: 400;
|
22
|
+
--ax-sys-icon-weight: 400;
|
23
23
|
}
|
24
24
|
.ax-icon-solid {
|
25
|
-
--ax-icon-weight: 900;
|
25
|
+
--ax-sys-icon-weight: 900;
|
26
26
|
}
|
27
27
|
|
28
28
|
.ax-icon-more-horizontal {
|
@@ -5,7 +5,6 @@
|
|
5
5
|
font-style: normal;
|
6
6
|
font-size: 24px; /* Preferred icon size */
|
7
7
|
display: inline-block;
|
8
|
-
line-height: 1;
|
9
8
|
text-transform: none;
|
10
9
|
letter-spacing: normal;
|
11
10
|
word-wrap: normal;
|
@@ -22,16 +21,16 @@
|
|
22
21
|
}
|
23
22
|
|
24
23
|
.ax-icon-thin {
|
25
|
-
--ax-icon-weight: 100;
|
24
|
+
--ax-sys-icon-weight: 100;
|
26
25
|
}
|
27
26
|
.ax-icon-light {
|
28
|
-
--ax-icon-weight: 300;
|
27
|
+
--ax-sys-icon-weight: 300;
|
29
28
|
}
|
30
29
|
.ax-icon-regular {
|
31
|
-
--ax-icon-weight: 400;
|
30
|
+
--ax-sys-icon-weight: 400;
|
32
31
|
}
|
33
32
|
.ax-icon-solid {
|
34
|
-
--ax-icon-weight: 900;
|
33
|
+
--ax-sys-icon-weight: 900;
|
35
34
|
}
|
36
35
|
|
37
36
|
.ax-icon-more-horizontal {
|
package/index.scss
CHANGED
@@ -1,9 +1,7 @@
|
|
1
|
-
@forward './
|
2
|
-
@forward './
|
3
|
-
|
4
|
-
@forward './
|
5
|
-
@forward './
|
6
|
-
@forward './src/shared/index.scss';
|
7
|
-
@forward './src/utility/index.scss';
|
1
|
+
@forward './base/index.scss';
|
2
|
+
@forward './components/index.scss';
|
3
|
+
@forward './mixins/index.scss';
|
4
|
+
@forward './utils/index.scss';
|
5
|
+
@forward './variables/index.scss';
|
8
6
|
|
9
7
|
@import '@angular/cdk/overlay-prebuilt.css';
|
@@ -0,0 +1,68 @@
|
|
1
|
+
@mixin solid-look() {
|
2
|
+
border-radius: var(--ax-sys-border-radius);
|
3
|
+
border-width: 1px;
|
4
|
+
border-color: rgba(var(--ax-sys-color-input-surface-border));
|
5
|
+
background-color: rgba(var(--ax-sys-color-input-surface));
|
6
|
+
|
7
|
+
&:focus-within {
|
8
|
+
box-shadow: 0px 0px 0 1px rgba(var(--ax-sys-color-primary-500));
|
9
|
+
border-color: rgba(var(--ax-sys-color-primary-500));
|
10
|
+
}
|
11
|
+
|
12
|
+
&.ax-state-error {
|
13
|
+
border-color: rgba(var(--ax-sys-color-danger-500));
|
14
|
+
&:focus-within {
|
15
|
+
box-shadow: 0px 0px 0 1px rgba(var(--ax-sys-color-danger-500));
|
16
|
+
border-color: rgba(var(--ax-sys-color-danger-500));
|
17
|
+
}
|
18
|
+
.ax-input {
|
19
|
+
&::placeholder {
|
20
|
+
color: rgba(var(--ax-sys-color-danger-500));
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
@mixin flat-look() {
|
26
|
+
border-radius: 0px;
|
27
|
+
border-bottom-width: 1px;
|
28
|
+
border-color: rgba(var(--ax-sys-color-input-surface-border));
|
29
|
+
|
30
|
+
&:focus-within {
|
31
|
+
border-color: rgba(var(--ax-sys-color-primary-500));
|
32
|
+
}
|
33
|
+
&.ax-state-error {
|
34
|
+
border-color: rgba(var(--ax-sys-color-danger-500));
|
35
|
+
|
36
|
+
.ax-input {
|
37
|
+
&::placeholder {
|
38
|
+
color: rgba(var(--ax-sys-color-danger-500));
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
@mixin outline-look() {
|
45
|
+
background-color: transparent !important;
|
46
|
+
}
|
47
|
+
|
48
|
+
@mixin fill-look() {
|
49
|
+
border-radius: var(--ax-sys-border-radius);
|
50
|
+
background-color: rgba(var(--ax-sys-color-surface-high));
|
51
|
+
|
52
|
+
&:focus-within {
|
53
|
+
box-shadow: 0px 0px 0 2px rgba(var(--ax-sys-color-primary-500));
|
54
|
+
}
|
55
|
+
&.ax-state-error {
|
56
|
+
background-color: rgba(var(--ax-sys-color-danger-50));
|
57
|
+
color: rgba(var(--ax-sys-color-danger-fore-tint));
|
58
|
+
|
59
|
+
&:focus-within {
|
60
|
+
box-shadow: 0px 0px 0 2px rgba(var(--ax-sys-color-danger-500));
|
61
|
+
}
|
62
|
+
.ax-input {
|
63
|
+
&::placeholder {
|
64
|
+
color: rgba(var(--ax-sys-color-danger-500));
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|