testio-tailwind 2.2.0 → 3.0.0

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 (62) hide show
  1. package/.eleventy.js +4 -6
  2. package/package.json +8 -7
  3. package/src/_includes/header.njk +14 -2
  4. package/src/_includes/page-with-sidebar-nocode.njk +5 -3
  5. package/src/_includes/page-with-sidebar.njk +12 -10
  6. package/src/assets/images/assets_issuing/logo_bancontact.svg +3 -0
  7. package/src/assets/scripts/modules/echarts_gauge.js +2 -1
  8. package/src/assets/stylesheets/app.css +3 -0
  9. package/src/assets/stylesheets/components/actionbar.css +1 -1
  10. package/src/assets/stylesheets/components/badges.css +56 -0
  11. package/src/assets/stylesheets/components/banner_card.css +1 -1
  12. package/src/assets/stylesheets/components/buttons.css +4 -4
  13. package/src/assets/stylesheets/components/cards.css +5 -61
  14. package/src/assets/stylesheets/components/chat.css +11 -11
  15. package/src/assets/stylesheets/components/checkboxes_radiobuttons.css +6 -11
  16. package/src/assets/stylesheets/components/customer/customer_productcards.css +5 -5
  17. package/src/assets/stylesheets/components/devices.css +4 -4
  18. package/src/assets/stylesheets/components/dropdown.css +2 -25
  19. package/src/assets/stylesheets/components/form_card.css +1 -1
  20. package/src/assets/stylesheets/components/forms.css +2 -2
  21. package/src/assets/stylesheets/components/layout.css +1 -1
  22. package/src/assets/stylesheets/components/list_item.css +9 -9
  23. package/src/assets/stylesheets/components/metasidebar.css +2 -1
  24. package/src/assets/stylesheets/components/notifications.css +1 -0
  25. package/src/assets/stylesheets/components/popover.css +15 -113
  26. package/src/assets/stylesheets/components/resultmodule.css +1 -1
  27. package/src/assets/stylesheets/components/scrollbars.css +8 -0
  28. package/src/assets/stylesheets/components/sidebar.css +3 -2
  29. package/src/assets/stylesheets/components/tables.css +4 -4
  30. package/src/assets/stylesheets/components/tabs.css +5 -8
  31. package/src/assets/stylesheets/components/tags.css +1 -1
  32. package/src/assets/stylesheets/components/task_issue_item.css +1 -1
  33. package/src/assets/stylesheets/components/test_header.css +1 -0
  34. package/src/assets/stylesheets/components/test_item.css +2 -2
  35. package/src/assets/stylesheets/components/tester/tester_cards.css +1 -1
  36. package/src/assets/stylesheets/components/tom_select.css +3 -3
  37. package/src/assets/stylesheets/components/trix_editor.css +2 -1
  38. package/src/assets/stylesheets/components/user_item.css +1 -1
  39. package/src/assets/stylesheets/tailwind_config.css +17 -10
  40. package/src/assets/stylesheets/tailwind_theme_dark.css +22 -0
  41. package/src/pages/buttons/block.haml +29 -32
  42. package/src/pages/buttons/buttons-round.haml +2 -2
  43. package/src/pages/buttons/buttons-sm.haml +2 -2
  44. package/src/pages/buttons/buttons.haml +2 -2
  45. package/src/pages/buttons/buttons_input.haml +2 -2
  46. package/src/pages/buttons/square-buttons.haml +2 -2
  47. package/src/pages/charts/area.haml +2 -2
  48. package/src/pages/charts/bar_horizontal.haml +2 -2
  49. package/src/pages/charts/bar_vertical.haml +6 -6
  50. package/src/pages/charts/donut.haml +3 -3
  51. package/src/pages/charts/gauge.haml +3 -3
  52. package/src/pages/examples/layout-actionbar.haml +1 -1
  53. package/src/pages/examples/layout-basic.haml +1 -1
  54. package/src/pages/examples/layout-sidebar.haml +1 -1
  55. package/src/pages/forms/form_grid.haml +17 -0
  56. package/src/pages/forms/form_grid_narrow.haml +7 -7
  57. package/src/pages/issuing/brand_logos.haml +4 -0
  58. package/src/pages/layout/app_layout.haml +1 -1
  59. package/src/pages/layout/margins.haml +8 -8
  60. package/src/pages/layout/max_width.haml +1 -1
  61. package/src/pages/layout/paddings.haml +8 -8
  62. package/src/pages/forms/form-grid.haml +0 -17
@@ -26,7 +26,7 @@
26
26
 
27
27
  .form-control,
28
28
  .form-control-static {
29
- @apply h-btn w-full px-sm py-xxs text-base border border-bordercolor rounded;
29
+ @apply h-btn w-full px-sm py-xxs text-base border border-bordercolor rounded dark:bg-card;
30
30
  }
31
31
 
32
32
  .form-check .field_with_errors input[type="checkbox"],
@@ -80,7 +80,7 @@ textarea.form-control {
80
80
  }
81
81
 
82
82
  .form-control::placeholder {
83
- @apply text-disabled italic;
83
+ @apply text-placeholder italic;
84
84
  }
85
85
 
86
86
  .form-control:disabled,
@@ -1,5 +1,5 @@
1
1
  .app-body {
2
- @apply grid h-screen max-h-screen w-full overflow-hidden bg-white text-black;
2
+ @apply grid h-screen max-h-screen w-full overflow-hidden bg-appbody text-appbody-textcolor;
3
3
  grid-template-areas: "header header header"
4
4
  "sidebar test-header test-header"
5
5
  "sidebar main aside"
@@ -20,7 +20,7 @@ details.listitem .listitem-title {
20
20
  }
21
21
 
22
22
  .listitem {
23
- @apply bg-card rounded border;
23
+ @apply bg-listitem rounded;
24
24
  }
25
25
 
26
26
  details.listitem,
@@ -45,7 +45,7 @@ a.listitem:hover {
45
45
 
46
46
  .listitem[open] > .listitem-header,
47
47
  .listitem.listitem.seperate-header > .listitem-header {
48
- @apply border-b-1 border-white rounded-t;
48
+ @apply border-b-1 border-appbody rounded-t;
49
49
  }
50
50
 
51
51
  .listitem .collapse-btn {
@@ -72,7 +72,7 @@ a.listitem:hover {
72
72
  }
73
73
 
74
74
  .listitem-badge {
75
- @apply flex justify-center items-start w-btn p-xxs pt-xs text-white bg-black rounded-l;
75
+ @apply flex justify-center items-start w-btn p-xxs pt-xs text-white bg-black dark:bg-gray-700 rounded-l;
76
76
  grid-area: badge;
77
77
  }
78
78
 
@@ -142,7 +142,7 @@ a.listitem:hover {
142
142
  }
143
143
 
144
144
  .listitem-card {
145
- @apply relative mb-md p-sm bg-white rounded last:mb-0;
145
+ @apply relative mb-md p-sm bg-appbody rounded last:mb-0;
146
146
  }
147
147
 
148
148
  .listitem-card img {
@@ -212,7 +212,7 @@ a.listitem:hover {
212
212
  }
213
213
 
214
214
  .listitem-check label {
215
- @apply flex justify-center items-center cursor-pointer w-full h-full mb-0 bg-transparent rounded-l border-r-1 border-white;
215
+ @apply flex justify-center items-center cursor-pointer w-full h-full mb-0 bg-transparent rounded-l border-r-1 border-appbody;
216
216
  }
217
217
 
218
218
  .listitem-check label::after {
@@ -261,7 +261,7 @@ a.listitem:hover {
261
261
  }
262
262
 
263
263
  .listitem-actionbar {
264
- @apply px-sm py-xs bg-primary rounded-b;
264
+ @apply px-sm py-xs bg-actionbar rounded-b;
265
265
  }
266
266
 
267
267
  .listitem-actionbar > .btn {
@@ -269,7 +269,7 @@ a.listitem:hover {
269
269
  }
270
270
 
271
271
  .listitem-with-footer .listitem-footer .btn {
272
- @apply px-sm m-0 rounded-none border-l-1 border-white;
272
+ @apply px-sm m-0 rounded-none border-l-1 border-appbody;
273
273
 
274
274
  &:first-child {
275
275
  @apply rounded-bl border-l-0;
@@ -281,7 +281,7 @@ a.listitem:hover {
281
281
  }
282
282
 
283
283
  .listitem-with-footer .listitem-footer .dropdown-actions .btn {
284
- @apply border-l-1 border-white rounded-bl-none;
284
+ @apply border-l-1 border-appbody rounded-bl-none;
285
285
  }
286
286
 
287
287
  .listitem-with-footer .listitem-footer .btn-primary {
@@ -289,7 +289,7 @@ a.listitem:hover {
289
289
  }
290
290
 
291
291
  .listitem-with-footer .listitem-footer .btn-secondary {
292
- @apply flex-1 text-white bg-primary border-t-0 border-r-0 border-b-0;
292
+ @apply flex-1 text-appbody bg-primary border-t-0 border-r-0 border-b-0;
293
293
  &:hover, &:focus, &:active {
294
294
  @apply bg-link-hover;
295
295
  }
@@ -32,7 +32,7 @@ aside.metasidebar {
32
32
 
33
33
 
34
34
  .metasidebar-wrapper {
35
- @apply relative grid h-full max-h-full min-h-0 bg-white;
35
+ @apply relative grid h-full max-h-full min-h-0 bg-metasidebar;
36
36
  grid-template-columns: auto 1fr;
37
37
  grid-template-rows: minmax(0, 1fr);
38
38
  }
@@ -45,6 +45,7 @@ aside.metasidebar {
45
45
 
46
46
  .metasidebar-content {
47
47
  @apply relative block sm:w-meta-sidebar-width max-h-full min-h-0 ml-md pt-spacing pr-spacing pb-xxl pl-xs overflow-y-scroll;
48
+ scrollbar-width: none;
48
49
  }
49
50
 
50
51
  .metasidebar-title {
@@ -88,6 +88,7 @@
88
88
  .notification-container {
89
89
  @apply fixed top-header right-0 overflow-y-scroll max-h-screen pt-xs pb-xl z-10;
90
90
  width: 280px;
91
+ scrollbar-width: none;
91
92
  }
92
93
 
93
94
  .notification-container::-webkit-scrollbar {
@@ -1,120 +1,22 @@
1
- .popover {
2
- @apply p-0 text-white;
3
- }
4
-
5
- .popover .popover-header {
6
- @apply whitespace-nowrap text-white font-bold leading-tight p-sm;
7
- }
8
-
9
- .popover .popover-title {
10
- @apply pb-xs font-bold leading-tight text-white whitespace-nowrap;
11
- }
12
-
13
- .popover-header {
14
- @apply text-label;
15
- margin-top: -1px;
1
+ /*/// Info popover ///*/
16
2
 
17
- .card {
18
- @apply absolute border-link-hover;
19
- top: -1px;
20
- }
21
-
22
- .popover-description {
23
- @apply text-white font-normal mb-xxs leading-tight text-xs;
24
- }
3
+ .popover-menu.info,
4
+ .dropdown-menu.info {
5
+ @apply p-sm bg-petrol-800 dark:bg-gray-700 dark:text-appbody-textcolor;
25
6
  }
26
7
 
27
- .popover-content {
28
- @apply overflow-hidden pb-0;
8
+ .popover-menu.info .popover-title,
9
+ .dropdown-menu.info .popover-title {
10
+ @apply text-base font-semibold mb-xxs;
11
+ line-height: 1.1;
29
12
  }
30
13
 
31
- .popover hr {
32
- @apply m-0 opacity-50 bg-white;
33
- }
34
-
35
- .popover.tester-profile {
36
- @apply overflow-hidden pointer-events-none;
37
- top: -1px;
38
-
39
- .popover-header {
40
- @apply h-auto;
41
- }
42
- }
43
-
44
- .popover-content .section-headline {
45
-
46
- position: relative;
47
-
48
- .title {
49
- display: inline-block;
50
-
51
- &:after {
52
- @apply opacity-50;
53
- display: inline-block;
54
- content: "";
55
- position: absolute;
56
- margin-left: 5px;
57
- bottom: 19px;
58
- width: 230px;
59
- height: 1px;
60
- }
61
- }
14
+ .popover-menu.info .popover-content,
15
+ .dropdown-menu.info .popover-content {
16
+ @apply text-sm;
62
17
  }
63
18
 
64
- .popover.left {
65
- left: -1px;
66
-
67
- .popover-header .card {
68
- @apply rounded-tl;
69
- left: -1px;
70
- &.tester-avatar img {
71
- border-bottom-left-radius: 0;
72
- border-top-right-radius: 0;
73
- border-bottom-right-radius: 0;
74
- }
75
- }
76
-
77
- .popover-header {
78
- @apply pl-sm;
79
- }
80
- .popover-title {
81
- padding-left: 0;
82
- }
83
- }
84
-
85
- .popover.right {
86
- left: auto;
87
- right: -1px;
88
-
89
- .popover-header .card {
90
- @apply rounded-tr;
91
- margin: 0;
92
- right: -1px;
93
- &.tester-avatar img {
94
- border-bottom-left-radius: 0;
95
- border-top-left-radius: 0;
96
- }
97
- }
98
-
99
- .popover-header {
100
- @apply pl-sm;
101
- }
102
-
103
- .popover-title {
104
- padding-left: 0;
105
- padding-right: 0;
106
- }
107
- }
108
-
109
- .popover.md {
110
- @apply w-card-md max-w-card-md;
111
- }
112
-
113
- .popover.flexible {
114
- width: 100%;
115
- max-width: initial;
116
- }
117
-
118
- .popover_info_icon {
119
- cursor:pointer !important;
120
- }
19
+ .popover-menu.info .popover-actions,
20
+ .dropdown-menu.info .popover-actions {
21
+ @apply mt-xs;
22
+ }
@@ -114,7 +114,7 @@ details.result-item .issue-item {
114
114
  }
115
115
 
116
116
  details.result-item .result-item {
117
- @apply pl-lg mr-btn bg-gray-lightest border-b border-bordercolor last:border-b-0;
117
+ @apply pl-lg mr-btn bg-card border-b border-bordercolor last:border-b-0;
118
118
  &::before {
119
119
  @apply left-sm;
120
120
  }
@@ -0,0 +1,8 @@
1
+ body {
2
+ scrollbar-width: thin;
3
+ scrollbar-color: #bfc1c5 #f2f2f2;
4
+ }
5
+
6
+ body.dark {
7
+ scrollbar-color: #1d1d1d #262626;
8
+ }
@@ -5,7 +5,7 @@ nav.sidebar,
5
5
  overflow-x: auto;
6
6
  overflow-y: scroll;
7
7
  -ms-overflow-style: none; /* IE and Edge */
8
- scrollbar-width: none; /* Firefox */
8
+ scrollbar-width: none;
9
9
  z-index: 0;
10
10
  border-right: none;
11
11
  }
@@ -14,11 +14,12 @@ nav.sidebar::-webkit-scrollbar,
14
14
  nav.sidebar .navlinks::-webkit-scrollbar {
15
15
  display: none;
16
16
  -ms-overflow-style: none; /* IE and Edge */
17
- scrollbar-width: none; /* Firefox */
17
+ scrollbar-width: none;
18
18
  }
19
19
 
20
20
  .sidebar .navlinks {
21
21
  @apply overflow-y-scroll pb-spacing;
22
+ scrollbar-width: none;
22
23
  }
23
24
 
24
25
  .sidebar .navlink,
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  .td-title {
79
- @apply inline pr-xs text-black hover:text-link-hover;
79
+ @apply inline pr-xs text-appbody-textcolor hover:text-link-hover;
80
80
  }
81
81
 
82
82
  .table-bordered,
@@ -205,7 +205,7 @@ td.action-cell,
205
205
  }
206
206
 
207
207
  .table-cellstyle td {
208
- @apply relative px-2.5 py-1.5 last:pr-3 min-w-cell min-h-11 align-top text-sm bg-gray-100;
208
+ @apply relative px-2.5 py-1.5 last:pr-3 min-w-cell min-h-11 align-top text-sm bg-card;
209
209
  }
210
210
 
211
211
  .table-cellstyle td label {
@@ -227,7 +227,7 @@ td.action-cell,
227
227
  }
228
228
 
229
229
  .table-cellstyle td.inprogress::after {
230
- @apply bg-gray-600;
230
+ @apply bg-gray-600 dark:bg-gray-800;
231
231
  -webkit-mask-image: url("/assets/images/icons/clock.svg");
232
232
  mask-image: url("/assets/images/icons/clock.svg");
233
233
  }
@@ -259,7 +259,7 @@ td.action-cell,
259
259
  }
260
260
 
261
261
  .cell-content-editable, a.cell-content-editable {
262
- @apply flex justify-between w-full h-full pl-2.5 pr-9 py-1.5 text-black no-underline font-normal hover:bg-link-hover hover:text-white cursor-pointer;
262
+ @apply flex justify-between w-full h-full pl-2.5 pr-9 py-1.5 text-appbody-textcolor no-underline font-normal hover:bg-link-hover hover:text-white cursor-pointer;
263
263
  word-break: break-word;
264
264
 
265
265
  &::after {
@@ -2,6 +2,7 @@
2
2
  .nav-tabs,
3
3
  .nav-pills {
4
4
  @apply relative flex flex-row mb-spacing overflow-x-scroll overflow-y-hidden;
5
+ scrollbar-width: none;
5
6
  }
6
7
 
7
8
  .nav-tabs {
@@ -67,6 +68,7 @@
67
68
  overflow-x: scroll;
68
69
  overflow-y: hidden;
69
70
  white-space: nowrap;
71
+ scrollbar-width: none;
70
72
  }
71
73
 
72
74
  .nav-tabs:has(.nav-actions)::after {
@@ -98,7 +100,7 @@
98
100
  }
99
101
 
100
102
  .nav-pills .navlink {
101
- @apply inline-flex items-start flex-shrink-0 whitespace-nowrap mr-xxs py-xxs px-sm bg-gray-lighter rounded cursor-pointer;
103
+ @apply inline-flex items-start flex-shrink-0 whitespace-nowrap mr-xxs py-xxs px-sm bg-card rounded cursor-pointer;
102
104
  &.active {
103
105
  @apply text-white bg-info;
104
106
  }
@@ -108,18 +110,13 @@
108
110
  }
109
111
 
110
112
  &.disabled, &.disabled:hover, &.disabled:focus {
111
- @apply text-disabled cursor-not-allowed;
113
+ @apply text-disabled bg-transparent bg-pattern-disabled-bright dark:bg-pattern-disabled-dark border-bordercolor cursor-not-allowed;
114
+ background-repeat: repeat;
112
115
  }
113
116
 
114
117
  &:last-child {
115
118
  margin-right: 0;
116
119
  }
117
-
118
- &.disabled {
119
- @apply text-disabled bg-transparent;
120
- background-image: url("/assets/images/pattern-stripes-gray.png");
121
- background-repeat: repeat;
122
- }
123
120
  }
124
121
 
125
122
  .nav-pills .counter {
@@ -7,7 +7,7 @@
7
7
  }
8
8
 
9
9
  .tag {
10
- @apply inline-flex items-center flex-row h-md px-xs text-sm leading-none bg-gray-light rounded;
10
+ @apply inline-flex items-center flex-row h-md px-xs text-sm leading-none bg-tag text-appbody-textcolor rounded;
11
11
  padding-top: 2px;
12
12
  padding-bottom: 2px;
13
13
  }
@@ -40,7 +40,7 @@
40
40
 
41
41
  .task-item .task-title,
42
42
  .issue-item .issue-title {
43
- @apply text-black font-medium;
43
+ @apply text-appbody-textcolor font-medium;
44
44
  grid-area: item-title;
45
45
  overflow: hidden;
46
46
  display: -webkit-box;
@@ -52,6 +52,7 @@
52
52
  .test-header .nav-tabs {
53
53
  @apply mb-0 pb-xs border-b-0;
54
54
  grid-area: nav-tabs;
55
+ scrollbar-width: none;
55
56
  }
56
57
 
57
58
  .test-header.tester .nav-tabs::after {
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  .test-item .test-title::before {
11
- @apply w-icon h-icon bg-black;
11
+ @apply w-icon h-icon bg-appbody-textcolor;
12
12
  content: "";
13
13
  position: absolute;
14
14
  display: inline-block;
@@ -53,7 +53,7 @@
53
53
  }
54
54
 
55
55
  .test-item .test-title {
56
- @apply text-black font-medium;
56
+ @apply text-appbody-textcolor font-medium;
57
57
  overflow: hidden;
58
58
  display: -webkit-box;
59
59
  -webkit-box-orient: vertical;
@@ -42,7 +42,7 @@
42
42
  }
43
43
 
44
44
  .tester-card .card-title {
45
- @apply block m-0 p-0 text-black;
45
+ @apply block m-0 p-0 text-appbody-textcolor;
46
46
  margin-bottom: 2px;
47
47
  &:hover, &:focus, &:active {
48
48
  @apply text-link-hover;
@@ -2,7 +2,7 @@
2
2
  /*///// Tom-Select theme https://tom-select.js.org /////*/
3
3
 
4
4
  .ts-control {
5
- @apply relative overflow-hidden flex w-full justify-start items-stretch min-h-btn py-xs pl-sm text-base rounded text-white bg-primary;
5
+ @apply relative overflow-hidden flex w-full justify-start items-stretch min-h-btn py-xs pl-sm text-base rounded;
6
6
  padding-right: 40px !important;
7
7
  }
8
8
 
@@ -13,9 +13,9 @@
13
13
  .ts-control,
14
14
  .full .ts-control,
15
15
  .ts-wrapper.single.input-active .ts-control {
16
- @apply bg-primary border-0 cursor-pointer;
16
+ @apply bg-primary dark:bg-card border-bordercolor cursor-pointer;
17
17
  &:hover {
18
- @apply bg-link-hover;
18
+ @apply bg-link-hover text-white;
19
19
  }
20
20
  &:hover input::placeholder {
21
21
  @apply text-white;
@@ -32,6 +32,7 @@ trix-toolbar .trix-button-group {
32
32
 
33
33
  trix-toolbar .trix-button-row {
34
34
  @apply relative flex flex-row w-full p-xxs overflow-x-scroll;
35
+ scrollbar-width: none;
35
36
  }
36
37
 
37
38
  .trix-button-row::-webkit-scrollbar {
@@ -41,7 +42,7 @@ trix-toolbar .trix-button-row {
41
42
  }
42
43
 
43
44
  .trix-button-group.trix-button-group--history-tools {
44
- @apply absolute right-0 pr-xs bg-white;
45
+ @apply absolute right-0 pr-xs bg-appbody;
45
46
  }
46
47
 
47
48
  trix-toolbar .trix-button {
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  a.user-item {
18
- @apply text-black;
18
+ @apply text-appbody-textcolor;
19
19
  }
20
20
 
21
21
  a.user-item:hover,
@@ -50,20 +50,16 @@
50
50
  --color-purple-light: #8988eb;
51
51
  --color-purple-500: #7954ff;
52
52
  --color-purple-DEFAULT: #7954ff;
53
- --border-DEFAULT: 1px;
54
- --border-0: 0px;
55
- --border-1: 1px;
56
- --border-2: 2px;
57
- --border-4: 4px;
58
- --border-6: 6px;
59
- --border-10: 10px;
53
+
54
+ /* Functional Colors */
60
55
  --color-appbody: #FFFFFF;
61
- --color-black: #1d1d1d;
56
+ --color-appbody-textcolor: #1d1d1d;
62
57
  --color-primary: #236a84;
63
58
  --color-link: #236a84;
64
59
  --color-link-hover: #21bef4;
65
60
  --color-header: #1d1d1d;
66
61
  --color-actionbar: #236a84;
62
+ --color-metasidebar: #ffffff;
67
63
  --color-bordercolor: #e6e6e6;
68
64
  --color-bordercolor-dark: #D4D6DC;
69
65
  --color-success: #8cbd24;
@@ -76,6 +72,9 @@
76
72
  --color-label-inverted-color: #bfc1c5;
77
73
  --color-dark: #222222;
78
74
  --color-card: #e6e6e6;
75
+ --color-card-dark: #262626;
76
+ --color-listitem: #e6e6e6;
77
+ --color-tag: #e6e6e6;
79
78
  --color-critical: #ec0404;
80
79
  --color-high: #d8ce0d;
81
80
  --color-low: #9fa2a8;
@@ -144,9 +143,17 @@
144
143
  --font-weight-navlinks: 600;
145
144
  --font-weight-display: 200;
146
145
 
146
+ /*//// Border width ////*/
147
+ --border-DEFAULT: 1px;
148
+ --border-0: 0px;
149
+ --border-1: 1px;
150
+ --border-2: 2px;
151
+ --border-4: 4px;
152
+ --border-6: 6px;
153
+ --border-10: 10px;
154
+
147
155
  /*//// Border radius ////*/
148
- --rounded-DEFAULT: 5px;
149
- --rounded-default: 0.3rem;
156
+ --radius: 5px;
150
157
 
151
158
  /*//// Spacing ////*/
152
159
  --spacing-spacing: 1.875rem;
@@ -0,0 +1,22 @@
1
+ @custom-variant dark (&:where(.dark, .dark *));
2
+ @layer theme {
3
+ .dark {
4
+ /* Colors */
5
+ --color-appbody: #1d1d1d;
6
+ --color-appbody-textcolor: #f2f2f2;
7
+ --color-actionbar: #343A40;
8
+ --color-metasidebar: #262626;
9
+ --color-primary: #78eac1;
10
+ --color-link: #8988eb;
11
+ --color-link-hover: #7954ff;
12
+ --color-bordercolor: #343A40;
13
+ --color-card: #262626;
14
+ --color-disabled: #343A40;
15
+ --color-listitem: #343A40;
16
+ --color-placeholder: #5f656d;
17
+ --color-tag: #5f656d;
18
+
19
+ /*//// Border radius ////*/
20
+ --radius: 12px;
21
+ }
22
+ }
@@ -3,37 +3,34 @@ title: Block Buttons
3
3
  tags: button
4
4
  ---
5
5
 
6
- .row
7
- .col-sm-6
8
- %ul.list-vertical.mb-2
9
- %li
10
- %button.btn.btn-block.btn-primary Primary
11
- %li
12
- %button.btn.btn-block.btn-secondary Secondary
13
- %li
14
- %button.btn.btn-block.btn-success Success
15
- %li
16
- %button.btn.btn-block.btn-danger Danger
17
- %li
18
- %button.btn.btn-block.btn-warning Warning
19
- %li
20
- %button.btn.btn-block.btn-info Info
21
- %li
22
- %button.btn.btn-block.btn-dashed Dashed
23
- %li
24
- %button.btn.btn-block.btn-link Link
25
- %li
26
- %button.btn.btn-block.btn-ghost Ghost
27
- %li
28
- %button.btn.btn-block{disabled: "disabled"} Disabled
6
+ %ul.list-vertical.mb-md
7
+ %li
8
+ %button.btn.btn-block.btn-primary Primary
9
+ %li
10
+ %button.btn.btn-block.btn-secondary Secondary
11
+ %li
12
+ %button.btn.btn-block.btn-success Success
13
+ %li
14
+ %button.btn.btn-block.btn-danger Danger
15
+ %li
16
+ %button.btn.btn-block.btn-warning Warning
17
+ %li
18
+ %button.btn.btn-block.btn-info Info
19
+ %li
20
+ %button.btn.btn-block.btn-dashed Dashed
21
+ %li
22
+ %button.btn.btn-block.btn-link Link
23
+ %li
24
+ %button.btn.btn-block.btn-ghost Ghost
25
+ %li
26
+ %button.btn.btn-block{disabled: "disabled"} Disabled
29
27
 
30
- .col-sm-6
31
- .bg-petrol.p-2
32
- %ul.list-vertical
33
- %li
34
- %button.btn.btn-block.btn-primary-inverted primary-inverted
35
- %li
36
- %button.btn.btn-block.btn-secondary-inverted Secondary
37
- %li
38
- %button.btn.btn-block.btn-outline-primary-inverted outline-primary-inverted
28
+ .bg-actionbar.p-5
29
+ %ul.list-vertical
30
+ %li
31
+ %button.btn.btn-block.btn-primary-inverted primary-inverted
32
+ %li
33
+ %button.btn.btn-block.btn-secondary-inverted Secondary
34
+ %li
35
+ %button.btn.btn-block.btn-outline-primary-inverted outline-primary-inverted
39
36
 
@@ -3,7 +3,7 @@ title: Round buttons
3
3
  tags: button
4
4
  ---
5
5
 
6
- %ul.list-inline
6
+ %ul.list-inline.mb-md
7
7
  %li
8
8
  %button.btn.rounded-full.btn-primary Primary
9
9
  %li
@@ -41,7 +41,7 @@ tags: button
41
41
  %li
42
42
  %button.btn.rounded-full{disabled: "disabled"} Disabled
43
43
 
44
- .bg-petrol.p-2
44
+ .bg-actionbar.p-5
45
45
  %ul.list-inline
46
46
  %li
47
47
  %button.btn.rounded-full.btn-primary-inverted primary-inverted
@@ -3,7 +3,7 @@ title: Buttons SM
3
3
  tags: button
4
4
  ---
5
5
 
6
- %ul.list-inline
6
+ %ul.list-inline.mb-md
7
7
  %li
8
8
  %button.btn.btn-sm.btn-primary Primary
9
9
  %li
@@ -30,7 +30,7 @@ tags: button
30
30
  %li
31
31
  %button.btn.btn-sm.btn-link{disabled: "disabled"} Link
32
32
 
33
- .bg-petrol.p-2
33
+ .bg-actionbar.p-5
34
34
  %ul.list-inline
35
35
  %li
36
36
  %button.btn.btn-sm.btn-primary-inverted primary-inverted