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

Suggestion: Use scss throughout (bootstrap included). #11

Open
pauldotknopf opened this issue Sep 14, 2018 · 0 comments
Open

Suggestion: Use scss throughout (bootstrap included). #11

pauldotknopf opened this issue Sep 14, 2018 · 0 comments

Comments

@pauldotknopf
Copy link

You currently depend on a standard bootstrap.css to be compiled, with standard sizing/breakpoints/etc.

You should instead @import "~bootstrap/scss/bootstrap";. Then, you can use the pt/px sizes from bootstrap.

You can also use the mixins provided by bootstrap, such as:

@include media-breakpoint-up(sm) {
  // Styles
}

Ideally, in any theme developed for bootstrap, you should rarely be specifying any exact pt/px/colors.

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

No branches or pull requests

1 participant