@appscode/design-system 0.0.21-alpha.3 → 0.4.27

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 (165) hide show
  1. package/base/utilities/_all.scss +7 -0
  2. package/base/utilities/_customize-bulma.scss +191 -0
  3. package/base/utilities/_default.scss +319 -110
  4. package/base/utilities/_derived-variables.scss +8 -15
  5. package/base/utilities/_grid.scss +29 -0
  6. package/base/utilities/_initial-variables.scss +111 -72
  7. package/base/utilities/_mixin.scss +90 -10
  8. package/base/utilities/_typography.scss +29 -19
  9. package/base/utilities/dark-theme.scss +26 -0
  10. package/components/_ac-accordion.scss +15 -5
  11. package/components/_ac-alert-box.scss +109 -26
  12. package/components/_ac-card.scss +71 -24
  13. package/components/_ac-code-highlight.scss +7 -1
  14. package/components/_ac-content-layout.scss +5 -5
  15. package/components/_ac-drag.scss +8 -6
  16. package/components/_ac-input.scss +191 -37
  17. package/components/_ac-modal.scss +6 -5
  18. package/components/_ac-multi-select.scss +281 -23
  19. package/components/_ac-options.scss +31 -16
  20. package/components/_ac-report.scss +53 -0
  21. package/components/_ac-select-box.scss +15 -5
  22. package/components/_ac-table.scss +160 -39
  23. package/components/_ac-tabs.scss +86 -23
  24. package/components/_ac-tags.scss +87 -2
  25. package/components/_ac-terminal.scss +270 -0
  26. package/components/_all.scss +28 -0
  27. package/components/_app-drawer.scss +134 -0
  28. package/components/_breadcumb.scss +8 -3
  29. package/components/_buttons.scss +96 -62
  30. package/components/_card-body-wrapper.scss +3 -3
  31. package/components/_dashboard-header.scss +33 -1
  32. package/components/_direct-deploy.scss +69 -0
  33. package/components/_go-to-top.scss +1 -1
  34. package/components/_graph.scss +45 -0
  35. package/components/_image-upload.scss +6 -4
  36. package/components/_left-sidebar-menu.scss +212 -52
  37. package/components/_monaco-editor.scss +1 -1
  38. package/components/_navbar.scss +193 -31
  39. package/components/_overview-info.scss +4 -4
  40. package/components/_overview-page.scss +1 -2
  41. package/components/_pagination.scss +45 -7
  42. package/components/_payment-card.scss +28 -12
  43. package/components/_preloader.scss +1 -1
  44. package/components/_preview-modal.scss +22 -9
  45. package/components/_pricing-table.scss +1 -1
  46. package/components/_progress-bar.scss +5 -5
  47. package/components/_subscription-card.scss +15 -8
  48. package/components/_table-of-content.scss +1 -1
  49. package/components/_tfa.scss +69 -0
  50. package/components/_transitions.scss +261 -0
  51. package/components/_widget-menu.scss +9 -9
  52. package/components/_wizard.scss +33 -20
  53. package/components/ac-toaster/_ac-toasted.scss +40 -8
  54. package/components/bbum/_all.scss +9 -0
  55. package/components/bbum/_card-team.scss +18 -10
  56. package/components/bbum/_information-center.scss +19 -5
  57. package/components/bbum/_mobile-desktop.scss +6 -6
  58. package/components/bbum/_post.scss +5 -4
  59. package/components/bbum/_sign-up-notification.scss +6 -6
  60. package/components/bbum/_single-post-preview.scss +10 -10
  61. package/components/bbum/_user-profile.scss +97 -90
  62. package/components/ui-builder/_ui-builder.scss +98 -21
  63. package/components/ui-builder/_vue-open-api.scss +104 -0
  64. package/layouts/_404.scss +159 -0
  65. package/layouts/_all.scss +2 -0
  66. package/layouts/_code-preview.scss +19 -8
  67. package/main.scss +6 -53
  68. package/package.json +4 -7
  69. package/plugins/caching.ts +243 -0
  70. package/plugins/theme.js +142 -0
  71. package/plugins/time-convert.js +49 -0
  72. package/plugins/vue-toaster.js +10 -6
  73. package/vue-components/v2/banner/Banner.vue +2 -2
  74. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  75. package/vue-components/v2/button/Button.vue +10 -1
  76. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  77. package/vue-components/v2/card/Card.vue +1 -0
  78. package/vue-components/v2/card/CardContent.vue +5 -0
  79. package/vue-components/v2/card/CardHeader.vue +12 -0
  80. package/vue-components/v2/card/OverviewCard.vue +10 -0
  81. package/vue-components/v2/card/OverviewCards.vue +5 -0
  82. package/vue-components/v2/card/PaymentCard.vue +69 -0
  83. package/vue-components/v2/card/PaymentCardOptionButtons.vue +35 -0
  84. package/vue-components/v2/card/PaymentCards.vue +44 -0
  85. package/vue-components/v2/content/ContentHeader.vue +9 -5
  86. package/vue-components/v2/content/ContentTable.vue +12 -7
  87. package/vue-components/v2/editor/Editor.vue +38 -5
  88. package/vue-components/v2/editor/FilteredFileEditor.vue +189 -0
  89. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  90. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  91. package/vue-components/v2/form/Form.vue +12 -7
  92. package/vue-components/v2/form-fields/Input.vue +1 -1
  93. package/vue-components/v2/header/Header.vue +0 -1
  94. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  95. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  96. package/vue-components/v2/modal/Modal.vue +40 -7
  97. package/vue-components/v2/modals/DeleteConfirmationModal.vue +79 -0
  98. package/vue-components/v2/modals/JsonShowModal.vue +12 -3
  99. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  100. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  101. package/vue-components/v2/navbar/User.vue +229 -17
  102. package/vue-components/v2/notification/Notification.vue +101 -0
  103. package/vue-components/v2/notification/NotificationItem.vue +44 -0
  104. package/vue-components/v2/pagination/Pagination.vue +24 -4
  105. package/vue-components/v2/preloader/Preloader.vue +5 -5
  106. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  107. package/vue-components/v2/sidebar/SidebarItem.vue +24 -2
  108. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  109. package/vue-components/v2/tab/TabItem.vue +1 -1
  110. package/vue-components/v2/table/FakeTableCell.vue +36 -0
  111. package/vue-components/v2/table/InfoTable.vue +13 -3
  112. package/vue-components/v2/table/NarrowTable.vue +0 -2
  113. package/vue-components/v2/table/Table.vue +170 -10
  114. package/vue-components/v2/table/TableRow.vue +29 -2
  115. package/vue-components/v2/table/table-cell/CellValue.vue +33 -4
  116. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  117. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  118. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  119. package/vue-components/v3/button/Button.vue +78 -0
  120. package/vue-components/v3/content/ContentHeader.vue +55 -0
  121. package/vue-components/v3/content/ContentTable.vue +83 -0
  122. package/vue-components/v3/dropdown/DropdownDivider.vue +3 -0
  123. package/vue-components/v3/dropdown/DropdownItem.vue +5 -0
  124. package/vue-components/v3/dropdown/DropdownMenu.vue +111 -0
  125. package/vue-components/v3/editor/Editor.vue +160 -0
  126. package/vue-components/v3/editor/FilteredFileEditor.vue +186 -0
  127. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  128. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +125 -0
  129. package/vue-components/v3/form/Form.vue +63 -0
  130. package/vue-components/v3/form-fields/Input.vue +22 -0
  131. package/vue-components/v3/header/Header.vue +45 -0
  132. package/vue-components/v3/header/HeaderItem.vue +5 -0
  133. package/vue-components/v3/header/HeaderItems.vue +5 -0
  134. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  135. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  136. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +92 -0
  137. package/vue-components/v3/modal/Modal.vue +158 -0
  138. package/vue-components/v3/modals/DeleteConfirmationModal.vue +85 -0
  139. package/vue-components/v3/modals/JsonShowModal.vue +96 -0
  140. package/vue-components/v3/modals/LongRunningTasksModal.vue +373 -0
  141. package/vue-components/v3/navbar/Appdrawer.vue +63 -0
  142. package/vue-components/v3/navbar/ThemeMode.vue +120 -0
  143. package/vue-components/v3/navbar/User.vue +288 -0
  144. package/vue-components/v3/notification/Notification.vue +98 -0
  145. package/vue-components/v3/notification/NotificationItem.vue +52 -0
  146. package/vue-components/v3/pagination/Pagination.vue +172 -0
  147. package/vue-components/v3/searchbars/SearchBar.vue +47 -0
  148. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  149. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  150. package/vue-components/v3/tab/TabItem.vue +17 -0
  151. package/vue-components/v3/table/FakeTableCell.vue +39 -0
  152. package/vue-components/v3/table/InfoTable.vue +105 -0
  153. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  154. package/vue-components/v3/table/Table.vue +272 -0
  155. package/vue-components/v3/table/TableCell.vue +28 -0
  156. package/vue-components/v3/table/TableContainer.vue +34 -0
  157. package/vue-components/v3/table/TableRow.vue +147 -0
  158. package/vue-components/v3/table/table-cell/ArrayCell.vue +111 -0
  159. package/vue-components/v3/table/table-cell/CellValue.vue +133 -0
  160. package/vue-components/v3/table/table-cell/GenericCell.vue +75 -0
  161. package/vue-components/v3/table/table-cell/ObjectCell.vue +110 -0
  162. package/vue-components/v3/table/table-cell/ValueWithModal.vue +43 -0
  163. package/vue-components/v3/tabs/EditorTabs.vue +36 -0
  164. package/vue-components/v3/tag/Tag.vue +17 -0
  165. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +148 -0
@@ -1,19 +1,9 @@
1
1
  // Typography
2
- @import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
3
- // font rubik
4
- @import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,800&display=swap");
2
+ @import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;400;500;600;700&family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700&display=swap");
5
3
 
6
4
  $ac-family-heading: "Roboto", sans-serif;
7
5
  $ac-family-paragraph: "Roboto", sans-serif;
8
6
 
9
- $ac-size-1: 48px;
10
- $ac-size-2: 36px;
11
- $ac-size-3: 28px;
12
- $ac-size-4: 22px;
13
- $ac-size-5: 18px;
14
- $ac-size-6: 16px;
15
- $ac-size-7: 14px;
16
-
17
7
  // body font size
18
8
  $font-size-medium: 16px;
19
9
  $font-size-semi-normal: 15px;
@@ -22,72 +12,15 @@ $font-size-small: 13px;
22
12
  $font-size-extra-small: 12px;
23
13
  $font-size-tiny: 11px;
24
14
 
25
- // Font weight
26
- $ac-weight-light: 300;
27
- $ac-weight-normal: 400;
28
- $ac-weight-medium: 500;
29
- $ac-weight-semibold: 600;
30
- $ac-weight-bold: 700;
31
- $ac-weight-extra: 800;
32
- $ac-weight-black: 900;
33
-
34
- // Miscellaneous
35
- $ac-easing: ease-out;
36
- $ac-radius-small: 2px;
37
- $ac-radius: 4px;
38
- $ac-radius-large: 6px;
39
- $ac-radius-rounded: 290486px;
40
- $ac-speed: 86ms;
41
-
42
- // Color Base
15
+ // Base Color
43
16
  $ac-orange: #ff8000;
44
17
  $ac-yellow: #f7ad2a;
45
- $ac-green: #27b064;
18
+ $ac-green: #158748;
46
19
  $ac-blue: #0aafff;
47
20
  $ac-purple: #791e94;
48
- $ac-red: #ea3d2f;
49
- $ac-bg: #fff;
50
-
51
- // Color Border
52
- $ac-border: #a6abbd;
53
- $ac-border-hover: #54657e;
21
+ $ac-red: #ff3729;
54
22
 
55
- // Colors Primary
56
- $ac-primary: #1971bd;
57
- $ac-primary-90: #2f7ec3;
58
- $ac-primary-80: #478dca;
59
- $ac-primary-70: #5d9bd0;
60
- $ac-primary-60: #75a9d7;
61
- $ac-primary-50: #8bb7de;
62
- $ac-primary-40: #a3c6e5;
63
- $ac-primary-30: #b9d4eb;
64
- $ac-primary-20: #d1e2f2;
65
- $ac-primary-10: #e7f0f8;
66
-
67
- // $ac-primary-90: scale-color($ac-primary, $lightness: 90%);
68
- // $ac-primary-80: scale-color($ac-primary, $lightness: 80%);
69
- // $ac-primary-70: scale-color($ac-primary, $lightness: 70%);
70
- // $ac-primary-60: scale-color($ac-primary, $lightness: 60%);
71
- // $ac-primary-50: scale-color($ac-primary, $lightness: 50%);
72
- // $ac-primary-40: scale-color($ac-primary, $lightness: 40%);
73
- // $ac-primary-30: scale-color($ac-primary, $lightness: 30%);
74
- // $ac-primary-20: scale-color($ac-primary, $lightness: 20%);
75
- // $ac-primary-10: scale-color($ac-primary, $lightness: 10%);
76
-
77
- // Colors black
78
- $ac-black: #000000;
79
- $ac-color-text-90: #323232;
80
- $ac-gray-darker: #494949;
81
- $ac-gray-dark: #5f5f5f;
82
- $ac-gray: #767676;
83
- $ac-gray-light: #8d8d8d;
84
- $ac-gray-lighter: #a4a4a4;
85
- $ac-grey-lightest: #d1d1d1;
86
- $ac-white-light: #e7e7e7;
87
- $ac-white-lighter: #f1f1f1;
88
- $ac-white: #ffffff;
89
-
90
- // Color Products
23
+ // Products Color
91
24
  $voyager-primary: #2d2a78;
92
25
  $guard-primary: #d84e27;
93
26
  $kubeci-primary: #2c3e50;
@@ -101,11 +34,105 @@ $servicebroker-primary: #29b4a2;
101
34
  $stash-primary: #5e2dea;
102
35
  $swift-primary: #3f51b6;
103
36
 
37
+ // Colors Primary
38
+ // root colors
39
+ :root {
40
+ --hsl-hue: 208;
41
+ --hsl-saturation: 77%;
42
+ --hsl-lightness: 42%;
43
+ --contrast-threshold: 60%;
44
+ --ac-bg: #ffffff;
45
+ --ac-white: #ffffff;
46
+ --ac-full-white: #ffffff;
47
+ --ac-gray-dark: #5f5f5f;
48
+ --ac-gray-light: #8d8d8d;
49
+ --ac-gray-lightest: #d1d1d1;
50
+ --ac-white-light: #e7e7e7;
51
+ --ac-white-lighter: #f2f5f8;
52
+ --ac-white-lightest: #f8f9fb;
53
+
54
+ --ac-black: #000000;
55
+ --ac-color-text-90: #323232;
56
+ --ac-link-black: #32325d;
57
+ --ac-gray-darker: #494949;
58
+ --ac-gray: #767676;
59
+ --ac-gray-lighter: #a4a4a4;
60
+ --ac-white-text: #b4c0cc;
61
+
62
+ // theme color
63
+ --dark-bg: #21272e;
64
+ --dark-bg-light: #2e323c;
65
+
66
+ --ac-blue-light: #eceff4;
67
+ --ac-bg-light-gray: #f4f6f9;
68
+ --table-header: #e4e8ef;
69
+ --ac-label-text: #a6abbd;
70
+
71
+ --font-hsl-hue: 0;
72
+ --font-hsl-saturation: 0%;
73
+ --font-hsl-lightness: 11%;
74
+
75
+ --ac-primary: hsla(
76
+ var(--hsl-hue),
77
+ var(--hsl-saturation),
78
+ var(--hsl-lightness),
79
+ 1
80
+ );
81
+
82
+ --ac-text: hsla(
83
+ var(--font-hsl-hue),
84
+ calc(var(--font-hsl-saturation) + 10%),
85
+ calc(var(--font-hsl-lightness) + 10%),
86
+ 1
87
+ );
88
+ --ac-text-heading: hsla(
89
+ var(--font-hsl-hue),
90
+ var(--font-hsl-saturation),
91
+ var(--font-hsl-lightness),
92
+ 1
93
+ );
94
+ --ac-color-value: hsl(
95
+ var(--font-hsl-hue),
96
+ var(--font-hsl-saturation),
97
+ calc(var(--font-hsl-lightness) + 25%)
98
+ );
99
+ }
100
+
101
+ $ac-bg: var(--ac-bg);
102
+ $ac-primary: var(--ac-primary);
103
+ $ac-color-value: var(--ac-color-value);
104
+
105
+ // Colors
106
+ $ac-black: var(--ac-black);
107
+ $ac-color-text-90: var(--ac-color-text-90);
108
+ $ac-link-black: var(--ac-link-black);
109
+ $ac-gray-darker: var(--ac-gray-darker);
110
+ $ac-gray-dark: var(--ac-gray-dark);
111
+ $ac-gray: var(--ac-gray);
112
+ $ac-gray-light: var(--ac-gray-light);
113
+ $ac-gray-lighter: var(--ac-gray-lighter);
114
+ $ac-gray-lightest: var(--ac-gray-lightest);
115
+ $ac-white-light: var(--ac-white-light);
116
+ $ac-white-lighter: var(--ac-white-lighter);
117
+ $ac-white-lightest: var(--ac-white-lightest);
118
+ $ac-white: var(--ac-white);
119
+ $ac-full-white: var(--ac-full-white);
120
+
121
+ $ac-blue-light: var(--ac-blue-light);
122
+ $ac-bg-light-gray: var(--ac-bg-light-gray);
123
+ $table-header: var(--table-header);
124
+ $ac-label-text: var(--ac-label-text);
125
+
126
+ // for dark theme CSS
127
+ $dark-bg: var(--dark-bg);
128
+ $dark-bg-light: var(--dark-bg-light);
129
+
104
130
  /* Deafult Margin & Padding view-height & view-width */
105
131
  @for $i from 0 through 100 {
106
132
  .m-#{$i} {
107
133
  margin: #{$i}px !important;
108
134
  }
135
+
109
136
  .mt-#{$i} {
110
137
  margin-top: #{$i}px !important;
111
138
  }
@@ -121,9 +148,11 @@ $swift-primary: #3f51b6;
121
148
  .mr-#{$i} {
122
149
  margin-right: #{$i}px !important;
123
150
  }
151
+
124
152
  .p-#{$i} {
125
153
  padding: #{$i}px !important;
126
154
  }
155
+
127
156
  .pt-#{$i} {
128
157
  padding-top: #{$i}px !important;
129
158
  }
@@ -153,6 +182,16 @@ $swift-primary: #3f51b6;
153
182
  }
154
183
  }
155
184
 
185
+ .mx-auto {
186
+ margin: 0 auto;
187
+ }
188
+ .mr-auto{
189
+ margin-right: auto;
190
+ }
191
+ .ml-auto{
192
+ margin-left: auto;
193
+ }
194
+
156
195
  /* Deafult height & widht */
157
196
  @for $i from 0 through 300 {
158
197
  .height-#{$i} {
@@ -5,21 +5,53 @@
5
5
  border: none;
6
6
 
7
7
  &:hover {
8
- background-color: darken($colorName, 9);
8
+ @if (type_of($colorName) == "color") {
9
+ background-color: darken($colorName, 9);
10
+ } @else {
11
+ background-color: hsla(
12
+ var(--hsl-hue),
13
+ var(--hsl-saturation),
14
+ calc(var(--hsl-lightness) - 9%),
15
+ 1
16
+ );
17
+ }
18
+
9
19
  // box-shadow: 0px 6px 12px scale-color($color: $colorName, $lightness: 70%);
10
20
  }
21
+
11
22
  &:focus-visible {
12
23
  outline: none;
13
24
  }
25
+
14
26
  &.is-light {
15
- background-color: scale-color($colorName, $lightness: 90%);
27
+ @if (type_of($colorName) == "color") {
28
+ background-color: scale-color($colorName, $lightness: 90%);
29
+ } @else {
30
+ background-color: hsla(
31
+ var(--hsl-hue),
32
+ var(--hsl-saturation),
33
+ var(--hsl-lightness),
34
+ 0.1
35
+ );
36
+ }
37
+
16
38
  color: $colorName;
39
+
17
40
  &.is-border {
18
41
  border: 1px solid $colorName;
19
42
  }
20
43
 
21
44
  &:hover {
22
- background-color: scale-color($colorName, $lightness: 80%);
45
+ @if (type_of($colorName) == "color") {
46
+ background-color: scale-color($colorName, $lightness: 80%);
47
+ } @else {
48
+ background-color: hsla(
49
+ var(--hsl-hue),
50
+ var(--hsl-saturation),
51
+ var(--hsl-lightness),
52
+ 0.2
53
+ );
54
+ }
23
55
  }
24
56
  }
25
57
 
@@ -35,13 +67,24 @@
35
67
  }
36
68
 
37
69
  &.is-square {
38
- background-color: scale-color($color: $colorName, $lightness: 80%);
70
+ @if (type_of($colorName) == "color") {
71
+ background-color: scale-color($colorName, $lightness: 80%);
72
+ } @else {
73
+ background-color: hsla(
74
+ var(--hsl-hue),
75
+ var(--hsl-saturation),
76
+ var(--hsl-lightness),
77
+ 0.2
78
+ );
79
+ }
80
+
39
81
  color: $colorName;
40
82
 
41
83
  &:hover {
42
84
  background-color: $colorName;
43
85
  color: $ac-white;
44
- box-shadow: 0px 6px 12px scale-color($color: $colorName, $lightness: 70%);
86
+ box-shadow: none;
87
+
45
88
  img {
46
89
  filter: brightness(100) !important;
47
90
  }
@@ -53,7 +96,16 @@
53
96
  color: $colorName;
54
97
 
55
98
  &:hover {
56
- background-color: scale-color($colorName, $lightness: 80%);
99
+ @if (type_of($colorName) == "color") {
100
+ background-color: scale-color($colorName, $lightness: 80%);
101
+ } @else {
102
+ background-color: hsla(
103
+ var(--hsl-hue),
104
+ var(--hsl-saturation),
105
+ var(--hsl-lightness),
106
+ 0.2
107
+ );
108
+ }
57
109
  }
58
110
 
59
111
  &.is-outlined {
@@ -62,7 +114,7 @@
62
114
  color: $ac-white;
63
115
 
64
116
  &:hover {
65
- background: $ac-white;
117
+ background-color: $ac-white;
66
118
  color: $colorName;
67
119
  }
68
120
  }
@@ -77,7 +129,15 @@
77
129
  &:hover {
78
130
  background-color: $colorName;
79
131
  color: $ac-white;
80
- box-shadow: 0px 6px 12px scale-color($colorName, $lightness: 70%);
132
+
133
+ @if (type_of($colorName) == "color") {
134
+ box-shadow: 0px 6px 12px scale-color($color: $colorName, $lightness: 70%);
135
+ } @else {
136
+ box-shadow: 0px
137
+ 6px
138
+ 12px
139
+ hsla(var(--hsl-hue), var(--hsl-saturation), var(--hsl-lightness), 0.3);
140
+ }
81
141
  }
82
142
 
83
143
  &.is-large {
@@ -85,7 +145,17 @@
85
145
  z-index: 1;
86
146
  overflow: hidden;
87
147
  border: 1px solid $colorName;
88
- background-color: scale-color($color: $colorName, $lightness: 80%);
148
+
149
+ @if (type_of($colorName) == "color") {
150
+ background-color: scale-color($colorName, $lightness: 80%);
151
+ } @else {
152
+ background-color: hsla(
153
+ var(--hsl-hue),
154
+ var(--hsl-saturation),
155
+ var(--hsl-lightness),
156
+ 0.2
157
+ );
158
+ }
89
159
 
90
160
  span {
91
161
  color: $colorName;
@@ -123,7 +193,17 @@
123
193
  }
124
194
 
125
195
  @mixin ac-tags($colorName) {
126
- background-color: scale-color($color: $colorName, $lightness: 85%);
196
+ @if (type_of($colorName) == "color") {
197
+ background-color: scale-color($colorName, $lightness: 85%);
198
+ } @else {
199
+ background-color: hsla(
200
+ var(--hsl-hue),
201
+ var(--hsl-saturation),
202
+ var(--hsl-lightness),
203
+ 0.15
204
+ );
205
+ }
206
+
127
207
  border-color: $colorName;
128
208
  color: $colorName;
129
209
  }
@@ -1,10 +1,14 @@
1
- body,
2
- html {
1
+ html,
2
+ body {
3
3
  background-color: $ac-bg;
4
4
  font-family: $ac-family-paragraph;
5
- font-weight: $ac-weight-normal;
5
+ font-weight: 400;
6
+ font-size: 13px;
7
+ color: $ac-color-text;
8
+ }
9
+ p {
10
+ font-size: 13px;
6
11
  }
7
-
8
12
  h1,
9
13
  h2,
10
14
  h3,
@@ -12,38 +16,32 @@ h4,
12
16
  h5,
13
17
  h6 {
14
18
  font-family: $ac-family-heading;
15
- font-weight: $ac-weight-medium;
19
+ font-weight: 500;
16
20
  color: $ac-color-heading;
17
21
  }
18
22
 
19
23
  h1 {
20
- font-size: $ac-size-1;
21
- line-height: $ac-size-1 + 10;
24
+ font-size: $size-1;
22
25
  }
23
26
 
24
27
  h2 {
25
- font-size: $ac-size-2;
26
- line-height: $ac-size-2 + 10;
28
+ font-size: $size-2;
27
29
  }
28
30
 
29
31
  h3 {
30
- font-size: $ac-size-3;
31
- line-height: $ac-size-3 + 10;
32
+ font-size: $size-3;
32
33
  }
33
34
 
34
35
  h4 {
35
- font-size: $ac-size-4;
36
- line-height: $ac-size-4 + 10;
36
+ font-size: $size-4;
37
37
  }
38
38
 
39
39
  h5 {
40
- font-size: $ac-size-5;
41
- line-height: $ac-size-5 + 10;
40
+ font-size: $size-5;
42
41
  }
43
42
 
44
43
  h6 {
45
- font-size: $ac-size-6;
46
- line-height: $ac-size-6 + 10;
44
+ font-size: $size-6;
47
45
  }
48
46
 
49
47
  h6 {
@@ -51,22 +49,27 @@ h6 {
51
49
  font-size: $font-size-tiny;
52
50
  line-height: $font-size-tiny + 10;
53
51
  }
52
+
54
53
  &.is-extra-small {
55
54
  font-size: $font-size-extra-small;
56
55
  line-height: $font-size-extra-small + 10;
57
56
  }
57
+
58
58
  &.is-small {
59
59
  font-size: $font-size-small;
60
60
  line-height: $font-size-small + 10;
61
61
  }
62
+
62
63
  &.is-normal {
63
64
  font-size: $font-size-normal;
64
65
  line-height: $font-size-normal + 10;
65
66
  }
67
+
66
68
  &.is-semi-normal {
67
69
  font-size: $font-size-semi-normal;
68
70
  line-height: $font-size-semi-normal + 10;
69
71
  }
72
+
70
73
  &.is-medium {
71
74
  font-size: $font-size-medium;
72
75
  line-height: $font-size-medium + 10;
@@ -86,10 +89,17 @@ hr {
86
89
  margin: 15px 0;
87
90
  }
88
91
 
92
+ strong {
93
+ color: $ac-color-value;
94
+ }
95
+
89
96
  .is-font-medium {
90
- font-weight: $ac-weight-medium;
97
+ font-weight: 500;
91
98
  }
92
99
 
93
100
  .is-font-bold {
94
- font-weight: $ac-weight-bold;
101
+ font-weight: 700;
95
102
  }
103
+ .material-icons{
104
+ font-size: 1em;
105
+ }
@@ -0,0 +1,26 @@
1
+ $dark-bg: var(--dark-bg);
2
+ $dark-bg-light: var(--dark-bg-light);
3
+
4
+ .is-dark-theme {
5
+ --ac-bg: var(--dark-bg);
6
+ --ac-white: #21272e;
7
+ --ac-link-black: #6969c0;
8
+ --ac-black: var(--ac-white-text);
9
+ --ac-text-heading: var(--ac-white-text);
10
+ --ac-text: #98a6b4;
11
+ --ac-blue-light: #2e323c;
12
+ --ac-gray-darker: #a6a6a6;
13
+ --ac-gray-light: #424242;
14
+ --ac-gray-lightest: #777777;
15
+ --ac-white-light: #3f3f3f;
16
+ --ac-white-lighter: #2e323c;
17
+ --ac-white-lightest: #1f2229;
18
+ --ac-label-text: #8c8c8c;
19
+ --ac-bg-light-gray: #252830;
20
+
21
+ --ac-color-value: hsl(
22
+ var(--font-hsl-hue),
23
+ var(--font-hsl-saturation),
24
+ calc(var(--font-hsl-lightness) + 60%)
25
+ );
26
+ }
@@ -27,6 +27,13 @@
27
27
  padding: 15px 20px;
28
28
  margin-bottom: 15px;
29
29
  border-radius: 4px;
30
+ border: 1px solid $ac-white-light;
31
+
32
+ &.open {
33
+ .accordion-heading {
34
+ margin-bottom: 10px;
35
+ }
36
+ }
30
37
 
31
38
  &:last-child {
32
39
  margin-bottom: 0;
@@ -36,7 +43,7 @@
36
43
  display: flex;
37
44
  align-items: center;
38
45
  justify-content: space-between;
39
- margin-bottom: 10px;
46
+
40
47
  h3 {
41
48
  cursor: pointer;
42
49
  }
@@ -47,10 +54,13 @@
47
54
  }
48
55
 
49
56
  .icon {
50
- width: 16px;
51
- height: 16px;
52
- border: 1px solid $ac-color-heading;
53
- line-height: 16px;
57
+ width: 20px;
58
+ height: 20px;
59
+ border: 1px solid $ac-white-light;
60
+ line-height: 20px;
61
+ display: flex;
62
+ justify-content: center;
63
+ align-items: center;
54
64
  font-size: 10px;
55
65
  border-radius: 50%;
56
66
  cursor: pointer;