Created
February 11, 2015 07:18
-
-
Save cardeo/294f1352a1c0443f04f7 to your computer and use it in GitHub Desktop.
Less Variables for Bootstrap Themes Made Easy email course
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// colour palette | |
@black: #000; | |
@dark-grey: #333; | |
@grey: #ccc; | |
@light-grey: #ebebeb; | |
@off-white: #f5f5f5; | |
@white: #ffffff; | |
@blue1: #3498db; | |
@blue2: #2980b9; | |
@red1: #e74c3c; | |
@red2: #c0392b; | |
@yellow1: #f1c40f; | |
@yellow2: #f39c12; | |
@green1: #2ecc71; | |
@green2: #27ae60; | |
@orange1: #e67e22; | |
@orange2: #d35400; | |
@aqua1: #1abc9c; | |
@aqua2: #16a085; | |
@purple1: #9b59b6; | |
@purple2: #8e44ad; | |
@navy1: #34495e; | |
@navy2: #2c3e50; | |
// background colours | |
@primary-background: @white; | |
@secondary-background: @off-white; | |
@third-background: @light-grey; | |
@fourth-background: @grey; | |
@inverse-background: @dark-grey; | |
// text colours | |
@primary-text: @dark-grey; | |
@light-text: @light-grey; | |
@loud-text: @black; | |
@inverse-text: @white; | |
@heading-text: @dark-grey; | |
// link colours | |
@primary-link-color: @blue1; | |
@primary-link-color-hover: @blue2; | |
// primary border properties | |
@border-color: @light-grey; | |
@border-size: 1px; | |
@border-type: solid; | |
@border-focus: @grey; | |
@secondary-border-color: @blue1; | |
// typography | |
@body-copy: "Helvetica Neue", helvetica, arial, verdana, sans-serif; | |
@heading-copy: "Helvetica Neue", helvetica, arial, verdana, sans-serif; | |
@heading-copy-bold: "Helvetica Neue", helvetica, arial, verdana, sans-serif; | |
@base-font-size: 14px; | |
@font-size: 1em; | |
@base-line-height: 1.5; | |
// layout | |
@margin: 1em; | |
@padding: 1em; | |
// MIXINS | |
// round corners or Border radius | |
.round-corners (@radius: 2px) { | |
-moz-border-radius: @radius; | |
-ms-border-radius: @radius; | |
border-radius: @radius; | |
} | |
// animation transitions | |
.transition (@transition: background .1s linear) { | |
-moz-transition: @transition; | |
-webkit-transition: @transition; | |
transition: background @transition; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment