Skip to content

White page background - #272

Open
wjhdev wants to merge 2 commits into
masterfrom
TylerGeeChanges
Open

White page background#272
wjhdev wants to merge 2 commits into
masterfrom
TylerGeeChanges

Conversation

@wjhdev

@wjhdev wjhdev commented Mar 7, 2023

Copy link
Copy Markdown
Member

Removes grey page background in favor of #000 white.

@wjhdev wjhdev changed the title Tyler gee changes White page background Mar 7, 2023

body {
background: $grey;
background: $white;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This rule is actually broken (but working anyways). Before this code:

body {
  background: $grey;
}

was using the $ in front of grey here to reference a sass variable to pull in a shared value defined in src/global/sass/foundations/_colors.scss. The variable $white isn't actually defined anywhere, so this css rule is actually broken—but working regardless (since the default is white).

tl;dr—drop the $ in front of $white to reference the HTML color value white

@wjhdev
wjhdev force-pushed the TylerGeeChanges branch from f70a81b to de00127 Compare March 7, 2023 02:01
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