Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Mention caveat about variable dependencies #555

Merged
merged 6 commits into from
Jul 4, 2022
Merged

docs: Mention caveat about variable dependencies #555

merged 6 commits into from
Jul 4, 2022

Conversation

waldyrious
Copy link
Contributor

@waldyrious waldyrious commented Jan 26, 2021

Looking at how the variables are defined in _variables.scss, with various dependencies between them aimed at ensuring a consistent color scheme, one might expect that redefining a given variable would affect the remaining styles that depend on it.

This is not the case, however, due to the order in which the files are processed. This PR edits the documentation to mention the non-propagating behavior of redefined variables, to better guide users that wish to customize the site using custom themes, and call their attention to the need to redefine the dependency relations as well.

@mxashlynn
Copy link

Thanks for point this out, Waldyrious!

dependabot bot and others added 4 commits March 9, 2022 17:35
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.1.2...2.5.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
updates Code of Conduct to Contributor Covenant v2.1
@waldyrious
Copy link
Contributor Author

waldyrious commented Mar 11, 2022

@mattxwang since you merged #549 (thanks, by the way!), would you be able to take a look at this one as well?

Copy link
Member

@mattxwang mattxwang left a comment

Choose a reason for hiding this comment

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

Hi @waldyrious, sure thing - thanks for this contribution as well! I have a minor copy suggestion, but otherwise think this is good to go! Feel free to commit the suggestion (or otherwise rewrite it), and we'll try to get it staged for v0.4!

docs/customization.md Outdated Show resolved Hide resolved
Copy link
Member

@mattxwang mattxwang left a comment

Choose a reason for hiding this comment

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

Great, thanks - I think this looks good! Will stage it for #779. Thank you for your contribution!

@mattxwang mattxwang changed the base branch from main to v0.4.0 March 25, 2022 01:49
@mattxwang mattxwang merged commit 26fad7d into just-the-docs:v0.4.0 Jul 4, 2022
@waldyrious waldyrious deleted the patch-2 branch July 5, 2022 09:22
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.

4 participants