@appscode/design-system 1.1.0-beta.2 → 1.1.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base/_video-player.scss +65 -0
- package/base/utilities/_all.scss +5 -4
- package/base/utilities/_colors.scss +408 -0
- package/base/utilities/_customize-bulma.scss +23 -27
- package/base/utilities/_extended.scss +3 -2
- package/base/utilities/{_default.scss → _global.scss} +165 -311
- package/base/utilities/_layouts.scss +157 -0
- package/base/utilities/_spacing.scss +96 -0
- package/base/utilities/_typography.scss +34 -2
- package/components/_ac-alert-box.scss +205 -262
- package/components/_ac-modal.scss +212 -212
- package/components/_ac-multi-select.scss +84 -55
- package/components/_ac-options.scss +122 -122
- package/components/_ac-table.scss +503 -502
- package/components/_ac-tabs.scss +4 -3
- package/components/_ac-tags.scss +116 -116
- package/components/_accordion.scss +117 -0
- package/components/_all.scss +34 -29
- package/components/_app-drawer.scss +0 -134
- package/components/_breadcumb.scss +0 -71
- package/components/_buttons.scss +779 -779
- package/components/_dashboard-header.scss +0 -115
- package/components/_image-upload.scss +2 -2
- package/components/_input-card.scss +232 -0
- package/components/_input.scss +947 -0
- package/components/_left-sidebar-menu.scss +346 -475
- package/components/_navbar.scss +786 -752
- package/components/_pagination.scss +9 -27
- package/components/_payment-card.scss +1 -1
- package/components/_terminal.scss +331 -0
- package/components/_widget-menu.scss +247 -247
- package/components/_wizard.scss +522 -801
- package/components/ac-toaster/_ac-toasted.scss +6 -11
- package/components/ui-builder/_ui-builder.scss +17 -21
- package/components/ui-builder/_vue-open-api.scss +513 -0
- package/main.scss +26 -10
- package/package.json +1 -1
- package/plugins/theme.js +11 -9
- package/plugins/vue-toaster.js +1 -1
- package/vue-components/types/importFlow.ts +16 -0
- package/vue-components/v2/banner/Banner.vue +1 -1
- package/vue-components/v2/card/Card.vue +1 -1
- package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
- package/vue-components/v2/modal/Modal.vue +1 -1
- package/vue-components/v2/pagination/Pagination.vue +1 -0
- package/vue-components/v3/alert/Alert.vue +6 -6
- package/vue-components/v3/banner/Banner.vue +2 -2
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +4 -2
- package/vue-components/v3/button/Button.vue +12 -0
- package/vue-components/v3/cards/Card.vue +1 -1
- package/vue-components/v3/cards/Cluster.vue +3 -4
- package/vue-components/v3/cards/Counter.vue +12 -0
- package/vue-components/v3/cards/FeatureCard.vue +31 -0
- package/vue-components/v3/cards/InfoCard.vue +4 -9
- package/vue-components/v3/cards/Monitoring.vue +1 -1
- package/vue-components/v3/cards/Vendor.vue +67 -5
- package/vue-components/v3/content/ContentTable.vue +7 -2
- package/vue-components/v3/editor/FilteredFileEditor.vue +200 -3
- package/vue-components/v3/footer/FooterItem.vue +4 -1
- package/vue-components/v3/footer/Info.vue +10 -8
- package/vue-components/v3/footer/Status.vue +27 -23
- package/vue-components/v3/footer/Usage.vue +20 -30
- package/vue-components/v3/form/Form.vue +0 -3
- package/vue-components/v3/form-fields/AcSingleInput.vue +9 -1
- package/vue-components/v3/header/Header.vue +4 -3
- package/vue-components/v3/loaders/InfoCardLoader.vue +65 -0
- package/vue-components/v3/modal/Modal.vue +1 -1
- package/vue-components/v3/navbar/Navbar.vue +3 -1
- package/vue-components/v3/navbar/User.vue +4 -4
- package/vue-components/v3/notification/AlertBox.vue +233 -4
- package/vue-components/v3/option-dots/Options.vue +2 -1
- package/vue-components/v3/pagination/Pagination.vue +2 -1
- package/vue-components/v3/preloader/Preloader.vue +1 -1
- package/vue-components/v3/searchbars/SearchBar.vue +10 -2
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +18 -14
- package/vue-components/v3/sidebar/Sidebar.vue +5 -9
- package/vue-components/v3/sidebar/SidebarFooter.vue +3 -3
- package/vue-components/v3/sidebar/SidebarHeader.vue +3 -3
- package/vue-components/v3/sidebar/Steps.vue +152 -0
- package/vue-components/v3/table/InfoTable.vue +6 -4
- package/vue-components/v3/table/Table.vue +32 -25
- package/vue-components/v3/table/TableRow.vue +2 -2
- package/base/utilities/_derived-variables.scss +0 -24
- package/base/utilities/_initial-variables.scss +0 -217
- package/components/_ac-accordion.scss +0 -117
- package/components/_ac-card.scss +0 -597
- package/components/_ac-input.scss +0 -876
- package/components/_ac-terminal.scss +0 -270
- package/components/_basic-card.scss +0 -118
- /package/components/{_ac-report.scss → _report.scss} +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
.lightbox {
|
|
2
|
+
background-color: rgba($color: #000000, $alpha: 0.8);
|
|
3
|
+
position: fixed;
|
|
4
|
+
display: none;
|
|
5
|
+
z-index: 99;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
right: 0;
|
|
8
|
+
left: 0;
|
|
9
|
+
top: 0;
|
|
10
|
+
|
|
11
|
+
&-container {
|
|
12
|
+
position: relative;
|
|
13
|
+
max-width: 1080px;
|
|
14
|
+
margin: 7% auto;
|
|
15
|
+
display: block;
|
|
16
|
+
padding: 0 3%;
|
|
17
|
+
height: auto;
|
|
18
|
+
z-index: 10;
|
|
19
|
+
|
|
20
|
+
// Increasing top margin for mobile
|
|
21
|
+
@media screen and (max-width: 768px) {
|
|
22
|
+
margin-top: 10%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media screen and (max-width: 414px) {
|
|
26
|
+
margin-top: 13%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&-content {
|
|
31
|
+
box-shadow: 0 1px 6px fade(black, 70%);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&-close {
|
|
35
|
+
text-transform: uppercase;
|
|
36
|
+
background: transparent;
|
|
37
|
+
position: absolute;
|
|
38
|
+
font-weight: 300;
|
|
39
|
+
font-size: 32px;
|
|
40
|
+
display: block;
|
|
41
|
+
border: none;
|
|
42
|
+
color: white;
|
|
43
|
+
top: -52px;
|
|
44
|
+
right: 3%;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.video-container {
|
|
50
|
+
padding-bottom: 56.25%;
|
|
51
|
+
position: relative;
|
|
52
|
+
padding-top: 30px;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
height: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.video-container iframe,
|
|
58
|
+
.video-container object,
|
|
59
|
+
.video-container embed {
|
|
60
|
+
position: absolute;
|
|
61
|
+
height: 100%;
|
|
62
|
+
width: 100%;
|
|
63
|
+
left: 0;
|
|
64
|
+
top: 0;
|
|
65
|
+
}
|
package/base/utilities/_all.scss
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
@import "
|
|
2
|
-
@import "
|
|
1
|
+
@import "colors";
|
|
2
|
+
@import "typography";
|
|
3
3
|
@import "mixin";
|
|
4
4
|
@import "extended";
|
|
5
|
-
@import "
|
|
6
|
-
@import "default";
|
|
5
|
+
@import "global";
|
|
7
6
|
@import "grid";
|
|
7
|
+
@import "spacing";
|
|
8
|
+
@import "layouts";
|
|
8
9
|
@import "dark-theme";
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
// ===================================PREVIOUS STYLE========================================
|
|
2
|
+
// Base Color
|
|
3
|
+
// $ac-orange: #ff8000;
|
|
4
|
+
// $warning: #f7ad2a;
|
|
5
|
+
// $success: #158748;
|
|
6
|
+
// $info: #0aafff;
|
|
7
|
+
// $purple: #791e94;
|
|
8
|
+
// $ac-red: #ff3729;
|
|
9
|
+
|
|
10
|
+
// Products Color
|
|
11
|
+
// $voyager-primary: #2d2a78;
|
|
12
|
+
// $guard-primary: #d84e27;
|
|
13
|
+
// $kubeci-primary: #2c3e50;
|
|
14
|
+
// $kubed-primary: #1c7bd4;
|
|
15
|
+
// $kubedb-primary: #4d4dcb;
|
|
16
|
+
// $kubesheild-primary: #2516c7;
|
|
17
|
+
// $kubevault-primary: #326ce5;
|
|
18
|
+
// $pharmer-primary: #326de6;
|
|
19
|
+
// $searchlight-primary: #111738;
|
|
20
|
+
// $servicebroker-primary: #29b4a2;
|
|
21
|
+
// $stash-primary: #5e2dea;
|
|
22
|
+
// $swift-primary: #3f51b6;
|
|
23
|
+
|
|
24
|
+
// Colors Primary
|
|
25
|
+
// root colors
|
|
26
|
+
:root {
|
|
27
|
+
--hsl-hue: 208;
|
|
28
|
+
--hsl-saturation: 77%;
|
|
29
|
+
--hsl-lightness: 40%;
|
|
30
|
+
// --contrast-threshold: 60%;
|
|
31
|
+
// --ac-bg: #ffffff;
|
|
32
|
+
// --ac-white: #ffffff;
|
|
33
|
+
// --ac-full-white: #ffffff;
|
|
34
|
+
// --ac-gray-dark: #5f5f5f;
|
|
35
|
+
// --ac-gray-light: #8d8d8d;
|
|
36
|
+
// --ac-gray-lightest: #d1d1d1;
|
|
37
|
+
// --ac-white-light: #e7e7e7;
|
|
38
|
+
// --ac-white-lighter: #f2f5f8;
|
|
39
|
+
// --ac-white-lightest: #f8f9fb;
|
|
40
|
+
|
|
41
|
+
// --ac-black: #000000;
|
|
42
|
+
// --ac-color-text-90: #323232;
|
|
43
|
+
// --ac-link-black: #32325d;
|
|
44
|
+
// --ac-gray-darker: #494949;
|
|
45
|
+
// --ac-gray: #767676;
|
|
46
|
+
// --ac-gray-lighter: #a4a4a4;
|
|
47
|
+
// --ac-white-text: #b4c0cc;
|
|
48
|
+
|
|
49
|
+
// theme color
|
|
50
|
+
// --dark-bg: #21272e;
|
|
51
|
+
// --dark-bg-light: #2e323c;
|
|
52
|
+
|
|
53
|
+
// --ac-blue-light: #eceff4;
|
|
54
|
+
// --ac-bg-light-gray: #f4f6f9;
|
|
55
|
+
// --table-header: #e4e8ef;
|
|
56
|
+
// --ac-label-text: #a6abbd;
|
|
57
|
+
|
|
58
|
+
--font-hsl-hue: 0;
|
|
59
|
+
--font-hsl-saturation: 0%;
|
|
60
|
+
--font-hsl-lightness: 11%;
|
|
61
|
+
|
|
62
|
+
--ac-primary: hsla(var(--hsl-hue),
|
|
63
|
+
var(--hsl-saturation),
|
|
64
|
+
var(--hsl-lightness),
|
|
65
|
+
1);
|
|
66
|
+
|
|
67
|
+
--ac-text: hsla(var(--font-hsl-hue),
|
|
68
|
+
calc(var(--font-hsl-saturation) + 10%),
|
|
69
|
+
calc(var(--font-hsl-lightness) + 10%),
|
|
70
|
+
1);
|
|
71
|
+
--ac-text-heading: hsla(var(--font-hsl-hue),
|
|
72
|
+
var(--font-hsl-saturation),
|
|
73
|
+
var(--font-hsl-lightness),
|
|
74
|
+
1);
|
|
75
|
+
--ac-color-value: hsl(var(--font-hsl-hue),
|
|
76
|
+
var(--font-hsl-saturation),
|
|
77
|
+
calc(var(--font-hsl-lightness) + 25%));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
$ac-bg: var(--ac-bg);
|
|
81
|
+
// $primary: var(--ac-primary);
|
|
82
|
+
// $primary-20: var(--ac-color-value);
|
|
83
|
+
|
|
84
|
+
// Colors
|
|
85
|
+
$ac-black: var(--ac-black);
|
|
86
|
+
$primary-10-90: var(--ac-color-text-90);
|
|
87
|
+
$ac-link-black: var(--ac-link-black);
|
|
88
|
+
$black-40: var(--ac-gray-darker);
|
|
89
|
+
$black-30: var(--ac-gray-dark);
|
|
90
|
+
$ac-gray: var(--ac-gray);
|
|
91
|
+
$ac-gray-light: var(--ac-gray-light);
|
|
92
|
+
$ac-gray-lighter: var(--ac-gray-lighter);
|
|
93
|
+
$ac-gray-lightest: var(--ac-gray-lightest);
|
|
94
|
+
$white-100-light: var(--ac-white-light);
|
|
95
|
+
$white-100-lighter: var(--ac-white-lighter);
|
|
96
|
+
$white-100-lightest: var(--ac-white-lightest);
|
|
97
|
+
$white-100: var(--ac-white);
|
|
98
|
+
$ac-full-white: var(--ac-full-white);
|
|
99
|
+
|
|
100
|
+
// $info-light: var(--ac-blue-light);
|
|
101
|
+
$ac-bg-light-gray: var(--ac-bg-light-gray);
|
|
102
|
+
$table-header: var(--table-header);
|
|
103
|
+
$ac-label-text: var(--ac-label-text);
|
|
104
|
+
|
|
105
|
+
// for dark theme CSS
|
|
106
|
+
$dark-bg: var(--dark-bg);
|
|
107
|
+
$dark-bg-light: var(--dark-bg-light);
|
|
108
|
+
// ===================================PREVIOUS STYLE========================================
|
|
109
|
+
|
|
110
|
+
// white and black
|
|
111
|
+
$white-100: hsl(0, 0%, 100%);
|
|
112
|
+
$black-100: hsl(0, 0%, 0%);
|
|
113
|
+
|
|
114
|
+
// primary color guides
|
|
115
|
+
$primary-hue: 208;
|
|
116
|
+
$primary-saturation: 77%;
|
|
117
|
+
$primary-5: hsl($primary-hue, $primary-saturation, 5%);
|
|
118
|
+
$primary-10: hsl($primary-hue, $primary-saturation, 10%);
|
|
119
|
+
$primary-20: hsl($primary-hue, $primary-saturation, 20%);
|
|
120
|
+
$primary-30: hsl($primary-hue, $primary-saturation, 30%);
|
|
121
|
+
$primary-40: hsl($primary-hue, $primary-saturation, 40%);
|
|
122
|
+
$primary: hsl($primary-hue, $primary-saturation, 40%);
|
|
123
|
+
$ac-primary: hsl(var(--hsl-hue), var(--hsl-saturation), 40%);
|
|
124
|
+
$primary-50: hsl($primary-hue, $primary-saturation, 50%);
|
|
125
|
+
$primary-60: hsl($primary-hue, $primary-saturation, 60%);
|
|
126
|
+
$primary-70: hsl($primary-hue, $primary-saturation, 70%);
|
|
127
|
+
$primary-80: hsl($primary-hue, $primary-saturation, 80%);
|
|
128
|
+
$primary-90: hsl($primary-hue, $primary-saturation, 90%);
|
|
129
|
+
$primary-93: hsl($primary-hue, $primary-saturation, 93%);
|
|
130
|
+
$primary-95: hsl($primary-hue, $primary-saturation, 95%);
|
|
131
|
+
$primary-97: hsl($primary-hue, $primary-saturation, 97%);
|
|
132
|
+
|
|
133
|
+
// green color guides
|
|
134
|
+
$green-hue: 141;
|
|
135
|
+
$green-saturation: 53%;
|
|
136
|
+
$green-5: hsl($green-hue, $green-saturation, 5%);
|
|
137
|
+
$green-10: hsl($green-hue, $green-saturation, 10%);
|
|
138
|
+
$green-20: hsl($green-hue, $green-saturation, 20%);
|
|
139
|
+
$green-30: hsl($green-hue, $green-saturation, 30%);
|
|
140
|
+
$green-40: hsl($green-hue, $green-saturation, 40%);
|
|
141
|
+
$success: hsl($green-hue, $green-saturation, 40%);
|
|
142
|
+
$green-50: hsl($green-hue, $green-saturation, 50%);
|
|
143
|
+
$green-60: hsl($green-hue, $green-saturation, 60%);
|
|
144
|
+
$green-70: hsl($green-hue, $green-saturation, 70%);
|
|
145
|
+
$green-80: hsl($green-hue, $green-saturation, 80%);
|
|
146
|
+
$green-90: hsl($green-hue, $green-saturation, 90%);
|
|
147
|
+
$green-93: hsl($green-hue, $green-saturation, 93%);
|
|
148
|
+
$green-95: hsl($green-hue, $green-saturation, 95%);
|
|
149
|
+
$green-97: hsl($green-hue, $green-saturation, 97%);
|
|
150
|
+
|
|
151
|
+
// blue color guides
|
|
152
|
+
$blue-hue: 217;
|
|
153
|
+
$blue-saturation: 71%;
|
|
154
|
+
$blue-5: hsl($blue-hue, $blue-saturation, 5%);
|
|
155
|
+
$blue-10: hsl($blue-hue, $blue-saturation, 10%);
|
|
156
|
+
$blue-20: hsl($blue-hue, $blue-saturation, 20%);
|
|
157
|
+
$blue-30: hsl($blue-hue, $blue-saturation, 30%);
|
|
158
|
+
$blue-40: hsl($blue-hue, $blue-saturation, 40%);
|
|
159
|
+
$blue-50: hsl($blue-hue, $blue-saturation, 50%);
|
|
160
|
+
$info: hsl($blue-hue, $blue-saturation, 50%);
|
|
161
|
+
$blue-60: hsl($blue-hue, $blue-saturation, 60%);
|
|
162
|
+
$blue-70: hsl($blue-hue, $blue-saturation, 70%);
|
|
163
|
+
$blue-80: hsl($blue-hue, $blue-saturation, 80%);
|
|
164
|
+
$blue-90: hsl($blue-hue, $blue-saturation, 90%);
|
|
165
|
+
$blue-93: hsl($blue-hue, $blue-saturation, 93%);
|
|
166
|
+
$blue-95: hsl($blue-hue, $blue-saturation, 95%);
|
|
167
|
+
$blue-97: hsl($blue-hue, $blue-saturation, 97%);
|
|
168
|
+
|
|
169
|
+
// purple color guides
|
|
170
|
+
$purple-hue: 286;
|
|
171
|
+
$purple-saturation: 66%;
|
|
172
|
+
$purple-5: hsl($purple-hue, $purple-saturation, 5%);
|
|
173
|
+
$purple-10: hsl($purple-hue, $purple-saturation, 10%);
|
|
174
|
+
$purple-20: hsl($purple-hue, $purple-saturation, 20%);
|
|
175
|
+
$purple-30: hsl($purple-hue, $purple-saturation, 30%);
|
|
176
|
+
$purple-40: hsl($purple-hue, $purple-saturation, 40%);
|
|
177
|
+
$purple: hsl($purple-hue, $purple-saturation, 40%);
|
|
178
|
+
$purple-50: hsl($purple-hue, $purple-saturation, 50%);
|
|
179
|
+
$purple-60: hsl($purple-hue, $purple-saturation, 60%);
|
|
180
|
+
$purple-70: hsl($purple-hue, $purple-saturation, 70%);
|
|
181
|
+
$purple-80: hsl($purple-hue, $purple-saturation, 80%);
|
|
182
|
+
$purple-90: hsl($purple-hue, $purple-saturation, 90%);
|
|
183
|
+
$purple-93: hsl($purple-hue, $purple-saturation, 93%);
|
|
184
|
+
$purple-95: hsl($purple-hue, $purple-saturation, 95%);
|
|
185
|
+
$purple-97: hsl($purple-hue, $purple-saturation, 97%);
|
|
186
|
+
|
|
187
|
+
// yellow color guides
|
|
188
|
+
$yellow-hue: 38;
|
|
189
|
+
$yellow-saturation: 93%;
|
|
190
|
+
$yellow-5: hsl($yellow-hue, $yellow-saturation, 5%);
|
|
191
|
+
$yellow-10: hsl($yellow-hue, $yellow-saturation, 10%);
|
|
192
|
+
$yellow-20: hsl($yellow-hue, $yellow-saturation, 20%);
|
|
193
|
+
$yellow-30: hsl($yellow-hue, $yellow-saturation, 30%);
|
|
194
|
+
$yellow-40: hsl($yellow-hue, $yellow-saturation, 40%);
|
|
195
|
+
$yellow-50: hsl($yellow-hue, $yellow-saturation, 50%);
|
|
196
|
+
$warning: hsl($yellow-hue, $yellow-saturation, 50%);
|
|
197
|
+
$yellow-60: hsl($yellow-hue, $yellow-saturation, 60%);
|
|
198
|
+
$yellow-70: hsl($yellow-hue, $yellow-saturation, 70%);
|
|
199
|
+
$yellow-80: hsl($yellow-hue, $yellow-saturation, 80%);
|
|
200
|
+
$yellow-90: hsl($yellow-hue, $yellow-saturation, 90%);
|
|
201
|
+
$yellow-93: hsl($yellow-hue, $yellow-saturation, 93%);
|
|
202
|
+
$yellow-95: hsl($yellow-hue, $yellow-saturation, 95%);
|
|
203
|
+
$yellow-97: hsl($yellow-hue, $yellow-saturation, 97%);
|
|
204
|
+
|
|
205
|
+
// red color guides
|
|
206
|
+
$red-hue: 348;
|
|
207
|
+
$red-saturation: 100%;
|
|
208
|
+
$red-5: hsl($red-hue, $red-saturation, 5%);
|
|
209
|
+
$red-10: hsl($red-hue, $red-saturation, 10%);
|
|
210
|
+
$red-20: hsl($red-hue, $red-saturation, 20%);
|
|
211
|
+
$red-30: hsl($red-hue, $red-saturation, 30%);
|
|
212
|
+
$red-40: hsl($red-hue, $red-saturation, 40%);
|
|
213
|
+
$red-50: hsl($red-hue, $red-saturation, 50%);
|
|
214
|
+
$danger: hsl($red-hue, $red-saturation, 50%);
|
|
215
|
+
$red-60: hsl($red-hue, $red-saturation, 60%);
|
|
216
|
+
$red-70: hsl($red-hue, $red-saturation, 70%);
|
|
217
|
+
$red-80: hsl($red-hue, $red-saturation, 80%);
|
|
218
|
+
$red-90: hsl($red-hue, $red-saturation, 90%);
|
|
219
|
+
$red-93: hsl($red-hue, $red-saturation, 93%);
|
|
220
|
+
$red-95: hsl($red-hue, $red-saturation, 95%);
|
|
221
|
+
$red-97: hsl($red-hue, $red-saturation, 97%);
|
|
222
|
+
|
|
223
|
+
// black color guides
|
|
224
|
+
$black-hue: 0;
|
|
225
|
+
$black-saturation: 0%;
|
|
226
|
+
$black-5: hsl($black-hue, $black-saturation, 5%);
|
|
227
|
+
$black-10: hsl($black-hue, $black-saturation, 10%);
|
|
228
|
+
$black-20: hsl($black-hue, $black-saturation, 20%);
|
|
229
|
+
$black-30: hsl($black-hue, $black-saturation, 30%);
|
|
230
|
+
$black-40: hsl($black-hue, $black-saturation, 40%);
|
|
231
|
+
$black-50: hsl($black-hue, $black-saturation, 50%);
|
|
232
|
+
$gray: hsl($black-hue, $black-saturation, 50%);
|
|
233
|
+
$black-60: hsl($black-hue, $black-saturation, 60%);
|
|
234
|
+
$black-70: hsl($black-hue, $black-saturation, 70%);
|
|
235
|
+
$black-80: hsl($black-hue, $black-saturation, 80%);
|
|
236
|
+
$black-90: hsl($black-hue, $black-saturation, 90%);
|
|
237
|
+
$black-93: hsl($black-hue, $black-saturation, 93%);
|
|
238
|
+
$black-95: hsl($black-hue, $black-saturation, 95%);
|
|
239
|
+
$black-97: hsl($black-hue, $black-saturation, 97%);
|
|
240
|
+
|
|
241
|
+
// classes
|
|
242
|
+
@mixin generate-color-classes($type, $color, $h, $s, $from, $to, $step) {
|
|
243
|
+
$i: $from;
|
|
244
|
+
|
|
245
|
+
@while $i <=$to {
|
|
246
|
+
.#{$type}-#{$color}-#{$i} {
|
|
247
|
+
#{if($type == "text", "color", "background-color")}: hsl($h, $s, $i * 1%);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
$i: $i + $step;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
// for primary classes
|
|
255
|
+
@include generate-color-classes("text",
|
|
256
|
+
"primary",
|
|
257
|
+
$primary-hue,
|
|
258
|
+
$primary-saturation,
|
|
259
|
+
10,
|
|
260
|
+
90,
|
|
261
|
+
10);
|
|
262
|
+
|
|
263
|
+
@include generate-color-classes("bg",
|
|
264
|
+
"primary",
|
|
265
|
+
$primary-hue,
|
|
266
|
+
$primary-saturation,
|
|
267
|
+
10,
|
|
268
|
+
90,
|
|
269
|
+
10);
|
|
270
|
+
|
|
271
|
+
@include generate-color-classes("text",
|
|
272
|
+
"primary",
|
|
273
|
+
$primary-hue,
|
|
274
|
+
$primary-saturation,
|
|
275
|
+
5,
|
|
276
|
+
5,
|
|
277
|
+
1);
|
|
278
|
+
|
|
279
|
+
@include generate-color-classes("bg",
|
|
280
|
+
"primary",
|
|
281
|
+
$primary-hue,
|
|
282
|
+
$primary-saturation,
|
|
283
|
+
5,
|
|
284
|
+
5,
|
|
285
|
+
1);
|
|
286
|
+
|
|
287
|
+
@include generate-color-classes("text",
|
|
288
|
+
"primary",
|
|
289
|
+
$primary-hue,
|
|
290
|
+
$primary-saturation,
|
|
291
|
+
93,
|
|
292
|
+
97,
|
|
293
|
+
2);
|
|
294
|
+
|
|
295
|
+
@include generate-color-classes("bg",
|
|
296
|
+
"primary",
|
|
297
|
+
$primary-hue,
|
|
298
|
+
$primary-saturation,
|
|
299
|
+
93,
|
|
300
|
+
97,
|
|
301
|
+
2);
|
|
302
|
+
|
|
303
|
+
// for green classes
|
|
304
|
+
@include generate-color-classes("text",
|
|
305
|
+
"green",
|
|
306
|
+
$green-hue,
|
|
307
|
+
$green-saturation,
|
|
308
|
+
10,
|
|
309
|
+
90,
|
|
310
|
+
10);
|
|
311
|
+
@include generate-color-classes("bg",
|
|
312
|
+
"green",
|
|
313
|
+
$green-hue,
|
|
314
|
+
$green-saturation,
|
|
315
|
+
10,
|
|
316
|
+
90,
|
|
317
|
+
10);
|
|
318
|
+
|
|
319
|
+
@include generate-color-classes("text",
|
|
320
|
+
"green",
|
|
321
|
+
$green-hue,
|
|
322
|
+
$green-saturation,
|
|
323
|
+
5,
|
|
324
|
+
5,
|
|
325
|
+
1);
|
|
326
|
+
|
|
327
|
+
@include generate-color-classes("bg",
|
|
328
|
+
"green",
|
|
329
|
+
$green-hue,
|
|
330
|
+
$green-saturation,
|
|
331
|
+
5,
|
|
332
|
+
5,
|
|
333
|
+
1);
|
|
334
|
+
|
|
335
|
+
@include generate-color-classes("text",
|
|
336
|
+
"green",
|
|
337
|
+
$green-hue,
|
|
338
|
+
$green-saturation,
|
|
339
|
+
93,
|
|
340
|
+
97,
|
|
341
|
+
2);
|
|
342
|
+
|
|
343
|
+
@include generate-color-classes("bg",
|
|
344
|
+
"green",
|
|
345
|
+
$green-hue,
|
|
346
|
+
$green-saturation,
|
|
347
|
+
93,
|
|
348
|
+
97,
|
|
349
|
+
2);
|
|
350
|
+
|
|
351
|
+
// for purple classes
|
|
352
|
+
@include generate-color-classes("text",
|
|
353
|
+
"purple",
|
|
354
|
+
$purple-hue,
|
|
355
|
+
$purple-saturation,
|
|
356
|
+
10,
|
|
357
|
+
90,
|
|
358
|
+
10);
|
|
359
|
+
@include generate-color-classes("bg",
|
|
360
|
+
"purple",
|
|
361
|
+
$purple-hue,
|
|
362
|
+
$purple-saturation,
|
|
363
|
+
10,
|
|
364
|
+
90,
|
|
365
|
+
10);
|
|
366
|
+
|
|
367
|
+
@include generate-color-classes("text",
|
|
368
|
+
"purple",
|
|
369
|
+
$purple-hue,
|
|
370
|
+
$purple-saturation,
|
|
371
|
+
5,
|
|
372
|
+
5,
|
|
373
|
+
1);
|
|
374
|
+
|
|
375
|
+
@include generate-color-classes("bg",
|
|
376
|
+
"purple",
|
|
377
|
+
$purple-hue,
|
|
378
|
+
$purple-saturation,
|
|
379
|
+
5,
|
|
380
|
+
5,
|
|
381
|
+
1);
|
|
382
|
+
|
|
383
|
+
@include generate-color-classes("text",
|
|
384
|
+
"purple",
|
|
385
|
+
$purple-hue,
|
|
386
|
+
$purple-saturation,
|
|
387
|
+
93,
|
|
388
|
+
97,
|
|
389
|
+
2);
|
|
390
|
+
|
|
391
|
+
@include generate-color-classes("bg",
|
|
392
|
+
"purple",
|
|
393
|
+
$purple-hue,
|
|
394
|
+
$purple-saturation,
|
|
395
|
+
93,
|
|
396
|
+
97,
|
|
397
|
+
2);
|
|
398
|
+
|
|
399
|
+
// Box Shadow
|
|
400
|
+
$ac-shadow-1: 0 1px 4px rgba(26, 80, 151, 0.16);
|
|
401
|
+
$ac-shadow-2: 0px 8px 57px rgba(0, 0, 0, 0.16);
|
|
402
|
+
$ac-shadow-3: 0 3px 4px 0 rgba(0, 0, 0, 0.18),
|
|
403
|
+
0 3px 3px -2px rgba(0, 0, 0, 0.16), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
|
|
404
|
+
|
|
405
|
+
$shadow-sm: 0 1px 4px rgba(26, 80, 151, 0.16);
|
|
406
|
+
$shadow-xl: 0px 8px 57px rgba(0, 0, 0, 0.16);
|
|
407
|
+
$shadow-lg: 0 3px 4px 0 rgba(0, 0, 0, 0.18), 0 3px 3px -2px rgba(0, 0, 0, 0.16),
|
|
408
|
+
0 1px 6px 0 rgba(0, 0, 0, 0.12);
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
$primary : hsl(208, 77%, 42%);
|
|
2
|
-
|
|
3
1
|
// Colors
|
|
4
2
|
// $black: hsl(0, 0%, 4%) !default;
|
|
5
3
|
// $black-bis: hsl(0, 0%, 7%) !default;
|
|
@@ -16,33 +14,33 @@ $primary : hsl(208, 77%, 42%);
|
|
|
16
14
|
// $white-bis: hsl(0, 0%, 98%) !default;
|
|
17
15
|
// $white: hsl(0, 0%, 100%) !default;
|
|
18
16
|
|
|
19
|
-
$orange: hsl(30, 100%, 50%) !default;
|
|
20
|
-
$yellow: hsl(38, 93%, 57%) !default;
|
|
21
|
-
$green: hsl(147, 73%, 31%) !default;
|
|
17
|
+
// $orange: hsl(30, 100%, 50%) !default;
|
|
18
|
+
// $yellow: hsl(38, 93%, 57%) !default;
|
|
19
|
+
// $green: hsl(147, 73%, 31%) !default;
|
|
22
20
|
// $turquoise: hsl(171, 100%, 41%) !default;
|
|
23
21
|
// $cyan: hsl(207, 61%, 53%) !default;
|
|
24
22
|
// $blue: hsl(229, 53%, 53%) !default;
|
|
25
|
-
$purple: hsl(286, 66%, 35%) !default;
|
|
26
|
-
$red: hsl(4, 100%, 58%) !default;
|
|
23
|
+
// $purple: hsl(286, 66%, 35%) !default;
|
|
24
|
+
// $red: hsl(4, 100%, 58%) !default;
|
|
27
25
|
|
|
28
26
|
// // Typography
|
|
29
27
|
// $family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default;
|
|
30
28
|
// $family-monospace: monospace !default;
|
|
31
29
|
// $render-mode: optimizeLegibility !default;
|
|
32
30
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
31
|
+
$size-1: 2.462rem !default; //32px
|
|
32
|
+
$size-2: 2rem !default; //26px
|
|
33
|
+
$size-3: 1.692rem !default; //22px
|
|
34
|
+
$size-4: 1.385rem !default; //18px
|
|
35
|
+
$size-5: 1.213rem !default; //16px
|
|
36
|
+
$size-6: 1rem !default; //13px
|
|
37
|
+
$size-7: 0.846rem !default; //11px
|
|
40
38
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
$weight-light: 300 !default;
|
|
40
|
+
$weight-normal: 400 !default;
|
|
41
|
+
$weight-medium: 500 !default;
|
|
42
|
+
$weight-semibold: 600 !default;
|
|
43
|
+
$weight-bold: 700 !default;
|
|
46
44
|
|
|
47
45
|
// // Spacing
|
|
48
46
|
// $block-spacing: 1.5rem !default;
|
|
@@ -74,16 +72,14 @@ $red: hsl(4, 100%, 58%) !default;
|
|
|
74
72
|
// $variable-columns: true !default;
|
|
75
73
|
// $rtl: false !default;
|
|
76
74
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
// // Derived-Variables
|
|
75
|
+
// // Derived-Variables
|
|
80
76
|
|
|
81
77
|
// $primary: $turquoise !default;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
78
|
+
$primary: $primary !default;
|
|
79
|
+
$info: $blue !default;
|
|
80
|
+
$success: $success !default;
|
|
81
|
+
$warning: $warning !default;
|
|
82
|
+
$danger: $danger !default;
|
|
87
83
|
|
|
88
84
|
// $light: $white-ter !default;
|
|
89
85
|
// $dark: $grey-darker !default;
|