@appscode/design-system 1.1.0-beta.6 → 1.1.0-beta.8

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.
@@ -59,30 +59,22 @@
59
59
  --font-hsl-saturation: 0%;
60
60
  --font-hsl-lightness: 11%;
61
61
 
62
- --ac-primary: hsla(
63
- var(--hsl-hue),
64
- var(--hsl-saturation),
65
- var(--hsl-lightness),
66
- 1
67
- );
68
-
69
- --ac-text: hsla(
70
- var(--font-hsl-hue),
71
- calc(var(--font-hsl-saturation) + 10%),
72
- calc(var(--font-hsl-lightness) + 10%),
73
- 1
74
- );
75
- --ac-text-heading: hsla(
76
- var(--font-hsl-hue),
77
- var(--font-hsl-saturation),
78
- var(--font-hsl-lightness),
79
- 1
80
- );
81
- --ac-color-value: hsl(
82
- var(--font-hsl-hue),
83
- var(--font-hsl-saturation),
84
- calc(var(--font-hsl-lightness) + 25%)
85
- );
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%));
86
78
  }
87
79
 
88
80
  $ac-bg: var(--ac-bg);
@@ -129,12 +121,12 @@ $primary-30: hsl($primary-hue, $primary-saturation, 30%);
129
121
  $primary-40: hsl($primary-hue, $primary-saturation, 40%);
130
122
  $primary: hsl($primary-hue, $primary-saturation, 40%);
131
123
  $ac-primary: hsl(var(--hsl-hue), var(--hsl-saturation), 40%);
132
-
133
124
  $primary-50: hsl($primary-hue, $primary-saturation, 50%);
134
125
  $primary-60: hsl($primary-hue, $primary-saturation, 60%);
135
126
  $primary-70: hsl($primary-hue, $primary-saturation, 70%);
136
127
  $primary-80: hsl($primary-hue, $primary-saturation, 80%);
137
128
  $primary-90: hsl($primary-hue, $primary-saturation, 90%);
129
+ $primary-93: hsl($primary-hue, $primary-saturation, 93%);
138
130
  $primary-95: hsl($primary-hue, $primary-saturation, 95%);
139
131
  $primary-97: hsl($primary-hue, $primary-saturation, 97%);
140
132
 
@@ -152,6 +144,7 @@ $green-60: hsl($green-hue, $green-saturation, 60%);
152
144
  $green-70: hsl($green-hue, $green-saturation, 70%);
153
145
  $green-80: hsl($green-hue, $green-saturation, 80%);
154
146
  $green-90: hsl($green-hue, $green-saturation, 90%);
147
+ $green-93: hsl($green-hue, $green-saturation, 93%);
155
148
  $green-95: hsl($green-hue, $green-saturation, 95%);
156
149
  $green-97: hsl($green-hue, $green-saturation, 97%);
157
150
 
@@ -169,6 +162,7 @@ $blue-60: hsl($blue-hue, $blue-saturation, 60%);
169
162
  $blue-70: hsl($blue-hue, $blue-saturation, 70%);
170
163
  $blue-80: hsl($blue-hue, $blue-saturation, 80%);
171
164
  $blue-90: hsl($blue-hue, $blue-saturation, 90%);
165
+ $blue-93: hsl($blue-hue, $blue-saturation, 93%);
172
166
  $blue-95: hsl($blue-hue, $blue-saturation, 95%);
173
167
  $blue-97: hsl($blue-hue, $blue-saturation, 97%);
174
168
 
@@ -186,6 +180,7 @@ $purple-60: hsl($purple-hue, $purple-saturation, 60%);
186
180
  $purple-70: hsl($purple-hue, $purple-saturation, 70%);
187
181
  $purple-80: hsl($purple-hue, $purple-saturation, 80%);
188
182
  $purple-90: hsl($purple-hue, $purple-saturation, 90%);
183
+ $purple-93: hsl($purple-hue, $purple-saturation, 93%);
189
184
  $purple-95: hsl($purple-hue, $purple-saturation, 95%);
190
185
  $purple-97: hsl($purple-hue, $purple-saturation, 97%);
191
186
 
@@ -203,6 +198,7 @@ $yellow-60: hsl($yellow-hue, $yellow-saturation, 60%);
203
198
  $yellow-70: hsl($yellow-hue, $yellow-saturation, 70%);
204
199
  $yellow-80: hsl($yellow-hue, $yellow-saturation, 80%);
205
200
  $yellow-90: hsl($yellow-hue, $yellow-saturation, 90%);
201
+ $yellow-93: hsl($yellow-hue, $yellow-saturation, 93%);
206
202
  $yellow-95: hsl($yellow-hue, $yellow-saturation, 95%);
207
203
  $yellow-97: hsl($yellow-hue, $yellow-saturation, 97%);
208
204
 
@@ -220,6 +216,7 @@ $red-60: hsl($red-hue, $red-saturation, 60%);
220
216
  $red-70: hsl($red-hue, $red-saturation, 70%);
221
217
  $red-80: hsl($red-hue, $red-saturation, 80%);
222
218
  $red-90: hsl($red-hue, $red-saturation, 90%);
219
+ $red-93: hsl($red-hue, $red-saturation, 93%);
223
220
  $red-95: hsl($red-hue, $red-saturation, 95%);
224
221
  $red-97: hsl($red-hue, $red-saturation, 97%);
225
222
 
@@ -237,6 +234,7 @@ $black-60: hsl($black-hue, $black-saturation, 60%);
237
234
  $black-70: hsl($black-hue, $black-saturation, 70%);
238
235
  $black-80: hsl($black-hue, $black-saturation, 80%);
239
236
  $black-90: hsl($black-hue, $black-saturation, 90%);
237
+ $black-93: hsl($black-hue, $black-saturation, 93%);
240
238
  $black-95: hsl($black-hue, $black-saturation, 95%);
241
239
  $black-97: hsl($black-hue, $black-saturation, 97%);
242
240
 
@@ -254,185 +252,149 @@ $black-97: hsl($black-hue, $black-saturation, 97%);
254
252
  }
255
253
 
256
254
  // for primary classes
257
- @include generate-color-classes(
258
- "text",
255
+ @include generate-color-classes("text",
259
256
  "primary",
260
257
  $primary-hue,
261
258
  $primary-saturation,
262
259
  10,
263
260
  90,
264
- 10
265
- );
261
+ 10);
266
262
 
267
- @include generate-color-classes(
268
- "bg",
263
+ @include generate-color-classes("bg",
269
264
  "primary",
270
265
  $primary-hue,
271
266
  $primary-saturation,
272
267
  10,
273
268
  90,
274
- 10
275
- );
269
+ 10);
276
270
 
277
- @include generate-color-classes(
278
- "text",
271
+ @include generate-color-classes("text",
279
272
  "primary",
280
273
  $primary-hue,
281
274
  $primary-saturation,
282
275
  5,
283
276
  5,
284
- 1
285
- );
277
+ 1);
286
278
 
287
- @include generate-color-classes(
288
- "bg",
279
+ @include generate-color-classes("bg",
289
280
  "primary",
290
281
  $primary-hue,
291
282
  $primary-saturation,
292
283
  5,
293
284
  5,
294
- 1
295
- );
285
+ 1);
296
286
 
297
- @include generate-color-classes(
298
- "text",
287
+ @include generate-color-classes("text",
299
288
  "primary",
300
289
  $primary-hue,
301
290
  $primary-saturation,
302
- 95,
291
+ 93,
303
292
  97,
304
- 2
305
- );
293
+ 2);
306
294
 
307
- @include generate-color-classes(
308
- "bg",
295
+ @include generate-color-classes("bg",
309
296
  "primary",
310
297
  $primary-hue,
311
298
  $primary-saturation,
312
- 95,
299
+ 93,
313
300
  97,
314
- 2
315
- );
301
+ 2);
316
302
 
317
303
  // for green classes
318
- @include generate-color-classes(
319
- "text",
304
+ @include generate-color-classes("text",
320
305
  "green",
321
306
  $green-hue,
322
307
  $green-saturation,
323
308
  10,
324
309
  90,
325
- 10
326
- );
327
- @include generate-color-classes(
328
- "bg",
310
+ 10);
311
+ @include generate-color-classes("bg",
329
312
  "green",
330
313
  $green-hue,
331
314
  $green-saturation,
332
315
  10,
333
316
  90,
334
- 10
335
- );
317
+ 10);
336
318
 
337
- @include generate-color-classes(
338
- "text",
319
+ @include generate-color-classes("text",
339
320
  "green",
340
321
  $green-hue,
341
322
  $green-saturation,
342
323
  5,
343
324
  5,
344
- 1
345
- );
325
+ 1);
346
326
 
347
- @include generate-color-classes(
348
- "bg",
327
+ @include generate-color-classes("bg",
349
328
  "green",
350
329
  $green-hue,
351
330
  $green-saturation,
352
331
  5,
353
332
  5,
354
- 1
355
- );
333
+ 1);
356
334
 
357
- @include generate-color-classes(
358
- "text",
335
+ @include generate-color-classes("text",
359
336
  "green",
360
337
  $green-hue,
361
338
  $green-saturation,
362
- 95,
339
+ 93,
363
340
  97,
364
- 2
365
- );
341
+ 2);
366
342
 
367
- @include generate-color-classes(
368
- "bg",
343
+ @include generate-color-classes("bg",
369
344
  "green",
370
345
  $green-hue,
371
346
  $green-saturation,
372
- 95,
347
+ 93,
373
348
  97,
374
- 2
375
- );
349
+ 2);
376
350
 
377
351
  // for purple classes
378
- @include generate-color-classes(
379
- "text",
352
+ @include generate-color-classes("text",
380
353
  "purple",
381
354
  $purple-hue,
382
355
  $purple-saturation,
383
356
  10,
384
357
  90,
385
- 10
386
- );
387
- @include generate-color-classes(
388
- "bg",
358
+ 10);
359
+ @include generate-color-classes("bg",
389
360
  "purple",
390
361
  $purple-hue,
391
362
  $purple-saturation,
392
363
  10,
393
364
  90,
394
- 10
395
- );
365
+ 10);
396
366
 
397
- @include generate-color-classes(
398
- "text",
367
+ @include generate-color-classes("text",
399
368
  "purple",
400
369
  $purple-hue,
401
370
  $purple-saturation,
402
371
  5,
403
372
  5,
404
- 1
405
- );
373
+ 1);
406
374
 
407
- @include generate-color-classes(
408
- "bg",
375
+ @include generate-color-classes("bg",
409
376
  "purple",
410
377
  $purple-hue,
411
378
  $purple-saturation,
412
379
  5,
413
380
  5,
414
- 1
415
- );
381
+ 1);
416
382
 
417
- @include generate-color-classes(
418
- "text",
383
+ @include generate-color-classes("text",
419
384
  "purple",
420
385
  $purple-hue,
421
386
  $purple-saturation,
422
- 95,
387
+ 93,
423
388
  97,
424
- 2
425
- );
389
+ 2);
426
390
 
427
- @include generate-color-classes(
428
- "bg",
391
+ @include generate-color-classes("bg",
429
392
  "purple",
430
393
  $purple-hue,
431
394
  $purple-saturation,
432
- 95,
395
+ 93,
433
396
  97,
434
- 2
435
- );
397
+ 2);
436
398
 
437
399
  // Box Shadow
438
400
  $ac-shadow-1: 0 1px 4px rgba(26, 80, 151, 0.16);
@@ -443,4 +405,4 @@ $ac-shadow-3: 0 3px 4px 0 rgba(0, 0, 0, 0.18),
443
405
  $shadow-sm: 0 1px 4px rgba(26, 80, 151, 0.16);
444
406
  $shadow-xl: 0px 8px 57px rgba(0, 0, 0, 0.16);
445
407
  $shadow-lg: 0 3px 4px 0 rgba(0, 0, 0, 0.18), 0 3px 3px -2px rgba(0, 0, 0, 0.16),
446
- 0 1px 6px 0 rgba(0, 0, 0, 0.12);
408
+ 0 1px 6px 0 rgba(0, 0, 0, 0.12);
@@ -188,6 +188,7 @@ hr {
188
188
  align-items: center;
189
189
  }
190
190
 
191
+
191
192
  .ac-hscrollbar {
192
193
  padding: 15px;
193
194
  transition: 0.3s ease-in-out;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "1.1.0-beta.6",
3
+ "version": "1.1.0-beta.8",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -7,7 +7,7 @@
7
7
  v-if="isPreviewLoading || (!isPreviewLoading && previewYamls)"
8
8
  class="left-content"
9
9
  >
10
- <div class="ac-files ac-hscrollbar pt-0">
10
+ <div class="ac-files ac-hscrollbar ac-vscrollbar pt-0">
11
11
  <ul v-if="!isPreviewLoading">
12
12
  <li
13
13
  v-for="(previewYaml, idx) in filteredYamls"
@@ -59,8 +59,8 @@
59
59
  </div>
60
60
  </template>
61
61
  <script>
62
- import Preloader from "../preloader/Preloader.vue";
63
62
  import Banner from "../banner/Banner.vue";
63
+ import Preloader from "../preloader/Preloader.vue";
64
64
  export default {
65
65
  components: {
66
66
  Editor: () => ({
@@ -228,6 +228,7 @@ export default {
228
228
  &:active,
229
229
  &:focus-visible {
230
230
  border: 1px solid $primary;
231
+ outline: none;
231
232
  }
232
233
  }
233
234
  }
@@ -65,6 +65,9 @@ const OptionDots = defineAsyncComponent(
65
65
  transition: 0.3s ease-in-out;
66
66
  position: relative;
67
67
  z-index: 1;
68
+ width: calc(33% - 6px);
69
+ min-width: 455px;
70
+ max-width: 530px;
68
71
 
69
72
  .c-header {
70
73
  display: flex;
@@ -137,7 +137,7 @@ watch(
137
137
  </strong>
138
138
  <template v-else>
139
139
  <div v-if="!isPreviewLoading && previewYamls" class="left-content">
140
- <div class="ac-files ac-hscrollbar pt-0">
140
+ <div class="ac-files ac-hscrollbar ac-vscrollbar pt-0">
141
141
  <ul v-if="!isPreviewLoading">
142
142
  <li
143
143
  v-for="(previewYaml, idx) in filteredYamls"
@@ -41,7 +41,7 @@ withDefaults(defineProps<Props>(), {
41
41
  <style lang="scss" scoped>
42
42
  .inner-header {
43
43
  padding: 6px 20px;
44
- border-bottom: 1px solid $primary-90;
44
+ border-bottom: 1px solid $primary-93;
45
45
  position: sticky;
46
46
  background: $white-100;
47
47
  z-index: 99;
@@ -397,6 +397,8 @@ watch(
397
397
  font-weight: 500;
398
398
  line-height: 1.5;
399
399
  // padding-bottom: 4px;
400
+ display: flex;
401
+ align-items: center;
400
402
 
401
403
  &::placeholder {
402
404
  font-weight: 500;
@@ -465,6 +467,8 @@ watch(
465
467
  font-weight: 500;
466
468
  line-height: 1.5;
467
469
  // padding-bottom: 4px;
470
+ display: flex;
471
+ align-items: center;
468
472
 
469
473
  &::placeholder {
470
474
  font-weight: 500;
@@ -91,7 +91,7 @@ const isFullTableLoaderActive = computed(() => {
91
91
  // INFO TABLE START
92
92
  .table.ac-info-table {
93
93
  background-color: transparent;
94
- border-top: 1px solid $primary-95;
94
+ border-top: 1px solid $primary-93;
95
95
 
96
96
  &.is-fullwidth {
97
97
  tbody {
@@ -490,9 +490,9 @@ onUpdated(() => {
490
490
  thead {
491
491
  tr {
492
492
  th {
493
- border-top: 1px solid $primary-95;
494
- border-bottom: 1px solid $primary-95;
495
- border-right: 1px solid $primary-95;
493
+ border-top: 1px solid $primary-93;
494
+ border-bottom: 1px solid $primary-93;
495
+ border-right: 1px solid $primary-93;
496
496
  background-color: $primary-97;
497
497
 
498
498
  &:first-child {
@@ -515,8 +515,8 @@ onUpdated(() => {
515
515
  font-size: 13px;
516
516
  color: $primary-20;
517
517
  background-color: transparent;
518
- border-bottom: 1px solid $primary-95;
519
- border-right: 1px solid $primary-95;
518
+ border-bottom: 1px solid $primary-93;
519
+ border-right: 1px solid $primary-93;
520
520
  &:last-child {
521
521
  border-right: 1px solid transparent;
522
522
  }