Skip to content

Commit

Permalink
fix: change css variables names
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezhik Kyzyl-ool committed Feb 8, 2024
1 parent 1b1769d commit 48b1bdf
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Select/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1128,4 +1128,4 @@ LANDING_BLOCK-->

| Name | Description |
| :------------------------------- | :----------------------- |
| `--g-select-outline-color-focus` | Outline color if focused |
| `--g-select-focus-outline-color` | Outline color if focused |
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ $blockButton: '.#{variables.$ns}select-control__button';
}

&:focus::before {
outline: 2px solid var(--g-select-outline-color-focus);
outline: 2px solid var(--g-select-focus-outline-color);
outline-offset: -1px;
}
&:focus:not(:focus-visible)::before {
Expand Down
2 changes: 1 addition & 1 deletion src/components/controls/TextArea/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,4 @@ LANDING_BLOCK-->
| `--g-text-area-border-color` | Border color |
| `--g-text-area-border-color-hover` | Border color if hovered |
| `--g-text-area-border-color-active` | Border color if active |
| `--g-text-area-outline-color-focus` | Outline color if focused |
| `--g-text-area-focus-outline-color` | Outline color if focused |
2 changes: 1 addition & 1 deletion src/components/controls/TextArea/TextArea.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $block: '.#{variables.$ns}text-area';

&:focus-within {
border-color: var(--g-text-area-border-color-active, var(--_--border-color-active));
outline: 2px solid var(--g-text-area-outline-color-focus);
outline: 2px solid var(--g-text-area-focus-outline-color);
outline-offset: -1px;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/controls/TextInput/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,4 @@ LANDING_BLOCK-->
| `--g-text-input-border-color` | Border color |
| `--g-text-input-border-color-hover` | Border color if hovered |
| `--g-text-input-border-color-active` | Border color if active |
| `--g-text-input-outline-color-focus` | Outline color if focused |
| `--g-text-input-focus-outline-color` | Outline color if focused |
2 changes: 1 addition & 1 deletion src/components/controls/TextInput/TextInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ $block: '.#{variables.$ns}text-input';

&:focus-within {
border-color: var(--g-text-input-border-color-active, var(--_--border-color-active));
outline: 2px solid var(--g-text-input-outline-color-focus);
outline: 2px solid var(--g-text-input-focus-outline-color);
outline-offset: -1px;
}
}
Expand Down

0 comments on commit 48b1bdf

Please sign in to comment.