@acorex/styles 16.0.2 → 17.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/icons/fontawesome/fontawesome.scss +68 -0
- package/icons/index.scss +207 -0
- package/icons/material/material.scss +73 -0
- package/index.css +2623 -0
- package/index.min.css +1 -0
- package/index.scss +9 -0
- package/package.json +11 -11
- package/src/base/_preflight.scss +417 -0
- package/src/base/index.scss +13 -0
- package/src/mixins/_look.scss +83 -0
- package/src/mixins/_media.scss +27 -0
- package/src/mixins/_util.scss +19 -0
- package/src/mixins/index.scss +3 -0
- package/src/shared/_actionsheet.scss +23 -0
- package/src/shared/_check-box.scss +59 -0
- package/src/shared/_color-look.scss +689 -0
- package/src/shared/_drop-down.scss +76 -0
- package/src/shared/_editor-container.scss +257 -0
- package/src/shared/_general-button.scss +87 -0
- package/src/shared/_inputs.scss +16 -0
- package/src/shared/_list.scss +211 -0
- package/src/shared/_radio.scss +56 -0
- package/src/shared/_table.scss +149 -0
- package/src/shared/_utils.scss +75 -0
- package/src/shared/index.scss +11 -0
- package/src/utility/index.scss +24 -0
- package/src/variables/_colors.scss +2 -0
- package/src/variables/_degrees.scss +1 -0
- package/src/variables/index.scss +2 -0
- package/tailwind-base.js +235 -0
- package/themes/default.css +1 -0
- package/themes/default.scss +141 -0
- package/fonts/font-awesome/fa-brands-400.eot +0 -0
- package/fonts/font-awesome/fa-brands-400.svg +0 -3570
- 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 +0 -15055
- 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 +0 -12330
- 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 +0 -11256
- 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 +0 -9588
- 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 +0 -16960
- package/scss/buttons.scss +0 -69
- package/scss/calendar.scss +0 -144
- package/scss/checkbox.scss +0 -46
- package/scss/context-menu.scss +0 -75
- package/scss/data-grid.scss +0 -117
- package/scss/drawer.scss +0 -138
- package/scss/fieldset.scss +0 -23
- package/scss/forms.scss +0 -523
- package/scss/list.scss +0 -47
- package/scss/master.scss +0 -330
- package/scss/menu.scss +0 -130
- package/scss/mixin.scss +0 -12
- package/scss/page.scss +0 -54
- package/scss/progress.scss +0 -11
- package/scss/selection-list.scss +0 -104
- package/scss/style.scss +0 -47
- package/scss/tab-strip.scss +0 -31
- package/scss/tab.scss +0 -36
- package/scss/toast.scss +0 -46
- package/scss/tooltip.scss +0 -55
- package/scss/treeview.scss +0 -152
- package/scss/upload.scss +0 -170
- package/scss/variables.scss +0 -139
@@ -0,0 +1,149 @@
|
|
1
|
+
@import '../mixins/index.scss';
|
2
|
+
@include darkMode() {
|
3
|
+
.ax-table {
|
4
|
+
thead {
|
5
|
+
// @apply ax-bg-on-surface;
|
6
|
+
background-color: rgba(var(--ax-color-on-surface));
|
7
|
+
}
|
8
|
+
}
|
9
|
+
}
|
10
|
+
.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
|
+
width: 100%;
|
13
|
+
border-collapse: collapse;
|
14
|
+
border-spacing: 0;
|
15
|
+
overflow: hidden;
|
16
|
+
border-radius: var(--ax-rounded-border-default);
|
17
|
+
border-width: 1px;
|
18
|
+
border-color: rgba(var(--ax-color-border-default));
|
19
|
+
font-size: 0.875rem /* 14px */;
|
20
|
+
line-height: 1.25rem /* 20px */;
|
21
|
+
td {
|
22
|
+
// @apply ax-border-b ax-border-default ax-px-4 ax-py-3;
|
23
|
+
border-bottom-width: 1px;
|
24
|
+
border-color: rgba(var(--ax-color-border-default));
|
25
|
+
padding-left: 1rem /* 16px */;
|
26
|
+
padding-right: 1rem /* 16px */;
|
27
|
+
padding-top: 0.75rem /* 12px */;
|
28
|
+
padding-bottom: 0.75rem /* 12px */;
|
29
|
+
}
|
30
|
+
thead {
|
31
|
+
// @apply ax-border-b ax-border-default ax-bg-on-surface;
|
32
|
+
border-bottom-width: 1px;
|
33
|
+
border-color: rgba(var(--ax-color-border-default));
|
34
|
+
background-color: rgba(var(--ax-color-on-surface));
|
35
|
+
|
36
|
+
th {
|
37
|
+
// @apply ax-px-4 ax-py-3.5 ax-text-start ax-font-medium ax-uppercase;
|
38
|
+
padding-left: 1rem /* 16px */;
|
39
|
+
padding-right: 1rem /* 16px */;
|
40
|
+
padding-top: 0.875rem /* 14px */;
|
41
|
+
padding-bottom: 0.875rem /* 14px */;
|
42
|
+
text-align: start;
|
43
|
+
font-weight: 500;
|
44
|
+
text-transform: uppercase;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
&.ax-table-alternate {
|
48
|
+
tbody {
|
49
|
+
tr {
|
50
|
+
&:nth-child(even) {
|
51
|
+
// @apply ax-bg-on-surface;
|
52
|
+
background-color: rgba(var(--ax-color-on-surface));
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
&.ax-table-bordered {
|
58
|
+
thead {
|
59
|
+
th {
|
60
|
+
// @apply ax-border-t-0 #{!important};
|
61
|
+
border-top-width: 0px !important;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
tbody {
|
65
|
+
tr {
|
66
|
+
&:last-child {
|
67
|
+
td {
|
68
|
+
// @apply ax-border-b-0 #{!important};
|
69
|
+
border-bottom-width: 0px !important;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
td {
|
73
|
+
&:last-child {
|
74
|
+
// @apply ax-border-b-0 #{!important};
|
75
|
+
border-bottom-width: 0px !important;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
td,
|
82
|
+
th {
|
83
|
+
// @apply ax-border ax-border-default;
|
84
|
+
border-width: 1px;
|
85
|
+
border-color: rgba(var(--ax-color-border-default));
|
86
|
+
|
87
|
+
&:first-child {
|
88
|
+
// @apply ax-border-s-0;
|
89
|
+
border-inline-start-width: 0px;
|
90
|
+
}
|
91
|
+
&:last-child {
|
92
|
+
// @apply ax-border-e-0;
|
93
|
+
border-inline-end-width: 0px;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
@media screen and (max-width: 601px) {
|
98
|
+
&.ax-table-responsive {
|
99
|
+
// @apply ax-block ax-break-words ax-border-0;
|
100
|
+
display: block;
|
101
|
+
overflow-wrap: break-word;
|
102
|
+
border-width: 0px;
|
103
|
+
|
104
|
+
thead {
|
105
|
+
// @apply ax-absolute -ax-start-full -ax-top-full;
|
106
|
+
position: absolute;
|
107
|
+
inset-inline-start: -100%;
|
108
|
+
top: -100%;
|
109
|
+
}
|
110
|
+
|
111
|
+
td {
|
112
|
+
// @apply ax-clear-both ax-box-border ax-block ax-w-full ax-px-2.5 ax-py-1.5;
|
113
|
+
|
114
|
+
float: inline-start;
|
115
|
+
clear: both;
|
116
|
+
box-sizing: border-box;
|
117
|
+
display: block;
|
118
|
+
width: 100%;
|
119
|
+
padding-left: 0.625rem /* 10px */;
|
120
|
+
padding-right: 0.625rem /* 10px */;
|
121
|
+
padding-top: 0.375rem /* 6px */;
|
122
|
+
padding-bottom: 0.375rem /* 6px */;
|
123
|
+
&:last-child {
|
124
|
+
// @apply ax-border-0;
|
125
|
+
border-width: 0px;
|
126
|
+
}
|
127
|
+
&:before {
|
128
|
+
// @apply ax-block ax-font-bold;
|
129
|
+
|
130
|
+
content: attr(data-label);
|
131
|
+
display: block;
|
132
|
+
font-weight: 700;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
tr {
|
136
|
+
// @apply ax-border ax-border-default;
|
137
|
+
border-width: 1px;
|
138
|
+
border-color: rgba(var(--ax-color-border-default));
|
139
|
+
}
|
140
|
+
tr,
|
141
|
+
tbody {
|
142
|
+
// @apply ax-mb-2.5 ax-block ax-w-full;
|
143
|
+
float: inline-start;
|
144
|
+
margin-bottom: 0.625rem /* 10px */;
|
145
|
+
width: 100%;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
@import '../variables/index.scss';
|
2
|
+
|
3
|
+
[class*=' ax-icon-'],
|
4
|
+
[class^='ax-icon-'] {
|
5
|
+
vertical-align: middle;
|
6
|
+
}
|
7
|
+
|
8
|
+
.ax-fieldset {
|
9
|
+
// @apply ax-rounded-default ax-border ax-border-default ax-p-3;
|
10
|
+
border-radius: var(--ax-rounded-border-default);
|
11
|
+
border-width: 1px;
|
12
|
+
border-color: rgba(var(--ax-color-border-default));
|
13
|
+
padding: 0.75rem /* 12px */;
|
14
|
+
|
15
|
+
legend {
|
16
|
+
// @apply ax-px-1 ax-text-sm;
|
17
|
+
padding-left: 0.25rem /* 4px */;
|
18
|
+
padding-right: 0.25rem /* 4px */;
|
19
|
+
font-size: 0.875rem /* 14px */;
|
20
|
+
line-height: 1.25rem /* 20px */;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.ax-card {
|
25
|
+
// @apply ax-rounded-default ax-border ax-border-default ax-bg-surface;
|
26
|
+
border-radius: var(--ax-rounded-border-default);
|
27
|
+
border-width: 1px;
|
28
|
+
border-color: rgba(var(--ax-color-border-default));
|
29
|
+
background-color: rgba(var(--ax-color-surface));
|
30
|
+
}
|
31
|
+
|
32
|
+
.ax-drop-zone {
|
33
|
+
> input {
|
34
|
+
// @apply ax-absolute ax-h-full ax-w-full ax-cursor-pointer ax-opacity-0;
|
35
|
+
position: absolute;
|
36
|
+
height: 100%;
|
37
|
+
width: 100%;
|
38
|
+
cursor: pointer;
|
39
|
+
opacity: 0;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
.ax-uploader-overlay-state {
|
43
|
+
// @apply ax-pointer-events-none ax-absolute ax-start-0 ax-top-0 ax-z-10 ax-flex ax-h-full ax-w-full ax-cursor-pointer ax-flex-col ax-items-center ax-justify-center ax-gap-2 ax-bg-primary-200/75 ax-text-sm ax-text-primary-fore-tint ax-outline-dashed ax-outline-2 -ax-outline-offset-4 ax-transition-all;
|
44
|
+
border-radius: inherit;
|
45
|
+
pointer-events: none;
|
46
|
+
position: absolute;
|
47
|
+
inset-inline-start: 0px;
|
48
|
+
top: 0px;
|
49
|
+
z-index: 10;
|
50
|
+
display: flex;
|
51
|
+
height: 100%;
|
52
|
+
width: 100%;
|
53
|
+
cursor: pointer;
|
54
|
+
flex-direction: column;
|
55
|
+
align-items: center;
|
56
|
+
justify-content: center;
|
57
|
+
gap: 0.5rem /* 8px */;
|
58
|
+
background-color: rgba(var(--ax-color-primary-200), 0.75);
|
59
|
+
font-size: 0.875rem /* 14px */;
|
60
|
+
line-height: 1.25rem /* 20px */;
|
61
|
+
color: rgba(var(--ax-color-primary-fore-tint));
|
62
|
+
outline-style: dashed;
|
63
|
+
outline-offset: -4px;
|
64
|
+
transition-property: all;
|
65
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
66
|
+
transition-duration: 150ms;
|
67
|
+
}
|
68
|
+
@include darkMode() {
|
69
|
+
.ax-uploader-overlay-state {
|
70
|
+
// @apply ax-bg-primary-800/75 ax-text-primary-fore ax-outline-primary-fore;
|
71
|
+
background-color: rgba(var(--ax-color-primary-800), 0.75);
|
72
|
+
color: rgba(var(--ax-color-primary-fore));
|
73
|
+
outline-color: rgba(var(--ax-color-primary-fore));
|
74
|
+
}
|
75
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
@import './actionsheet';
|
2
|
+
@import './check-box';
|
3
|
+
@import './color-look';
|
4
|
+
@import './drop-down';
|
5
|
+
@import './editor-container';
|
6
|
+
@import './general-button';
|
7
|
+
@import './inputs';
|
8
|
+
@import './list';
|
9
|
+
@import './radio';
|
10
|
+
@import './table';
|
11
|
+
@import './utils';
|
@@ -0,0 +1,24 @@
|
|
1
|
+
.ax-xs {
|
2
|
+
--ax-size-default: calc(var(--ax-size-base) - 0.75rem);
|
3
|
+
}
|
4
|
+
|
5
|
+
.ax-sm {
|
6
|
+
--ax-size-default: calc(var(--ax-size-base) - 0.5rem);
|
7
|
+
}
|
8
|
+
|
9
|
+
.ax-md {
|
10
|
+
--ax-size-default: var(--ax-size-base);
|
11
|
+
}
|
12
|
+
|
13
|
+
.ax-lg {
|
14
|
+
--ax-size-default: calc(var(--ax-size-base) + 0.5rem);
|
15
|
+
}
|
16
|
+
|
17
|
+
.ax-xl {
|
18
|
+
--ax-size-default: calc(var(--ax-size-base) + 1rem);
|
19
|
+
}
|
20
|
+
|
21
|
+
.ax-placeholder {
|
22
|
+
color: rgba(var(--ax-color-text-default), 0.5);
|
23
|
+
font-weight: 500;
|
24
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
$degrees: 45, 90, 130, 180;
|
package/tailwind-base.js
ADDED
@@ -0,0 +1,235 @@
|
|
1
|
+
const plugin = require('tailwindcss/plugin');
|
2
|
+
const { withAnimations } = require('animated-tailwindcss');
|
3
|
+
|
4
|
+
function withOpacityValue(variable) {
|
5
|
+
return ({ opacityValue }) => {
|
6
|
+
if (opacityValue === undefined) {
|
7
|
+
return `rgb(var(${variable}))`;
|
8
|
+
}
|
9
|
+
return `rgb(var(${variable}) ,${opacityValue})`;
|
10
|
+
};
|
11
|
+
}
|
12
|
+
|
13
|
+
const childSelector = plugin(function ({ addVariant }) {
|
14
|
+
addVariant('child', '& > *');
|
15
|
+
addVariant('child-hover', '& > *:hover');
|
16
|
+
addVariant('child-focus', '& > *:focus');
|
17
|
+
addVariant('child-focus-within', '& > *:focus-within');
|
18
|
+
});
|
19
|
+
|
20
|
+
const _colors = {
|
21
|
+
ghost: 'rgba(var(--ax-color-ghost), <alpha-value>)',
|
22
|
+
'ghost-fore': 'rgba(var(--ax-color-ghost-fore), <alpha-value>)',
|
23
|
+
|
24
|
+
surface: 'rgba(var(--ax-color-surface), <alpha-value>)',
|
25
|
+
'surface-fore': 'rgba(var(--ax-color-surface-fore), <alpha-value>)',
|
26
|
+
|
27
|
+
'on-surface': 'rgba(var(--ax-color-on-surface), <alpha-value>)',
|
28
|
+
'on-surface-fore': 'rgba(var(--ax-color-on-surface-fore), <alpha-value>)',
|
29
|
+
|
30
|
+
'input-surface': 'rgba(var(--ax-color-input-surface), <alpha-value>)',
|
31
|
+
'input-surface-fore':
|
32
|
+
'rgba(var(--ax-color-input-surface-fore), <alpha-value>)',
|
33
|
+
};
|
34
|
+
|
35
|
+
const createPalete = function (colorName) {
|
36
|
+
return {
|
37
|
+
DEFAULT: `rgba(var(--ax-color-${colorName}-500), <alpha-value>)`,
|
38
|
+
fore: `rgba(var(--ax-color-${colorName}-fore), <alpha-value>)`,
|
39
|
+
'fore-tint': `rgba(var(--ax-color-${colorName}-fore-tint), <alpha-value>)`,
|
40
|
+
50: `rgba(var(--ax-color-${colorName}-50), <alpha-value>)`,
|
41
|
+
100: `rgba(var(--ax-color-${colorName}-100), <alpha-value>)`,
|
42
|
+
200: `rgba(var(--ax-color-${colorName}-200), <alpha-value>)`,
|
43
|
+
300: `rgba(var(--ax-color-${colorName}-300), <alpha-value>)`,
|
44
|
+
400: `rgba(var(--ax-color-${colorName}-400), <alpha-value>)`,
|
45
|
+
500: `rgba(var(--ax-color-${colorName}-500), <alpha-value>)`,
|
46
|
+
600: `rgba(var(--ax-color-${colorName}-600), <alpha-value>)`,
|
47
|
+
700: `rgba(var(--ax-color-${colorName}-700), <alpha-value>)`,
|
48
|
+
800: `rgba(var(--ax-color-${colorName}-800), <alpha-value>)`,
|
49
|
+
900: `rgba(var(--ax-color-${colorName}-900), <alpha-value>)`,
|
50
|
+
950: `rgba(var(--ax-color-${colorName}-950), <alpha-value>)`,
|
51
|
+
};
|
52
|
+
};
|
53
|
+
|
54
|
+
module.exports = withAnimations({
|
55
|
+
prefix: 'ax-',
|
56
|
+
content: ['./src/**/*.{html,ts,scss}', './projects/**/*.{html,ts,scss}'],
|
57
|
+
darkMode: 'class',
|
58
|
+
theme: {
|
59
|
+
extend: {
|
60
|
+
colors: {
|
61
|
+
primary: createPalete('primary'),
|
62
|
+
secondary: createPalete('secondary'),
|
63
|
+
success: createPalete('success'),
|
64
|
+
danger: createPalete('danger'),
|
65
|
+
warning: createPalete('warning'),
|
66
|
+
info: createPalete('info'),
|
67
|
+
neutral: createPalete('neutral'),
|
68
|
+
..._colors,
|
69
|
+
},
|
70
|
+
textColor: {
|
71
|
+
DEFAULT: withOpacityValue('--ax-color-text-default'),
|
72
|
+
default: withOpacityValue('--ax-color-text-default'),
|
73
|
+
..._colors,
|
74
|
+
},
|
75
|
+
backgroundColor: {
|
76
|
+
default: 'rgba(var(--ax-color-background-default), <alpha-value>)',
|
77
|
+
'border-default': 'rgba(var(--ax-color-border-default), <alpha-value>)',
|
78
|
+
},
|
79
|
+
|
80
|
+
borderColor: {
|
81
|
+
DEFAULT: 'rgba(var(--ax-color-border-default), <alpha-value>)',
|
82
|
+
default: 'rgba(var(--ax-color-border-default), <alpha-value>)',
|
83
|
+
..._colors,
|
84
|
+
},
|
85
|
+
maxWidth: {
|
86
|
+
'8xl': '90rem',
|
87
|
+
},
|
88
|
+
borderRadius: {
|
89
|
+
default: 'var(--ax-rounded-border-default)',
|
90
|
+
},
|
91
|
+
lineHeight: {
|
92
|
+
11: '2.5rem',
|
93
|
+
12: '3rem',
|
94
|
+
12: '3rem',
|
95
|
+
14: '3.5rem',
|
96
|
+
16: '4rem',
|
97
|
+
20: '5rem',
|
98
|
+
},
|
99
|
+
spacing: {
|
100
|
+
default: 'var(--ax-size-default)',
|
101
|
+
},
|
102
|
+
minWidth: {
|
103
|
+
default: 'var(--ax-size-default)',
|
104
|
+
},
|
105
|
+
width: {
|
106
|
+
default: 'var(--ax-size-default)',
|
107
|
+
},
|
108
|
+
maxHeight: {
|
109
|
+
default: 'var(--ax-size-default)',
|
110
|
+
},
|
111
|
+
minHeight: {
|
112
|
+
default: 'var(--ax-size-default)',
|
113
|
+
},
|
114
|
+
height: {
|
115
|
+
default: 'var(--ax-size-default)',
|
116
|
+
},
|
117
|
+
maxHeight: {
|
118
|
+
default: 'var(--ax-size-default)',
|
119
|
+
},
|
120
|
+
},
|
121
|
+
},
|
122
|
+
corePlugins: {
|
123
|
+
preflight: false,
|
124
|
+
},
|
125
|
+
plugins: [
|
126
|
+
plugin(function ({ addUtilities }) {
|
127
|
+
const acorexClasses = {
|
128
|
+
'.h1': {
|
129
|
+
'font-size': '3rem',
|
130
|
+
'font-weight': '700',
|
131
|
+
'line-height': '3rem',
|
132
|
+
},
|
133
|
+
'.h2': {
|
134
|
+
'font-size': '2.5rem',
|
135
|
+
'font-weight': '700',
|
136
|
+
'line-height': '2.5rem',
|
137
|
+
},
|
138
|
+
'.h3': {
|
139
|
+
'font-size': '1.875rem',
|
140
|
+
'font-weight': '700',
|
141
|
+
'line-height': '1.875rem',
|
142
|
+
},
|
143
|
+
'.h4': {
|
144
|
+
'font-size': '1.5rem',
|
145
|
+
'font-weight': '700',
|
146
|
+
'line-height': '1.5rem',
|
147
|
+
},
|
148
|
+
'.h5': {
|
149
|
+
'font-size': '1.25rem',
|
150
|
+
'font-weight': '700',
|
151
|
+
'line-height': '1.25rem',
|
152
|
+
},
|
153
|
+
'.h6': {
|
154
|
+
'font-size': '1.125rem',
|
155
|
+
'font-weight': '700',
|
156
|
+
'line-height': '1.125rem',
|
157
|
+
},
|
158
|
+
'.heading': {
|
159
|
+
width: '100%',
|
160
|
+
'border-bottom': '1px solid',
|
161
|
+
'border-color': 'rgba(var(--ax-color-border-default))',
|
162
|
+
'line-height': '0.1em',
|
163
|
+
margin: '1rem auto',
|
164
|
+
},
|
165
|
+
'.heading > span': {
|
166
|
+
background: 'rgba(var(--ax-color-surface))',
|
167
|
+
padding: '0 0.75rem',
|
168
|
+
},
|
169
|
+
'.heading-start': {
|
170
|
+
'text-align': 'start',
|
171
|
+
},
|
172
|
+
'.heading-center': {
|
173
|
+
'text-align': 'center',
|
174
|
+
},
|
175
|
+
'.heading-end': {
|
176
|
+
'text-align': 'end',
|
177
|
+
},
|
178
|
+
'.link': {
|
179
|
+
color: 'rgba(var(--ax-color-primary-500))',
|
180
|
+
cursor: 'pointer',
|
181
|
+
},
|
182
|
+
'.link:hover': {
|
183
|
+
'text-decoration': 'underline',
|
184
|
+
},
|
185
|
+
'.link:visited': {
|
186
|
+
color: 'rgba(var(--ax-color-primary-700))',
|
187
|
+
},
|
188
|
+
'.animate-slow': {
|
189
|
+
animationDuration: '2s',
|
190
|
+
},
|
191
|
+
'.animate-slower': {
|
192
|
+
animationDuration: '3s',
|
193
|
+
},
|
194
|
+
'.animate-2xslower': {
|
195
|
+
animationDuration: '5s',
|
196
|
+
},
|
197
|
+
'.animate-fast': {
|
198
|
+
animationDuration: '800ms',
|
199
|
+
},
|
200
|
+
'.animate-faster': {
|
201
|
+
animationDuration: '500ms',
|
202
|
+
},
|
203
|
+
'.animate-2xfaster': {
|
204
|
+
animationDuration: '250ms',
|
205
|
+
},
|
206
|
+
'.card': {
|
207
|
+
backgroundColor: 'rgb(var(--ax-color-surface))',
|
208
|
+
border: '1px solid',
|
209
|
+
borderColor: 'rgb(var(--ax-color-border-default))',
|
210
|
+
borderRadius: 'var(--ax-rounded-border-default)',
|
211
|
+
},
|
212
|
+
'.tabs-fit': {
|
213
|
+
width: '100%',
|
214
|
+
},
|
215
|
+
'.xs': {
|
216
|
+
'--ax-size-default': '2rem',
|
217
|
+
},
|
218
|
+
'.sm': {
|
219
|
+
'--ax-size-default': '2.25rem',
|
220
|
+
},
|
221
|
+
'.md': {
|
222
|
+
'--ax-size-default': '2.5rem',
|
223
|
+
},
|
224
|
+
'.lg': {
|
225
|
+
'--ax-size-default': '3rem',
|
226
|
+
},
|
227
|
+
'.xl': {
|
228
|
+
'--ax-size-default': '3.5rem',
|
229
|
+
},
|
230
|
+
};
|
231
|
+
addUtilities(acorexClasses, ['responsive', 'hover', 'focus']);
|
232
|
+
}),
|
233
|
+
childSelector,
|
234
|
+
],
|
235
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
:root{--ax-size-base: 2.5rem;--ax-size-default: var(--ax-size-base);--ax-icon-weight: 400;--ax-icon-size: 100%;--ax-rounded-border-default: 0.5rem;--ax-color-border-default: 209, 213, 219;--ax-color-background-default: 249, 250, 251;--ax-color-text-default: 22, 22, 22;--ax-color-surface: 255, 255, 255;--ax-color-surface-fore: 22, 22, 22;--ax-color-on-surface: 243, 244, 246;--ax-color-on-surface-fore: 22, 22, 22;--ax-color-input-surface: 255, 255, 255;--ax-color-input-surface-fore: 22, 22, 22;--ax-color-ghost: 255, 255, 255;--ax-color-ghost-fore: 22, 22, 22;--ax-color-primary-fore: 255, 255, 255;--ax-color-primary-fore-tint: 11, 30, 71;--ax-color-primary-50: 244, 247, 254;--ax-color-primary-100: 233, 239, 253;--ax-color-primary-200: 190, 208, 249;--ax-color-primary-300: 146, 177, 245;--ax-color-primary-400: 102, 146, 241;--ax-color-primary-500: 37, 99, 235;--ax-color-primary-600: 33, 89, 212;--ax-color-primary-700: 26, 69, 165;--ax-color-primary-800: 19, 50, 118;--ax-color-primary-900: 11, 30, 71;--ax-color-primary-950: 4, 10, 23;--ax-color-secondary-fore: 255, 255, 255;--ax-color-secondary-fore-tint: 9, 12, 18;--ax-color-secondary-50: 244, 244, 245;--ax-color-secondary-100: 233, 234, 235;--ax-color-secondary-200: 188, 191, 196;--ax-color-secondary-300: 143, 148, 157;--ax-color-secondary-400: 98, 105, 118;--ax-color-secondary-500: 30, 41, 59;--ax-color-secondary-600: 27, 37, 53;--ax-color-secondary-700: 21, 29, 41;--ax-color-secondary-800: 15, 21, 30;--ax-color-secondary-900: 9, 12, 18;--ax-color-secondary-950: 3, 4, 6;--ax-color-success-fore: 255, 255, 255;--ax-color-success-fore-tint: 6, 78, 59;--ax-color-success-50: 236, 253, 245;--ax-color-success-100: 209, 250, 229;--ax-color-success-200: 167, 243, 208;--ax-color-success-300: 110, 231, 183;--ax-color-success-400: 52, 211, 153;--ax-color-success-500: 16, 185, 129;--ax-color-success-600: 5, 150, 105;--ax-color-success-700: 4, 120, 87;--ax-color-success-800: 6, 95, 70;--ax-color-success-900: 6, 78, 59;--ax-color-success-950: 2, 44, 34;--ax-color-warning-fore: 48, 26, 10;--ax-color-warning-fore-tint: 255, 111, 0;--ax-color-warning-50: 255, 248, 225;--ax-color-warning-100: 255, 236, 179;--ax-color-warning-200: 255, 224, 130;--ax-color-warning-300: 255, 213, 79;--ax-color-warning-400: 255, 202, 40;--ax-color-warning-500: 255, 193, 7;--ax-color-warning-600: 255, 179, 0;--ax-color-warning-700: 255, 160, 0;--ax-color-warning-800: 255, 143, 0;--ax-color-warning-900: 255, 111, 0;--ax-color-warning-950: 72, 40, 15;--ax-color-danger-fore: 255, 255, 255;--ax-color-danger-fore-tint: 127, 29, 29;--ax-color-danger-50: 254, 242, 242;--ax-color-danger-100: 254, 226, 226;--ax-color-danger-200: 254, 202, 202;--ax-color-danger-300: 252, 165, 165;--ax-color-danger-400: 248, 113, 113;--ax-color-danger-500: 239, 68, 68;--ax-color-danger-600: 220, 38, 38;--ax-color-danger-700: 185, 28, 28;--ax-color-danger-800: 153, 27, 27;--ax-color-danger-900: 127, 29, 29;--ax-color-danger-950: 69, 10, 10;--ax-color-info-fore: 255, 255, 255;--ax-color-info-fore-tint: 49, 46, 129;--ax-color-info-50: 238, 242, 255;--ax-color-info-100: 224, 231, 255;--ax-color-info-200: 199, 210, 254;--ax-color-info-300: 165, 180, 252;--ax-color-info-400: 129, 140, 248;--ax-color-info-500: 99, 102, 241;--ax-color-info-600: 79, 70, 229;--ax-color-info-700: 67, 56, 202;--ax-color-info-800: 55, 48, 163;--ax-color-info-900: 49, 46, 129;--ax-color-info-950: 30, 27, 75;--ax-color-neutral-fore: 255, 255, 255;--ax-color-neutral-fore-tint: 17, 24, 39;--ax-color-neutral-50: 249, 250, 251;--ax-color-neutral-100: 243, 244, 246;--ax-color-neutral-200: 229, 231, 235;--ax-color-neutral-300: 209, 213, 219;--ax-color-neutral-400: 156, 163, 175;--ax-color-neutral-500: 107, 114, 128;--ax-color-neutral-600: 75, 85, 99;--ax-color-neutral-700: 55, 65, 81;--ax-color-neutral-800: 31, 41, 55;--ax-color-neutral-900: 17, 24, 39;--ax-color-neutral-950: 3, 7, 18}.ax-dark{--ax-color-border-default: 75, 85, 99;--ax-color-background-default: 24, 32, 43;--ax-color-text-default: 255, 255, 255;--ax-color-surface: 31, 41, 55;--ax-color-surface-fore: 255, 255, 255;--ax-color-on-surface: 55, 65, 81;--ax-color-on-surface-fore: 255, 255, 255;--ax-color-input-surface: 38, 45, 57;--ax-color-input-surface-fore: 224, 224, 224;--ax-color-ghost: 77, 91, 113;--ax-color-ghost-fore: 255, 255, 255}
|
@@ -0,0 +1,141 @@
|
|
1
|
+
:root {
|
2
|
+
--ax-size-base: 2.5rem;
|
3
|
+
--ax-size-default: var(--ax-size-base);
|
4
|
+
--ax-icon-weight: 400;
|
5
|
+
--ax-icon-size: 100%;
|
6
|
+
|
7
|
+
--ax-rounded-border-default: 0.5rem;
|
8
|
+
--ax-color-border-default: 209, 213, 219;
|
9
|
+
|
10
|
+
--ax-color-background-default: 249, 250, 251;
|
11
|
+
--ax-color-text-default: 22, 22, 22;
|
12
|
+
|
13
|
+
--ax-color-surface: 255, 255, 255;
|
14
|
+
--ax-color-surface-fore: 22, 22, 22;
|
15
|
+
|
16
|
+
--ax-color-on-surface: 243, 244, 246;
|
17
|
+
--ax-color-on-surface-fore: 22, 22, 22;
|
18
|
+
|
19
|
+
--ax-color-input-surface: 255, 255, 255;
|
20
|
+
--ax-color-input-surface-fore: 22, 22, 22;
|
21
|
+
|
22
|
+
--ax-color-ghost: 255, 255, 255;
|
23
|
+
--ax-color-ghost-fore: 22, 22, 22;
|
24
|
+
|
25
|
+
--ax-color-primary-fore: 255, 255, 255;
|
26
|
+
--ax-color-primary-fore-tint: 11, 30, 71;
|
27
|
+
--ax-color-primary-50: 244, 247, 254;
|
28
|
+
--ax-color-primary-100: 233, 239, 253;
|
29
|
+
--ax-color-primary-200: 190, 208, 249;
|
30
|
+
--ax-color-primary-300: 146, 177, 245;
|
31
|
+
--ax-color-primary-400: 102, 146, 241;
|
32
|
+
--ax-color-primary-500: 37, 99, 235;
|
33
|
+
--ax-color-primary-600: 33, 89, 212;
|
34
|
+
--ax-color-primary-700: 26, 69, 165;
|
35
|
+
--ax-color-primary-800: 19, 50, 118;
|
36
|
+
--ax-color-primary-900: 11, 30, 71;
|
37
|
+
--ax-color-primary-950: 4, 10, 23;
|
38
|
+
|
39
|
+
--ax-color-secondary-fore: 255, 255, 255;
|
40
|
+
--ax-color-secondary-fore-tint: 9, 12, 18;
|
41
|
+
--ax-color-secondary-50: 244, 244, 245;
|
42
|
+
--ax-color-secondary-100: 233, 234, 235;
|
43
|
+
--ax-color-secondary-200: 188, 191, 196;
|
44
|
+
--ax-color-secondary-300: 143, 148, 157;
|
45
|
+
--ax-color-secondary-400: 98, 105, 118;
|
46
|
+
--ax-color-secondary-500: 30, 41, 59;
|
47
|
+
--ax-color-secondary-600: 27, 37, 53;
|
48
|
+
--ax-color-secondary-700: 21, 29, 41;
|
49
|
+
--ax-color-secondary-800: 15, 21, 30;
|
50
|
+
--ax-color-secondary-900: 9, 12, 18;
|
51
|
+
--ax-color-secondary-950: 3, 4, 6;
|
52
|
+
|
53
|
+
--ax-color-success-fore: 255, 255, 255;
|
54
|
+
--ax-color-success-fore-tint: 6, 78, 59;
|
55
|
+
--ax-color-success-50: 236, 253, 245;
|
56
|
+
--ax-color-success-100: 209, 250, 229;
|
57
|
+
--ax-color-success-200: 167, 243, 208;
|
58
|
+
--ax-color-success-300: 110, 231, 183;
|
59
|
+
--ax-color-success-400: 52, 211, 153;
|
60
|
+
--ax-color-success-500: 16, 185, 129;
|
61
|
+
--ax-color-success-600: 5, 150, 105;
|
62
|
+
--ax-color-success-700: 4, 120, 87;
|
63
|
+
--ax-color-success-800: 6, 95, 70;
|
64
|
+
--ax-color-success-900: 6, 78, 59;
|
65
|
+
--ax-color-success-950: 2, 44, 34;
|
66
|
+
|
67
|
+
--ax-color-warning-fore: 48, 26, 10;
|
68
|
+
--ax-color-warning-fore-tint: 255, 111, 0;
|
69
|
+
--ax-color-warning-50: 255, 248, 225;
|
70
|
+
--ax-color-warning-100: 255, 236, 179;
|
71
|
+
--ax-color-warning-200: 255, 224, 130;
|
72
|
+
--ax-color-warning-300: 255, 213, 79;
|
73
|
+
--ax-color-warning-400: 255, 202, 40;
|
74
|
+
--ax-color-warning-500: 255, 193, 7;
|
75
|
+
--ax-color-warning-600: 255, 179, 0;
|
76
|
+
--ax-color-warning-700: 255, 160, 0;
|
77
|
+
--ax-color-warning-800: 255, 143, 0;
|
78
|
+
--ax-color-warning-900: 255, 111, 0;
|
79
|
+
--ax-color-warning-950: 72, 40, 15;
|
80
|
+
|
81
|
+
--ax-color-danger-fore: 255, 255, 255;
|
82
|
+
--ax-color-danger-fore-tint: 127, 29, 29;
|
83
|
+
--ax-color-danger-50: 254, 242, 242;
|
84
|
+
--ax-color-danger-100: 254, 226, 226;
|
85
|
+
--ax-color-danger-200: 254, 202, 202;
|
86
|
+
--ax-color-danger-300: 252, 165, 165;
|
87
|
+
--ax-color-danger-400: 248, 113, 113;
|
88
|
+
--ax-color-danger-500: 239, 68, 68;
|
89
|
+
--ax-color-danger-600: 220, 38, 38;
|
90
|
+
--ax-color-danger-700: 185, 28, 28;
|
91
|
+
--ax-color-danger-800: 153, 27, 27;
|
92
|
+
--ax-color-danger-900: 127, 29, 29;
|
93
|
+
--ax-color-danger-950: 69, 10, 10;
|
94
|
+
|
95
|
+
--ax-color-info-fore: 255, 255, 255;
|
96
|
+
--ax-color-info-fore-tint: 49, 46, 129;
|
97
|
+
--ax-color-info-50: 238, 242, 255;
|
98
|
+
--ax-color-info-100: 224, 231, 255;
|
99
|
+
--ax-color-info-200: 199, 210, 254;
|
100
|
+
--ax-color-info-300: 165, 180, 252;
|
101
|
+
--ax-color-info-400: 129, 140, 248;
|
102
|
+
--ax-color-info-500: 99, 102, 241;
|
103
|
+
--ax-color-info-600: 79, 70, 229;
|
104
|
+
--ax-color-info-700: 67, 56, 202;
|
105
|
+
--ax-color-info-800: 55, 48, 163;
|
106
|
+
--ax-color-info-900: 49, 46, 129;
|
107
|
+
--ax-color-info-950: 30, 27, 75;
|
108
|
+
|
109
|
+
--ax-color-neutral-fore: 255, 255, 255;
|
110
|
+
--ax-color-neutral-fore-tint: 17, 24, 39;
|
111
|
+
--ax-color-neutral-50: 249, 250, 251;
|
112
|
+
--ax-color-neutral-100: 243, 244, 246;
|
113
|
+
--ax-color-neutral-200: 229, 231, 235;
|
114
|
+
--ax-color-neutral-300: 209, 213, 219;
|
115
|
+
--ax-color-neutral-400: 156, 163, 175;
|
116
|
+
--ax-color-neutral-500: 107, 114, 128;
|
117
|
+
--ax-color-neutral-600: 75, 85, 99;
|
118
|
+
--ax-color-neutral-700: 55, 65, 81;
|
119
|
+
--ax-color-neutral-800: 31, 41, 55;
|
120
|
+
--ax-color-neutral-900: 17, 24, 39;
|
121
|
+
--ax-color-neutral-950: 3, 7, 18;
|
122
|
+
}
|
123
|
+
|
124
|
+
.ax-dark {
|
125
|
+
--ax-color-border-default: 75, 85, 99;
|
126
|
+
|
127
|
+
--ax-color-background-default: 24, 32, 43;
|
128
|
+
--ax-color-text-default: 255, 255, 255;
|
129
|
+
|
130
|
+
--ax-color-surface: 31, 41, 55;
|
131
|
+
--ax-color-surface-fore: 255, 255, 255;
|
132
|
+
|
133
|
+
--ax-color-on-surface: 55, 65, 81;
|
134
|
+
--ax-color-on-surface-fore: 255, 255, 255;
|
135
|
+
|
136
|
+
--ax-color-input-surface: 38, 45, 57;
|
137
|
+
--ax-color-input-surface-fore: 224, 224, 224;
|
138
|
+
|
139
|
+
--ax-color-ghost: 77, 91, 113;
|
140
|
+
--ax-color-ghost-fore: 255, 255, 255;
|
141
|
+
}
|
Binary file
|