Skip to content
Snippets Groups Projects
Unverified Commit 02e2cbda authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Style des boutons : ajout de variables (#844)

parent 276044b3
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,9 @@
// ---------------//
--btn-font-family: #{$btn-font-family}
--btn-font-size: #{$btn-font-size}
--btn-font-style: #{$btn-font-style}
--btn-font-weight: #{$btn-font-weight}
--btn-line-height: #{$btn-line-height}
--btn-text-transform: #{$btn-text-transform}
--btn-color: #{$btn-color}
--btn-hover-color: #{$btn-hover-color}
......
......@@ -2,7 +2,9 @@
$btn-font-family: $heading-font-family !default
$btn-font-size: $meta-size !default
$btn-font-size-desktop: $meta-size-desktop !default
$btn-font-style: normal !default
$btn-font-weight: normal !default
$btn-line-height: $body-line-height !default
$btn-text-transform: none !default
$btn-color: var(--color-text) !default
$btn-hover-color: var(--color-text) !default
......
......@@ -18,10 +18,11 @@
@include button-reset
font-family: var(--btn-font-family)
font-size: var(--btn-font-size)
font-style: var(--btn-font-style)
font-weight: var(--btn-font-weight)
text-transform: var(--btn-text-transform)
text-decoration: none
line-height: $body-line-height
line-height: var(--btn-line-height)
color: var(--btn-color)
background: var(--btn-background)
border: var(--btn-border)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment