If you are already using Sass in your project, you can import the Dress Code Sass to:
Name | Type | Default | Description |
---|---|---|---|
$dc-white | Color |
|
white |
$dc-black | Color |
|
black |
$dc-gray80 | Color |
|
gray 80 |
$dc-gray70 | Color |
|
gray 70 |
$dc-gray60 | Color |
|
gray 60 |
$dc-gray50 | Color |
|
gray 50 |
$dc-gray40 | Color |
|
gray 40 |
$dc-gray30 | Color |
|
gray 30 |
$dc-gray20 | Color |
|
gray 20 |
$dc-gray10 | Color |
|
gray 10 |
$dc-blue80 | Color |
|
blue 80 |
$dc-blue70 | Color |
|
blue 70 |
$dc-blue60 | Color |
|
blue 60 |
$dc-blue50 | Color |
|
blue 50 |
$dc-blue40 | Color |
|
blue 40 |
$dc-blue30 | Color |
|
blue 30 |
$dc-blue20 | Color |
|
blue 20 |
$dc-blue10 | Color |
|
blue 10 |
$dc-cyan80 | Color |
|
cyan 80 |
$dc-cyan70 | Color |
|
cyan 70 |
$dc-cyan60 | Color |
|
cyan 60 |
$dc-cyan50 | Color |
|
cyan 50 |
$dc-cyan40 | Color |
|
cyan 40 |
$dc-cyan30 | Color |
|
cyan 30 |
$dc-cyan20 | Color |
|
cyan 20 |
$dc-cyan10 | Color |
|
cyan 10 |
$dc-green80 | Color |
|
green 80 |
$dc-green70 | Color |
|
green 70 |
$dc-green60 | Color |
|
green 60 |
$dc-green50 | Color |
|
green 50 |
$dc-green40 | Color |
|
green 40 |
$dc-green30 | Color |
|
green 30 |
$dc-green20 | Color |
|
green 20 |
$dc-green10 | Color |
|
green 10 |
$dc-yellow80 | Color |
|
yellow 80 |
$dc-yellow70 | Color |
|
yellow 70 |
$dc-yellow60 | Color |
|
yellow 60 |
$dc-yellow50 | Color |
|
yellow 50 |
$dc-yellow40 | Color |
|
yellow 40 |
$dc-yellow30 | Color |
|
yellow 30 |
$dc-yellow20 | Color |
|
yellow 20 |
$dc-yellow10 | Color |
|
yellow 10 |
$dc-orange80 | Color |
|
orange 80 |
$dc-orange70 | Color |
|
orange 70 |
$dc-orange60 | Color |
|
orange 60 |
$dc-orange50 | Color |
|
orange 50 |
$dc-orange40 | Color |
|
orange 40 |
$dc-orange30 | Color |
|
orange 30 |
$dc-orange20 | Color |
|
orange 20 |
$dc-orange10 | Color |
|
orange 10 |
$dc-red80 | Color |
|
red 80 |
$dc-red70 | Color |
|
red 70 |
$dc-red60 | Color |
|
red 60 |
$dc-red50 | Color |
|
red 50 |
$dc-red40 | Color |
|
red 40 |
$dc-red30 | Color |
|
red 30 |
$dc-red20 | Color |
|
red 20 |
$dc-red10 | Color |
|
red 10 |
$dc-magenta80 | Color |
|
magenta 80 |
$dc-magenta70 | Color |
|
magenta 70 |
$dc-magenta60 | Color |
|
magenta 60 |
$dc-magenta50 | Color |
|
magenta 50 |
$dc-magenta40 | Color |
|
magenta 40 |
$dc-magenta30 | Color |
|
magenta 30 |
$dc-magenta20 | Color |
|
magenta 20 |
$dc-magenta10 | Color |
|
magenta 10 |
$dc-purple80 | Color |
|
purple 80 |
$dc-purple70 | Color |
|
purple 70 |
$dc-purple60 | Color |
|
purple 60 |
$dc-purple50 | Color |
|
purple 50 |
$dc-purple40 | Color |
|
purple 40 |
$dc-purple30 | Color |
|
purple 30 |
$dc-purple20 | Color |
|
purple 20 |
$dc-purple10 | Color |
|
purple 10 |
Name | Type | Default | Description |
---|---|---|---|
$dc-font-path | String |
|
Fonts folder |
$dc-image-path | String |
|
Images folder |
$dc-tiny-width | Number |
|
base breakpoint |
$dc-small-width | Number |
|
small screens breakpoint 320px {Smartphones} |
$dc-medium-width | Number |
|
medium screens breakpoint 600px {Tablets} |
$dc-large-width | Number |
|
large screens breakpoint 1024px {Desktops} |
$dc-huge-width | Number |
|
huge screens breakpoint 1280px {Full HD} |
$dc-giant-width | Number |
|
giant breakpoint 1280px {Full HD} |
$dc-monstrous-width | Number |
|
monstrous breakpoint 1400px |
$dc-breakpoints | Map |
|
responsive breakpoints map |
Output/include all css selectors.
base mixin applying DressCodeIcons font to :before pseudo-element
Get the character representing a font icon
string
-
utf-8 character representing the icon
Parameter | Type | Default | Description |
---|---|---|---|
$name | string | icon name (eg. close) |
Name | Type | Default | Description |
---|---|---|---|
$dc-grid-column-count | Number |
|
The default column count for the grid |
$dc-grid-gutter | Map |
|
The amount of space between columns at different screen sizes.
To use just one size, set the variable to a number instead of a map. |
$dc-grid-breakpoints | Map |
|
Grid breakpoints |
Mixin for creating a row.
Sets the negative right and left margin for the row to align the columns inside a row.
As each column has padding (for gutter), negative margin on row is applied.
Parameter | Type | Default | Description |
---|---|---|---|
$gutter | Map |
|
A Map of gutter values for different breakpoint sizes |
Mixin for creating a column.
Sets the flex value for the column.
Sets the padding for column based on the gutter space per breakpoint.
Parameter | Type | Default | Description |
---|---|---|---|
$columns | Number |
|
Size (or span) of the column. |
$gutter | Map |
|
A Map of gutter values for different breakpoint sizes. |
Mixin for creating a block grid.
Sets the flex value for the child columns
Parameter | Type | Default | Description |
---|---|---|---|
$columns | Number | Number of columns in each row | |
$column-selector | String |
|
Selector for column within the row. |
Function for calculating flex property value for a column.
Returns flex property value based on the number of columns supplied.
Flex
-
flex property value based on the number of columns supplied.
Parameter | Type | Default | Description |
---|---|---|---|
$columns | Number |
|
Size (or span) of the column. |
Calculates the width of a column in percentage.
This is used for calculating flex percentage, max-widths, and offset widths
Width
-
width in percentage
Parameter | Type | Default | Description |
---|---|---|---|
$columns | Number | Number of columns |