Reader small image

You're reading from  Bootstrap Site Blueprints Volume II

Product typeBook
Published inJan 2016
Reading LevelIntermediate
PublisherPackt
ISBN-139781785281099
Edition1st Edition
Languages
Right arrow
Author (1)
Matt Lambert
Matt Lambert
author image
Matt Lambert

Matt Lambert is a designer and developer with 15+ years of experience. He currently works full-time as a Senior Software Engineer for CA Technologies in Vancouver, BC, Canada. In his free time he is an author, artist, and musician. In 2005, Matt founded Cardeo Creative, which is a small web design studio based in Vancouver. He works with a select list of clients on a part-time basis while producing his own products on the side. To date, Matt has self-published 3 additional development books titled: Mastering Bootstrap, CSS3 Handbook, and the Freelance Startup Guide.
Read more about Matt Lambert

Right arrow

Setting up the Less variables


The next step will be to set up the new Less variables for the magazine project. Open the _variables.less file, which is found in css/components. Let's go through each section that you need to update:

@bm-primary: #673ab7;
@bm-dark-primary: #512da8;
@bm-light-primary: #d1c4e9;
@bm-accent: #e040fb;
@bm-black: #212121;
@bm-grey: #727272;
@bm-light-grey: #b6b6b6;

As we did in the previous wiki project, we're going to use the primary naming convention for our custom colors. Each one is prepended with bm- in order to make it easily identifiable.

Background colors

Next, let's update our background color variables to use our new color values:

@primary-background: @white;
@secondary-background: @bm-grey;
@inverse-background: @bm-black; 

Text colors

After setting up the background, let's move on to updating our text color variables to use the new values:

@primary-text: @bm-grey; 
@light-text: @bm-light-grey; 
@loud-text: @bm-black; 
@inverse-text: @white; 
@heading-text: @bm...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Bootstrap Site Blueprints Volume II
Published in: Jan 2016Publisher: PacktISBN-13: 9781785281099

Author (1)

author image
Matt Lambert

Matt Lambert is a designer and developer with 15+ years of experience. He currently works full-time as a Senior Software Engineer for CA Technologies in Vancouver, BC, Canada. In his free time he is an author, artist, and musician. In 2005, Matt founded Cardeo Creative, which is a small web design studio based in Vancouver. He works with a select list of clients on a part-time basis while producing his own products on the side. To date, Matt has self-published 3 additional development books titled: Mastering Bootstrap, CSS3 Handbook, and the Freelance Startup Guide.
Read more about Matt Lambert