@ardium-ui/ui 3.1.3-0 → 3.2.1

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 (65) hide show
  1. package/package.json +1 -1
  2. package/prebuilt-themes/default/buttons/button.css.map +1 -1
  3. package/prebuilt-themes/default/buttons/fab.css.map +1 -1
  4. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
  5. package/prebuilt-themes/default/calendar.css +1 -1
  6. package/prebuilt-themes/default/calendar.css.map +1 -1
  7. package/prebuilt-themes/default/checkbox-list.css.map +1 -1
  8. package/prebuilt-themes/default/checkbox.css.map +1 -1
  9. package/prebuilt-themes/default/chips.css.map +1 -1
  10. package/prebuilt-themes/default/core.css.map +1 -1
  11. package/prebuilt-themes/default/form-field-frame.css.map +1 -1
  12. package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
  13. package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
  14. package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
  15. package/prebuilt-themes/default/inputs/input.css.map +1 -1
  16. package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
  17. package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
  18. package/prebuilt-themes/default/inputs/simple-input.css.map +1 -1
  19. package/prebuilt-themes/default/radio.css.map +1 -1
  20. package/prebuilt-themes/default/segment.css.map +1 -1
  21. package/prebuilt-themes/default/select.css.map +1 -1
  22. package/prebuilt-themes/default/slide-toggle.css.map +1 -1
  23. package/prebuilt-themes/default/slider.css.map +1 -1
  24. package/prebuilt-themes/default/stars.css.map +1 -1
  25. package/prebuilt-themes/default/statebox.css.map +1 -1
  26. package/prebuilt-themes/default/tabber.css.map +1 -1
  27. package/prebuilt-themes/default/table.css +1 -1
  28. package/themes/default/_clear-button.scss +6 -6
  29. package/themes/default/_coloring.scss +110 -110
  30. package/themes/default/_dropdown-arrow.scss +4 -4
  31. package/themes/default/_mixins.scss +6 -12
  32. package/themes/default/buttons/_button-mixins.scss +10 -12
  33. package/themes/default/calendar.scss +9 -9
  34. package/themes/default/card.scss +6 -6
  35. package/themes/default/checkbox-list.scss +2 -2
  36. package/themes/default/checkbox.scss +3 -3
  37. package/themes/default/chips.scss +6 -6
  38. package/themes/default/color-display.scss +2 -2
  39. package/themes/default/color-picker.scss +6 -6
  40. package/themes/default/core.scss +2 -2
  41. package/themes/default/divider.scss +3 -3
  42. package/themes/default/dropdown-panel.scss +4 -4
  43. package/themes/default/form-field-frame.scss +6 -6
  44. package/themes/default/inputs/_shared.scss +1 -1
  45. package/themes/default/inputs/digit-input.scss +3 -3
  46. package/themes/default/inputs/file-input.scss +2 -2
  47. package/themes/default/inputs/hex-input.scss +2 -2
  48. package/themes/default/inputs/input.scss +4 -4
  49. package/themes/default/inputs/number-input.scss +3 -3
  50. package/themes/default/inputs/password-input.scss +2 -2
  51. package/themes/default/kbd-shortcut.scss +2 -2
  52. package/themes/default/kbd.scss +5 -5
  53. package/themes/default/modal.scss +5 -5
  54. package/themes/default/progress-bar.scss +3 -3
  55. package/themes/default/progress-circle.scss +2 -2
  56. package/themes/default/radio.scss +5 -5
  57. package/themes/default/segment.scss +7 -7
  58. package/themes/default/select.scss +10 -10
  59. package/themes/default/slide-toggle.scss +9 -9
  60. package/themes/default/slider.scss +8 -8
  61. package/themes/default/snackbar.scss +3 -3
  62. package/themes/default/stars.scss +2 -2
  63. package/themes/default/statebox.scss +2 -2
  64. package/themes/default/tabber.scss +3 -3
  65. package/themes/default/table.scss +19 -19
@@ -1,13 +1,9 @@
1
- @import '../variables';
1
+ @use '../variables' as ARD;
2
2
 
3
3
  @mixin icon($fill: 0, $wght: 500, $grad: 0, $opsz: 48) {
4
4
  font-family: 'Material Symbols Outlined';
5
5
  font-size: 1.5em;
6
- font-variation-settings:
7
- 'FILL' #{$fill},
8
- 'wght' #{$wght},
9
- 'GRAD' #{$grad},
10
- 'opsz' #{$opsz};
6
+ font-variation-settings: 'FILL' #{$fill}, 'wght' #{$wght}, 'GRAD' #{$grad}, 'opsz' #{$opsz};
11
7
  }
12
8
 
13
9
  @mixin focus-overlay($size: 0) {
@@ -26,9 +22,7 @@
26
22
  > .ard-focus-overlay {
27
23
  transform: scale(0.2);
28
24
 
29
- transition:
30
- opacity 0.2s ease,
31
- transform 0.1s ease;
25
+ transition: opacity 0.2s ease, transform 0.1s ease;
32
26
  }
33
27
 
34
28
  &:hover,
@@ -41,11 +35,11 @@
41
35
 
42
36
  @mixin formAppearances() {
43
37
  &.ard-appearance-outlined {
44
- --ard-appearance-background: #{$bg};
45
- --ard-appearance-border: 1px solid #{$border};
38
+ --ard-appearance-background: #{ARD.$bg};
39
+ --ard-appearance-border: 1px solid #{ARD.$border};
46
40
  }
47
41
  &.ard-appearance-filled {
48
- --ard-appearance-background: #{$bg-f};
42
+ --ard-appearance-background: #{ARD.$bg-f};
49
43
  --ard-appearance-border: none;
50
44
  }
51
45
  &.ard-appearance-transparent {
@@ -1,6 +1,6 @@
1
1
  @use '../mixins' as defaultMixins;
2
2
  @use '../coloring' as coloringMixins;
3
- @import '../../variables';
3
+ @use '../../variables' as ARD;
4
4
 
5
5
  @mixin button {
6
6
  @include coloringMixins.typeColors();
@@ -63,38 +63,36 @@
63
63
  }
64
64
  &.ard-appearance-raised,
65
65
  &.ard-appearance-raised-strong {
66
- transition: box-shadow 0.28s $timing-fn;
67
- box-shadow: $simple-shadow;
66
+ transition: box-shadow 0.28s ARD.$timing-fn;
67
+ box-shadow: ARD.$simple-shadow;
68
68
 
69
69
  &:hover,
70
70
  &:focus {
71
- box-shadow: $simple-shadow2;
71
+ box-shadow: ARD.$simple-shadow2;
72
72
  }
73
73
  &:active {
74
- box-shadow: $simple-shadow3;
74
+ box-shadow: ARD.$simple-shadow3;
75
75
  }
76
76
  }
77
77
  &.ard-appearance-outlined {
78
- background: $bg;
78
+ background: ARD.$bg;
79
79
  color: var(--ard-cmpcl--content);
80
- border: 1px solid $border-light;
80
+ border: 1px solid ARD.$border-light;
81
81
 
82
82
  .ard-focus-overlay {
83
83
  background: var(--ard-cmpcl--overlay-colored);
84
84
  }
85
85
  }
86
86
  &.ard-appearance-outlined-strong {
87
- background: $bg;
87
+ background: ARD.$bg;
88
88
  color: var(--ard-cmpcl--content);
89
- border: 1px solid $border-light;
89
+ border: 1px solid ARD.$border-light;
90
90
 
91
91
  .ard-focus-overlay {
92
92
  display: none;
93
93
  }
94
94
 
95
- transition:
96
- background-color 0.2s ease,
97
- color 0.2s ease;
95
+ transition: background-color 0.2s ease, color 0.2s ease;
98
96
  &:hover,
99
97
  &:focus,
100
98
  &:focus-visible {
@@ -1,12 +1,12 @@
1
1
  @use './dropdown-arrow.scss' as DA;
2
2
  @use './mixins.scss' as DM;
3
3
  @use './coloring.scss' as CM;
4
- @import '../variables';
4
+ @use '../variables' as ARD;
5
5
 
6
6
  .ard-calendar {
7
7
  @include CM.typeColors();
8
8
  width: 18.5rem;
9
- background: $bg;
9
+ background: ARD.$bg;
10
10
  user-select: none;
11
11
 
12
12
  .ard-calendar-header-container {
@@ -76,7 +76,7 @@
76
76
  }
77
77
  &.ard-calendar-today {
78
78
  .ard-calendar-entry-button {
79
- border-color: $detail;
79
+ border-color: ARD.$detail;
80
80
  }
81
81
  }
82
82
  &.ard-calendar-entry-highlighted {
@@ -94,7 +94,7 @@
94
94
 
95
95
  &.ard-calendar-today {
96
96
  .ard-focus-overlay {
97
- border-color: $bg;
97
+ border-color: ARD.$bg;
98
98
  }
99
99
  }
100
100
  }
@@ -112,7 +112,7 @@
112
112
  }
113
113
  .ard-calendar-day-labels {
114
114
  font-size: 0.8125rem;
115
- color: $text3;
115
+ color: ARD.$text3;
116
116
  height: 1.25rem;
117
117
  position: relative;
118
118
 
@@ -127,7 +127,7 @@
127
127
  position: absolute;
128
128
  width: 100%;
129
129
  height: 1px;
130
- background: $detail-ultralight;
130
+ background: ARD.$detail-ultralight;
131
131
  bottom: 0;
132
132
  }
133
133
  }
@@ -135,7 +135,7 @@
135
135
  position: relative;
136
136
 
137
137
  &.ard-reserve-top-row {
138
- padding-top: 14.285714%;
138
+ padding-top: 100% / 7;
139
139
  }
140
140
  .ard-calendar-floating-month {
141
141
  position: absolute;
@@ -149,13 +149,13 @@
149
149
  align-items: center;
150
150
  font-size: 0.875rem;
151
151
  font-weight: 500;
152
- color: $text3;
152
+ color: ARD.$text3;
153
153
  letter-spacing: 0.5px;
154
154
  }
155
155
  }
156
156
  //! years & months view
157
157
  .ard-calendar-simple-grid {
158
- border-top: 1px solid $detail-ultralight;
158
+ border-top: 1px solid ARD.$detail-ultralight;
159
159
  margin-top: 0.25rem;
160
160
  display: grid;
161
161
  grid-template-columns: repeat(4, 1fr);
@@ -1,9 +1,9 @@
1
- @import '../variables';
1
+ @use '../variables' as ARD;
2
2
 
3
3
  ard-card,
4
4
  .ard-card {
5
5
  position: relative;
6
- background: $bg;
6
+ background: ARD.$bg;
7
7
  box-sizing: border-box;
8
8
  width: 100%;
9
9
  height: max-content;
@@ -11,10 +11,10 @@ ard-card,
11
11
 
12
12
  //! appearances
13
13
  &.ard-appearance-outlined {
14
- border: 1px solid $border-light;
14
+ border: 1px solid ARD.$border-light;
15
15
  }
16
16
  &.ard-appearance-raised {
17
- box-shadow: $card-shadow;
17
+ box-shadow: ARD.$card-shadow;
18
18
  }
19
19
  //! variants
20
20
  &.ard-variant-sharp {
@@ -52,12 +52,12 @@ ard-card-header {
52
52
  .ard-card-title {
53
53
  font-size: 1.375em;
54
54
  letter-spacing: 0.0125em;
55
- color: $text;
55
+ color: ARD.$text;
56
56
  }
57
57
  .ard-card-subtitle {
58
58
  font-size: 1em;
59
59
  letter-spacing: 0.0078125em;
60
- color: $text3;
60
+ color: ARD.$text3;
61
61
  margin-top: 0.125rem;
62
62
  }
63
63
  .ard-card-avatar {
@@ -1,5 +1,5 @@
1
1
  @use './mixins' as CM;
2
- @import '../variables';
2
+ @use '../variables' as ARD;
3
3
 
4
4
  .ard-checkbox-list {
5
5
  display: flex;
@@ -20,7 +20,7 @@
20
20
  }
21
21
  > .ard-focus-overlay {
22
22
  @include CM.focus-overlay();
23
- background: $overlay;
23
+ background: ARD.$overlay;
24
24
  }
25
25
  &.ard-item-highlighted {
26
26
  > .ard-focus-overlay {
@@ -1,6 +1,6 @@
1
1
  @use './mixins' as defaultMixins;
2
2
  @use './coloring' as coloringMixins;
3
- @import '../variables';
3
+ @use '../variables' as ARD;
4
4
 
5
5
  .ard-checkbox {
6
6
  @include coloringMixins.typeColors();
@@ -17,7 +17,7 @@
17
17
  background: none;
18
18
  padding: 0;
19
19
  outline: none;
20
- color: $text2;
20
+ color: ARD.$text2;
21
21
 
22
22
  &.ard-color-currentColor {
23
23
  color: currentColor;
@@ -43,7 +43,7 @@
43
43
  height: 1.8em; //the height of the icon
44
44
  display: none;
45
45
  opacity: 80%;
46
- transition: opacity 0.2s $timing-fn;
46
+ transition: opacity 0.2s ARD.$timing-fn;
47
47
 
48
48
  &::after {
49
49
  @include defaultMixins.icon(0, 600);
@@ -1,7 +1,7 @@
1
1
  @use './mixins' as defaultMixins;
2
2
  @use './coloring' as coloringMixins;
3
3
  @use './clear-button' as clearButton;
4
- @import '../variables';
4
+ @use '../variables' as ARD;
5
5
 
6
6
  //! general css
7
7
  .ard-chip-wrapper {
@@ -10,8 +10,8 @@
10
10
  @include defaultMixins.formVariants();
11
11
 
12
12
  font-family: 'Roboto', sans-serif;
13
- color: $text2;
14
- background: $bg;
13
+ color: ARD.$text2;
14
+ background: ARD.$bg;
15
15
  border-radius: var(--ard-variant-border-radius);
16
16
  padding: 0;
17
17
  margin: 6px;
@@ -30,7 +30,7 @@
30
30
  }
31
31
  > .ard-focus-overlay {
32
32
  @include defaultMixins.focus-overlay;
33
- background: $overlay;
33
+ background: ARD.$overlay;
34
34
  border-radius: 0;
35
35
  }
36
36
 
@@ -66,8 +66,8 @@
66
66
  border: none;
67
67
 
68
68
  &.ard-chip-selectable {
69
- background-color: $bg-f;
70
- color: $text2;
69
+ background-color: ARD.$bg-f;
70
+ color: ARD.$text2;
71
71
  transition:
72
72
  color 0.15s ease,
73
73
  border-color 0.15s ease,
@@ -1,5 +1,5 @@
1
1
  @use 'sass:math';
2
- @import '../variables';
2
+ @use '../variables' as ARD;
3
3
 
4
4
  .ard-color-display-wrapper {
5
5
  gap: 0.3ch;
@@ -35,7 +35,7 @@
35
35
  }
36
36
  &.ard-with-border {
37
37
  .ard-color-display {
38
- border-color: $text;
38
+ border-color: ARD.$text;
39
39
  }
40
40
  }
41
41
  }
@@ -1,4 +1,4 @@
1
- @import '../variables';
1
+ @use '../variables' as ARD;
2
2
 
3
3
  .ard-color-picker {
4
4
  width: 15rem;
@@ -14,10 +14,10 @@
14
14
  .ard-color-picker-shade-map,
15
15
  .ard-color-picker-hue-map,
16
16
  .ard-color-picker-opacity-map {
17
- border: 1px solid $detail-ultralight-solid;
17
+ border: 1px solid ARD.$detail-ultralight-solid;
18
18
 
19
19
  &:focus-visible {
20
- outline: 2px solid $overlay;
20
+ outline: 2px solid ARD.$overlay;
21
21
  outline-offset: 1px;
22
22
  }
23
23
  }
@@ -30,7 +30,7 @@
30
30
  width: 1rem;
31
31
  }
32
32
  .ard-color-picker-opacity-map {
33
- --ard-color-picker-opacity-checkerboard-color: #{$detail-ultralight-solid};
33
+ --ard-color-picker-opacity-checkerboard-color: #{ARD.$detail-ultralight-solid};
34
34
  --ard-color-picker-opacity-checkerboard-size: 0.5rem;
35
35
  }
36
36
  .ard-color-picker-shade-indicator {
@@ -94,14 +94,14 @@
94
94
  }
95
95
  }
96
96
  .ard-color-picker-reference {
97
- --ard-color-picker-opacity-checkerboard-color: #{$detail-ultralight-solid};
97
+ --ard-color-picker-opacity-checkerboard-color: #{ARD.$detail-ultralight-solid};
98
98
  --ard-color-picker-opacity-checkerboard-size: 0.5rem;
99
99
 
100
100
  display: grid;
101
101
  grid-template-columns: 1fr 1fr;
102
102
  width: 4rem;
103
103
  height: 100%;
104
- border: 1px solid $detail-ultralight-solid;
104
+ border: 1px solid ARD.$detail-ultralight-solid;
105
105
  box-sizing: border-box;
106
106
  }
107
107
  }
@@ -1,3 +1,5 @@
1
+ @use '../variables';
2
+
1
3
  @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
2
4
  @import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
3
5
 
@@ -95,5 +97,3 @@
95
97
  .ard-disabled {
96
98
  pointer-events: none;
97
99
  }
98
-
99
- @import '../variables';
@@ -1,13 +1,13 @@
1
- @import '../variables';
1
+ @use '../variables' as ARD;
2
2
 
3
3
  ard-divider {
4
4
  margin: 0;
5
5
 
6
6
  &:not(.ard-divider-vertical) {
7
- border-top: 1px solid $detail-ultralight;
7
+ border-top: 1px solid ARD.$detail-ultralight;
8
8
  }
9
9
 
10
10
  &.ard-divider-vertical {
11
- border-left: 1px solid $detail-ultralight;
11
+ border-left: 1px solid ARD.$detail-ultralight;
12
12
  }
13
13
  }
@@ -1,11 +1,11 @@
1
- @import '../variables';
1
+ @use '../variables' as ARD;
2
2
 
3
3
  ard-dropdown-panel {
4
4
  width: 100%;
5
5
  }
6
6
  .ard-dropdown-panel-container {
7
7
  position: relative;
8
- background: $bg;
8
+ background: ARD.$bg;
9
9
  margin: 0.375rem 0;
10
10
  z-index: 5;
11
11
  width: 100%;
@@ -22,10 +22,10 @@ ard-dropdown-panel {
22
22
 
23
23
  //! appearances
24
24
  &.ard-appearance-outlined {
25
- border: 1px solid $border;
25
+ border: 1px solid ARD.$border;
26
26
  }
27
27
  &.ard-appearance-raised {
28
- box-shadow: $box-shadow;
28
+ box-shadow: ARD.$box-shadow;
29
29
  }
30
30
 
31
31
  //! connected
@@ -1,5 +1,5 @@
1
1
  @use './mixins' as defaultMixins;
2
- @import '../variables';
2
+ @use '../variables' as ARD;
3
3
 
4
4
  .ard-form-field-frame {
5
5
  box-sizing: border-box;
@@ -44,14 +44,14 @@
44
44
  @include defaultMixins.formVariants();
45
45
  background: var(--ard-appearance-background);
46
46
  border: var(--ard-appearance-border);
47
- transition: border-color 0.15s $timing-fn;
47
+ transition: border-color 0.15s ARD.$timing-fn;
48
48
 
49
49
  .ard-form-field-overlay {
50
- background: $overlay;
50
+ background: ARD.$overlay;
51
51
  opacity: 0;
52
52
  transition:
53
- opacity 0.15s $timing-fn,
54
- background-color 0.15s $timing-fn;
53
+ opacity 0.15s ARD.$timing-fn,
54
+ background-color 0.15s ARD.$timing-fn;
55
55
  }
56
56
 
57
57
  &:hover {
@@ -63,7 +63,7 @@
63
63
  .ard-form-field-overlay {
64
64
  opacity: 6%;
65
65
  }
66
- border-color: $border-dark;
66
+ border-color: ARD.$border-dark;
67
67
  }
68
68
  }
69
69
  .ard-disabled .ard-form-field-frame {
@@ -1,4 +1,4 @@
1
- @import '../../variables';
1
+ @use '../../variables' as ARD;
2
2
 
3
3
  /**
4
4
  * Should be applied to the first element in the component's template.
@@ -1,10 +1,10 @@
1
1
  @use '../coloring' as CM;
2
- @import '../../variables';
2
+ @use '../../variables' as ARD;
3
3
 
4
4
  ard-digit-input {
5
5
  font-family: 'Roboto', sans-serif;
6
6
  font-weight: 500;
7
- color: $text;
7
+ color: ARD.$text;
8
8
  }
9
9
 
10
10
  .ard-digit-input,
@@ -26,7 +26,7 @@ ard-digit-input {
26
26
  width: 2.0625em;
27
27
  box-sizing: border-box;
28
28
  text-align: center;
29
- caret-color: $text3;
29
+ caret-color: ARD.$text3;
30
30
 
31
31
  &:not(.ard-digit-input__input-empty) {
32
32
  caret-color: transparent;
@@ -2,7 +2,7 @@
2
2
  @use '../mixins' as defaultMixins;
3
3
  @use '../clear-button' as CB;
4
4
  @use '../coloring' as CM;
5
- @import '../../variables';
5
+ @use '../../variables' as ARD;
6
6
 
7
7
  .ard-file-input-form-field-frame {
8
8
  .ard-form-field-overlay {
@@ -50,7 +50,7 @@
50
50
 
51
51
  .ard-focus-overlay {
52
52
  @include defaultMixins.focus-overlay();
53
- background: $overlay;
53
+ background: ARD.$overlay;
54
54
  border-radius: 9999px;
55
55
  }
56
56
  &:hover {
@@ -1,7 +1,7 @@
1
1
  @use './shared' as inputMixin;
2
2
  @use '../mixins' as defaultMixins;
3
3
  @use '../clear-button' as CB;
4
- @import '../../variables';
4
+ @use '../../variables' as ARD;
5
5
 
6
6
  .ard-hex-input {
7
7
  @include inputMixin.genericInput();
@@ -19,7 +19,7 @@
19
19
 
20
20
  .ard-hash-container {
21
21
  margin-right: -0.5rem;
22
- color: $text3;
22
+ color: ARD.$text3;
23
23
  opacity: 70%;
24
24
  user-select: none;
25
25
  font-family: monospace;
@@ -1,7 +1,7 @@
1
1
  @use './shared' as inputMixin;
2
2
  @use '../mixins' as defaultMixins;
3
3
  @use '../clear-button' as CB;
4
- @import '../../variables';
4
+ @use '../../variables' as ARD;
5
5
 
6
6
  .ard-input {
7
7
  @include inputMixin.genericInput();
@@ -20,16 +20,16 @@
20
20
  .ard-option {
21
21
  padding: 0.375rem 0.625rem;
22
22
  font-size: 1rem;
23
- color: $text2;
23
+ color: ARD.$text2;
24
24
  cursor: pointer;
25
25
 
26
26
  &.ard-option-highlighted {
27
- background: $darken-overlay-light;
27
+ background: ARD.$darken-overlay-light;
28
28
  }
29
29
 
30
30
  &.ard-option-selected {
31
31
  font-weight: 500;
32
- background: $darken-overlay-medium;
32
+ background: ARD.$darken-overlay-medium;
33
33
  }
34
34
 
35
35
  &.ard-option-disabled {
@@ -1,6 +1,6 @@
1
1
  @use './shared' as inputMixin;
2
2
  @use '../mixins' as defaultMixins;
3
- @import '../../variables';
3
+ @use '../../variables' as ARD;
4
4
 
5
5
  .ard-number-input {
6
6
  @include inputMixin.genericInput();
@@ -24,7 +24,7 @@
24
24
  height: 100%;
25
25
  aspect-ratio: 1;
26
26
  padding: 0;
27
- border-color: $border;
27
+ border-color: ARD.$border;
28
28
  display: flex;
29
29
  justify-content: center;
30
30
  margin: 0;
@@ -116,6 +116,6 @@
116
116
  opacity: 0;
117
117
  }
118
118
 
119
- background: $bg-f;
119
+ background: ARD.$bg-f;
120
120
  }
121
121
  }
@@ -1,7 +1,7 @@
1
1
  @use './shared' as inputMixin;
2
2
  @use '../mixins' as defaultMixins;
3
3
  @use '../clear-button' as CB;
4
- @import '../../variables';
4
+ @use '../../variables' as ARD;
5
5
 
6
6
  .ard-password-input {
7
7
  @include inputMixin.genericInput();
@@ -28,7 +28,7 @@
28
28
  outline: none;
29
29
  cursor: pointer;
30
30
 
31
- transition: background-color 0.2s $timing-fn;
31
+ transition: background-color 0.2s ARD.$timing-fn;
32
32
 
33
33
  &:hover {
34
34
  background: rgba(0, 0, 0, 4%);
@@ -1,8 +1,8 @@
1
- @import '../variables';
1
+ @use '../variables' as ARD;
2
2
 
3
3
  .ard-kbd-shortcut {
4
4
  font-family: monospace;
5
- color: $text2;
5
+ color: ARD.$text2;
6
6
 
7
7
  > span {
8
8
  font-size: 0.9em;
@@ -1,20 +1,20 @@
1
- @import '../variables';
1
+ @use '../variables' as ARD;
2
2
 
3
3
  .ard-kbd {
4
4
  border-radius: 0.2em;
5
5
  font-family: monospace;
6
6
  font-size: 0.9em;
7
7
  margin: 0 0.125em;
8
- color: $text2;
8
+ color: ARD.$text2;
9
9
 
10
10
  //! appearance
11
11
  &.ard-appearance-outlined,
12
12
  &.ard-appearance-filled {
13
- border: 1px solid $detail-ultralight;
14
- box-shadow: inset 0 -1px 0 $darken-overlay;
13
+ border: 1px solid ARD.$detail-ultralight;
14
+ box-shadow: inset 0 -1px 0 ARD.$darken-overlay;
15
15
  padding: 0.15em 0.35em;
16
16
  }
17
17
  &.ard-appearance-filled {
18
- background: $bg-d;
18
+ background: ARD.$bg-d;
19
19
  }
20
20
  }
@@ -1,4 +1,4 @@
1
- @import '../variables';
1
+ @use '../variables' as ARD;
2
2
 
3
3
  .ard-modal {
4
4
  position: fixed;
@@ -10,11 +10,11 @@
10
10
  place-items: center;
11
11
 
12
12
  &.ard-modal-backdrop {
13
- background: $darken-overlay-strong;
13
+ background: ARD.$darken-overlay-strong;
14
14
  }
15
15
  .ard-modal-panel {
16
16
  padding: 1.25rem 3rem 1.5rem 3rem;
17
- background: $bg;
17
+ background: ARD.$bg;
18
18
  max-width: calc(100vw - 4rem);
19
19
  position: relative;
20
20
  display: flex;
@@ -44,7 +44,7 @@
44
44
 
45
45
  .ard-modal-heading-text {
46
46
  font-size: 1.25rem;
47
- color: $text;
47
+ color: ARD.$text;
48
48
  font-weight: 500;
49
49
  font-family: Roboto;
50
50
  }
@@ -57,7 +57,7 @@
57
57
  //! appearances
58
58
  &.ard-appearance-raised {
59
59
  .ard-modal-panel {
60
- box-shadow: $simple-shadow2;
60
+ box-shadow: ARD.$simple-shadow2;
61
61
  }
62
62
  }
63
63
  //! variants