@appscode/design-system 2.0.59 → 2.0.60

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.
Files changed (152) hide show
  1. package/package.json +1 -1
  2. package/plugins/theme.js +2 -5
  3. package/plugins/time-convert.js +5 -9
  4. package/plugins/vue-toaster.js +2 -1
  5. package/vue-components/plugins/time-convert.js +2 -6
  6. package/vue-components/styles/base/utilities/_colors.scss +20 -26
  7. package/vue-components/styles/base/utilities/_generate-color-classes.scss +41 -233
  8. package/vue-components/styles/base/utilities/_global.scss +13 -14
  9. package/vue-components/styles/base/utilities/_layouts.scss +1 -2
  10. package/vue-components/styles/base/utilities/_mixin.scss +8 -46
  11. package/vue-components/styles/base/utilities/_root-variables.scss +1 -1
  12. package/vue-components/styles/base/utilities/_spacing.scss +1 -1
  13. package/vue-components/styles/base/utilities/_typography.scss +1 -1
  14. package/vue-components/styles/components/_ac-drag.scss +1 -1
  15. package/vue-components/styles/components/_badge-tags.scss +75 -0
  16. package/vue-components/styles/components/_card-body-wrapper.scss +1 -1
  17. package/vue-components/styles/components/_pagination.scss +2 -2
  18. package/vue-components/styles/components/_preview-modal.scss +3 -3
  19. package/vue-components/styles/components/_progress-bar.scss +3 -3
  20. package/vue-components/styles/components/_table.scss +3 -3
  21. package/vue-components/styles/components/_tabs.scss +2 -2
  22. package/vue-components/styles/components/_terminal.scss +4 -4
  23. package/vue-components/styles/components/_wizard.scss +3 -3
  24. package/vue-components/styles/components/ac-toaster/_ac-toasted.scss +10 -5
  25. package/vue-components/styles/components/alert/_alert.scss +2 -12
  26. package/vue-components/styles/components/alert/_toast.scss +1 -1
  27. package/vue-components/styles/components/bbum/_all.scss +1 -1
  28. package/vue-components/styles/components/bbum/_card-team.scss +1 -6
  29. package/vue-components/styles/components/bbum/_information-center.scss +4 -4
  30. package/vue-components/styles/components/bbum/_mobile-desktop.scss +10 -5
  31. package/vue-components/styles/components/bbum/_user-profile.scss +1 -1
  32. package/vue-components/styles/components/cards/_info.scss +1 -7
  33. package/vue-components/styles/components/editor/_filtered-file-editor.scss +3 -3
  34. package/vue-components/styles/components/editor/_monaco-editor.scss +1 -1
  35. package/vue-components/styles/components/form-fields/_input-card.scss +2 -2
  36. package/vue-components/styles/components/form-fields/_input.scss +3 -3
  37. package/vue-components/styles/components/navbar/_menu-content.scss +1 -2
  38. package/vue-components/styles/components/select-box/_ac-select-box.scss +2 -2
  39. package/vue-components/styles/components/select-box/_multi-select.scss +4 -9
  40. package/vue-components/styles/components/sidebar/_left-sidebar.scss +2 -2
  41. package/vue-components/styles/components/ui-builder/_ui-builder.scss +1 -1
  42. package/vue-components/styles/components/ui-builder/_vue-open-api.scss +5 -10
  43. package/vue-components/styles/layouts/_code-preview.scss +2 -2
  44. package/vue-components/styles/theme/_dark.scss +1 -1
  45. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +14 -27
  46. package/vue-components/v2/button/Button.vue +2 -7
  47. package/vue-components/v2/button/DownloadBtn.vue +9 -9
  48. package/vue-components/v2/card/CardContent.vue +1 -1
  49. package/vue-components/v2/card/CardHeader.vue +2 -4
  50. package/vue-components/v2/card/PaymentCard.vue +1 -1
  51. package/vue-components/v2/card/PaymentCardOptionButtons.vue +1 -1
  52. package/vue-components/v2/card/PaymentCards.vue +15 -11
  53. package/vue-components/v2/content/ContentHeader.vue +6 -6
  54. package/vue-components/v2/editor/Editor.vue +2 -11
  55. package/vue-components/v2/editor/FilteredFileEditor.vue +5 -17
  56. package/vue-components/v2/editor/MonacoEditor.vue +5 -12
  57. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +4 -14
  58. package/vue-components/v2/form/Form.vue +9 -12
  59. package/vue-components/v2/header/Header.vue +1 -4
  60. package/vue-components/v2/loaders/ResourceLoader.vue +5 -5
  61. package/vue-components/v2/loaders/SidebarLoader.vue +5 -5
  62. package/vue-components/v2/modal/Modal.vue +2 -7
  63. package/vue-components/v2/modals/DeleteConfirmationModal.vue +1 -6
  64. package/vue-components/v2/modals/JsonShowModal.vue +3 -15
  65. package/vue-components/v2/navbar/Appdrawer.vue +2 -10
  66. package/vue-components/v2/navbar/ThemeMode.vue +12 -18
  67. package/vue-components/v2/navbar/User.vue +19 -82
  68. package/vue-components/v2/notification/Notification.vue +3 -12
  69. package/vue-components/v2/notification/NotificationItem.vue +1 -3
  70. package/vue-components/v2/pagination/Pagination.vue +5 -26
  71. package/vue-components/v2/preloader/Preloader.vue +5 -5
  72. package/vue-components/v2/searchbars/SearchBar.vue +1 -7
  73. package/vue-components/v2/sidebar/ClusterSwitcher.vue +2 -2
  74. package/vue-components/v2/sidebar/SidebarItem.vue +2 -10
  75. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +1 -2
  76. package/vue-components/v2/table/FakeTableCell.vue +1 -2
  77. package/vue-components/v2/table/InfoTable.vue +4 -10
  78. package/vue-components/v2/table/Table.vue +16 -64
  79. package/vue-components/v2/table/TableRow.vue +3 -15
  80. package/vue-components/v2/table/table-cell/ArrayCell.vue +3 -9
  81. package/vue-components/v2/table/table-cell/CellValue.vue +1 -2
  82. package/vue-components/v2/table/table-cell/GenericCell.vue +8 -8
  83. package/vue-components/v2/table/table-cell/ObjectCell.vue +2 -6
  84. package/vue-components/v2/table/table-cell/ValueWithModal.vue +1 -6
  85. package/vue-components/v3/alert/AlertMessage.vue +1 -5
  86. package/vue-components/v3/alert/Toast.vue +1 -4
  87. package/vue-components/v3/badge-tags/Badge.vue +24 -0
  88. package/vue-components/v3/badge-tags/Tag.vue +26 -0
  89. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +6 -24
  90. package/vue-components/v3/button/Button.vue +2 -11
  91. package/vue-components/v3/cards/CardHeader.vue +1 -3
  92. package/vue-components/v3/cards/Cluster.vue +3 -9
  93. package/vue-components/v3/cards/Counter.vue +1 -4
  94. package/vue-components/v3/cards/FeatureCard.vue +1 -6
  95. package/vue-components/v3/cards/FeatureCards.vue +1 -5
  96. package/vue-components/v3/cards/InfoCard.vue +10 -30
  97. package/vue-components/v3/cards/Monitoring.vue +3 -15
  98. package/vue-components/v3/cards/OrgCard.vue +7 -26
  99. package/vue-components/v3/cards/OverviewCards.vue +1 -3
  100. package/vue-components/v3/cards/Payment.vue +1 -4
  101. package/vue-components/v3/content/ContentHeader.vue +1 -3
  102. package/vue-components/v3/content/ContentTable.vue +4 -16
  103. package/vue-components/v3/dropdown/DropdownAction.vue +1 -5
  104. package/vue-components/v3/editor/Editor.vue +33 -19
  105. package/vue-components/v3/editor/FilteredFileEditor.vue +29 -27
  106. package/vue-components/v3/editor/MonacoEditor.vue +7 -17
  107. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +5 -17
  108. package/vue-components/v3/footer/Status.vue +5 -18
  109. package/vue-components/v3/footer/Usage.vue +1 -5
  110. package/vue-components/v3/form/Form.vue +1 -3
  111. package/vue-components/v3/form-fields/FileUpload.vue +3 -11
  112. package/vue-components/v3/form-fields/FileUploadSmall.vue +1 -3
  113. package/vue-components/v3/form-fields/Searchbar.vue +5 -21
  114. package/vue-components/v3/header/Header.vue +1 -4
  115. package/vue-components/v3/loaders/ClusterSwitcherLoader.vue +1 -6
  116. package/vue-components/v3/loaders/InfoCardLoader.vue +1 -6
  117. package/vue-components/v3/loaders/SingleInfoCardLoader.vue +1 -6
  118. package/vue-components/v3/modal/Modal.vue +5 -19
  119. package/vue-components/v3/modals/DeleteConfirmationModal.vue +1 -6
  120. package/vue-components/v3/modals/JsonShowModal.vue +5 -17
  121. package/vue-components/v3/navbar/Appdrawer.vue +2 -10
  122. package/vue-components/v3/navbar/Navbar.vue +2 -10
  123. package/vue-components/v3/navbar/NavbarItem.vue +1 -5
  124. package/vue-components/v3/navbar/Notification.vue +7 -31
  125. package/vue-components/v3/navbar/ThemeMode.vue +5 -17
  126. package/vue-components/v3/navbar/User.vue +64 -67
  127. package/vue-components/v3/notification/AlertBox.vue +6 -20
  128. package/vue-components/v3/notification/Notification.vue +6 -25
  129. package/vue-components/v3/notification/NotificationItem.vue +3 -9
  130. package/vue-components/v3/pagination/Pagination.vue +7 -25
  131. package/vue-components/v3/searchbars/SearchBar.vue +3 -17
  132. package/vue-components/v3/sidebar/AccentColorPicker.vue +3 -12
  133. package/vue-components/v3/sidebar/SidebarFooter.vue +3 -17
  134. package/vue-components/v3/sidebar/SidebarHeader.vue +4 -28
  135. package/vue-components/v3/sidebar/SidebarItem.vue +3 -11
  136. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +3 -7
  137. package/vue-components/v3/sidebar/Steps.vue +1 -2
  138. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +1 -4
  139. package/vue-components/v3/sidebar/sidebar-tabs/TabsContent.vue +34 -52
  140. package/vue-components/v3/steps/ColoredSteps.vue +75 -0
  141. package/vue-components/v3/table/InfoTable.vue +5 -17
  142. package/vue-components/v3/table/MultiInfoTable.vue +6 -20
  143. package/vue-components/v3/table/Table.vue +15 -63
  144. package/vue-components/v3/table/TableContainer.vue +1 -4
  145. package/vue-components/v3/table/TableRow.vue +5 -24
  146. package/vue-components/v3/table/table-cell/ArrayCell.vue +6 -20
  147. package/vue-components/v3/table/table-cell/CellValue.vue +3 -9
  148. package/vue-components/v3/table/table-cell/GenericCell.vue +2 -5
  149. package/vue-components/v3/table/table-cell/ObjectCell.vue +5 -17
  150. package/vue-components/v3/table/table-cell/ValueWithModal.vue +2 -9
  151. package/vue-components/styles/components/_ac-tags.scss +0 -116
  152. package/vue-components/v3/badge/Badge.vue +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "2.0.59",
3
+ "version": "2.0.60",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
package/plugins/theme.js CHANGED
@@ -95,11 +95,8 @@ export function HexToHSL(H) {
95
95
  export function getThemeHSL() {
96
96
  const themeElement = document.querySelector(":root");
97
97
  const hue = getComputedStyle(themeElement).getPropertyValue("--primary-hue");
98
- const saturation = getComputedStyle(themeElement).getPropertyValue(
99
- "--primary-saturation"
100
- );
101
- const lightness =
102
- getComputedStyle(themeElement).getPropertyValue("--primary-light");
98
+ const saturation = getComputedStyle(themeElement).getPropertyValue("--primary-saturation");
99
+ const lightness = getComputedStyle(themeElement).getPropertyValue("--primary-light");
103
100
 
104
101
  return {
105
102
  hue,
@@ -1,23 +1,19 @@
1
1
  import moment from "moment";
2
2
  import { useNow, useThrottleFn } from "@vueuse/core";
3
3
 
4
- const getTime = option => {
4
+ const getTime = (option) => {
5
5
  if (parseInt(option.time, 10) < 0 || !option.time) {
6
6
  return undefined;
7
7
  }
8
8
  let time = option.time;
9
9
 
10
10
  // moment(option.time).valueOf('x') needs to convert pharmer's api date to epoch time
11
- time = moment(option.time).valueOf("x")
12
- ? moment(option.time).valueOf("x")
13
- : time * 1000;
11
+ time = moment(option.time).valueOf("x") ? moment(option.time).valueOf("x") : time * 1000;
14
12
 
15
13
  return moment(time).format("MMM DD YYYY, h:mm A");
16
14
  };
17
- const getDayDifferences = options => {
18
- const past = moment(options.past).isValid()
19
- ? moment(options.past).valueOf("x") / 1000
20
- : options.past;
15
+ const getDayDifferences = (options) => {
16
+ const past = moment(options.past).isValid() ? moment(options.past).valueOf("x") / 1000 : options.past;
21
17
  const now = Date.now() / 1000;
22
18
  const diff = now - past;
23
19
  if (parseInt(options.past, 10) > 10) {
@@ -45,5 +41,5 @@ const getDayDifferences = options => {
45
41
  export default {
46
42
  getTime,
47
43
  // formatMoment,
48
- getDayDifferences
44
+ getDayDifferences,
49
45
  };
@@ -34,7 +34,8 @@ module.exports = {
34
34
  message: (payload) => {
35
35
  if (payload) {
36
36
  if (typeof payload === "string") return payload;
37
- else if (payload.response && payload.response.data && payload.response.data.message) return payload.response.data.message;
37
+ else if (payload.response && payload.response.data && payload.response.data.message)
38
+ return payload.response.data.message;
38
39
  else if (payload.message) return payload.message;
39
40
  else return "Something Went Wrong";
40
41
  } else return "Something Went Wrong";
@@ -8,16 +8,12 @@ const getTime = (option) => {
8
8
  let time = option.time;
9
9
 
10
10
  // moment(option.time).valueOf('x') needs to convert pharmer's api date to epoch time
11
- time = moment(option.time).valueOf("x")
12
- ? moment(option.time).valueOf("x")
13
- : time * 1000;
11
+ time = moment(option.time).valueOf("x") ? moment(option.time).valueOf("x") : time * 1000;
14
12
 
15
13
  return moment(time).format("MMM DD YYYY, h:mm A");
16
14
  };
17
15
  const getDayDifferences = (options) => {
18
- const past = moment(options.past).isValid()
19
- ? moment(options.past).valueOf("x") / 1000
20
- : options.past;
16
+ const past = moment(options.past).isValid() ? moment(options.past).valueOf("x") / 1000 : options.past;
21
17
  const now = Date.now() / 1000;
22
18
  const diff = now - past;
23
19
  if (parseInt(options.past, 10) > 10) {
@@ -4,7 +4,7 @@
4
4
 
5
5
  // white and black
6
6
  $white-100: hsl(0, 0%, 100%);
7
- $black-100: hsl(0, 0%, 0%);
7
+ $gray-100: hsl(0, 0%, 0%);
8
8
 
9
9
  // primary color guides
10
10
  $primary-hue: var(--primary-hue);
@@ -60,11 +60,7 @@ $color-border: hsl($secondary-hue, 10%, 90%);
60
60
  $color-border-dark: hsl($secondary-hue, 10%, 80%);
61
61
 
62
62
  // tweak sidebar bg color. update value (--sidebar-light)
63
- $color-sidebar: hsl(
64
- $primary-hue,
65
- $primary-saturation,
66
- var(--sidebar-light, 5%)
67
- );
63
+ $color-sidebar: hsl($primary-hue, $primary-saturation, var(--sidebar-light, 5%));
68
64
 
69
65
  // green color guides
70
66
  $green-hue: 141;
@@ -157,32 +153,30 @@ $red-95: hsl($red-hue, $red-saturation, 95%);
157
153
  $red-97: hsl($red-hue, $red-saturation, 97%);
158
154
 
159
155
  // black color guides
160
- $black-hue: 0;
161
- $black-saturation: 0%;
162
- $black-5: hsl($black-hue, $black-saturation, 5%);
163
- $black-10: hsl($black-hue, $black-saturation, 10%);
164
- $black-20: hsl($black-hue, $black-saturation, 20%);
165
- $black-30: hsl($black-hue, $black-saturation, 30%);
166
- $black-40: hsl($black-hue, $black-saturation, 40%);
167
- $black-50: hsl($black-hue, $black-saturation, 50%);
168
- $gray: hsl($black-hue, $black-saturation, 50%);
169
- $black-60: hsl($black-hue, $black-saturation, 60%);
170
- $black-70: hsl($black-hue, $black-saturation, 70%);
171
- $black-80: hsl($black-hue, $black-saturation, 80%);
172
- $black-90: hsl($black-hue, $black-saturation, 90%);
173
- $black-93: hsl($black-hue, $black-saturation, 93%);
174
- $black-95: hsl($black-hue, $black-saturation, 95%);
175
- $black-97: hsl($black-hue, $black-saturation, 97%);
156
+ $gray-hue: 0;
157
+ $gray-saturation: 0%;
158
+ $gray-5: hsl($gray-hue, $gray-saturation, 5%);
159
+ $gray-10: hsl($gray-hue, $gray-saturation, 10%);
160
+ $gray-20: hsl($gray-hue, $gray-saturation, 20%);
161
+ $gray-30: hsl($gray-hue, $gray-saturation, 30%);
162
+ $gray-40: hsl($gray-hue, $gray-saturation, 40%);
163
+ $gray-50: hsl($gray-hue, $gray-saturation, 50%);
164
+ $gray: hsl($gray-hue, $gray-saturation, 50%);
165
+ $gray-60: hsl($gray-hue, $gray-saturation, 60%);
166
+ $gray-70: hsl($gray-hue, $gray-saturation, 70%);
167
+ $gray-80: hsl($gray-hue, $gray-saturation, 80%);
168
+ $gray-90: hsl($gray-hue, $gray-saturation, 90%);
169
+ $gray-93: hsl($gray-hue, $gray-saturation, 93%);
170
+ $gray-95: hsl($gray-hue, $gray-saturation, 95%);
171
+ $gray-97: hsl($gray-hue, $gray-saturation, 97%);
176
172
 
177
173
  // Box Shadow
178
174
  $ac-shadow-1: 0 1px 4px rgba(26, 80, 151, 0.16);
179
175
  $ac-shadow-2: 0px 8px 57px rgba(0, 0, 0, 0.16);
180
- $ac-shadow-3: 0 3px 4px 0 rgba(0, 0, 0, 0.18),
181
- 0 3px 3px -2px rgba(0, 0, 0, 0.16), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
176
+ $ac-shadow-3: 0 3px 4px 0 rgba(0, 0, 0, 0.18), 0 3px 3px -2px rgba(0, 0, 0, 0.16), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
182
177
 
183
178
  $shadow-sm: 0 1px 4px rgba(26, 80, 151, 0.16);
184
179
  $shadow-xl: 0px 8px 57px rgba(0, 0, 0, 0.16);
185
- $shadow-lg: 0 3px 4px 0 rgba(0, 0, 0, 0.18), 0 3px 3px -2px rgba(0, 0, 0, 0.16),
186
- 0 1px 6px 0 rgba(0, 0, 0, 0.12);
180
+ $shadow-lg: 0 3px 4px 0 rgba(0, 0, 0, 0.18), 0 3px 3px -2px rgba(0, 0, 0, 0.16), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
187
181
 
188
182
  // @import "../../theme/appscode";
@@ -12,242 +12,50 @@
12
12
  }
13
13
 
14
14
  // for primary classes
15
- @include generate-color-classes(
16
- "text",
17
- "primary",
18
- $primary-hue,
19
- $primary-saturation,
20
- 10,
21
- 90,
22
- 10
23
- );
24
-
25
- @include generate-color-classes(
26
- "bg",
27
- "primary",
28
- $primary-hue,
29
- $primary-saturation,
30
- 10,
31
- 90,
32
- 10
33
- );
34
-
35
- @include generate-color-classes(
36
- "text",
37
- "primary",
38
- $primary-hue,
39
- $primary-saturation,
40
- 5,
41
- 5,
42
- 1
43
- );
44
-
45
- @include generate-color-classes(
46
- "bg",
47
- "primary",
48
- $primary-hue,
49
- $primary-saturation,
50
- 5,
51
- 5,
52
- 1
53
- );
54
-
55
- @include generate-color-classes(
56
- "text",
57
- "primary",
58
- $primary-hue,
59
- $primary-saturation,
60
- 93,
61
- 97,
62
- 2
63
- );
64
-
65
- @include generate-color-classes(
66
- "bg",
67
- "primary",
68
- $primary-hue,
69
- $primary-saturation,
70
- 93,
71
- 97,
72
- 2
73
- );
15
+ @include generate-color-classes("text", "primary", $primary-hue, $primary-saturation, 10, 90, 10);
16
+
17
+ @include generate-color-classes("bg", "primary", $primary-hue, $primary-saturation, 10, 90, 10);
18
+
19
+ @include generate-color-classes("text", "primary", $primary-hue, $primary-saturation, 5, 5, 1);
20
+
21
+ @include generate-color-classes("bg", "primary", $primary-hue, $primary-saturation, 5, 5, 1);
22
+
23
+ @include generate-color-classes("text", "primary", $primary-hue, $primary-saturation, 93, 97, 2);
24
+
25
+ @include generate-color-classes("bg", "primary", $primary-hue, $primary-saturation, 93, 97, 2);
74
26
 
75
27
  // for green classes
76
- @include generate-color-classes(
77
- "text",
78
- "green",
79
- $green-hue,
80
- $green-saturation,
81
- 10,
82
- 90,
83
- 10
84
- );
85
- @include generate-color-classes(
86
- "bg",
87
- "green",
88
- $green-hue,
89
- $green-saturation,
90
- 10,
91
- 90,
92
- 10
93
- );
94
-
95
- @include generate-color-classes(
96
- "text",
97
- "green",
98
- $green-hue,
99
- $green-saturation,
100
- 5,
101
- 5,
102
- 1
103
- );
104
-
105
- @include generate-color-classes(
106
- "bg",
107
- "green",
108
- $green-hue,
109
- $green-saturation,
110
- 5,
111
- 5,
112
- 1
113
- );
114
-
115
- @include generate-color-classes(
116
- "text",
117
- "green",
118
- $green-hue,
119
- $green-saturation,
120
- 93,
121
- 97,
122
- 2
123
- );
124
-
125
- @include generate-color-classes(
126
- "bg",
127
- "green",
128
- $green-hue,
129
- $green-saturation,
130
- 93,
131
- 97,
132
- 2
133
- );
28
+ @include generate-color-classes("text", "green", $green-hue, $green-saturation, 10, 90, 10);
29
+ @include generate-color-classes("bg", "green", $green-hue, $green-saturation, 10, 90, 10);
30
+
31
+ @include generate-color-classes("text", "green", $green-hue, $green-saturation, 5, 5, 1);
32
+
33
+ @include generate-color-classes("bg", "green", $green-hue, $green-saturation, 5, 5, 1);
34
+
35
+ @include generate-color-classes("text", "green", $green-hue, $green-saturation, 93, 97, 2);
36
+
37
+ @include generate-color-classes("bg", "green", $green-hue, $green-saturation, 93, 97, 2);
134
38
 
135
39
  // for yellow classes
136
- @include generate-color-classes(
137
- "text",
138
- "yellow",
139
- $yellow-hue,
140
- $yellow-saturation,
141
- 10,
142
- 90,
143
- 10
144
- );
145
- @include generate-color-classes(
146
- "bg",
147
- "yellow",
148
- $yellow-hue,
149
- $yellow-saturation,
150
- 10,
151
- 90,
152
- 10
153
- );
154
-
155
- @include generate-color-classes(
156
- "text",
157
- "yellow",
158
- $yellow-hue,
159
- $yellow-saturation,
160
- 5,
161
- 5,
162
- 1
163
- );
164
-
165
- @include generate-color-classes(
166
- "bg",
167
- "yellow",
168
- $yellow-hue,
169
- $yellow-saturation,
170
- 5,
171
- 5,
172
- 1
173
- );
174
-
175
- @include generate-color-classes(
176
- "text",
177
- "yellow",
178
- $yellow-hue,
179
- $yellow-saturation,
180
- 93,
181
- 97,
182
- 2
183
- );
184
-
185
- @include generate-color-classes(
186
- "bg",
187
- "yellow",
188
- $yellow-hue,
189
- $yellow-saturation,
190
- 93,
191
- 97,
192
- 2
193
- );
40
+ @include generate-color-classes("text", "yellow", $yellow-hue, $yellow-saturation, 10, 90, 10);
41
+ @include generate-color-classes("bg", "yellow", $yellow-hue, $yellow-saturation, 10, 90, 10);
42
+
43
+ @include generate-color-classes("text", "yellow", $yellow-hue, $yellow-saturation, 5, 5, 1);
44
+
45
+ @include generate-color-classes("bg", "yellow", $yellow-hue, $yellow-saturation, 5, 5, 1);
46
+
47
+ @include generate-color-classes("text", "yellow", $yellow-hue, $yellow-saturation, 93, 97, 2);
48
+
49
+ @include generate-color-classes("bg", "yellow", $yellow-hue, $yellow-saturation, 93, 97, 2);
194
50
 
195
51
  // for purple classes
196
- @include generate-color-classes(
197
- "text",
198
- "purple",
199
- $purple-hue,
200
- $purple-saturation,
201
- 10,
202
- 90,
203
- 10
204
- );
205
- @include generate-color-classes(
206
- "bg",
207
- "purple",
208
- $purple-hue,
209
- $purple-saturation,
210
- 10,
211
- 90,
212
- 10
213
- );
214
-
215
- @include generate-color-classes(
216
- "text",
217
- "purple",
218
- $purple-hue,
219
- $purple-saturation,
220
- 5,
221
- 5,
222
- 1
223
- );
224
-
225
- @include generate-color-classes(
226
- "bg",
227
- "purple",
228
- $purple-hue,
229
- $purple-saturation,
230
- 5,
231
- 5,
232
- 1
233
- );
234
-
235
- @include generate-color-classes(
236
- "text",
237
- "purple",
238
- $purple-hue,
239
- $purple-saturation,
240
- 93,
241
- 97,
242
- 2
243
- );
244
-
245
- @include generate-color-classes(
246
- "bg",
247
- "purple",
248
- $purple-hue,
249
- $purple-saturation,
250
- 93,
251
- 97,
252
- 2
253
- );
52
+ @include generate-color-classes("text", "purple", $purple-hue, $purple-saturation, 10, 90, 10);
53
+ @include generate-color-classes("bg", "purple", $purple-hue, $purple-saturation, 10, 90, 10);
54
+
55
+ @include generate-color-classes("text", "purple", $purple-hue, $purple-saturation, 5, 5, 1);
56
+
57
+ @include generate-color-classes("bg", "purple", $purple-hue, $purple-saturation, 5, 5, 1);
58
+
59
+ @include generate-color-classes("text", "purple", $purple-hue, $purple-saturation, 93, 97, 2);
60
+
61
+ @include generate-color-classes("bg", "purple", $purple-hue, $purple-saturation, 93, 97, 2);
@@ -66,13 +66,12 @@ $positions: (
66
66
  -webkit-box-orient: vertical;
67
67
  }
68
68
  }
69
- .sidebar-collapsed{
69
+ .sidebar-collapsed {
70
70
  .ac-left-sidebar {
71
71
  .brand-tag {
72
72
  display: none;
73
73
  }
74
74
  }
75
-
76
75
  }
77
76
  .brand-tag {
78
77
  color: $color-sidebar;
@@ -208,13 +207,13 @@ hr {
208
207
  }
209
208
 
210
209
  &::-webkit-scrollbar-thumb {
211
- background-color: $black-80;
210
+ background-color: $gray-80;
212
211
  border-radius: 50px;
213
212
  height: 2px !important;
214
213
  }
215
214
 
216
215
  &::-webkit-scrollbar-thumb:hover {
217
- background-color: $black-80;
216
+ background-color: $gray-80;
218
217
  }
219
218
 
220
219
  &:hover::-webkit-scrollbar-corner {
@@ -255,33 +254,33 @@ hr {
255
254
  }
256
255
 
257
256
  &::-webkit-scrollbar-thumb {
258
- background-color: $black-80;
257
+ background-color: $gray-80;
259
258
  border-radius: 50px;
260
259
  height: 2px !important;
261
260
  }
262
261
 
263
262
  &::-moz-scrollbar-thumb {
264
- background-color: $black-80;
263
+ background-color: $gray-80;
265
264
  border-radius: 50px;
266
265
  height: 2px !important;
267
266
  }
268
267
 
269
268
  &::-ms-scrollbar-thumb {
270
- background-color: $black-80;
269
+ background-color: $gray-80;
271
270
  border-radius: 50px;
272
271
  height: 2px !important;
273
272
  }
274
273
 
275
274
  &::-webkit-scrollbar-thumb:hover {
276
- background-color: $black-80;
275
+ background-color: $gray-80;
277
276
  }
278
277
 
279
278
  &::-moz-scrollbar-thumb:hover {
280
- background-color: $black-80;
279
+ background-color: $gray-80;
281
280
  }
282
281
 
283
282
  &::-ms-scrollbar-thumb:hover {
284
- background-color: $black-80;
283
+ background-color: $gray-80;
285
284
  }
286
285
 
287
286
  &:hover::-webkit-scrollbar-corner {
@@ -312,13 +311,13 @@ hr {
312
311
  }
313
312
 
314
313
  &::-webkit-scrollbar-thumb {
315
- background-color: $black-80;
314
+ background-color: $gray-80;
316
315
  border-radius: 50px;
317
316
  width: 2px !important;
318
317
  }
319
318
 
320
319
  &::-webkit-scrollbar-thumb:hover {
321
- background-color: $black-80;
320
+ background-color: $gray-80;
322
321
  }
323
322
 
324
323
  &:hover::-webkit-scrollbar-corner {
@@ -353,7 +352,7 @@ code {
353
352
 
354
353
  .is-dark-theme {
355
354
  code {
356
- background-color: $black-80;
355
+ background-color: $gray-80;
357
356
  color: $white-100;
358
357
  }
359
358
  }
@@ -648,7 +647,7 @@ $border_color_4: transparent transparent #585d6e transparent;
648
647
  height: 10px;
649
648
  width: 10px;
650
649
  border-radius: 50%;
651
- background-color: $black-80;
650
+ background-color: $gray-80;
652
651
  border: 2px solid $white-100;
653
652
  display: inline-flex;
654
653
 
@@ -9,9 +9,8 @@
9
9
  &.is-fullwidth {
10
10
  grid-template-columns: auto !important;
11
11
  }
12
-
13
12
  }
14
- // sidebar collapsed
13
+ // sidebar collapsed
15
14
  .sidebar-collapsed {
16
15
  .ac-system-body {
17
16
  grid-template-columns: 60px calc(100% - 60px);
@@ -8,12 +8,7 @@
8
8
  @if (type_of($colorName) == "color") {
9
9
  background-color: darken($colorName, 9);
10
10
  } @else {
11
- background-color: hsla(
12
- var(--hsl-hue),
13
- var(--hsl-saturation),
14
- calc(var(--hsl-lightness) - 9%),
15
- 1
16
- );
11
+ background-color: hsla(var(--hsl-hue), var(--hsl-saturation), calc(var(--hsl-lightness) - 9%), 1);
17
12
  }
18
13
 
19
14
  // box-shadow: 0px 6px 12px scale-color($color: $colorName, $lightness: 70%);
@@ -27,12 +22,7 @@
27
22
  @if (type_of($colorName) == "color") {
28
23
  background-color: scale-color($colorName, $lightness: 90%);
29
24
  } @else {
30
- background-color: hsla(
31
- var(--hsl-hue),
32
- var(--hsl-saturation),
33
- var(--hsl-lightness),
34
- 0.1
35
- );
25
+ background-color: hsla(var(--hsl-hue), var(--hsl-saturation), var(--hsl-lightness), 0.1);
36
26
  }
37
27
 
38
28
  color: $colorName;
@@ -45,12 +35,7 @@
45
35
  @if (type_of($colorName) == "color") {
46
36
  background-color: scale-color($colorName, $lightness: 80%);
47
37
  } @else {
48
- background-color: hsla(
49
- var(--hsl-hue),
50
- var(--hsl-saturation),
51
- var(--hsl-lightness),
52
- 0.2
53
- );
38
+ background-color: hsla(var(--hsl-hue), var(--hsl-saturation), var(--hsl-lightness), 0.2);
54
39
  }
55
40
  }
56
41
  }
@@ -70,12 +55,7 @@
70
55
  @if (type_of($colorName) == "color") {
71
56
  background-color: scale-color($colorName, $lightness: 80%);
72
57
  } @else {
73
- background-color: hsla(
74
- var(--hsl-hue),
75
- var(--hsl-saturation),
76
- var(--hsl-lightness),
77
- 0.2
78
- );
58
+ background-color: hsla(var(--hsl-hue), var(--hsl-saturation), var(--hsl-lightness), 0.2);
79
59
  }
80
60
 
81
61
  color: $colorName;
@@ -99,12 +79,7 @@
99
79
  @if (type_of($colorName) == "color") {
100
80
  background-color: scale-color($colorName, $lightness: 80%);
101
81
  } @else {
102
- background-color: hsla(
103
- var(--hsl-hue),
104
- var(--hsl-saturation),
105
- var(--hsl-lightness),
106
- 0.2
107
- );
82
+ background-color: hsla(var(--hsl-hue), var(--hsl-saturation), var(--hsl-lightness), 0.2);
108
83
  }
109
84
  }
110
85
 
@@ -133,10 +108,7 @@
133
108
  @if (type_of($colorName) == "color") {
134
109
  box-shadow: 0px 6px 12px scale-color($color: $colorName, $lightness: 70%);
135
110
  } @else {
136
- box-shadow: 0px
137
- 6px
138
- 12px
139
- hsla(var(--hsl-hue), var(--hsl-saturation), var(--hsl-lightness), 0.3);
111
+ box-shadow: 0px 6px 12px hsla(var(--hsl-hue), var(--hsl-saturation), var(--hsl-lightness), 0.3);
140
112
  }
141
113
  }
142
114
 
@@ -149,12 +121,7 @@
149
121
  @if (type_of($colorName) == "color") {
150
122
  background-color: scale-color($colorName, $lightness: 80%);
151
123
  } @else {
152
- background-color: hsla(
153
- var(--hsl-hue),
154
- var(--hsl-saturation),
155
- var(--hsl-lightness),
156
- 0.2
157
- );
124
+ background-color: hsla(var(--hsl-hue), var(--hsl-saturation), var(--hsl-lightness), 0.2);
158
125
  }
159
126
 
160
127
  span {
@@ -196,12 +163,7 @@
196
163
  @if (type_of($colorName) == "color") {
197
164
  background-color: scale-color($colorName, $lightness: 85%);
198
165
  } @else {
199
- background-color: hsla(
200
- var(--hsl-hue),
201
- var(--hsl-saturation),
202
- var(--hsl-lightness),
203
- 0.15
204
- );
166
+ background-color: hsla(var(--hsl-hue), var(--hsl-saturation), var(--hsl-lightness), 0.15);
205
167
  }
206
168
 
207
169
  border-color: $colorName;
@@ -8,7 +8,7 @@
8
8
  --primary-saturation: 100%;
9
9
  --primary-light: 30%;
10
10
 
11
- // appscode dark
11
+ // appscode dark
12
12
  --secondary-hue: 196;
13
13
  --secondary-saturation: 50%;
14
14
  --secondary-light: 20%;
@@ -93,4 +93,4 @@
93
93
 
94
94
  .ml-auto {
95
95
  margin-left: auto;
96
- }
96
+ }