@ebay/skin 18.0.5 → 18.0.7

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,6 +1,11 @@
1
1
  @import "../variables/variables";
2
2
  @import "../mixins/private/token-mixins";
3
3
 
4
+ :root {
5
+ --input-default-height: 40px;
6
+ --input-large-height: 48px;
7
+ }
8
+
4
9
  .textbox {
5
10
  @include color-token(
6
11
  textbox-foreground-color,
@@ -21,6 +26,7 @@
21
26
 
22
27
  /* to align with buttons and select, it needs same font-size */
23
28
  font-size: var(--font-size-default);
29
+ overflow: hidden;
24
30
  position: relative;
25
31
  width: fit-content;
26
32
  gap: var(--spacing-100);
@@ -193,8 +199,12 @@ textarea.textbox__control {
193
199
  }
194
200
  }
195
201
 
196
- .textbox--large > input.textbox__control {
197
- height: 48px;
202
+ input.textbox__control {
203
+ height: calc(var(--input-default-height) - 2px);
204
+ }
205
+
206
+ .textbox--large input.textbox__control {
207
+ height: calc(var(--input-large-height) - 2px);
198
208
  }
199
209
 
200
210
  .textbox > svg,
@@ -4,7 +4,7 @@
4
4
  --color-background-tertiary: var(--color-neutral-300);
5
5
  --color-background-disabled: var(--color-neutral-400);
6
6
  --color-background-inverse: var(--color-neutral-700);
7
- --color-background-attention: var(--color-red-500);
7
+ --color-background-attention: var(--color-red-600);
8
8
  --color-background-confirmation: var(--color-kiwi-600);
9
9
  --color-background-information: var(--color-blue-500);
10
10
  --color-background-education: #ecf7fe;
@@ -14,7 +14,7 @@
14
14
  --color-foreground-primary: var(--color-neutral-800);
15
15
  --color-foreground-secondary: var(--color-neutral-600);
16
16
  --color-foreground-disabled: var(--color-neutral-400);
17
- --color-foreground-attention: var(--color-red-500);
17
+ --color-foreground-attention: var(--color-red-600);
18
18
  --color-foreground-confirmation: var(--color-kiwi-600);
19
19
  --color-foreground-information: var(--color-blue-500);
20
20
  --color-foreground-accent: var(--color-blue-500);