matcha-theme 20.207.0 → 20.208.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.
@@ -1,39 +1,40 @@
1
1
  // =========================================================
2
2
  // * Matcha Time Range Styles
3
3
  // =========================================================
4
+ @mixin matcha-time-range-theme($theme) {
5
+ .matcha-time-range-container {
6
+ display: flex;
7
+ gap: 16px;
8
+ width: 100%;
9
+ align-items: flex-start;
4
10
 
5
- .matcha-time-range-container {
6
- display: flex;
7
- gap: 16px;
8
- width: 100%;
9
- align-items: flex-start;
10
-
11
- // Responsividade
12
- @media (max-width: 768px) {
13
- flex-direction: column;
14
- gap: 12px;
15
- }
11
+ // Responsividade
12
+ @media (max-width: 768px) {
13
+ flex-direction: column;
14
+ gap: 12px;
15
+ }
16
16
 
17
- // Os campos de hora dentro do range
18
- matcha-form-field {
19
- flex: 1;
20
- min-width: 0;
17
+ // Os campos de hora dentro do range
18
+ matcha-form-field {
19
+ flex: 1;
20
+ min-width: 0;
21
21
 
22
- &:first-child {
23
- flex-shrink: 0;
24
- }
22
+ &:first-child {
23
+ flex-shrink: 0;
24
+ }
25
25
 
26
- &:last-child {
27
- flex-shrink: 0;
26
+ &:last-child {
27
+ flex-shrink: 0;
28
+ }
28
29
  }
29
- }
30
30
 
31
- // Quando há erro de validação no range
32
- matcha-form-field.ng-invalid.ng-touched {
33
- matcha-time {
34
- .matcha-time-input {
35
- border-color: var(--matcha-color-error, #f44336);
31
+ // Quando há erro de validação no range
32
+ matcha-form-field.ng-invalid.ng-touched {
33
+ matcha-time {
34
+ .matcha-time-input {
35
+ border-color: getRed($theme);
36
+ }
36
37
  }
37
38
  }
38
39
  }
39
- }
40
+ }
@@ -19,7 +19,7 @@
19
19
  &:disabled {
20
20
  cursor: not-allowed;
21
21
  opacity: 0.6;
22
- color: getDisabled($theme);
22
+ color: getGrey($theme);
23
23
  }
24
24
  }
25
25
 
package/main.scss CHANGED
@@ -191,4 +191,5 @@
191
191
  @include matcha-snack-bar-theme($theme);
192
192
  @include matcha-date-theme($theme);
193
193
  @include matcha-time-theme($theme);
194
+ @include matcha-time-range-theme($theme);
194
195
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-theme",
3
- "version": "20.207.0",
3
+ "version": "20.208.0",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {