Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzossig/hugo-theme-zdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/components/_button.scss')
-rw-r--r--assets/sass/components/_button.scss16
1 files changed, 8 insertions, 8 deletions
diff --git a/assets/sass/components/_button.scss b/assets/sass/components/_button.scss
index ee38ef7..d189e02 100644
--- a/assets/sass/components/_button.scss
+++ b/assets/sass/components/_button.scss
@@ -10,28 +10,28 @@
&[data-color="default"] {
@include themify($themes) {
- color: themed('landing-button-default');
- background-color: transparent;
- border: 1px solid themed('landing-button-default');
+ color: themed('body-background-color');
+ border: 1px solid darken(themed('landing-button-default'), 15%);
+ background-color: themed('landing-button-default');
@include on-event {
color: themed('body-background-color');
border: 1px solid darken(themed('landing-button-default'), 15%);
- background-color: themed('landing-button-default');
+ background-color: lighten(themed('landing-button-default'), 8%);
}
}
}
&[data-color="primary"] {
@include themify($themes) {
- color: themed('landing-button-primary');
- background-color: transparent;
- border: 1px solid themed('landing-button-primary');
+ color: themed('body-background-color');
+ border: 1px solid darken(themed('landing-button-primary'), 15%);
+ background-color: themed('landing-button-primary');
@include on-event {
color: themed('body-background-color');
border: 1px solid darken(themed('landing-button-primary'), 15%);
- background-color: themed('landing-button-primary');
+ background-color: lighten(themed('landing-button-primary'), 8%);
}
}
}