@1024pix/pix-ui 41.1.2 → 41.2.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 (46) hide show
  1. package/addon/components/pix-button-base.js +2 -2
  2. package/addon/components/pix-progress-gauge.js +10 -2
  3. package/addon/components/pix-return-to.hbs +0 -2
  4. package/addon/styles/_pix-background-header.scss +3 -3
  5. package/addon/styles/_pix-banner.scss +29 -32
  6. package/addon/styles/_pix-block.scss +3 -3
  7. package/addon/styles/_pix-button-base.scss +86 -65
  8. package/addon/styles/_pix-button.scss +5 -5
  9. package/addon/styles/_pix-checkbox.scss +108 -105
  10. package/addon/styles/_pix-collapsible.scss +22 -13
  11. package/addon/styles/_pix-filter-banner.scss +15 -14
  12. package/addon/styles/_pix-filterable-and-searchable-select.scss +4 -4
  13. package/addon/styles/_pix-icon-button.scss +8 -9
  14. package/addon/styles/_pix-indicator-card.scss +28 -20
  15. package/addon/styles/_pix-input-code.scss +17 -23
  16. package/addon/styles/_pix-input-password.scss +13 -14
  17. package/addon/styles/_pix-input.scss +10 -7
  18. package/addon/styles/_pix-message.scss +16 -16
  19. package/addon/styles/_pix-modal.scss +21 -22
  20. package/addon/styles/_pix-multi-select.scss +26 -23
  21. package/addon/styles/_pix-pagination.scss +6 -6
  22. package/addon/styles/_pix-progress-gauge.scss +21 -21
  23. package/addon/styles/_pix-radio-button.scss +21 -16
  24. package/addon/styles/_pix-return-to.scss +22 -33
  25. package/addon/styles/_pix-search-input.scss +11 -11
  26. package/addon/styles/_pix-select.scss +40 -37
  27. package/addon/styles/_pix-selectable-tag.scss +24 -29
  28. package/addon/styles/_pix-sidebar.scss +16 -16
  29. package/addon/styles/_pix-stars.scss +14 -17
  30. package/addon/styles/_pix-tag.scss +48 -39
  31. package/addon/styles/_pix-textarea.scss +6 -5
  32. package/addon/styles/_pix-toggle.scss +11 -11
  33. package/addon/styles/_pix-tooltip.scss +29 -28
  34. package/addon/styles/pix-design-tokens/_colors.scss +71 -10
  35. package/addon/styles/pix-design-tokens/_form.scss +32 -26
  36. package/addon/styles/pix-design-tokens/_spacing.scss +12 -0
  37. package/app/stories/pix-button.stories.js +13 -5
  38. package/app/stories/pix-indicator-card.stories.js +1 -1
  39. package/app/stories/pix-progress-gauge.mdx +5 -1
  40. package/app/stories/pix-progress-gauge.stories.js +38 -4
  41. package/app/stories/pix-return-to.stories.js +3 -3
  42. package/app/stories/pix-stars.stories.js +1 -1
  43. package/app/stories/pix-tag.stories.js +2 -15
  44. package/package.json +4 -2
  45. package/scripts/migrate-colors-scss-vars-to-css-vars.sh +120 -0
  46. package/scripts/migrate-spacing-scss-vars-to-css-vars.sh +23 -0
@@ -3,136 +3,139 @@
3
3
  z-index: 0;
4
4
  display: flex;
5
5
  align-items: center;
6
- color: $pix-neutral-70;
7
6
 
8
7
  & + .pix-checkbox {
9
- margin-top: $pix-spacing-s;
8
+ margin-top: var(--pix-spacing-4x);
10
9
  }
11
- }
12
-
13
- /* Label */
14
- .pix-checkbox__label {
15
- padding-left: 12px;
16
- color: $pix-neutral-90;
17
- font-size: 1rem;
18
- line-height: 1.5;
19
- cursor: pointer;
20
10
 
21
- &--small {
22
- font-size: 0.875rem;
23
- }
11
+ /* Label */
12
+ &__label {
13
+ @extend %pix-body-m;
24
14
 
25
- &--large {
26
- font-size: 1.125rem;
27
- }
28
- }
15
+ padding-left: var(--pix-spacing-3x);
16
+ color: var(--pix-neutral-900);
17
+ cursor: pointer;
29
18
 
30
- /* Input */
31
- .pix-checkbox__input {
32
- position: relative;
33
- flex-shrink: 0;
34
- width: 1rem;
35
- height: 1rem;
36
- background-color: $pix-neutral-0;
37
- border: 1.5px solid $pix-neutral-70;
38
- border-radius: 2px;
39
- cursor: pointer;
40
- appearance: none;
41
-
42
- // Hover effect
43
- &::before {
44
- position: absolute;
45
- top: 50%;
46
- left: 50%;
47
- z-index: -1;
48
- width: 1rem;
49
- height: 1rem;
50
- background-color: $pix-neutral-15;
51
- border-radius: 50%;
52
- transform: translate(-50%, -50%) scale(1);
53
- visibility: hidden;
54
- opacity: 0;
55
- transition: all 0.3s ease;
56
- content: '';
57
- }
58
-
59
- &:hover,
60
- &:focus-visible,
61
- &:active {
62
- border-color: $pix-neutral-90;
63
-
64
- &::before {
65
- transform: translate(-50%, -50%) scale(1.75);
66
- visibility: visible;
67
- opacity: 1;
19
+ &--small {
20
+ font-size: 0.875rem;
68
21
  }
69
- }
70
22
 
71
- &:active {
72
- &::before {
73
- background-color: $pix-neutral-22;
23
+ &--large {
24
+ font-size: 1.125rem;
74
25
  }
75
26
  }
76
27
 
77
- // Checked state
78
- &:checked {
79
- background: $pix-primary;
80
- border-color: $pix-primary;
81
-
82
- &:hover,
83
- &:focus-visible,
84
- &:active {
85
- background: $pix-primary-60;
86
- border-color: $pix-primary-60;
87
- }
88
-
89
- &::after {
28
+ /* Input */
29
+ &__input {
30
+ position: relative;
31
+ flex-shrink: 0;
32
+ width: 1rem;
33
+ height: 1rem;
34
+ background-color: var(--pix-neutral-0);
35
+ border: 1.5px solid var(--pix-neutral-800);
36
+ border-radius: 2px;
37
+ outline: 0;
38
+ cursor: pointer;
39
+ appearance: none;
40
+
41
+ // Hover effect
42
+ &::before {
90
43
  position: absolute;
91
- background-image: url("data:image/svg+xml,%3Csvg width='13' height='10' viewBox='0 0 13 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 3L0 4.5L5 9.5L13 1.5L11.5 0L5 6.5L1.5 3Z' fill='white'/%3E%3C/svg%3E%0A");
92
- background-repeat: no-repeat;
93
- background-position: center;
94
- background-size: contain;
44
+ top: 50%;
45
+ left: 50%;
46
+ z-index: -1;
47
+ width: 1rem;
48
+ height: 1rem;
49
+ background-color: var(--pix-neutral-20);
50
+ border-color: var(--pix-neutral-900);
51
+ border-radius: 50%;
52
+ transform: translate(-50%, -50%) scale(1);
53
+ visibility: hidden;
54
+ opacity: 0;
55
+ transition: all 0.3s ease;
95
56
  content: '';
96
- inset: 10%;
97
57
  }
98
- }
99
-
100
- // Indeterminate state
101
- &--indeterminate:checked {
102
- background: $pix-neutral-70;
103
- border-color: $pix-neutral-70;
104
58
 
105
59
  &:hover,
106
- &:focus-visible,
60
+ &:focus-visible {
61
+ &::before {
62
+ background-color: var(--pix-neutral-20);
63
+ transform: translate(-50%, -50%) scale(1.75);
64
+ visibility: visible;
65
+ opacity: 1;
66
+ }
67
+ }
68
+
107
69
  &:active {
108
- background: $pix-neutral-90;
109
- border-color: $pix-neutral-90;
70
+ &::before {
71
+ background-color: var(--pix-neutral-100);
72
+ transform: translate(-50%, -50%) scale(1.75);
73
+ visibility: visible;
74
+ opacity: 1;
75
+ }
110
76
  }
111
77
 
112
- &::after {
113
- background-image: url("data:image/svg+xml,%3Csvg width='10' height='2' viewBox='0 0 10 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='10' height='2' fill='white'/%3E%3C/svg%3E%0A");
114
- inset: 15%;
78
+ // Checked state
79
+ &:checked {
80
+ background: var(--pix-primary-500);
81
+ border-color: var(--pix-primary-500);
82
+
83
+ &:hover,
84
+ &:focus-visible,
85
+ &:active {
86
+ background: var(--pix-primary-700);
87
+ border-color: var(--pix-primary-700);
88
+ }
89
+
90
+ &::after {
91
+ position: absolute;
92
+ background-image: url("data:image/svg+xml,%3Csvg width='13' height='10' viewBox='0 0 13 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 3L0 4.5L5 9.5L13 1.5L11.5 0L5 6.5L1.5 3Z' fill='white'/%3E%3C/svg%3E%0A");
93
+ background-repeat: no-repeat;
94
+ background-position: center;
95
+ background-size: contain;
96
+ content: '';
97
+ inset: 10%;
98
+ }
115
99
  }
116
- }
117
100
 
118
- // Disabled state
119
- &:disabled,
120
- &--indeterminate:disabled {
121
- background: $pix-neutral-10;
122
- border-color: $pix-neutral-30;
123
- cursor: not-allowed;
101
+ // Indeterminate state
102
+ &--indeterminate:checked {
103
+ background: var(--pix-neutral-800);
104
+ border-color: var(--pix-neutral-800);
105
+
106
+ &:hover,
107
+ &:focus-visible,
108
+ &:active {
109
+ background: var(--pix-neutral-900);
110
+ border-color: var(--pix-neutral-900);
111
+ }
112
+
113
+ &::after {
114
+ background-image: url("data:image/svg+xml,%3Csvg width='10' height='2' viewBox='0 0 10 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='10' height='2' fill='white'/%3E%3C/svg%3E%0A");
115
+ inset: 15%;
116
+ }
117
+ }
124
118
 
125
- & + .pix-checkbox__label {
119
+ // Disabled state
120
+ &:disabled,
121
+ &--indeterminate:disabled {
122
+ background: var(--pix-neutral-100);
123
+ border-color: var(--pix-neutral-100);
126
124
  cursor: not-allowed;
127
- }
128
125
 
129
- &:checked {
130
- background: $pix-neutral-30;
131
- border-color: $pix-neutral-30;
132
- }
126
+ & + .pix-checkbox__label {
127
+ color: var(--pix-neutral-500);
128
+ cursor: not-allowed;
129
+ }
133
130
 
134
- &::before {
135
- display: none;
131
+ &:checked {
132
+ background: var(--pix-neutral-100);
133
+ border-color: var(--pix-neutral-100);
134
+ }
135
+
136
+ &::before {
137
+ display: none;
138
+ }
136
139
  }
137
140
  }
138
141
  }
@@ -1,6 +1,6 @@
1
1
  .pix-collapsible {
2
- background-color: $pix-neutral-0;
3
- border: 1px solid $pix-neutral-20;
2
+ background-color: var(--pix-neutral-0);
3
+ border: 1px solid var(--pix-neutral-100);
4
4
 
5
5
  &:first-child,
6
6
  &:first-child .pix-collapsible__title {
@@ -17,6 +17,15 @@
17
17
  &:not(:first-child) {
18
18
  border-top: none;
19
19
  }
20
+
21
+ &:hover {
22
+ border-color: var(--pix-neutral-500);
23
+ }
24
+
25
+ &:focus-within {
26
+ border: 1px solid var(--pix-primary-500);
27
+ outline: 2px solid var(--pix-primary-300)
28
+ }
20
29
  }
21
30
 
22
31
  .pix-collapsible__title {
@@ -24,20 +33,20 @@
24
33
  align-items: center;
25
34
  justify-content: space-between;
26
35
  width: 100%;
27
- padding: $pix-spacing-s;
28
- color: $pix-neutral-90;
36
+ padding: var(--pix-spacing-4x);
37
+ color: var(--pix-neutral-800);
29
38
  font-size: 1rem;
30
39
  line-height: 1.25;
31
40
  border: none;
32
41
 
33
42
  &:hover,
34
- &:focus,
35
43
  &[aria-expanded='true'] {
36
- background-color: $pix-neutral-10;
44
+ color: var(--pix-neutral-900);
45
+ background-color: var(--pix-neutral-20);
37
46
  }
38
47
 
39
48
  &[aria-expanded='true'] {
40
- border-bottom: 1px solid $pix-neutral-20;
49
+ border-bottom: 1px solid var(--pix-neutral-20);
41
50
  }
42
51
  }
43
52
 
@@ -49,26 +58,26 @@
49
58
  }
50
59
 
51
60
  &__icon {
52
- margin-right: $pix-spacing-xs;
53
- color: $pix-neutral-50;
61
+ margin-right: var(--pix-spacing-2x);
62
+ color: var(--pix-neutral-500);
54
63
  }
55
64
 
56
65
  &__toggle-icon {
57
66
  width: 1rem;
58
67
  height: 1rem;
59
- margin-left: $pix-spacing-xs;
68
+ margin-left: var(--pix-spacing-2x);
60
69
  padding: 0.5rem;
61
70
  border-radius: 50%;
62
71
  }
63
72
  }
64
73
 
65
74
  .pix-collapsible__title:hover .pix-collapsible-title__toggle-icon {
66
- background-color: $pix-neutral-20;
75
+ background-color: var(--pix-neutral-100);
67
76
  }
68
77
 
69
78
  .pix-collapsible__content {
70
- padding: $pix-spacing-s;
71
- color: $pix-neutral-60;
79
+ padding: var(--pix-spacing-4x);
80
+ color: var(--pix-neutral-500);
72
81
  font-size: 0.875rem;
73
82
  line-height: 1.25rem;
74
83
 
@@ -1,37 +1,38 @@
1
1
  .pix-filter-banner {
2
+ @extend %pix-shadow-sm;
3
+
2
4
  position: relative;
3
5
  display: flex;
4
6
  flex-direction: column;
5
- gap: $pix-spacing-xs;
7
+ gap: var(--pix-spacing-2x);
6
8
  width: 100%;
7
9
  min-height: 64px;
8
- padding: $pix-spacing-s $pix-spacing-m;
9
- background-color: $pix-neutral-0;
10
- box-shadow: 0 2px 5px 0 rgba($pix-neutral-110, 0.05);
10
+ padding: var(--pix-spacing-4x) var(--pix-spacing-6x);
11
+ background-color: var(--pix-neutral-0);
11
12
 
12
13
  &__title {
13
14
  margin: 0;
14
- color: $pix-neutral-60;
15
+ color: var(--pix-neutral-500);
15
16
  font-size: 0.875rem;
16
17
  }
17
18
 
18
19
  &__container-filter {
19
20
  display: flex;
20
21
  flex-direction: column;
21
- gap: $pix-spacing-s;
22
+ gap: var(--pix-spacing-4x);
22
23
  }
23
24
 
24
25
  &__container-action {
25
26
  display: flex;
26
27
  flex-direction: column;
27
28
  align-items: center;
28
- border-top: 1px solid $pix-neutral-15;
29
+ border-top: 1px solid var(--pix-neutral-20);
29
30
  }
30
31
 
31
32
  &__details {
32
33
  margin: 0;
33
- padding: $pix-spacing-xs 0 $pix-spacing-xs 0;
34
- color: $pix-neutral-60;
34
+ padding: var(--pix-spacing-2x) 0 var(--pix-spacing-2x) 0;
35
+ color: var(--pix-neutral-500);
35
36
  font-weight: $font-medium;
36
37
  font-size: 0.875rem;
37
38
  }
@@ -42,13 +43,13 @@
42
43
  }
43
44
 
44
45
  .pix-filter-banner-button__icon {
45
- padding-right: $pix-spacing-xxs;
46
+ padding-right: var(--pix-spacing-1x);
46
47
  }
47
48
 
48
49
  @include device-is('tablet') {
49
50
  .pix-filter-banner {
50
51
  flex-direction: row;
51
- gap: $pix-spacing-m;
52
+ gap: var(--pix-spacing-6x);
52
53
  align-items: center;
53
54
 
54
55
  &__container-title {
@@ -69,14 +70,14 @@
69
70
  }
70
71
 
71
72
  &__details {
72
- padding: 0 $pix-spacing-s 0 0;
73
+ padding: 0 var(--pix-spacing-4x) 0 0;
73
74
  text-align: center;
74
75
  border: none;
75
76
  }
76
77
 
77
78
  &__button-container {
78
- padding-left: $pix-spacing-s;
79
- border-left: 1px solid $pix-neutral-15;
79
+ padding-left: var(--pix-spacing-4x);
80
+ border-left: 1px solid var(--pix-neutral-20);
80
81
  }
81
82
  }
82
83
  }
@@ -1,8 +1,8 @@
1
1
  .pix-filterable-and-searchable-select {
2
2
  display: flex;
3
3
  max-width: 100%;
4
- border: 1px $pix-neutral-45 solid;
5
- border-radius: 4px;
4
+ border: 1px var(--pix-neutral-500) solid;
5
+ border-radius: var(--pix-spacing-1x);
6
6
 
7
7
  &--error {
8
8
  @include formElementInError();
@@ -44,14 +44,14 @@
44
44
 
45
45
  &__pix-multi-select {
46
46
  position: relative;
47
- border-radius: 4px 0 0 4px;
47
+ border-radius: var(--pix-spacing-1x) 0 0 var(--pix-spacing-1x);
48
48
 
49
49
  &:after {
50
50
  position: absolute;
51
51
  right: -2px;
52
52
  width: 2px;
53
53
  height: 22px;
54
- background-color: $pix-neutral-22;
54
+ background-color: var(--pix-neutral-100);
55
55
  border-radius: 50px;
56
56
  content: '';
57
57
  }
@@ -3,7 +3,7 @@
3
3
  align-items: center;
4
4
  justify-content: center;
5
5
  padding: 0;
6
- color: $pix-neutral-60;
6
+ color: var(--pix-neutral-800);
7
7
  background-color: transparent;
8
8
  border: none;
9
9
  border-radius: 50%;
@@ -16,26 +16,25 @@
16
16
  }
17
17
 
18
18
  &:hover:enabled {
19
- color: $pix-neutral-60;
20
- background-color: $pix-neutral-20;
19
+ background-color: var(--pix-neutral-20);
21
20
  outline: 0;
22
21
  }
23
22
 
24
23
  &:focus:enabled {
25
- color: $pix-neutral-0;
26
- background-color: $pix-neutral-60;
27
- outline: 1px solid $pix-neutral-0;
24
+ color: var(--pix-neutral-0);
25
+ background-color: var(--pix-neutral-800);
26
+ outline: 1px solid var(--pix-neutral-0);
28
27
  outline-offset: -3px;
29
28
  }
30
29
 
31
30
  &:active:enabled {
32
- color: $pix-neutral-60;
33
- background-color: $pix-neutral-22;
31
+ color: var(--pix-neutral-800);
32
+ background-color: var(--pix-neutral-100);
34
33
  outline: 0;
35
34
  }
36
35
 
37
36
  &--background {
38
- background-color: $pix-neutral-10;
37
+ background-color: var(--pix-neutral-20);
39
38
  }
40
39
 
41
40
  &--small {
@@ -1,11 +1,12 @@
1
1
  .indicator-card {
2
+ @extend %pix-shadow-xs;
3
+
2
4
  display: flex;
3
5
  width: 100%;
4
6
  min-height: 112px;
5
7
  padding: 0;
6
- background-color: $pix-neutral-0;
8
+ background-color: var(--pix-neutral-0);
7
9
  border-radius: 8px;
8
- box-shadow: 0 4px 8px rgba($pix-neutral-110, 0.05);
9
10
 
10
11
  &__icon {
11
12
  display: flex;
@@ -15,24 +16,29 @@
15
16
  font-size: 2.5rem;
16
17
  border-radius: 8px 0 0 8px;
17
18
 
18
- &--grey {
19
- color: $pix-neutral-60;
20
- background-color: $pix-neutral-5;
19
+ &--grey, &--neutral {
20
+ color: var(--pix-neutral-500);
21
+ background-color: var(--pix-neutral-20);
22
+ }
23
+
24
+ &--blue, &--primary {
25
+ color: var(--pix-primary-700);
26
+ background-color: var(--pix-primary-10);
21
27
  }
22
28
 
23
- &--blue {
24
- color: $pix-primary-60;
25
- background-color: $pix-primary-5;
29
+ &--green, &--success {
30
+ color: var(--pix-success-700);
31
+ background-color: var(--pix-success-50);
26
32
  }
27
33
 
28
- &--green {
29
- color: $pix-success-60;
30
- background-color: $pix-success-5;
34
+ &--purple, &--tertiary {
35
+ color: var(--pix-tertiary-900);
36
+ background-color: var(--pix-tertiary-100);
31
37
  }
32
38
 
33
- &--purple {
34
- color: $pix-tertiary-60;
35
- background-color: $pix-tertiary-5;
39
+ &--warning {
40
+ color: var(--pix-warning-700);
41
+ background-color: var(--pix-warning-50);
36
42
  }
37
43
  }
38
44
 
@@ -40,8 +46,8 @@
40
46
  display: flex;
41
47
  flex-direction: column;
42
48
  justify-content: center;
43
- padding: $pix-spacing-s $pix-spacing-m;
44
- color: $pix-neutral-60;
49
+ padding: var(--pix-spacing-4x) var(--pix-spacing-6x);
50
+ color: var(--pix-neutral-500);
45
51
  }
46
52
 
47
53
  &__title {
@@ -49,7 +55,8 @@
49
55
 
50
56
  display: flex;
51
57
  align-items: center;
52
- margin-bottom: $pix-spacing-xxs;
58
+ margin-bottom: var(--pix-spacing-1x);
59
+ color: var(--pix-neutral-800);
53
60
  font-weight: $font-medium;
54
61
  font-size: 1rem;
55
62
  line-height: 1.375rem;
@@ -58,7 +65,8 @@
58
65
  &__value {
59
66
  @extend %pix-title-m;
60
67
 
61
- margin-bottom: $pix-spacing-xxs;
68
+ margin-bottom: var(--pix-spacing-1x);
69
+ color: var(--pix-neutral-800);
62
70
  }
63
71
 
64
72
  &__sub {
@@ -74,7 +82,7 @@
74
82
  }
75
83
 
76
84
  &__tooltip-icon {
77
- margin: 0 $pix-spacing-xs;
78
- color: $pix-neutral-30;
85
+ margin: 0 var(--pix-spacing-2x);
86
+ color: var(--pix-neutral-500);
79
87
  }
80
88
  }
@@ -5,6 +5,7 @@
5
5
  input[type='number'] {
6
6
  // Firefox
7
7
  -moz-appearance: textfield;
8
+ appearance: textfield;
8
9
 
9
10
  // The rest
10
11
  &::-webkit-inner-spin-button,
@@ -22,48 +23,41 @@
22
23
  }
23
24
 
24
25
  input:nth-of-type(3n + 4) {
25
- margin-left: 12px;
26
+ margin-left: var(--pix-spacing-3x);
26
27
  }
27
28
 
28
29
  input.pix-input-code__input {
29
30
  display: inline-block;
30
31
  width: 38px;
31
32
  height: 44px;
32
- padding: 10px 12px 8px;
33
- color: $pix-neutral-90;
33
+ padding: 10px var(--pix-spacing-3x) var(--pix-spacing-2x);
34
+ color: var(--pix-neutral-900);
34
35
  font-size: 1.25rem;
35
36
  text-align: center;
36
- background-color: $pix-neutral-10;
37
- border: 1.4px solid $pix-neutral-50;
37
+ background-color: var(--pix-neutral-0);
38
+ border: 1.4px solid var(--pix-neutral-500);
38
39
  border-radius: 4px;
39
- outline: none;
40
40
 
41
41
  @include hoverFormElement();
42
+ @include focusFormElement();
43
+ @include activeFormElement();
42
44
 
43
- &:not(:first-child) {
44
- margin-left: 4px;
45
- }
46
-
47
- &::placeholder {
48
- color: $pix-neutral-50;
45
+ &:focus, &:active {
46
+ &::placeholder {
47
+ opacity: 0;
48
+ }
49
49
  }
50
50
 
51
- &:hover {
52
- border-color: $pix-neutral-70;
51
+ &:not(:first-child) {
52
+ margin-left: var(--pix-spacing-1x);
53
53
  }
54
54
 
55
- &:active,
56
- &:focus {
57
- background-color: $pix-neutral-0;
58
- border-color: $pix-primary;
59
-
60
- &::placeholder {
61
- opacity: 0;
62
- }
55
+ &::placeholder {
56
+ color: var(--pix-neutral-500);
63
57
  }
64
58
 
65
59
  &.filled {
66
- background-color: $pix-neutral-0;
60
+ background-color: var(--pix-neutral-0);
67
61
  }
68
62
  }
69
63
  }