@trilogy-ds/styles 0.0.1-beta-152 → 0.0.1-beta-timepicker

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 (104) hide show
  1. package/dist/default/assets/icons/all/calendar.svg +1 -0
  2. package/dist/default/trilogy-mangled.css +1 -1
  3. package/dist/default/trilogy-partials.css +1 -1
  4. package/dist/default/trilogy.css +1 -1
  5. package/framework/src/_all.scss +2 -2
  6. package/framework/src/base/_all.scss +1 -1
  7. package/framework/src/base/_color.scss +0 -21
  8. package/framework/src/base/_elements.scss +1 -1
  9. package/framework/src/base/_generic.scss +5 -0
  10. package/framework/src/base/_helpers.scss +21 -6
  11. package/framework/src/base/_loading.scss +2 -2
  12. package/framework/src/base/_reset.scss +6 -1
  13. package/framework/src/components/_accordion.scss +4 -3
  14. package/framework/src/components/_autocomplete.scss +38 -0
  15. package/framework/src/components/_autolayout.scss +139 -109
  16. package/framework/src/{elements → components}/_badge.scss +1 -1
  17. package/framework/src/{elements → components}/_box.scss +9 -11
  18. package/framework/src/components/_breadcrumb.scss +17 -31
  19. package/framework/src/{elements → components}/_button.scss +16 -3
  20. package/framework/src/components/_calendar.scss +129 -0
  21. package/framework/src/components/_card.scss +26 -9
  22. package/framework/src/{elements → components}/_checkbox.scss +30 -1
  23. package/framework/src/{elements → components}/_container.scss +0 -10
  24. package/framework/src/components/_countdown.scss +1 -1
  25. package/framework/src/components/_date-picker.scss +58 -0
  26. package/framework/src/components/_divider.scss +43 -4
  27. package/framework/src/components/_dropdown.scss +195 -0
  28. package/framework/src/components/_flex-box.scss +994 -0
  29. package/framework/src/components/_index.scss +50 -0
  30. package/framework/src/{elements → components}/_link.scss +9 -3
  31. package/framework/src/components/_list.scss +66 -0
  32. package/framework/src/components/_modal.scss +32 -11
  33. package/framework/src/components/_otp.scss +2 -2
  34. package/framework/src/components/_pagination.scss +5 -2
  35. package/framework/src/components/_price.scss +28 -2
  36. package/framework/src/{elements → components}/_radio.scss +4 -3
  37. package/framework/src/components/_segmented-control.scss +9 -5
  38. package/framework/src/components/_select.scss +131 -0
  39. package/framework/src/components/_stepper.scss +1 -1
  40. package/framework/src/{elements → components}/_sticker.scss +13 -1
  41. package/framework/src/{elements → components}/_switch.scss +13 -8
  42. package/framework/src/{elements → components}/_table.scss +9 -10
  43. package/framework/src/components/_tabs.scss +79 -28
  44. package/framework/src/{elements → components}/_tag.scss +1 -17
  45. package/framework/src/{elements/_paragraph.scss → components/_text.scss} +1 -13
  46. package/framework/src/components/_textarea.scss +46 -0
  47. package/framework/src/components/_timeline.scss +1 -1
  48. package/framework/src/{elements → components}/_title.scss +10 -0
  49. package/framework/src/components/alert/_index.scss +2 -0
  50. package/framework/src/{elements → components/alert}/_toaster.scss +0 -3
  51. package/framework/src/{elements → components/input}/_entry.scss +48 -10
  52. package/framework/src/{elements → components/input}/_form.scss +18 -12
  53. package/framework/src/components/input/_index.scss +4 -0
  54. package/framework/src/{elements → components/input}/_input-gauge.scss +8 -0
  55. package/framework/src/{elements → components/input}/_input-icons.scss +14 -2
  56. package/framework/src/components/progress/_index.scss +2 -0
  57. package/framework/src/components/{_progress-radial.scss → progress/_progress-radial.scss} +1 -1
  58. package/framework/src/{elements → components/progress}/_progress.scss +3 -3
  59. package/framework/src/elements/_index.scss +5 -0
  60. package/framework/src/elements/_other.scss +0 -4
  61. package/framework/src/grid/_columns.scss +56 -22
  62. package/framework/src/layout/_hero.scss +4 -0
  63. package/framework/src/layout/_section.scss +5 -0
  64. package/framework/src/theming/buttons_partial.scss +2 -2
  65. package/framework/src/theming/common_partials.scss +1 -1
  66. package/framework/src/trilogy-mangled.scss +3 -3
  67. package/framework/src/trilogy.scss +2 -2
  68. package/framework/src/utilities/_background.scss +3 -1
  69. package/framework/src/utilities/_derived-variables.scss +0 -92
  70. package/framework/src/utilities/_initial-variables.scss +3 -111
  71. package/framework/src/utilities/_pre.scss +3 -1
  72. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  73. package/framework/src/utilities/mixins/_delete.scss +86 -0
  74. package/framework/src/utilities/mixins/_index.scss +11 -0
  75. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  76. package/framework/src/utilities/mixins/_mixins.scss +294 -0
  77. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  78. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  79. package/framework/src/utilities/mixins/_responsiveness.scss +174 -0
  80. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  81. package/framework/src/utilities/mixins/_state.scss +25 -0
  82. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  83. package/framework/src/utilities/mixins/_utils.scss +24 -0
  84. package/framework/src/utilities/variables/_animation.scss +2 -0
  85. package/framework/src/utilities/{_colors.scss → variables/_color.scss} +45 -0
  86. package/framework/src/utilities/variables/_font.scss +97 -0
  87. package/framework/src/utilities/variables/_index.scss +6 -0
  88. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  89. package/framework/src/utilities/variables/_shadow.scss +3 -0
  90. package/framework/src/utilities/variables/_zindex.scss +14 -0
  91. package/package.json +6 -1
  92. package/framework/src/components/_all.scss +0 -24
  93. package/framework/src/elements/_all.scss +0 -32
  94. package/framework/src/elements/_autocomplete.scss +0 -32
  95. package/framework/src/elements/_list.scss +0 -62
  96. package/framework/src/elements/_select.scss +0 -96
  97. package/framework/src/elements/_textarea.scss +0 -133
  98. package/framework/src/utilities/_mixins.scss +0 -635
  99. /package/framework/src/{elements → components}/_chips.scss +0 -0
  100. /package/framework/src/{elements → components}/_icon.scss +0 -0
  101. /package/framework/src/{elements → components}/_image.scss +0 -0
  102. /package/framework/src/{elements → components}/_loader.scss +0 -0
  103. /package/framework/src/{elements → components/alert}/_alert.scss +0 -0
  104. /package/framework/src/{components → elements}/_plus-symbol.scss +0 -0
@@ -0,0 +1,294 @@
1
+ @use "sass:string";
2
+ @import "../initial-variables";
3
+
4
+ @mixin center($width, $height: 0) {
5
+ position: absolute;
6
+
7
+ @if $height != 0 {
8
+ left: calc(50% - (#{$width} / 2));
9
+ top: calc(50% - (#{$height} / 2));
10
+ } @else {
11
+ left: calc(50% - (#{$width} / 2));
12
+ top: calc(50% - (#{$width} / 2));
13
+ }
14
+ }
15
+
16
+ @mixin label-states {
17
+ &:focus,
18
+ &:active,
19
+ &:hover {
20
+ @include hover();
21
+ }
22
+ }
23
+
24
+ // import sass bulma
25
+ @mixin input {
26
+ @include control;
27
+ height: 56px;
28
+ background-color: getColor('background');
29
+ border: var(--border);
30
+ color: getColor('font');
31
+
32
+ @include placeholder {
33
+ color: getColor('font-placeholder') !important;
34
+ opacity: 1 !important;
35
+ transition: all 0.2s ease-out;
36
+ }
37
+
38
+ @include hover();
39
+ }
40
+
41
+ @mixin checkbox-and-radio($type) {
42
+ //TILES WRAPPER
43
+ .#{$type}-tiles {
44
+ display: flex;
45
+ gap: 16px;
46
+ flex-wrap: wrap;
47
+ }
48
+
49
+ //BOTH
50
+ .#{$type},
51
+ .#{$type}-tile {
52
+ position: relative;
53
+
54
+ label.#{$type}-label {
55
+ cursor: pointer;
56
+ font-size: 14px;
57
+
58
+ &:before,
59
+ &:after {
60
+ content: '';
61
+ position: absolute;
62
+ width: 18px;
63
+ height: 18px;
64
+ }
65
+
66
+ &:before {
67
+ border: var(--border);
68
+ }
69
+ }
70
+
71
+ input {
72
+ opacity: 0;
73
+ position: absolute;
74
+ outline: none;
75
+
76
+ &:checked ~ label.#{$type}-label {
77
+ border-color: getColor('main');
78
+
79
+ &:before {
80
+ border-color: getColor('main');
81
+ }
82
+
83
+ &:after {
84
+ background-color: getColor('main');
85
+ }
86
+ }
87
+ &:focus-visible ~ label.#{$type}-label:before {
88
+ outline: 1px solid;
89
+ }
90
+
91
+ &:disabled,
92
+ &:disabled:checked {
93
+ & ~ label.checkbox-label {
94
+ &:after {
95
+ background-color: getColor('disabled-fade');
96
+ }
97
+ }
98
+ & ~ label.radio-label {
99
+ &:after {
100
+ background-color: getColor('disabled');
101
+ }
102
+ }
103
+ }
104
+
105
+ &:disabled {
106
+ & ~ label.#{$type}-label {
107
+ &:after {
108
+ background-color: transparent;
109
+ }
110
+ }
111
+ }
112
+ }
113
+ .divider {
114
+ &:not(.is-marginless) {
115
+ margin: $spacing-3 0;
116
+ }
117
+ }
118
+ }
119
+
120
+ // SIMPLE WITH LABEL ONLY
121
+ .#{$type} {
122
+ display: flex;
123
+ align-items: center;
124
+ width: fit-content;
125
+
126
+ input:disabled,
127
+ input:disabled:checked {
128
+ & ~ label.#{$type}-label {
129
+ @include disabledRulesWithoutBG;
130
+ }
131
+ }
132
+
133
+ label.#{$type}-label {
134
+ padding-left: calc(18px + $spacing-3);
135
+
136
+ &:before,
137
+ &:after {
138
+ top: 50%;
139
+ transform: translateY(-50%);
140
+ left: 0;
141
+ }
142
+ }
143
+
144
+ &:hover &:not(disabled) {
145
+ label.#{$type}-label {
146
+ &:before {
147
+ @include hoverRules();
148
+ }
149
+ }
150
+ }
151
+
152
+ &:focus {
153
+ border: 2px;
154
+ border-color: getColor('main');
155
+ }
156
+ }
157
+
158
+ //TILE ONLY
159
+ .#{$type}-tile {
160
+ position: relative;
161
+ max-width: 160px;
162
+ display: inline-block;
163
+ text-align: center;
164
+
165
+ input:disabled,
166
+ input:disabled:checked {
167
+ & ~ label.#{$type}-label {
168
+ @include disabledRules;
169
+ }
170
+ }
171
+ &:has(input:focus-visible) label.#{$type}-label{
172
+ outline: 1px solid;
173
+ }
174
+
175
+ &:first-child {
176
+ margin-left: 0;
177
+ }
178
+
179
+ &:last-child {
180
+ margin-right: 0;
181
+ }
182
+
183
+ label.#{$type}-label {
184
+ display: block;
185
+ position: relative;
186
+ padding: 40px 16px 16px;
187
+ border: var(--border);
188
+ border-radius: var(--radius);
189
+ box-sizing: border-box;
190
+ background-color: getColor('background');
191
+ height: 100%;
192
+
193
+ &:before {
194
+ top: 16px;
195
+ left: 16px;
196
+ }
197
+
198
+ span.#{$type}-title {
199
+ font-weight: bold;
200
+ width: 100%;
201
+ display: block;
202
+ font-size: 16px;
203
+ }
204
+ }
205
+
206
+ input {
207
+ &:not(:disabled):not(:checked) ~ label.radio-label {
208
+ @include label-states;
209
+ }
210
+
211
+ &:not(:disabled) ~ label.checkbox-label {
212
+ @include label-states;
213
+ }
214
+
215
+ &:checked:not(:disabled) ~ label.#{$type}-label {
216
+ border-color: getColor('main');
217
+ border-width: 2px;
218
+ padding: 15px;
219
+ padding-top: 39px;
220
+
221
+ &:before {
222
+ top: 15px;
223
+ left: 15px;
224
+ }
225
+
226
+ span.#{$type}-title {
227
+ color: getColor('main');
228
+ }
229
+ }
230
+
231
+ &:disabled {
232
+ & ~ label.#{$type}-label {
233
+ &:before {
234
+ border-color: getColor('disabled') !important;
235
+ }
236
+ }
237
+ }
238
+
239
+ &:disabled:checked ~ label.#{$type}-label {
240
+ .checkbox-title {
241
+ color: getColor('disabled');
242
+ }
243
+ }
244
+ }
245
+
246
+ .#{$type}-sticker {
247
+ position: absolute;
248
+ top: 0px;
249
+ right: 16px;
250
+ transform: translateY(-50%);
251
+ }
252
+
253
+ &.is-horizontal {
254
+ display: flex;
255
+ justify-content: space-between;
256
+ align-items: center;
257
+ max-width: unset;
258
+ width: 100%;
259
+ position: relative;
260
+
261
+ &.is-narrow {
262
+ width: fit-content;
263
+ }
264
+
265
+ input {
266
+ &:checked:not(:disabled) ~ label.#{$type}-label {
267
+ padding: ($spacing-4 - 1px) ($spacing-4 - 1px) ($spacing-4 - 1px) ($spacing-8 - 1px);
268
+ }
269
+
270
+ }
271
+
272
+ label.#{$type}-label {
273
+ width: 100%;
274
+ display: flex;
275
+ align-items: center;
276
+ justify-content: flex-start;
277
+ text-align: left;
278
+ padding: $spacing-4 $spacing-4 $spacing-4 $spacing-8;
279
+
280
+
281
+ &:before,
282
+ &:after {
283
+ top: 50% !important;
284
+ transform: translateY(-50%);
285
+ }
286
+ > .icon {
287
+ margin-right: $spacing-4;
288
+ }
289
+
290
+ }
291
+
292
+ }
293
+ }
294
+ }
@@ -0,0 +1,7 @@
1
+ @mixin overlay($offset: 0) {
2
+ position: absolute;
3
+ top: $offset;
4
+ bottom: $offset;
5
+ left: $offset;
6
+ right: $offset;
7
+ }
@@ -0,0 +1,10 @@
1
+ @mixin pattern-light($size, $x-pos: top, $y-pos: center) {
2
+ background-size: $size;
3
+ background-position: $x-pos $y-pos;
4
+ }
5
+
6
+ @mixin pattern-dark($size, $x-pos: top, $y-pos: center) {
7
+ background: linear-gradient(#1b3650, getColor('accent'));
8
+ background-size: auto, $size, auto;
9
+ background-position: top left, $x-pos $y-pos, top left;
10
+ }
@@ -0,0 +1,174 @@
1
+ // Responsiveness
2
+ @mixin from($device) {
3
+ @media screen and (min-width: $device) {
4
+ @content;
5
+ }
6
+ }
7
+
8
+ @mixin until($device) {
9
+ @media screen and (max-width: #{$device - 1px}) {
10
+ @content;
11
+ }
12
+ }
13
+
14
+ @mixin mobile {
15
+ @media screen and (max-width: #{$tablet - 1px}) {
16
+ @content;
17
+ }
18
+ }
19
+
20
+ @mixin tablet {
21
+ @media screen and (min-width: $tablet), print {
22
+ @content;
23
+ }
24
+ }
25
+
26
+ @mixin tablet-only {
27
+ @media screen and (min-width: #{$tablet}) and (max-width: #{$desktop - 1px}) {
28
+ @content;
29
+ }
30
+ }
31
+
32
+ @mixin touch {
33
+ @media screen and (max-width: #{$desktop - 1px}) {
34
+ @content;
35
+ }
36
+ }
37
+
38
+ @mixin desktop {
39
+ @media screen and (min-width: $desktop) {
40
+ @content;
41
+ }
42
+ }
43
+
44
+ @mixin desktop-only {
45
+ @media screen and (min-width: #{$desktop}) and (max-width: #{$widescreen - 1px}) {
46
+ @content;
47
+ }
48
+ }
49
+
50
+ @mixin until-widescreen {
51
+ @media screen and (max-width: #{$widescreen - 1px}) {
52
+ @content;
53
+ }
54
+ }
55
+
56
+ @mixin widescreen {
57
+ @media screen and (min-width: $widescreen) {
58
+ @content;
59
+ }
60
+ }
61
+
62
+ @mixin widescreen-only {
63
+ @media screen and (min-width: #{$widescreen}) and (max-width: #{$fullhd - 1px}) {
64
+ @content;
65
+ }
66
+ }
67
+
68
+ @mixin until-fullhd {
69
+ @media screen and (max-width: #{$fullhd - 1px}) {
70
+ @content;
71
+ }
72
+ }
73
+
74
+ @mixin fullhd {
75
+ @media screen and (min-width: $fullhd) {
76
+ @content;
77
+ }
78
+ }
79
+
80
+ @mixin all-desktop-only {
81
+ @media screen and (min-width: #{$desktop}) and (max-width: #{$fullhd - 1px}) {
82
+ @content;
83
+ }
84
+ }
85
+
86
+ // Responsive for container queries
87
+ .query-container {
88
+ container-type: inline-size;
89
+ }
90
+
91
+ @mixin container-from($device) {
92
+ @container (min-width: #{$device}) {
93
+ @content;
94
+ }
95
+ }
96
+
97
+ @mixin container-until($device) {
98
+ @container (max-width: #{$device - 1px}) {
99
+ @content;
100
+ }
101
+ }
102
+
103
+ @mixin container-mobile {
104
+ @container (max-width: #{$tablet - 1px}) {
105
+ @content;
106
+ }
107
+ }
108
+
109
+ @mixin container-tablet {
110
+ @container (min-width: #{$tablet}) {
111
+ @content;
112
+ }
113
+ }
114
+
115
+ @mixin container-tablet-only {
116
+ @container (min-width: #{$tablet}) and (max-width: #{$desktop - 1px}) {
117
+ @content;
118
+ }
119
+ }
120
+
121
+ @mixin container-touch {
122
+ @container (max-width: #{$desktop - 1px}) {
123
+ @content;
124
+ }
125
+ }
126
+
127
+ @mixin container-desktop {
128
+ @container (min-width: #{$desktop}) {
129
+ @content;
130
+ }
131
+ }
132
+
133
+ @mixin container-desktop-only {
134
+ @container (min-width: #{$desktop}) and (max-width: #{$widescreen - 1px}) {
135
+ @content;
136
+ }
137
+ }
138
+
139
+ @mixin container-until-widescreen {
140
+ @container (max-width: #{$widescreen - 1px}) {
141
+ @content;
142
+ }
143
+ }
144
+
145
+ @mixin container-widescreen {
146
+ @container (min-width: #{$widescreen}) {
147
+ @content;
148
+ }
149
+ }
150
+
151
+ @mixin container-widescreen-only {
152
+ @container (min-width: #{$widescreen}) and (max-width: #{$fullhd - 1px}) {
153
+ @content;
154
+ }
155
+ }
156
+
157
+ @mixin container-until-fullhd {
158
+ @container (max-width: #{$fullhd - 1px}) {
159
+ @content;
160
+ }
161
+ }
162
+
163
+ @mixin container-fullhd {
164
+ @container (min-width: #{$fullhd}) {
165
+ @content;
166
+ }
167
+ }
168
+
169
+ @mixin container-all-desktop-only {
170
+ @container (min-width: #{$desktop}) and (max-width: #{$fullhd - 1px}) {
171
+ @content;
172
+ }
173
+ }
174
+
@@ -0,0 +1,12 @@
1
+ @mixin spinner($color: 'neutral') {
2
+ animation: spinAround 500ms infinite linear;
3
+ border: 2px solid getColor("#{$color}");
4
+ border-radius: 290486px;
5
+ border-right-color: transparent;
6
+ border-top-color: transparent;
7
+ content: '';
8
+ display: block;
9
+ height: 1em;
10
+ position: relative;
11
+ width: 1em;
12
+ }
@@ -0,0 +1,25 @@
1
+ @mixin hoverRules {
2
+ background-color: getColor('main-fade');
3
+ }
4
+
5
+ @mixin hover {
6
+ &:hover:not(.is-disabled):not(:focus) {
7
+ @include hoverRules();
8
+ }
9
+ &:focus:not(.is-disabled), &:focus-visible:not(.is-disabled) {
10
+ border: 2px solid currentColor;
11
+ }
12
+ }
13
+
14
+ @mixin disabledRulesWithoutBG {
15
+ border-color: getColor('disabled') !important;
16
+ box-shadow: none !important;
17
+ color: getColor('disabled') !important;
18
+ cursor: not-allowed !important;
19
+ filter: grayscale(1);
20
+ }
21
+
22
+ @mixin disabledRules {
23
+ background-color: getColor('disabled-fade') !important;
24
+ @include disabledRulesWithoutBG;
25
+ }
@@ -0,0 +1,10 @@
1
+ %unselectable {
2
+ -webkit-touch-callout: none;
3
+ -webkit-user-select: none;
4
+ -moz-user-select: none;
5
+ -ms-user-select: none;
6
+ user-select: none;
7
+ }
8
+ @mixin unselectable {
9
+ @extend %unselectable;
10
+ }
@@ -0,0 +1,24 @@
1
+ @mixin block {
2
+ &:not(:last-child) {
3
+ margin-bottom: 15px;
4
+ }
5
+ }
6
+
7
+ @mixin overflow-touch {
8
+ -webkit-overflow-scrolling: touch;
9
+ }
10
+
11
+ @mixin placeholder {
12
+ $placeholders: ':-moz' ':-webkit-input' '-moz' '-ms-input';
13
+ @each $placeholder in $placeholders {
14
+ &:#{$placeholder}-placeholder {
15
+ @content;
16
+ }
17
+ }
18
+ }
19
+
20
+ @mixin ellipsis() {
21
+ white-space: nowrap;
22
+ overflow-x: hidden;
23
+ text-overflow: ellipsis;
24
+ }
@@ -0,0 +1,2 @@
1
+ $animation-duration: 0.3s;
2
+ $animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
@@ -11,10 +11,14 @@ $suffix: '';
11
11
  */
12
12
  $colors: (
13
13
  'background': [#fff, 'white', 'main'],
14
+ 'stroke':[ #727272, 'stroke', 'white' ],
15
+ 'transparent': ['transparent', 'transparent', 'transparent'],
14
16
  'main':[ #3d5d7e, 'main', 'white'],
15
17
  'main-fade':[ #eff2f8, 'main-fade', 'white'],
16
18
  'accent':[ #da641b,'accent', 'white'],
19
+ 'accent-fade':[ #faebe3,'accent-fade', 'white'],
17
20
  'font':[ #3d5d7e, 'font', 'white'],
21
+ 'font-placeholder':[ #687a87, 'font-placeholder', 'white'],
18
22
  'success':[ #007B52, 'success', 'white'],
19
23
  'success-fade':[ #cae8ca,'success-fade', 'white'],
20
24
  'info':[ #1A688A, 'info', 'white'],
@@ -38,3 +42,44 @@ $fade-colors: (
38
42
  'disabled': 'disabled-fade',
39
43
  'neutral': 'neutral-fade',
40
44
  ) !default;
45
+
46
+ @function getColor( $name ) {
47
+ @if global-variable-exists(suffix-theme) {
48
+ @return var(--color-#{nth(map-get($colors, $name), 2)}-#{$suffix-theme});
49
+ } @else {
50
+ @return var(--color-#{nth(map-get($colors,$name),2)});
51
+ }
52
+ }
53
+
54
+ @function getColorValue( $name ) {
55
+ @return #{nth(map-get($colors,$name),1)}
56
+ }
57
+
58
+ @function getColorBrandName( $name ) {
59
+ @return #{nth(map-get($colors,$name),2)}
60
+ }
61
+
62
+
63
+
64
+ @function invertColor ($colorName) {
65
+ @return var(--color-#{nth(map-get($colors,$colorName),3)})
66
+ }
67
+
68
+ @function fadeColor ($colorName) {
69
+ $name: map-get($fade-colors,$colorName);
70
+ @return getColor($name);
71
+ }
72
+
73
+ // Brand Color
74
+ $colors-brand: (
75
+ 'background', 'main', 'accent'
76
+ );
77
+
78
+ // Brand Color Functionnal
79
+ $colors-brand-functionnal: (
80
+ 'background', 'main', 'accent', 'info', 'success', 'error', 'warning', 'neutral'
81
+ );
82
+
83
+ $colors-feedback: (
84
+ 'success', 'error', 'warning', 'info'
85
+ );