mirror of
https://github.com/ruisaraiva19/favycon.git
synced 2026-09-12 19:51:07 +05:00
* style(drag-and-drop): fix divivers color fix #85 * fix(pwa): fix pwa checkbox logic fix #82 * style(button): update hover and active states fix #81 * style(checkbox): fix checkbox dark mode fix #80 * style(text): make text semi bold fix #90 * style(app): update APP text to gray color fix #91 * style(font): add extra bold font weight fix #92 * style(icon): fix light/dark mode colors fix #88
153 lines
2.0 KiB
SCSS
153 lines
2.0 KiB
SCSS
@import '../../styles/variables.scss';
|
|
|
|
.base {
|
|
padding: 5px 12px;
|
|
font-family: Manrope, Arial, Helvetica Neue, Helvetica, sans-serif;
|
|
font-size: $font-size-title;
|
|
line-height: $line-height-title;
|
|
color: $black;
|
|
cursor: pointer;
|
|
border-radius: 4px;
|
|
transition: all 0.2s ease;
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
outline: none;
|
|
}
|
|
|
|
&:hover {
|
|
transform: translate3d(0, -2px, 0);
|
|
}
|
|
|
|
&:active {
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
}
|
|
|
|
.primary {
|
|
composes: base;
|
|
background-color: $off-white;
|
|
border: 1px solid $light-grey;
|
|
box-shadow: 0 2px 4px 0 rgba($black, 0.12);
|
|
transition: all 0.2s ease;
|
|
|
|
&:disabled {
|
|
color: $grey;
|
|
}
|
|
}
|
|
|
|
:global(.dark-mode) .primary {
|
|
color: $white;
|
|
background-color: $dark-black;
|
|
border: 1px solid $dark-black;
|
|
|
|
&:disabled {
|
|
color: $grey;
|
|
}
|
|
}
|
|
|
|
.transparent {
|
|
composes: base;
|
|
padding: 5px 0;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.regularTransparent {
|
|
composes: transparent;
|
|
padding: 0;
|
|
font-size: $font-size-regular-body;
|
|
line-height: $line-height-regular-body;
|
|
text-decoration: none;
|
|
border: 0;
|
|
}
|
|
|
|
.regular {
|
|
font-weight: 400;
|
|
}
|
|
|
|
.medium {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.semiBold {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.bold {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.black {
|
|
color: $black;
|
|
}
|
|
|
|
.gray {
|
|
color: $grey;
|
|
}
|
|
|
|
:global(.dark-mode) .gray {
|
|
color: $grey-dark;
|
|
}
|
|
|
|
.white {
|
|
color: $white;
|
|
}
|
|
|
|
.link {
|
|
color: $black;
|
|
|
|
&:hover {
|
|
color: $link;
|
|
}
|
|
}
|
|
|
|
:global(.dark-mode) .link {
|
|
color: $white;
|
|
|
|
&:hover {
|
|
color: $link-dark;
|
|
}
|
|
}
|
|
|
|
.bgLink {
|
|
background: $link;
|
|
border-color: $link;
|
|
|
|
&:hover {
|
|
background: $link-hover;
|
|
border-color: $link-hover;
|
|
}
|
|
}
|
|
|
|
:global(.dark-mode) .bgLink {
|
|
background: $link-dark;
|
|
border-color: $link-dark;
|
|
|
|
&:hover {
|
|
background: $link-hover;
|
|
border-color: $link-hover;
|
|
}
|
|
}
|
|
|
|
.bgGreen {
|
|
background: $green;
|
|
border-color: $green;
|
|
|
|
&:hover {
|
|
background: $green-hover;
|
|
border-color: $green-hover;
|
|
}
|
|
}
|
|
|
|
:global(.dark-mode) .bgGreen {
|
|
background: $green;
|
|
border-color: $green;
|
|
|
|
&:hover {
|
|
background: $green-hover;
|
|
border-color: $green-hover;
|
|
}
|
|
}
|