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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite main.scss #645

Merged
merged 6 commits into from
Dec 10, 2023
Merged

Rewrite main.scss #645

merged 6 commits into from
Dec 10, 2023

Conversation

justinkruit
Copy link
Member

In issue #640 we highlighted that a rewrite of the main.scss is needed to give the users more control over Bootstrap. With this PR that will be achieved.

The variables are set before Bootstrap so everything is better overridable.
A new _bscore_maps.scss has been added so maps can also be overridden.
And lastly a new _bscore_utilities.scss has been added and loaded after the Bootstrap utilities so they can be added upon (docs).

I've tested the compiling locally, and nothing seems to be missing.

@crftwrk If you like it, merge it. 馃槣

@justinkruit justinkruit linked an issue Dec 1, 2023 that may be closed by this pull request
@crftwrk
Copy link
Member

crftwrk commented Dec 2, 2023

That's cool, thank you! Just two things:

  • @import "bootstrap/helpers"; is missing. Check the to-top button, visually-hidden elements are visible.
  • We need this in child as well.

@crftwrk crftwrk added child documentation Improvements or additions to documentation feature labels Dec 2, 2023
@justinkruit
Copy link
Member Author

  • @import "bootstrap/helpers"; is missing. Check the to-top button, visually-hidden elements are visible.

Good catch! Will fix this soon.

  • We need this in child as well.

When this is done, I'll also make a PR in the child theme 馃憤

@justinkruit justinkruit requested review from crftwrk and removed request for crftwrk December 10, 2023 12:44
Copy link
Member

@crftwrk crftwrk left a comment

Choose a reason for hiding this comment

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

Looks good! Waiting for the child PR.

@crftwrk crftwrk merged commit cfbc068 into main Dec 10, 2023
@crftwrk crftwrk deleted the rewrite-main-scss branch December 10, 2023 14:16
justinkruit added a commit to bootscore/bootscore-child that referenced this pull request Dec 10, 2023
Will bring the changes of bootscore/bootscore#645 to the child.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
child documentation Improvements or additions to documentation feature
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Rewrite main.scss
2 participants