@appscode/design-system 2.0.2 → 2.0.5

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.
@@ -305,6 +305,67 @@ $black-97: hsl($black-hue, $black-saturation, 97%);
305
305
  2
306
306
  );
307
307
 
308
+
309
+ // for yellow classes
310
+ @include generate-color-classes(
311
+ "text",
312
+ "yellow",
313
+ $yellow-hue,
314
+ $yellow-saturation,
315
+ 10,
316
+ 90,
317
+ 10
318
+ );
319
+ @include generate-color-classes(
320
+ "bg",
321
+ "yellow",
322
+ $yellow-hue,
323
+ $yellow-saturation,
324
+ 10,
325
+ 90,
326
+ 10
327
+ );
328
+
329
+ @include generate-color-classes(
330
+ "text",
331
+ "yellow",
332
+ $yellow-hue,
333
+ $yellow-saturation,
334
+ 5,
335
+ 5,
336
+ 1
337
+ );
338
+
339
+ @include generate-color-classes(
340
+ "bg",
341
+ "yellow",
342
+ $yellow-hue,
343
+ $yellow-saturation,
344
+ 5,
345
+ 5,
346
+ 1
347
+ );
348
+
349
+ @include generate-color-classes(
350
+ "text",
351
+ "yellow",
352
+ $yellow-hue,
353
+ $yellow-saturation,
354
+ 93,
355
+ 97,
356
+ 2
357
+ );
358
+
359
+ @include generate-color-classes(
360
+ "bg",
361
+ "yellow",
362
+ $yellow-hue,
363
+ $yellow-saturation,
364
+ 93,
365
+ 97,
366
+ 2
367
+ );
368
+
308
369
  // for purple classes
309
370
  @include generate-color-classes(
310
371
  "text",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "2.0.2",
3
+ "version": "2.0.5",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -28,10 +28,7 @@ withDefaults(defineProps<Props>(), {
28
28
  >
29
29
  <slot />
30
30
  </div>
31
- <div
32
- class="form-footer b-t-1 pt-10 pb-10 pl-20 pr-20 mt-15"
33
- v-if="hasFooter"
34
- >
31
+ <div class="form-footer pt-8 pb-8 pl-20 mt-16 b-t-1" v-if="hasFooter">
35
32
  <div
36
33
  class="ac-vcentered"
37
34
  :class="{
@@ -1,14 +1,16 @@
1
1
  <script setup lang="ts">
2
2
  import { defineAsyncComponent } from "vue";
3
+
3
4
  interface Props {
4
5
  isColorpickerEnabled?: boolean;
5
- hideBorder?: boolean;
6
+ hideFooter?: boolean;
6
7
  }
7
8
 
8
9
  withDefaults(defineProps<Props>(), {
9
10
  isColorpickerEnabled: false,
10
- hideBorder: false,
11
+ hideFooter: false,
11
12
  });
13
+
12
14
  defineEmits(["toggleSidebar"]);
13
15
  const AccentColorPicker = defineAsyncComponent(
14
16
  () => import("./AccentColorPicker.vue")
@@ -16,10 +18,11 @@ const AccentColorPicker = defineAsyncComponent(
16
18
  </script>
17
19
 
18
20
  <template>
19
- <div class="sidebar-footer" :class="{ 'b-t-n': hideBorder }">
21
+ <div class="sidebar-footer" :class="{ 'b-t-n': hideFooter }">
20
22
  <!-- back button -->
21
23
  <button
22
24
  class="back-button is-transparent"
25
+ :class="{ 'back-button-hide': hideFooter }"
23
26
  data-testid="sidebar-footer-back-button"
24
27
  @click="$emit('toggleSidebar')"
25
28
  >
@@ -64,6 +67,13 @@ const AccentColorPicker = defineAsyncComponent(
64
67
  height: 30px;
65
68
  border-top: 1px solid #3d5e7c;
66
69
 
70
+ .back-button-hide {
71
+ display: none !important;
72
+ color: $primary-20;
73
+ margin-bottom: 10px !important;
74
+ background-color: transparent;
75
+ }
76
+
67
77
  .back-button {
68
78
  display: flex;
69
79
  padding: 5px 16px;