@kizmann/nano-ui 0.9.4 → 0.9.6

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