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

Jumbotron: remove the hard-coded font-size from jumbotron.less and moved... #10949

Merged
merged 4 commits into from
Oct 14, 2013
Merged

Jumbotron: remove the hard-coded font-size from jumbotron.less and moved... #10949

merged 4 commits into from
Oct 14, 2013

Conversation

StevenBlack
Copy link
Contributor

... it into variables.less where other .font-size-xxxxx things now live.

…ved it into variables.less where other .font-size-xxxxx things now live.
@mdo
Copy link
Member

mdo commented Oct 5, 2013

Probably want to go with @jumbotron-font-size to match the naming scheme.

You'll also need to add the new variable to the Customizer page so folks can easily change it there.

@StevenBlack
Copy link
Contributor Author

It's font-size-h1 for example, elsewhere.

I count 9 instances of font-size-xxx versus just one instance of xxx-font-size ( @carousel-control-font-size ) in variables.less. So I suspect the convention is @font-size-{htmlElement}, and @{bootstrapClass}-font-size. Just checking I've got that right.

Good point about the customizer.

@jumbotron-heading-color: inherit;
@font-size-jumbotron: ceil(@font-size-base * 1.50);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Still need to change the actual variable's name. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops, thank you. Good catch. I pushed the latest less/variables.less just now.

mdo added a commit that referenced this pull request Oct 14, 2013
Jumbotron: remove the hard-coded font-size from jumbotron.less and moved...
@mdo mdo merged commit 36b4639 into twbs:master Oct 14, 2013
@mdo mdo mentioned this pull request Oct 14, 2013
stempler pushed a commit to stempler/bootstrap that referenced this pull request Apr 11, 2014
Jumbotron: remove the hard-coded font-size from jumbotron.less and moved...
stempler pushed a commit to stempler/bootstrap that referenced this pull request Nov 4, 2014
Jumbotron: remove the hard-coded font-size from jumbotron.less and moved...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants