@appscode/design-system 2.0.58 → 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.
- package/package.json +1 -1
- package/plugins/theme.js +2 -5
- package/plugins/time-convert.js +5 -9
- package/plugins/vue-toaster.js +2 -1
- package/vue-components/images/illustrations/puzzle.png +0 -0
- package/vue-components/plugins/time-convert.js +2 -6
- package/vue-components/styles/base/utilities/_colors.scss +21 -27
- package/vue-components/styles/base/utilities/_generate-color-classes.scss +41 -233
- package/vue-components/styles/base/utilities/_global.scss +13 -14
- package/vue-components/styles/base/utilities/_layouts.scss +1 -2
- package/vue-components/styles/base/utilities/_mixin.scss +8 -46
- package/vue-components/styles/base/utilities/_root-variables.scss +1 -1
- package/vue-components/styles/base/utilities/_spacing.scss +1 -1
- package/vue-components/styles/base/utilities/_typography.scss +1 -1
- package/vue-components/styles/components/_ac-drag.scss +1 -1
- package/vue-components/styles/components/_badge-tags.scss +75 -0
- package/vue-components/styles/components/_button.scss +1 -1
- package/vue-components/styles/components/_card-body-wrapper.scss +1 -1
- package/vue-components/styles/components/_pagination.scss +2 -2
- package/vue-components/styles/components/_preview-modal.scss +3 -3
- package/vue-components/styles/components/_progress-bar.scss +3 -3
- package/vue-components/styles/components/_table.scss +3 -3
- package/vue-components/styles/components/_tabs.scss +2 -2
- package/vue-components/styles/components/_terminal.scss +4 -4
- package/vue-components/styles/components/_wizard.scss +3 -3
- package/vue-components/styles/components/ac-toaster/_ac-toasted.scss +10 -5
- package/vue-components/styles/components/alert/_alert.scss +2 -12
- package/vue-components/styles/components/alert/_toast.scss +1 -1
- package/vue-components/styles/components/bbum/_all.scss +1 -1
- package/vue-components/styles/components/bbum/_card-team.scss +1 -6
- package/vue-components/styles/components/bbum/_information-center.scss +4 -4
- package/vue-components/styles/components/bbum/_mobile-desktop.scss +10 -5
- package/vue-components/styles/components/bbum/_user-profile.scss +1 -1
- package/vue-components/styles/components/cards/_info.scss +1 -7
- package/vue-components/styles/components/editor/_filtered-file-editor.scss +3 -3
- package/vue-components/styles/components/editor/_monaco-editor.scss +1 -1
- package/vue-components/styles/components/form-fields/_input-card.scss +2 -2
- package/vue-components/styles/components/form-fields/_input.scss +3 -3
- package/vue-components/styles/components/navbar/_menu-content.scss +1 -2
- package/vue-components/styles/components/select-box/_ac-select-box.scss +2 -2
- package/vue-components/styles/components/select-box/_multi-select.scss +4 -9
- package/vue-components/styles/components/sidebar/_left-sidebar.scss +2 -2
- package/vue-components/styles/components/ui-builder/_ui-builder.scss +1 -1
- package/vue-components/styles/components/ui-builder/_vue-open-api.scss +5 -10
- package/vue-components/styles/layouts/_code-preview.scss +2 -2
- package/vue-components/styles/theme/_dark.scss +1 -1
- package/vue-components/v2/breadcrumbs/Breadcrumb.vue +14 -27
- package/vue-components/v2/button/Button.vue +2 -7
- package/vue-components/v2/button/DownloadBtn.vue +9 -9
- package/vue-components/v2/card/CardContent.vue +1 -1
- package/vue-components/v2/card/CardHeader.vue +2 -4
- package/vue-components/v2/card/PaymentCard.vue +1 -1
- package/vue-components/v2/card/PaymentCardOptionButtons.vue +1 -1
- package/vue-components/v2/card/PaymentCards.vue +15 -11
- package/vue-components/v2/content/ContentHeader.vue +6 -6
- package/vue-components/v2/editor/Editor.vue +2 -11
- package/vue-components/v2/editor/FilteredFileEditor.vue +5 -17
- package/vue-components/v2/editor/MonacoEditor.vue +5 -12
- package/vue-components/v2/editor/ResourceKeyValueEditor.vue +4 -14
- package/vue-components/v2/form/Form.vue +9 -12
- package/vue-components/v2/header/Header.vue +1 -4
- package/vue-components/v2/loaders/ResourceLoader.vue +5 -5
- package/vue-components/v2/loaders/SidebarLoader.vue +5 -5
- package/vue-components/v2/modal/Modal.vue +2 -7
- package/vue-components/v2/modals/DeleteConfirmationModal.vue +1 -6
- package/vue-components/v2/modals/JsonShowModal.vue +3 -15
- package/vue-components/v2/navbar/Appdrawer.vue +2 -10
- package/vue-components/v2/navbar/ThemeMode.vue +12 -18
- package/vue-components/v2/navbar/User.vue +19 -82
- package/vue-components/v2/notification/Notification.vue +3 -12
- package/vue-components/v2/notification/NotificationItem.vue +1 -3
- package/vue-components/v2/pagination/Pagination.vue +5 -26
- package/vue-components/v2/preloader/Preloader.vue +5 -5
- package/vue-components/v2/searchbars/SearchBar.vue +1 -7
- package/vue-components/v2/sidebar/ClusterSwitcher.vue +2 -2
- package/vue-components/v2/sidebar/SidebarItem.vue +2 -10
- package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +1 -2
- package/vue-components/v2/table/FakeTableCell.vue +1 -2
- package/vue-components/v2/table/InfoTable.vue +4 -10
- package/vue-components/v2/table/Table.vue +16 -64
- package/vue-components/v2/table/TableRow.vue +3 -15
- package/vue-components/v2/table/table-cell/ArrayCell.vue +3 -9
- package/vue-components/v2/table/table-cell/CellValue.vue +1 -2
- package/vue-components/v2/table/table-cell/GenericCell.vue +8 -8
- package/vue-components/v2/table/table-cell/ObjectCell.vue +2 -6
- package/vue-components/v2/table/table-cell/ValueWithModal.vue +1 -6
- package/vue-components/v3/alert/AlertMessage.vue +1 -5
- package/vue-components/v3/alert/Toast.vue +1 -4
- package/vue-components/v3/badge-tags/Badge.vue +24 -0
- package/vue-components/v3/badge-tags/Tag.vue +26 -0
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +6 -24
- package/vue-components/v3/button/Button.vue +2 -11
- package/vue-components/v3/cards/CardHeader.vue +1 -3
- package/vue-components/v3/cards/Cluster.vue +3 -9
- package/vue-components/v3/cards/Counter.vue +1 -4
- package/vue-components/v3/cards/FeatureCard.vue +1 -6
- package/vue-components/v3/cards/FeatureCards.vue +1 -5
- package/vue-components/v3/cards/InfoCard.vue +10 -30
- package/vue-components/v3/cards/Monitoring.vue +3 -15
- package/vue-components/v3/cards/OrgCard.vue +7 -26
- package/vue-components/v3/cards/OverviewCards.vue +1 -3
- package/vue-components/v3/cards/Payment.vue +1 -4
- package/vue-components/v3/content/ContentHeader.vue +1 -3
- package/vue-components/v3/content/ContentTable.vue +4 -16
- package/vue-components/v3/dropdown/DropdownAction.vue +1 -5
- package/vue-components/v3/editor/Editor.vue +33 -19
- package/vue-components/v3/editor/FilteredFileEditor.vue +29 -27
- package/vue-components/v3/editor/MonacoEditor.vue +7 -17
- package/vue-components/v3/editor/ResourceKeyValueEditor.vue +5 -17
- package/vue-components/v3/footer/Status.vue +5 -18
- package/vue-components/v3/footer/Usage.vue +1 -5
- package/vue-components/v3/form/Form.vue +1 -3
- package/vue-components/v3/form-fields/FileUpload.vue +3 -11
- package/vue-components/v3/form-fields/FileUploadSmall.vue +1 -3
- package/vue-components/v3/form-fields/Searchbar.vue +5 -21
- package/vue-components/v3/header/Header.vue +1 -4
- package/vue-components/v3/loaders/ClusterSwitcherLoader.vue +1 -6
- package/vue-components/v3/loaders/InfoCardLoader.vue +1 -6
- package/vue-components/v3/loaders/SingleInfoCardLoader.vue +1 -6
- package/vue-components/v3/messages/Message.vue +19 -1
- package/vue-components/v3/modal/Modal.vue +5 -19
- package/vue-components/v3/modals/DeleteConfirmationModal.vue +1 -6
- package/vue-components/v3/modals/JsonShowModal.vue +5 -17
- package/vue-components/v3/navbar/Appdrawer.vue +2 -10
- package/vue-components/v3/navbar/Navbar.vue +2 -10
- package/vue-components/v3/navbar/NavbarItem.vue +1 -5
- package/vue-components/v3/navbar/Notification.vue +7 -31
- package/vue-components/v3/navbar/ThemeMode.vue +5 -17
- package/vue-components/v3/navbar/User.vue +64 -67
- package/vue-components/v3/notification/AlertBox.vue +6 -20
- package/vue-components/v3/notification/Notification.vue +6 -25
- package/vue-components/v3/notification/NotificationItem.vue +3 -9
- package/vue-components/v3/pagination/Pagination.vue +7 -25
- package/vue-components/v3/searchbars/SearchBar.vue +3 -17
- package/vue-components/v3/sidebar/AccentColorPicker.vue +3 -12
- package/vue-components/v3/sidebar/SidebarFooter.vue +3 -17
- package/vue-components/v3/sidebar/SidebarHeader.vue +4 -28
- package/vue-components/v3/sidebar/SidebarItem.vue +3 -11
- package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +3 -7
- package/vue-components/v3/sidebar/Steps.vue +1 -2
- package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +1 -4
- package/vue-components/v3/sidebar/sidebar-tabs/TabsContent.vue +34 -52
- package/vue-components/v3/steps/ColoredSteps.vue +75 -0
- package/vue-components/v3/table/InfoTable.vue +5 -17
- package/vue-components/v3/table/MultiInfoTable.vue +6 -20
- package/vue-components/v3/table/Table.vue +15 -63
- package/vue-components/v3/table/TableContainer.vue +1 -4
- package/vue-components/v3/table/TableRow.vue +5 -24
- package/vue-components/v3/table/table-cell/ArrayCell.vue +6 -20
- package/vue-components/v3/table/table-cell/CellValue.vue +3 -9
- package/vue-components/v3/table/table-cell/GenericCell.vue +2 -5
- package/vue-components/v3/table/table-cell/ObjectCell.vue +5 -17
- package/vue-components/v3/table/table-cell/ValueWithModal.vue +2 -9
- package/vue-components/images/illustrations/error-message.svg +0 -47
- package/vue-components/styles/components/_ac-tags.scss +0 -116
package/package.json
CHANGED
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
|
-
|
|
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,
|
package/plugins/time-convert.js
CHANGED
|
@@ -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
|
};
|
package/plugins/vue-toaster.js
CHANGED
|
@@ -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)
|
|
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";
|
|
Binary file
|
|
@@ -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
|
-
$
|
|
7
|
+
$gray-100: hsl(0, 0%, 0%);
|
|
8
8
|
|
|
9
9
|
// primary color guides
|
|
10
10
|
$primary-hue: var(--primary-hue);
|
|
@@ -16,8 +16,8 @@ $primary-5: hsl($primary-hue, $primary-saturation, 5%);
|
|
|
16
16
|
$primary-10: hsl($primary-hue, $primary-saturation, 10%);
|
|
17
17
|
$primary-20: hsl($primary-hue, $primary-saturation, 20%);
|
|
18
18
|
$primary-30: hsl($primary-hue, $primary-saturation, 30%);
|
|
19
|
-
$primary-40: hsl($primary-hue, $primary-saturation, 40%);
|
|
20
19
|
$ac-primary: hsl($primary-hue, $primary-saturation, $primary-light);
|
|
20
|
+
$primary-40: hsl($primary-hue, $primary-saturation, 40%);
|
|
21
21
|
$primary-50: hsl($primary-hue, $primary-saturation, 50%);
|
|
22
22
|
$primary-60: hsl($primary-hue, $primary-saturation, 60%);
|
|
23
23
|
$primary-70: hsl($primary-hue, $primary-saturation, 70%);
|
|
@@ -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
|
-
$
|
|
161
|
-
$
|
|
162
|
-
$
|
|
163
|
-
$
|
|
164
|
-
$
|
|
165
|
-
$
|
|
166
|
-
$
|
|
167
|
-
$
|
|
168
|
-
$gray: hsl($
|
|
169
|
-
$
|
|
170
|
-
$
|
|
171
|
-
$
|
|
172
|
-
$
|
|
173
|
-
$
|
|
174
|
-
$
|
|
175
|
-
$
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
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
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
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: $
|
|
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: $
|
|
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: $
|
|
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: $
|
|
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: $
|
|
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: $
|
|
275
|
+
background-color: $gray-80;
|
|
277
276
|
}
|
|
278
277
|
|
|
279
278
|
&::-moz-scrollbar-thumb:hover {
|
|
280
|
-
background-color: $
|
|
279
|
+
background-color: $gray-80;
|
|
281
280
|
}
|
|
282
281
|
|
|
283
282
|
&::-ms-scrollbar-thumb:hover {
|
|
284
|
-
background-color: $
|
|
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: $
|
|
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: $
|
|
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: $
|
|
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: $
|
|
650
|
+
background-color: $gray-80;
|
|
652
651
|
border: 2px solid $white-100;
|
|
653
652
|
display: inline-flex;
|
|
654
653
|
|
|
@@ -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;
|