Skip to content

Commit

Permalink
Reuse tbxforms-border-colour instead of hard-coding mid-grey.
Browse files Browse the repository at this point in the history
  • Loading branch information
kbayliss committed Jul 29, 2024
1 parent 306591a commit 8321718
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ added which have now been removed and those which GDS have removed over time.

However, variables which have now been removed from our \_variables.scss are:

- `$tbxforms-border-colour-conditional` (no longer configurable; now using GDS' `mid-grey` (#b1b4b6)) [#80]
- `$tbxforms-border-colour-conditional` (no longer configurable; now using GDS' `$tbxforms-border-colour`) [#80]
- `$tbxforms-border-width-conditional` (no longer configurable; now using GDS' `$tbxforms-border-width`) [#80]
- `$tbxforms-weight--bold` (use `$tbxforms-font-weight-bold` instead) [#80]
- `$tbxforms-weight--normal` (use `$tbxforms-font-weight-regular` instead) [#80]
Expand Down
2 changes: 1 addition & 1 deletion tbxforms/static/sass/_conditional.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
*/

.tbxforms-conditional {
border-left: $tbxforms-border-width solid tbxforms-colour('mid-grey');
border-left: $tbxforms-border-width solid $tbxforms-border-colour;
padding-left: $tbxforms-gutter-half;
}

0 comments on commit 8321718

Please sign in to comment.