1
1
mirror of https://github.com/primer/css.git synced 2024-11-23 11:27:26 +03:00

Use existing variables

Since the v2 variables are not available yet
This commit is contained in:
simurai 2021-06-07 22:16:03 +09:00
parent d47380bff7
commit cc620b971a
2 changed files with 2 additions and 3 deletions

View File

@ -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;
}
}

View File

@ -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
}