Add animation variable

This commit is contained in:
Kognise 2019-04-06 16:53:27 -04:00
parent a176146843
commit 3e18d95981
No known key found for this signature in database
GPG key ID: 19AA40F6884A36D6
5 changed files with 11 additions and 7 deletions

View file

@ -5,7 +5,9 @@ $text-bright: #ffffff !default;
$links: #41adff !default;
$focus: #0096bfab !default;
$border: #dbdbdb !default;
$button-hover: #324759 !default;
$animation-duration: 0.1s !default;
$form-background: #161f27 !default;
$form-placeholder: #a9a9a9 !default;

View file

@ -5,7 +5,9 @@ $text-bright: #000000 !default;
$links: #0076d1 !default;
$focus: #0096bfab !default;
$border: #dbdbdb !default;
$button-hover: #dddddd !default;
$animation-duration: 0.1s !default;
$form-background: #efefef !default;
$form-placeholder: #949494 !default;

View file

@ -13,9 +13,9 @@ body {
}
button, input, textarea {
transition: background-color .1s linear,
border-color .1s linear,
color .1s linear,
box-shadow .1s linear,
transform .1s linear;
transition: background-color $animation-duration linear,
border-color $animation-duration linear,
color $animation-duration linear,
box-shadow $animation-duration linear,
transform $animation-duration ease;
}