Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix: Add variables
Browse files Browse the repository at this point in the history
  • Loading branch information
GusBaamonde committed Mar 1, 2019
1 parent 6a5f344 commit c15eb7a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
12 changes: 6 additions & 6 deletions assets/scss/core/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ label {
margin-bottom: 5px;
padding: 0;
color: $dp-color-grey;
font-weight: bold;
font-size: 13px;
font-weight: $dp-font-weight-bold;
font-size: $dp-font-size-small;
}
/* span whith class .dropdown-arrow to draw arrow dropdown */
/* span with class .dropdown-arrow to draw arrow dropdown */
.dropdown-arrow {
border-style: solid;
height: 0;
Expand All @@ -33,8 +33,8 @@ select {
width: 100%;
background-color: $dp-color-white;
border: 1px solid $dp-color-sylver;
border-radius: 3px;
font-size: 13px;
border-radius: $dp-border-radius;
font-size: $dp-font-size-small;
padding: 0 40px 0 10px;
text-align: left;
height: 40px;
Expand All @@ -57,7 +57,7 @@ textarea {
resize: none;
padding: 10px;
color: $dp-color-grey;
border-radius: 3px;
border-radius: $dp-border-radius;
font-size: $dp-font-size-form;
border: 1px solid $dp-color-sylver;
}
Expand Down
3 changes: 3 additions & 0 deletions assets/scss/core/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ $dp-headers-h5-font-size: 18px;
$dp-headers-h6-font-size: 13px;
$dp-font-size-small: 13px;
$dp-font-size-form: 14px;
$dp-font-button-big: 15px;
$dp-font-button-medium: 13px;
$dp-font-button-small: 11px;

body {
color: $dp-color-grey;
Expand Down
12 changes: 7 additions & 5 deletions assets/scss/core/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
/* variables*/
$dp-border-radius: 3px;
$dp-header-height: 4em;
$dp-text-aling: center;

.micro {
font-size: 11px;
line-height: 13px;
color: $dp-color-grey;
text-transform: uppercase;
}
/* TEXT COLORS - grey */

.c-dark-grey {
color: $dp-color-darkgrey;
/* text */
Expand All @@ -20,6 +26,7 @@
/* placeholders, hovers*/
}
/* VERTICAL SPACES */

.space-0 {
margin-bottom: 0;
}
Expand All @@ -43,13 +50,11 @@
margin-bottom: 64px;
}
/* SPACES */

.margin--0 {
margin: 0;
/* when p is a title of a paragraph */
}
/* BACKGROUNDS COLORS */

.grey-bg {
background-color: $dp-color-grey;
/* disabled inputs */
Expand All @@ -69,20 +74,17 @@
/* backgrounds grid, cebra */
}
/* TEXT COLORS */

.dark-grey-txt {
color: $dp-color-darkgrey;
/* variant of <p> */
font-weight: $dp-font-weight-bold;
}
/* BORDER COLORS */

.sylver {
border-color: $dp-color-sylver;
/* strokes */
}
/* DISABLED ICON STATES */

.disabled-icon {
opacity: 0.6;
/* strokes */
Expand Down
4 changes: 0 additions & 4 deletions assets/scss/templates/_header.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/* header */
$dp-header-height: 4em;
$dp-border-radius: 5px;
$dp-text-aling: center; /* header */

.header-main {
height: $dp-header-height;
Expand Down Expand Up @@ -120,7 +117,6 @@ $dp-text-aling: center; /* header */
width: 100%;
}
/* nav right */

.nav-right-main {
display: flex;
}
Expand Down

0 comments on commit c15eb7a

Please sign in to comment.