Skip to content

Refactor background color variables#296

Merged
tysongach merged 1 commit intomasterfrom
tg-background-colors
Oct 27, 2017
Merged

Refactor background color variables#296
tysongach merged 1 commit intomasterfrom
tg-background-colors

Conversation

@tysongach
Copy link
Contributor

$base-background-color is only used for setting the background color
of form inputs. That variable name doesn't make sense in that context;
it makes it seem as though you can set this variable and change the
background color of the viewport.

This change swaps the name of $base-background-color to
$viewport-background-color and sets it as a value on the html
element. It also removes the $secondary-background-color variable,
which is not used at all.

Finally, a specific and private $_form-background-color variable is
added to set the background color on form inputs.

@tysongach
Copy link
Contributor Author

The failing build is a weird dependency issue and fixed in #297.

Copy link

@wardpenney wardpenney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it

@tysongach tysongach force-pushed the tg-background-colors branch from f8a7d3e to 91dfde5 Compare October 27, 2017 14:25
`$base-background-color` is only used for setting the background color
of form inputs. That variable name doesn't make sense in that context;
it makes it seem as though you can set this variable and change the
background color of the viewport.

This change swaps the name of `$base-background-color` to
`$viewport-background-color` and sets it as a value on the `html`
element. It also removes the `$secondary-background-color` variable,
which is not used at all.

Finally, a specific and private `$_form-background-color` variable is
added to set the background color on form inputs.
@tysongach tysongach force-pushed the tg-background-colors branch from 91dfde5 to 8342adc Compare October 27, 2017 14:35
@tysongach tysongach merged commit 8342adc into master Oct 27, 2017
@tysongach tysongach deleted the tg-background-colors branch October 27, 2017 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants