@kizmann/nano-ui 0.9.3 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- package/demos/builder.html +411 -0
- package/demos/overview.html +1 -1
- package/dist/nano-ui.css +1 -1
- package/dist/nano-ui.js +3 -3
- package/dist/nano-ui.js.map +1 -1
- package/dist/themes/dark.css +2 -0
- package/dist/themes/light.css +1 -1
- package/package.json +2 -2
- package/src/config/index.js +6 -0
- package/src/config/index.scss +3 -0
- package/src/config/src/builder/builder.js +935 -0
- package/src/config/src/builder/builder.scss +280 -0
- package/src/config/src/builder/prototypes/button/n-button-group.js +11 -0
- package/src/config/src/builder/prototypes/button/n-button.js +37 -0
- package/src/config/src/builder/prototypes/cascader/n-cascader.js +11 -0
- package/src/config/src/builder/prototypes/checkbox/n-checkbox-group.js +11 -0
- package/src/config/src/builder/prototypes/checkbox/n-checkbox.js +11 -0
- package/src/config/src/builder/prototypes/confirm/n-confirm.js +11 -0
- package/src/config/src/builder/prototypes/datepicker/n-datepicker.js +11 -0
- package/src/config/src/builder/prototypes/datetimepicker/n-datetimepicker.js +11 -0
- package/src/config/src/builder/prototypes/durationpicker/n-durationpicker.js +11 -0
- package/src/config/src/builder/prototypes/empty/n-empty.js +11 -0
- package/src/config/src/builder/prototypes/form/n-form-group.js +13 -0
- package/src/config/src/builder/prototypes/form/n-form-item.js +13 -0
- package/src/config/src/builder/prototypes/form/n-form.js +11 -0
- package/src/config/src/builder/prototypes/html/div.js +13 -0
- package/src/config/src/builder/prototypes/html/nano.js +11 -0
- package/src/config/src/builder/prototypes/html/span.js +11 -0
- package/src/config/src/builder/prototypes/info/n-info-column.js +11 -0
- package/src/config/src/builder/prototypes/info/n-info.js +11 -0
- package/src/config/src/builder/prototypes/input/n-input.js +40 -0
- package/src/config/src/builder/prototypes/input-number/n-input-number.js +49 -0
- package/src/config/src/builder/prototypes/loader/n-loader.js +11 -0
- package/src/config/src/builder/prototypes/modal/n-modal.js +11 -0
- package/src/config/src/builder/prototypes/popover/n-popover-group.js +11 -0
- package/src/config/src/builder/prototypes/popover/n-popover-item.js +11 -0
- package/src/config/src/builder/prototypes/popover/n-popover.js +11 -0
- package/src/config/src/builder/prototypes/radio/n-radio-group.js +11 -0
- package/src/config/src/builder/prototypes/radio/n-radio.js +11 -0
- package/src/config/src/builder/prototypes/rating/n-rating.js +11 -0
- package/src/config/src/builder/prototypes/select/n-select.js +11 -0
- package/src/config/src/builder/prototypes/slider/n-slider.js +11 -0
- package/src/config/src/builder/prototypes/switch/n-switch.js +31 -0
- package/src/config/src/builder/prototypes/table/n-table-column.js +11 -0
- package/src/config/src/builder/prototypes/table/n-table.js +11 -0
- package/src/config/src/builder/prototypes/tabs/n-tabs-item.js +11 -0
- package/src/config/src/builder/prototypes/tabs/n-tabs.js +11 -0
- package/src/config/src/builder/prototypes/tags/n-tags-item.js +11 -0
- package/src/config/src/builder/prototypes/tags/n-tags.js +11 -0
- package/src/config/src/builder/prototypes/textarea/n-textarea.js +11 -0
- package/src/config/src/builder/prototypes/timepicker/n-timepicker.js +11 -0
- package/src/config/src/builder/prototypes/transfer/n-transfer.js +11 -0
- package/src/config/src/config/config-next.js +16 -2
- package/src/config/src/reference-panel/reference-panel.js +196 -0
- package/src/config/src/reference-panel/reference-panel.scss +194 -0
- package/src/config/src/reference-picker/reference-picker.js +146 -0
- package/src/config/src/reference-picker/reference-picker.scss +3 -0
- package/src/datetimepicker/src/datetimepicker/datetimepicker.scss +2 -2
- package/src/empty/src/empty-icon/empty-icon.js +12 -0
- package/src/empty/src/empty-icon/empty-icon.scss +10 -0
- package/src/form/src/form-group/form-group.js +5 -1
- package/src/index.scss +1 -0
- package/src/input/src/input/input.js +2 -0
- package/src/preview/src/preview/preview.js +19 -1
- package/src/preview/src/preview-image/preview-image.js +2 -1
- package/src/root/vars.scss +23 -0
- package/src/select/src/select/select.js +1 -1
- package/src/slider/src/slider/slider.scss +1 -6
- package/src/table/src/table/table.scss +4 -0
- package/src/tags/src/tags-item/tags-item.scss +1 -1
- package/themes/macos/alert/index.scss +1 -0
- package/themes/macos/alert/src/alert/alert.scss +26 -0
- package/themes/macos/button/index.scss +2 -0
- package/themes/macos/button/src/button/button.scss +46 -0
- package/themes/macos/button/src/button-group/button-group.scss +1 -0
- package/themes/macos/cascader/index.scss +2 -0
- package/themes/macos/cascader/src/cascader/cascader.scss +46 -0
- package/themes/macos/cascader/src/cascader-panel/cascader-panel.scss +14 -0
- package/themes/macos/checkbox/index.scss +2 -0
- package/themes/macos/checkbox/src/checkbox/checkbox.scss +44 -0
- package/themes/macos/checkbox/src/checkbox-group/checkbox-group.scss +1 -0
- package/themes/macos/collapse/index.scss +2 -0
- package/themes/macos/collapse/src/collapse/collapse.scss +21 -0
- package/themes/macos/collapse/src/collapse-item/collapse-item.scss +21 -0
- package/themes/macos/confirm/index.scss +1 -0
- package/themes/macos/confirm/src/confirm/confirm.scss +13 -0
- package/themes/macos/datepicker/index.scss +2 -0
- package/themes/macos/datepicker/src/datepicker/datepicker.scss +50 -0
- package/themes/macos/datepicker/src/datepicker-panel/datepicker-panel.scss +44 -0
- package/themes/macos/datetimepicker/index.scss +1 -0
- package/themes/macos/datetimepicker/src/datetimepicker/datetimepicker.scss +67 -0
- package/themes/macos/demo/index.scss +1 -0
- package/themes/macos/demo/src/demo/demo.scss +22 -0
- package/themes/macos/draggable/index.scss +9 -0
- package/themes/macos/draggable/src/draggrid/draggrid.scss +13 -0
- package/themes/macos/draggable/src/draggrid-item/draggrid-item.scss +65 -0
- package/themes/macos/draggable/src/draghandler/draghandler.scss +15 -0
- package/themes/macos/draggable/src/draglist/draglist.scss +13 -0
- package/themes/macos/draggable/src/draglist-item/draglist-item.scss +72 -0
- package/themes/macos/draggable/src/dropzone/dropzone.scss +13 -0
- package/themes/macos/durationpicker/index.scss +1 -0
- package/themes/macos/durationpicker/src/durationpicker/durationpicker.scss +52 -0
- package/themes/macos/empty/index.scss +1 -0
- package/themes/macos/empty/src/empty-icon/empty-icon.scss +13 -0
- package/themes/macos/file/index.scss +1 -0
- package/themes/macos/file/src/file/file.scss +38 -0
- package/themes/macos/form/index.scss +3 -0
- package/themes/macos/form/src/form/form.scss +1 -0
- package/themes/macos/form/src/form-group/form-group.scss +17 -0
- package/themes/macos/form/src/form-item/form-item.scss +29 -0
- package/themes/macos/index-dark.scss +41 -0
- package/themes/macos/index-light.scss +41 -0
- package/themes/macos/index.scss +41 -0
- package/themes/macos/info/index.scss +3 -0
- package/themes/macos/info/src/info/info.scss +5 -0
- package/themes/macos/info/src/info-column/info-column.scss +5 -0
- package/themes/macos/info/src/info-field/info-field.scss +5 -0
- package/themes/macos/input/index.scss +1 -0
- package/themes/macos/input/src/input/input.scss +38 -0
- package/themes/macos/input-number/index.scss +1 -0
- package/themes/macos/input-number/src/input-number/input-number.scss +47 -0
- package/themes/macos/loader/index.scss +1 -0
- package/themes/macos/loader/src/loader/loader.scss +21 -0
- package/themes/macos/map/index.scss +1 -0
- package/themes/macos/map/src/map/map.scss +1 -0
- package/themes/macos/modal/index.scss +1 -0
- package/themes/macos/modal/src/modal/modal.scss +34 -0
- package/themes/macos/notification/index.scss +1 -0
- package/themes/macos/notification/src/notification/notification.scss +24 -0
- package/themes/macos/paginator/index.scss +1 -0
- package/themes/macos/paginator/src/paginator/paginator.scss +5 -0
- package/themes/macos/popover/index.scss +1 -0
- package/themes/macos/popover/src/popover/popover.scss +83 -0
- package/themes/macos/radio/index.scss +2 -0
- package/themes/macos/radio/src/radio/radio.scss +45 -0
- package/themes/macos/radio/src/radio-group/radio-group.scss +1 -0
- package/themes/macos/rating/index.scss +1 -0
- package/themes/macos/rating/src/rating/rating.scss +18 -0
- package/themes/macos/resizer/index.scss +1 -0
- package/themes/macos/resizer/src/resizer/resizer.scss +5 -0
- package/themes/macos/root/image/empty-default.svg +30 -0
- package/themes/macos/root/image/empty-space.svg +34 -0
- package/themes/macos/root/image/star-default.svg +10 -0
- package/themes/macos/root/vars-dark.scss +220 -0
- package/themes/macos/root/vars-light.scss +220 -0
- package/themes/macos/root/vars.scss +220 -0
- package/themes/macos/scrollbar/index.scss +1 -0
- package/themes/macos/scrollbar/src/scrollbar/scrollbar.scss +6 -0
- package/themes/macos/select/index.scss +2 -0
- package/themes/macos/select/src/select/select.scss +48 -0
- package/themes/macos/select/src/select-option/select-option.scss +1 -0
- package/themes/macos/slider/index.scss +1 -0
- package/themes/macos/slider/src/slider/slider.scss +21 -0
- package/themes/macos/switch/index.scss +1 -0
- package/themes/macos/switch/src/switch/switch.scss +28 -0
- package/themes/macos/table/index.scss +4 -0
- package/themes/macos/table/src/table/table.scss +15 -0
- package/themes/macos/table/src/table-cell/table-cell.scss +50 -0
- package/themes/macos/table/src/table-column/table-column.scss +32 -0
- package/themes/macos/table/src/table-filter/table-filter.scss +1 -0
- package/themes/macos/tabs/index.scss +2 -0
- package/themes/macos/tabs/src/tabs/tabs.scss +21 -0
- package/themes/macos/tabs/src/tabs-item/tabs-item.scss +18 -0
- package/themes/macos/tags/index.scss +2 -0
- package/themes/macos/tags/src/tags/tags.scss +1 -0
- package/themes/macos/tags/src/tags-item/tags-item.scss +28 -0
- package/themes/macos/textarea/index.scss +1 -0
- package/themes/macos/textarea/src/textarea/textarea.scss +30 -0
- package/themes/macos/timepicker/index.scss +2 -0
- package/themes/macos/timepicker/src/timepicker/timepicker.scss +50 -0
- package/themes/macos/timepicker/src/timepicker-panel/timepicker-panel.scss +27 -0
- package/themes/macos/transfer/index.scss +1 -0
- package/themes/macos/transfer/src/transfer/transfer.scss +18 -0
- package/themes/macos/virtualscroller/index.scss +1 -0
- package/themes/macos/virtualscroller/src/virtualscroller/virtualscroller.scss +1 -0
- package/webpack.config.js +32 -86
- package/webservy.json +3 -1
@@ -0,0 +1,220 @@
|
|
1
|
+
$color-white: #ffffff !default;
|
2
|
+
$color-black: #111111 !default;
|
3
|
+
|
4
|
+
$color-foreground: $color-white !default;
|
5
|
+
$color-background: $color-black !default;
|
6
|
+
|
7
|
+
$color-gray-05: mix($color-foreground, $color-background, 0.05 * 100%) !default;
|
8
|
+
$color-gray-10: mix($color-foreground, $color-background, 0.10 * 100%) !default;
|
9
|
+
$color-gray-15: mix($color-foreground, $color-background, 0.15 * 100%) !default;
|
10
|
+
$color-gray-20: mix($color-foreground, $color-background, 0.20 * 100%) !default;
|
11
|
+
$color-gray-25: mix($color-foreground, $color-background, 0.25 * 100%) !default;
|
12
|
+
$color-gray-30: mix($color-foreground, $color-background, 0.30 * 100%) !default;
|
13
|
+
$color-gray-35: mix($color-foreground, $color-background, 0.35 * 100%) !default;
|
14
|
+
$color-gray-40: mix($color-foreground, $color-background, 0.40 * 100%) !default;
|
15
|
+
$color-gray-45: mix($color-foreground, $color-background, 0.45 * 100%) !default;
|
16
|
+
$color-gray-50: mix($color-foreground, $color-background, 0.50 * 100%) !default;
|
17
|
+
$color-gray-55: mix($color-foreground, $color-background, 0.55 * 100%) !default;
|
18
|
+
$color-gray-60: mix($color-foreground, $color-background, 0.60 * 100%) !default;
|
19
|
+
$color-gray-65: mix($color-foreground, $color-background, 0.65 * 100%) !default;
|
20
|
+
$color-gray-70: mix($color-foreground, $color-background, 0.70 * 100%) !default;
|
21
|
+
$color-gray-75: mix($color-foreground, $color-background, 0.75 * 100%) !default;
|
22
|
+
$color-gray-80: mix($color-foreground, $color-background, 0.80 * 100%) !default;
|
23
|
+
$color-gray-85: mix($color-foreground, $color-background, 0.85 * 100%) !default;
|
24
|
+
$color-gray-90: mix($color-foreground, $color-background, 0.90 * 100%) !default;
|
25
|
+
$color-gray-95: mix($color-foreground, $color-background, 0.95 * 100%) !default;
|
26
|
+
|
27
|
+
$color-form: $color-gray-05 !default;
|
28
|
+
|
29
|
+
$color-secondary: #ca62f0 !default;
|
30
|
+
$color-primary: #2F89FE !default;
|
31
|
+
|
32
|
+
$color-success: #06C493 !default;
|
33
|
+
$color-warning: #FFBF3F !default;
|
34
|
+
$color-danger: #F9536E !default;
|
35
|
+
$color-info: #4BD6F9 !default;
|
36
|
+
|
37
|
+
$color-shadow: mix(#000, $color-primary, 80%) !default;
|
38
|
+
|
39
|
+
|
40
|
+
$color-white-light: $color-white !default;
|
41
|
+
$color-white-lighter: $color-white !default;
|
42
|
+
|
43
|
+
$color-white-dark: mix($color-gray-50, $color-white, 5%) !default;
|
44
|
+
$color-white-darker: mix($color-gray-50, $color-white, 10%) !default;
|
45
|
+
|
46
|
+
$color-black-light: mix($color-gray-50, $color-black, 5%) !default;
|
47
|
+
$color-black-lighter: mix($color-gray-50, $color-black, 10%) !default;
|
48
|
+
|
49
|
+
$color-black-dark: $color-black !default;
|
50
|
+
$color-black-darker: $color-black !default;
|
51
|
+
|
52
|
+
|
53
|
+
$color-primary-light: lighten(mix($color-white, $color-primary, 10%), 5%) !default;
|
54
|
+
$color-primary-lighter: lighten(mix($color-white, $color-primary, 20%), 5%) !default;
|
55
|
+
|
56
|
+
$color-primary-dark: darken(mix($color-black, $color-primary, 10%), 5%) !default;
|
57
|
+
$color-primary-darker: darken(mix($color-black, $color-primary, 20%), 5%) !default;
|
58
|
+
|
59
|
+
|
60
|
+
$color-secondary-light: lighten(mix($color-white, $color-secondary, 10%), 5%) !default;
|
61
|
+
$color-secondary-lighter: lighten(mix($color-white, $color-secondary, 20%), 5%) !default;
|
62
|
+
|
63
|
+
$color-secondary-dark: darken(mix($color-black, $color-secondary, 10%), 5%) !default;
|
64
|
+
$color-secondary-darker: darken(mix($color-black, $color-secondary, 20%), 5%) !default;
|
65
|
+
|
66
|
+
|
67
|
+
$color-success-light: lighten(mix($color-white, $color-success, 10%), 5%) !default;
|
68
|
+
$color-success-lighter: lighten(mix($color-white, $color-success, 20%), 5%) !default;
|
69
|
+
|
70
|
+
$color-success-dark: darken(mix($color-black, $color-success, 10%), 5%) !default;
|
71
|
+
$color-success-darker: darken(mix($color-black, $color-success, 20%), 5%) !default;
|
72
|
+
|
73
|
+
|
74
|
+
$color-warning-light: lighten(mix($color-white, $color-warning, 10%), 5%) !default;
|
75
|
+
$color-warning-lighter: lighten(mix($color-white, $color-warning, 20%), 5%) !default;
|
76
|
+
|
77
|
+
$color-warning-dark: darken(mix($color-black, $color-warning, 10%), 5%) !default;
|
78
|
+
$color-warning-darker: darken(mix($color-black, $color-warning, 20%), 5%) !default;
|
79
|
+
|
80
|
+
|
81
|
+
$color-danger-light: lighten(mix($color-white, $color-danger, 10%), 5%) !default;
|
82
|
+
$color-danger-lighter: lighten(mix($color-white, $color-danger, 20%), 5%) !default;
|
83
|
+
|
84
|
+
$color-danger-dark: darken(mix($color-black, $color-danger, 10%), 5%) !default;
|
85
|
+
$color-danger-darker: darken(mix($color-black, $color-danger, 20%), 5%) !default;
|
86
|
+
|
87
|
+
$color-info-light: lighten(mix($color-white, $color-info, 10%), 5%) !default;
|
88
|
+
$color-info-lighter: lighten(mix($color-white, $color-info, 20%), 5%) !default;
|
89
|
+
|
90
|
+
$color-info-dark: darken(mix($color-black, $color-info, 10%), 5%) !default;
|
91
|
+
$color-info-darker: darken(mix($color-black, $color-info, 20%), 5%) !default;
|
92
|
+
|
93
|
+
$color-background-light: lighten(mix($color-white, $color-background, 10%), 5%) !default;
|
94
|
+
$color-background-lighter: lighten(mix($color-white, $color-background, 20%), 5%) !default;
|
95
|
+
|
96
|
+
$color-background-dark: darken(mix($color-black, $color-background, 10%), 5%) !default;
|
97
|
+
$color-background-darker: darken(mix($color-black, $color-background, 20%), 5%) !default;
|
98
|
+
|
99
|
+
$xs-radius: 2px !default;
|
100
|
+
$sm-radius: 4px !default;
|
101
|
+
$md-radius: 6px !default;
|
102
|
+
$lg-radius: 8px !default;
|
103
|
+
$xl-radius: 12px !default;
|
104
|
+
|
105
|
+
$form: (
|
106
|
+
'xs': (
|
107
|
+
'size': 26px,
|
108
|
+
'font': 11px,
|
109
|
+
'radius': $xs-radius,
|
110
|
+
'ratio': 0.40,
|
111
|
+
),
|
112
|
+
'sm': (
|
113
|
+
'size': 28px,
|
114
|
+
'font': 13px,
|
115
|
+
'radius': $sm-radius,
|
116
|
+
'ratio': 0.40,
|
117
|
+
),
|
118
|
+
'md': (
|
119
|
+
'size': 32px,
|
120
|
+
'font': 15px,
|
121
|
+
'radius': $md-radius,
|
122
|
+
'ratio': 0.40,
|
123
|
+
),
|
124
|
+
'lg': (
|
125
|
+
'size': 36px,
|
126
|
+
'font': 16px,
|
127
|
+
'radius': $lg-radius,
|
128
|
+
'ratio': 0.40,
|
129
|
+
),
|
130
|
+
) !default;
|
131
|
+
|
132
|
+
$colors: (
|
133
|
+
'primary': (
|
134
|
+
'base': $color-primary,
|
135
|
+
'light': $color-primary-light,
|
136
|
+
'dark': $color-primary-dark
|
137
|
+
),
|
138
|
+
'secondary': (
|
139
|
+
'base': $color-secondary,
|
140
|
+
'light': $color-secondary-light,
|
141
|
+
'dark': $color-secondary-dark
|
142
|
+
),
|
143
|
+
'info': (
|
144
|
+
'base': $color-info,
|
145
|
+
'light': $color-info-light,
|
146
|
+
'dark': $color-info-dark
|
147
|
+
),
|
148
|
+
'success': (
|
149
|
+
'base': $color-success,
|
150
|
+
'light': $color-success-light,
|
151
|
+
'dark': $color-success-dark
|
152
|
+
),
|
153
|
+
'warning': (
|
154
|
+
'base': $color-warning,
|
155
|
+
'light': $color-warning-light,
|
156
|
+
'dark': $color-warning-dark
|
157
|
+
),
|
158
|
+
'danger': (
|
159
|
+
'base': $color-danger,
|
160
|
+
'light': $color-danger-light,
|
161
|
+
'dark': $color-danger-dark
|
162
|
+
),
|
163
|
+
) !default;
|
164
|
+
|
165
|
+
$popover: (
|
166
|
+
'default': (
|
167
|
+
'color': $color-foreground,
|
168
|
+
'border': $color-gray-15,
|
169
|
+
'header': $color-form,
|
170
|
+
'body': $color-form,
|
171
|
+
'footer': $color-form,
|
172
|
+
),
|
173
|
+
'negative': (
|
174
|
+
'color': $color-background,
|
175
|
+
'border': $color-gray-95,
|
176
|
+
'header': $color-foreground,
|
177
|
+
'body': $color-foreground,
|
178
|
+
'footer': $color-foreground,
|
179
|
+
)
|
180
|
+
) !default;
|
181
|
+
|
182
|
+
$modal: (
|
183
|
+
'default': (
|
184
|
+
'color': $color-foreground,
|
185
|
+
'border': $color-gray-10,
|
186
|
+
'header': mix($color-background, $color-form, 50%),
|
187
|
+
'body': $color-background,
|
188
|
+
'footer': $color-background,
|
189
|
+
),
|
190
|
+
'preview': (
|
191
|
+
'color': $color-white,
|
192
|
+
'border': $color-gray-95,
|
193
|
+
'header': $color-black,
|
194
|
+
'body': $color-black,
|
195
|
+
'footer': $color-black,
|
196
|
+
)
|
197
|
+
) !default;
|
198
|
+
|
199
|
+
$colors-tags: (
|
200
|
+
'0': mix($color-secondary, $color-secondary, 65%),
|
201
|
+
'1': mix($color-primary, $color-secondary, 65%),
|
202
|
+
'2': mix($color-danger, $color-secondary, 65%),
|
203
|
+
'3': mix($color-success, $color-secondary, 65%),
|
204
|
+
'4': mix($color-warning, $color-secondary, 65%),
|
205
|
+
'5': mix($color-primary, $color-success, 65%),
|
206
|
+
'6': mix($color-secondary, $color-success, 65%),
|
207
|
+
'7': mix($color-danger, $color-success, 65%),
|
208
|
+
'8': mix($color-success, $color-success, 65%),
|
209
|
+
'9': mix($color-warning, $color-success, 65%),
|
210
|
+
'10': mix($color-primary, $color-danger, 65%),
|
211
|
+
'11': mix($color-secondary, $color-danger, 65%),
|
212
|
+
'12': mix($color-danger, $color-danger, 65%),
|
213
|
+
'13': mix($color-success, $color-danger, 65%),
|
214
|
+
'14': mix($color-warning, $color-danger, 65%),
|
215
|
+
'15': mix($color-primary, $color-warning, 65%),
|
216
|
+
'16': mix($color-secondary, $color-warning, 65%),
|
217
|
+
'17': mix($color-danger, $color-warning, 65%),
|
218
|
+
'18': mix($color-success, $color-warning, 65%),
|
219
|
+
'19': mix($color-warning, $color-warning, 65%),
|
220
|
+
) !default;
|
@@ -0,0 +1,220 @@
|
|
1
|
+
$color-white: #ffffff !default;
|
2
|
+
$color-black: #111111 !default;
|
3
|
+
|
4
|
+
$color-foreground: $color-black !default;
|
5
|
+
$color-background: $color-white !default;
|
6
|
+
|
7
|
+
$color-gray-05: mix($color-foreground, $color-background, 0.05 * 100%) !default;
|
8
|
+
$color-gray-10: mix($color-foreground, $color-background, 0.10 * 100%) !default;
|
9
|
+
$color-gray-15: mix($color-foreground, $color-background, 0.15 * 100%) !default;
|
10
|
+
$color-gray-20: mix($color-foreground, $color-background, 0.20 * 100%) !default;
|
11
|
+
$color-gray-25: mix($color-foreground, $color-background, 0.25 * 100%) !default;
|
12
|
+
$color-gray-30: mix($color-foreground, $color-background, 0.30 * 100%) !default;
|
13
|
+
$color-gray-35: mix($color-foreground, $color-background, 0.35 * 100%) !default;
|
14
|
+
$color-gray-40: mix($color-foreground, $color-background, 0.40 * 100%) !default;
|
15
|
+
$color-gray-45: mix($color-foreground, $color-background, 0.45 * 100%) !default;
|
16
|
+
$color-gray-50: mix($color-foreground, $color-background, 0.50 * 100%) !default;
|
17
|
+
$color-gray-55: mix($color-foreground, $color-background, 0.55 * 100%) !default;
|
18
|
+
$color-gray-60: mix($color-foreground, $color-background, 0.60 * 100%) !default;
|
19
|
+
$color-gray-65: mix($color-foreground, $color-background, 0.65 * 100%) !default;
|
20
|
+
$color-gray-70: mix($color-foreground, $color-background, 0.70 * 100%) !default;
|
21
|
+
$color-gray-75: mix($color-foreground, $color-background, 0.75 * 100%) !default;
|
22
|
+
$color-gray-80: mix($color-foreground, $color-background, 0.80 * 100%) !default;
|
23
|
+
$color-gray-85: mix($color-foreground, $color-background, 0.85 * 100%) !default;
|
24
|
+
$color-gray-90: mix($color-foreground, $color-background, 0.90 * 100%) !default;
|
25
|
+
$color-gray-95: mix($color-foreground, $color-background, 0.95 * 100%) !default;
|
26
|
+
|
27
|
+
$color-form: $color-white !default;
|
28
|
+
|
29
|
+
$color-secondary: #ca62f0 !default;
|
30
|
+
$color-primary: #2F89FE !default;
|
31
|
+
|
32
|
+
$color-success: #06C493 !default;
|
33
|
+
$color-warning: #FFBF3F !default;
|
34
|
+
$color-danger: #F9536E !default;
|
35
|
+
$color-info: #4BD6F9 !default;
|
36
|
+
|
37
|
+
$color-shadow: mix(#777, $color-primary, 80%) !default;
|
38
|
+
|
39
|
+
|
40
|
+
$color-white-light: $color-white !default;
|
41
|
+
$color-white-lighter: $color-white !default;
|
42
|
+
|
43
|
+
$color-white-dark: mix($color-gray-50, $color-white, 5%) !default;
|
44
|
+
$color-white-darker: mix($color-gray-50, $color-white, 10%) !default;
|
45
|
+
|
46
|
+
$color-black-light: mix($color-gray-50, $color-black, 5%) !default;
|
47
|
+
$color-black-lighter: mix($color-gray-50, $color-black, 10%) !default;
|
48
|
+
|
49
|
+
$color-black-dark: $color-black !default;
|
50
|
+
$color-black-darker: $color-black !default;
|
51
|
+
|
52
|
+
|
53
|
+
$color-primary-light: lighten(mix($color-white, $color-primary, 10%), 5%) !default;
|
54
|
+
$color-primary-lighter: lighten(mix($color-white, $color-primary, 20%), 5%) !default;
|
55
|
+
|
56
|
+
$color-primary-dark: darken(mix($color-black, $color-primary, 10%), 5%) !default;
|
57
|
+
$color-primary-darker: darken(mix($color-black, $color-primary, 20%), 5%) !default;
|
58
|
+
|
59
|
+
|
60
|
+
$color-secondary-light: lighten(mix($color-white, $color-secondary, 10%), 5%) !default;
|
61
|
+
$color-secondary-lighter: lighten(mix($color-white, $color-secondary, 20%), 5%) !default;
|
62
|
+
|
63
|
+
$color-secondary-dark: darken(mix($color-black, $color-secondary, 10%), 5%) !default;
|
64
|
+
$color-secondary-darker: darken(mix($color-black, $color-secondary, 20%), 5%) !default;
|
65
|
+
|
66
|
+
|
67
|
+
$color-success-light: lighten(mix($color-white, $color-success, 10%), 5%) !default;
|
68
|
+
$color-success-lighter: lighten(mix($color-white, $color-success, 20%), 5%) !default;
|
69
|
+
|
70
|
+
$color-success-dark: darken(mix($color-black, $color-success, 10%), 5%) !default;
|
71
|
+
$color-success-darker: darken(mix($color-black, $color-success, 20%), 5%) !default;
|
72
|
+
|
73
|
+
|
74
|
+
$color-warning-light: lighten(mix($color-white, $color-warning, 10%), 5%) !default;
|
75
|
+
$color-warning-lighter: lighten(mix($color-white, $color-warning, 20%), 5%) !default;
|
76
|
+
|
77
|
+
$color-warning-dark: darken(mix($color-black, $color-warning, 10%), 5%) !default;
|
78
|
+
$color-warning-darker: darken(mix($color-black, $color-warning, 20%), 5%) !default;
|
79
|
+
|
80
|
+
|
81
|
+
$color-danger-light: lighten(mix($color-white, $color-danger, 10%), 5%) !default;
|
82
|
+
$color-danger-lighter: lighten(mix($color-white, $color-danger, 20%), 5%) !default;
|
83
|
+
|
84
|
+
$color-danger-dark: darken(mix($color-black, $color-danger, 10%), 5%) !default;
|
85
|
+
$color-danger-darker: darken(mix($color-black, $color-danger, 20%), 5%) !default;
|
86
|
+
|
87
|
+
$color-info-light: lighten(mix($color-white, $color-info, 10%), 5%) !default;
|
88
|
+
$color-info-lighter: lighten(mix($color-white, $color-info, 20%), 5%) !default;
|
89
|
+
|
90
|
+
$color-info-dark: darken(mix($color-black, $color-info, 10%), 5%) !default;
|
91
|
+
$color-info-darker: darken(mix($color-black, $color-info, 20%), 5%) !default;
|
92
|
+
|
93
|
+
$color-background-light: lighten(mix($color-white, $color-background, 10%), 5%) !default;
|
94
|
+
$color-background-lighter: lighten(mix($color-white, $color-background, 20%), 5%) !default;
|
95
|
+
|
96
|
+
$color-background-dark: darken(mix($color-black, $color-background, 10%), 5%) !default;
|
97
|
+
$color-background-darker: darken(mix($color-black, $color-background, 20%), 5%) !default;
|
98
|
+
|
99
|
+
$xs-radius: 2px !default;
|
100
|
+
$sm-radius: 4px !default;
|
101
|
+
$md-radius: 6px !default;
|
102
|
+
$lg-radius: 8px !default;
|
103
|
+
$xl-radius: 12px !default;
|
104
|
+
|
105
|
+
$form: (
|
106
|
+
'xs': (
|
107
|
+
'size': 26px,
|
108
|
+
'font': 11px,
|
109
|
+
'radius': $xs-radius,
|
110
|
+
'ratio': 0.40,
|
111
|
+
),
|
112
|
+
'sm': (
|
113
|
+
'size': 28px,
|
114
|
+
'font': 13px,
|
115
|
+
'radius': $sm-radius,
|
116
|
+
'ratio': 0.40,
|
117
|
+
),
|
118
|
+
'md': (
|
119
|
+
'size': 32px,
|
120
|
+
'font': 15px,
|
121
|
+
'radius': $md-radius,
|
122
|
+
'ratio': 0.40,
|
123
|
+
),
|
124
|
+
'lg': (
|
125
|
+
'size': 36px,
|
126
|
+
'font': 16px,
|
127
|
+
'radius': $lg-radius,
|
128
|
+
'ratio': 0.40,
|
129
|
+
),
|
130
|
+
) !default;
|
131
|
+
|
132
|
+
$colors: (
|
133
|
+
'primary': (
|
134
|
+
'base': $color-primary,
|
135
|
+
'light': $color-primary-light,
|
136
|
+
'dark': $color-primary-dark
|
137
|
+
),
|
138
|
+
'secondary': (
|
139
|
+
'base': $color-secondary,
|
140
|
+
'light': $color-secondary-light,
|
141
|
+
'dark': $color-secondary-dark
|
142
|
+
),
|
143
|
+
'info': (
|
144
|
+
'base': $color-info,
|
145
|
+
'light': $color-info-light,
|
146
|
+
'dark': $color-info-dark
|
147
|
+
),
|
148
|
+
'success': (
|
149
|
+
'base': $color-success,
|
150
|
+
'light': $color-success-light,
|
151
|
+
'dark': $color-success-dark
|
152
|
+
),
|
153
|
+
'warning': (
|
154
|
+
'base': $color-warning,
|
155
|
+
'light': $color-warning-light,
|
156
|
+
'dark': $color-warning-dark
|
157
|
+
),
|
158
|
+
'danger': (
|
159
|
+
'base': $color-danger,
|
160
|
+
'light': $color-danger-light,
|
161
|
+
'dark': $color-danger-dark
|
162
|
+
),
|
163
|
+
) !default;
|
164
|
+
|
165
|
+
$popover: (
|
166
|
+
'default': (
|
167
|
+
'color': $color-foreground,
|
168
|
+
'border': $color-gray-15,
|
169
|
+
'header': $color-form,
|
170
|
+
'body': $color-form,
|
171
|
+
'footer': $color-form,
|
172
|
+
),
|
173
|
+
'negative': (
|
174
|
+
'color': $color-background,
|
175
|
+
'border': $color-gray-95,
|
176
|
+
'header': $color-foreground,
|
177
|
+
'body': $color-foreground,
|
178
|
+
'footer': $color-foreground,
|
179
|
+
)
|
180
|
+
) !default;
|
181
|
+
|
182
|
+
$modal: (
|
183
|
+
'default': (
|
184
|
+
'color': $color-foreground,
|
185
|
+
'border': $color-gray-10,
|
186
|
+
'header': mix($color-background, $color-form, 50%),
|
187
|
+
'body': $color-background,
|
188
|
+
'footer': $color-background,
|
189
|
+
),
|
190
|
+
'preview': (
|
191
|
+
'color': $color-white,
|
192
|
+
'border': $color-gray-95,
|
193
|
+
'header': $color-black,
|
194
|
+
'body': $color-black,
|
195
|
+
'footer': $color-black,
|
196
|
+
)
|
197
|
+
) !default;
|
198
|
+
|
199
|
+
$colors-tags: (
|
200
|
+
'0': mix($color-secondary, $color-secondary, 65%),
|
201
|
+
'1': mix($color-primary, $color-secondary, 65%),
|
202
|
+
'2': mix($color-danger, $color-secondary, 65%),
|
203
|
+
'3': mix($color-success, $color-secondary, 65%),
|
204
|
+
'4': mix($color-warning, $color-secondary, 65%),
|
205
|
+
'5': mix($color-primary, $color-success, 65%),
|
206
|
+
'6': mix($color-secondary, $color-success, 65%),
|
207
|
+
'7': mix($color-danger, $color-success, 65%),
|
208
|
+
'8': mix($color-success, $color-success, 65%),
|
209
|
+
'9': mix($color-warning, $color-success, 65%),
|
210
|
+
'10': mix($color-primary, $color-danger, 65%),
|
211
|
+
'11': mix($color-secondary, $color-danger, 65%),
|
212
|
+
'12': mix($color-danger, $color-danger, 65%),
|
213
|
+
'13': mix($color-success, $color-danger, 65%),
|
214
|
+
'14': mix($color-warning, $color-danger, 65%),
|
215
|
+
'15': mix($color-primary, $color-warning, 65%),
|
216
|
+
'16': mix($color-secondary, $color-warning, 65%),
|
217
|
+
'17': mix($color-danger, $color-warning, 65%),
|
218
|
+
'18': mix($color-success, $color-warning, 65%),
|
219
|
+
'19': mix($color-warning, $color-warning, 65%),
|
220
|
+
) !default;
|
@@ -0,0 +1,220 @@
|
|
1
|
+
$color-white: #ffffff !default;
|
2
|
+
$color-black: #111111 !default;
|
3
|
+
|
4
|
+
$color-foreground: $color-white !default;
|
5
|
+
$color-background: $color-black !default;
|
6
|
+
|
7
|
+
$color-gray-05: mix($color-foreground, $color-background, 0.05 * 100%) !default;
|
8
|
+
$color-gray-10: mix($color-foreground, $color-background, 0.10 * 100%) !default;
|
9
|
+
$color-gray-15: mix($color-foreground, $color-background, 0.15 * 100%) !default;
|
10
|
+
$color-gray-20: mix($color-foreground, $color-background, 0.20 * 100%) !default;
|
11
|
+
$color-gray-25: mix($color-foreground, $color-background, 0.25 * 100%) !default;
|
12
|
+
$color-gray-30: mix($color-foreground, $color-background, 0.30 * 100%) !default;
|
13
|
+
$color-gray-35: mix($color-foreground, $color-background, 0.35 * 100%) !default;
|
14
|
+
$color-gray-40: mix($color-foreground, $color-background, 0.40 * 100%) !default;
|
15
|
+
$color-gray-45: mix($color-foreground, $color-background, 0.45 * 100%) !default;
|
16
|
+
$color-gray-50: mix($color-foreground, $color-background, 0.50 * 100%) !default;
|
17
|
+
$color-gray-55: mix($color-foreground, $color-background, 0.55 * 100%) !default;
|
18
|
+
$color-gray-60: mix($color-foreground, $color-background, 0.60 * 100%) !default;
|
19
|
+
$color-gray-65: mix($color-foreground, $color-background, 0.65 * 100%) !default;
|
20
|
+
$color-gray-70: mix($color-foreground, $color-background, 0.70 * 100%) !default;
|
21
|
+
$color-gray-75: mix($color-foreground, $color-background, 0.75 * 100%) !default;
|
22
|
+
$color-gray-80: mix($color-foreground, $color-background, 0.80 * 100%) !default;
|
23
|
+
$color-gray-85: mix($color-foreground, $color-background, 0.85 * 100%) !default;
|
24
|
+
$color-gray-90: mix($color-foreground, $color-background, 0.90 * 100%) !default;
|
25
|
+
$color-gray-95: mix($color-foreground, $color-background, 0.95 * 100%) !default;
|
26
|
+
|
27
|
+
$color-form: $color-gray-05 !default;
|
28
|
+
|
29
|
+
$color-secondary: #ca62f0 !default;
|
30
|
+
$color-primary: #2F89FE !default;
|
31
|
+
|
32
|
+
$color-success: #06C493 !default;
|
33
|
+
$color-warning: #FFBF3F !default;
|
34
|
+
$color-danger: #F9536E !default;
|
35
|
+
$color-info: #4BD6F9 !default;
|
36
|
+
|
37
|
+
$color-shadow: mix(#000, $color-primary, 80%) !default;
|
38
|
+
|
39
|
+
|
40
|
+
$color-white-light: $color-white !default;
|
41
|
+
$color-white-lighter: $color-white !default;
|
42
|
+
|
43
|
+
$color-white-dark: mix($color-gray-50, $color-white, 5%) !default;
|
44
|
+
$color-white-darker: mix($color-gray-50, $color-white, 10%) !default;
|
45
|
+
|
46
|
+
$color-black-light: mix($color-gray-50, $color-black, 5%) !default;
|
47
|
+
$color-black-lighter: mix($color-gray-50, $color-black, 10%) !default;
|
48
|
+
|
49
|
+
$color-black-dark: $color-black !default;
|
50
|
+
$color-black-darker: $color-black !default;
|
51
|
+
|
52
|
+
|
53
|
+
$color-primary-light: lighten(mix($color-white, $color-primary, 10%), 5%) !default;
|
54
|
+
$color-primary-lighter: lighten(mix($color-white, $color-primary, 20%), 5%) !default;
|
55
|
+
|
56
|
+
$color-primary-dark: darken(mix($color-black, $color-primary, 10%), 5%) !default;
|
57
|
+
$color-primary-darker: darken(mix($color-black, $color-primary, 20%), 5%) !default;
|
58
|
+
|
59
|
+
|
60
|
+
$color-secondary-light: lighten(mix($color-white, $color-secondary, 10%), 5%) !default;
|
61
|
+
$color-secondary-lighter: lighten(mix($color-white, $color-secondary, 20%), 5%) !default;
|
62
|
+
|
63
|
+
$color-secondary-dark: darken(mix($color-black, $color-secondary, 10%), 5%) !default;
|
64
|
+
$color-secondary-darker: darken(mix($color-black, $color-secondary, 20%), 5%) !default;
|
65
|
+
|
66
|
+
|
67
|
+
$color-success-light: lighten(mix($color-white, $color-success, 10%), 5%) !default;
|
68
|
+
$color-success-lighter: lighten(mix($color-white, $color-success, 20%), 5%) !default;
|
69
|
+
|
70
|
+
$color-success-dark: darken(mix($color-black, $color-success, 10%), 5%) !default;
|
71
|
+
$color-success-darker: darken(mix($color-black, $color-success, 20%), 5%) !default;
|
72
|
+
|
73
|
+
|
74
|
+
$color-warning-light: lighten(mix($color-white, $color-warning, 10%), 5%) !default;
|
75
|
+
$color-warning-lighter: lighten(mix($color-white, $color-warning, 20%), 5%) !default;
|
76
|
+
|
77
|
+
$color-warning-dark: darken(mix($color-black, $color-warning, 10%), 5%) !default;
|
78
|
+
$color-warning-darker: darken(mix($color-black, $color-warning, 20%), 5%) !default;
|
79
|
+
|
80
|
+
|
81
|
+
$color-danger-light: lighten(mix($color-white, $color-danger, 10%), 5%) !default;
|
82
|
+
$color-danger-lighter: lighten(mix($color-white, $color-danger, 20%), 5%) !default;
|
83
|
+
|
84
|
+
$color-danger-dark: darken(mix($color-black, $color-danger, 10%), 5%) !default;
|
85
|
+
$color-danger-darker: darken(mix($color-black, $color-danger, 20%), 5%) !default;
|
86
|
+
|
87
|
+
$color-info-light: lighten(mix($color-white, $color-info, 10%), 5%) !default;
|
88
|
+
$color-info-lighter: lighten(mix($color-white, $color-info, 20%), 5%) !default;
|
89
|
+
|
90
|
+
$color-info-dark: darken(mix($color-black, $color-info, 10%), 5%) !default;
|
91
|
+
$color-info-darker: darken(mix($color-black, $color-info, 20%), 5%) !default;
|
92
|
+
|
93
|
+
$color-background-light: lighten(mix($color-white, $color-background, 10%), 5%) !default;
|
94
|
+
$color-background-lighter: lighten(mix($color-white, $color-background, 20%), 5%) !default;
|
95
|
+
|
96
|
+
$color-background-dark: darken(mix($color-black, $color-background, 10%), 5%) !default;
|
97
|
+
$color-background-darker: darken(mix($color-black, $color-background, 20%), 5%) !default;
|
98
|
+
|
99
|
+
$xs-radius: 2px !default;
|
100
|
+
$sm-radius: 4px !default;
|
101
|
+
$md-radius: 6px !default;
|
102
|
+
$lg-radius: 8px !default;
|
103
|
+
$xl-radius: 12px !default;
|
104
|
+
|
105
|
+
$form: (
|
106
|
+
'xs': (
|
107
|
+
'size': 26px,
|
108
|
+
'font': 11px,
|
109
|
+
'radius': $xs-radius,
|
110
|
+
'ratio': 0.40,
|
111
|
+
),
|
112
|
+
'sm': (
|
113
|
+
'size': 28px,
|
114
|
+
'font': 13px,
|
115
|
+
'radius': $sm-radius,
|
116
|
+
'ratio': 0.40,
|
117
|
+
),
|
118
|
+
'md': (
|
119
|
+
'size': 32px,
|
120
|
+
'font': 15px,
|
121
|
+
'radius': $md-radius,
|
122
|
+
'ratio': 0.40,
|
123
|
+
),
|
124
|
+
'lg': (
|
125
|
+
'size': 36px,
|
126
|
+
'font': 16px,
|
127
|
+
'radius': $lg-radius,
|
128
|
+
'ratio': 0.40,
|
129
|
+
),
|
130
|
+
) !default;
|
131
|
+
|
132
|
+
$colors: (
|
133
|
+
'primary': (
|
134
|
+
'base': $color-primary,
|
135
|
+
'light': $color-primary-light,
|
136
|
+
'dark': $color-primary-dark
|
137
|
+
),
|
138
|
+
'secondary': (
|
139
|
+
'base': $color-secondary,
|
140
|
+
'light': $color-secondary-light,
|
141
|
+
'dark': $color-secondary-dark
|
142
|
+
),
|
143
|
+
'info': (
|
144
|
+
'base': $color-info,
|
145
|
+
'light': $color-info-light,
|
146
|
+
'dark': $color-info-dark
|
147
|
+
),
|
148
|
+
'success': (
|
149
|
+
'base': $color-success,
|
150
|
+
'light': $color-success-light,
|
151
|
+
'dark': $color-success-dark
|
152
|
+
),
|
153
|
+
'warning': (
|
154
|
+
'base': $color-warning,
|
155
|
+
'light': $color-warning-light,
|
156
|
+
'dark': $color-warning-dark
|
157
|
+
),
|
158
|
+
'danger': (
|
159
|
+
'base': $color-danger,
|
160
|
+
'light': $color-danger-light,
|
161
|
+
'dark': $color-danger-dark
|
162
|
+
),
|
163
|
+
) !default;
|
164
|
+
|
165
|
+
$popover: (
|
166
|
+
'default': (
|
167
|
+
'color': $color-foreground,
|
168
|
+
'border': $color-gray-15,
|
169
|
+
'header': $color-form,
|
170
|
+
'body': $color-form,
|
171
|
+
'footer': $color-form,
|
172
|
+
),
|
173
|
+
'negative': (
|
174
|
+
'color': $color-background,
|
175
|
+
'border': $color-gray-95,
|
176
|
+
'header': $color-foreground,
|
177
|
+
'body': $color-foreground,
|
178
|
+
'footer': $color-foreground,
|
179
|
+
)
|
180
|
+
) !default;
|
181
|
+
|
182
|
+
$modal: (
|
183
|
+
'default': (
|
184
|
+
'color': $color-foreground,
|
185
|
+
'border': $color-gray-10,
|
186
|
+
'header': mix($color-background, $color-form, 50%),
|
187
|
+
'body': $color-background,
|
188
|
+
'footer': $color-background,
|
189
|
+
),
|
190
|
+
'preview': (
|
191
|
+
'color': $color-white,
|
192
|
+
'border': $color-gray-95,
|
193
|
+
'header': $color-black,
|
194
|
+
'body': $color-black,
|
195
|
+
'footer': $color-black,
|
196
|
+
)
|
197
|
+
) !default;
|
198
|
+
|
199
|
+
$colors-tags: (
|
200
|
+
'0': mix($color-secondary, $color-secondary, 65%),
|
201
|
+
'1': mix($color-primary, $color-secondary, 65%),
|
202
|
+
'2': mix($color-danger, $color-secondary, 65%),
|
203
|
+
'3': mix($color-success, $color-secondary, 65%),
|
204
|
+
'4': mix($color-warning, $color-secondary, 65%),
|
205
|
+
'5': mix($color-primary, $color-success, 65%),
|
206
|
+
'6': mix($color-secondary, $color-success, 65%),
|
207
|
+
'7': mix($color-danger, $color-success, 65%),
|
208
|
+
'8': mix($color-success, $color-success, 65%),
|
209
|
+
'9': mix($color-warning, $color-success, 65%),
|
210
|
+
'10': mix($color-primary, $color-danger, 65%),
|
211
|
+
'11': mix($color-secondary, $color-danger, 65%),
|
212
|
+
'12': mix($color-danger, $color-danger, 65%),
|
213
|
+
'13': mix($color-success, $color-danger, 65%),
|
214
|
+
'14': mix($color-warning, $color-danger, 65%),
|
215
|
+
'15': mix($color-primary, $color-warning, 65%),
|
216
|
+
'16': mix($color-secondary, $color-warning, 65%),
|
217
|
+
'17': mix($color-danger, $color-warning, 65%),
|
218
|
+
'18': mix($color-success, $color-warning, 65%),
|
219
|
+
'19': mix($color-warning, $color-warning, 65%),
|
220
|
+
) !default;
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "./src/scrollbar/scrollbar";
|