Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Bootstrap Site Blueprints Volume II

You're reading from   Bootstrap Site Blueprints Volume II Maximize the potential of Bootstrap for faster and more responsive web applications

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher Packt
ISBN-13 9781785281099
Length 328 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Matt Lambert Matt Lambert
Author Profile Icon Matt Lambert
Matt Lambert
Arrow right icon
View More author details
Toc

Setting up the Less variables


The process of setting up your Less variables should feel pretty familiar now. Let's go ahead and set up the Less variables for the social network. As in the previous project, we're going to use the colors included with the boilerplate.

Background colors

For the background color section, we only need to update the value of the inverse background variable:

@inverse-background: @navy1;

Text colors

The only text color that we are going to change is the heading text variable:

@heading-text: @navy1;

Link colors

Let's change both the link color variables to match the color scheme for our new project:

@primary-link-color: @aqua1;
@primary-link-color-hover: @aqua2;

Border colors

For the borders, everything will stay the same except for the focus color. This is the property that controls the border color of an input when it is in focus:

@border-focus: @aqua1;

Typography

Earlier, we imported Roboto from Google Web Fonts. Let's now set up our text variables to use the typeface:

@body...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime