HTMLify
ThemeSwitcher.module.scss
Views: 342 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | .theme-button { background-color: #FFF; color: #464A51; border-radius: 8px; display: flex; align-items: center; width: 125px; height: 50px; border: 0px; padding-left: 16px; cursor: pointer; font-weight: 400; font-size: 22px; transition: 0.5s; box-shadow: 0px 4px 8px #DBE0EE; &--dark { background-color: #464A51; color: #C0C4CA; box-shadow: none; } &--unactive { background-color: inherit; box-shadow: none; } } .theme-switcher { padding: 6px; height: 50px; width: 250px; display: flex; gap: 8px; border-radius: 8px; background-color: #E9EDF8; &--dark { background-color: #222126; } } .theme-icon { width: 30px; height: 30px; margin-right: 8px; &--dark { filter: brightness(0) invert(1); } } |