aliascss 1.1.17 → 1.1.19
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/aliascss.config.js +30 -1
- package/dist/aliascss.js +1 -1
- package/lib/compilers/transition.js +1 -1
- package/lib/node/compileFile.js +16 -16
- package/lib/prebuild.d.ts +13 -0
- package/lib/prebuild.js +68 -0
- package/lib/returnPropertyAndValue.js +84 -16
- package/lib/returnStatement.js +5 -3
- package/lib/utils/helper.d.ts +1 -0
- package/lib/utils/helper.js +27 -0
- package/package.json +3 -2
- package/ui-dev/button.html +86 -0
- package/ui-dev/card-section-row-container-box.html +153 -0
- package/ui-dev/index.html +190 -0
- package/ui-dev/nav-red.html +120 -0
- package/ui-dev/navbar-demo.html +120 -0
- package/ui-dev/tooltip.html +112 -0
- package/ui/button.html +0 -25
- package/ui/buttonold.html +0 -53
package/aliascss.config.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {getCompiler,main} from './lib/index.js'
|
|
2
2
|
import { compilers } from './custom-compilers.js';
|
|
3
|
+
import prebuild from './lib/prebuild.js';
|
|
3
4
|
const config={
|
|
4
|
-
input:['experiments/**/*.html'],
|
|
5
|
+
input:['experiments/**/*.html','experiments/1.jsx'],
|
|
5
6
|
output:{
|
|
6
7
|
location:'demo/css/css/style/acss.css',
|
|
7
8
|
"--file":true
|
|
@@ -88,6 +89,31 @@ const config={
|
|
|
88
89
|
white:'#e3e3e3',
|
|
89
90
|
'whiter':'#f3f3f3',
|
|
90
91
|
whitest:'#ffffff',
|
|
92
|
+
"primary":"#4E60FF",
|
|
93
|
+
"primary-lightest":"#F8F9FF",
|
|
94
|
+
"primary-light":"#F3F4FF",
|
|
95
|
+
"primary-30":"#CACFFF",
|
|
96
|
+
"primary-hover":"#697BFF",
|
|
97
|
+
"primary-dark":"#3A4CEB",
|
|
98
|
+
|
|
99
|
+
"black":"#2B2B43",
|
|
100
|
+
"gray-dark":"#545563",
|
|
101
|
+
"gray":"#83859C",
|
|
102
|
+
"gray-light":"#C7C8D2",
|
|
103
|
+
"gray-lightest":"#EDEEF2",
|
|
104
|
+
"main-bg-color":"#F7F7F9",
|
|
105
|
+
|
|
106
|
+
"error":"#FF5C60",
|
|
107
|
+
"error-lightest":"#FFF6F6",
|
|
108
|
+
"error-light":"#FFEAEA",
|
|
109
|
+
"error-hover":"#FF6B6F",
|
|
110
|
+
"error-dark":"#E13E42",
|
|
111
|
+
"success":'#1ABF70',
|
|
112
|
+
"success-light":'#E8F9F1',
|
|
113
|
+
"secondary":"#FD6D22",
|
|
114
|
+
"secondary-light":"#FFF3ED",
|
|
115
|
+
"tertiary":"#8C3EEE",
|
|
116
|
+
"tertiary-light":"#F6F0FE",
|
|
91
117
|
}
|
|
92
118
|
},
|
|
93
119
|
prebuild:{
|
|
@@ -98,6 +124,9 @@ const config={
|
|
|
98
124
|
'sr-only':'position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0',
|
|
99
125
|
},
|
|
100
126
|
group:{
|
|
127
|
+
...prebuild,
|
|
128
|
+
'card':"w-256px h-120px [class~=shadow]-bxs-0px-12px-24px-rgba-43-43-67-0d16 bgc-fff b-1px-s-gray-lightest br-16px --hover-bgc-primary-lightest --hover-b-1px-s-primary-hover --active[b-1px-s-primary,bgc-primary-light]",
|
|
129
|
+
|
|
101
130
|
'responsive':'xs-w-100p sm-w-540px md-w-720px lg-w-960px xl-w-1140px xxl-w-1320px',
|
|
102
131
|
'responsive-sm':'xs-w-100p sm-w-540px md-w-720px lg-w-960px xl-w-1140px xxl-w-1320px',
|
|
103
132
|
'responsive-md':'xs-w-100p sm-w-100p md-w-720px lg-w-960px xl-w-1140px xxl-w-1320px',
|