mirror of
https://github.com/primer/css.git
synced 2024-12-23 14:13:14 +03:00
Use existing variables
Since the v2 variables are not available yet
This commit is contained in:
parent
d47380bff7
commit
cc620b971a
@ -130,8 +130,7 @@ textarea.form-control {
|
||||
// stylelint-disable-next-line primer/spacing
|
||||
padding: 2px $spacer-1;
|
||||
font-style: normal;
|
||||
// stylelint-disable-next-line primer/colors
|
||||
background: var(--color-attention-subtle, var(--color-auto-yellow-1));
|
||||
background: var(--color-bg-warning);
|
||||
border-radius: $border-radius;
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
// stylelint-disable-next-line primer/colors
|
||||
background-color: var(--color-neutral-muted, var(--color-auto-gray-2));
|
||||
background-color: var(--color-border-tertiary);
|
||||
border-radius: $border-radius;
|
||||
outline: 1px solid transparent; // Support Firefox custom colors
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user