From fd7ce86312c74bb9b62158cdf40972dc8279025a Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Mon, 6 Jun 2022 16:29:15 +0200 Subject: refactor: Remove all transitions on theme-switcher --- apps/web-shared/src/styles/components/light-dark-switch.scss | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'apps/web-shared/src') diff --git a/apps/web-shared/src/styles/components/light-dark-switch.scss b/apps/web-shared/src/styles/components/light-dark-switch.scss index 1554010..23dc03a 100644 --- a/apps/web-shared/src/styles/components/light-dark-switch.scss +++ b/apps/web-shared/src/styles/components/light-dark-switch.scss @@ -20,8 +20,7 @@ Usage: codyhouse.co/license overflow: hidden; display: inline-block; - transition: opacity 0.2s, color 0.2s; - + &:hover { cursor: pointer; opacity: 0.8; @@ -61,10 +60,6 @@ Usage: codyhouse.co/license transform: translateY(-100%) rotate(-35deg) scale(0.5); } -.ld-switch-btn__icon-wrapper--in, -.ld-switch-btn__icon-wrapper--out { - transition: transform 0.3s var(--ease-in-out), opacity 0.3s; -} .ld-switch-btn__icon { margin: auto; @@ -77,7 +72,6 @@ Usage: codyhouse.co/license .ld-switch-popover__option { user-select: none; - transition: opacity 0.2s; &:hover { cursor: pointer; -- cgit v1.3