@@ -56,6 +56,36 @@ html.dark {
5656 box-sizing : border-box;
5757}
5858
59+
60+ html .theme-transitioning * ,
61+ html .theme-transitioning * ::before ,
62+ html .theme-transitioning * ::after {
63+ transition :
64+ background-color 0.35s cubic-bezier (0.4 , 0 , 0.2 , 1 ),
65+ background 0.35s cubic-bezier (0.4 , 0 , 0.2 , 1 ),
66+ color 0.35s cubic-bezier (0.4 , 0 , 0.2 , 1 ),
67+ border-color 0.35s cubic-bezier (0.4 , 0 , 0.2 , 1 ),
68+ box-shadow 0.35s cubic-bezier (0.4 , 0 , 0.2 , 1 ),
69+ fill 0.35s cubic-bezier (0.4 , 0 , 0.2 , 1 ),
70+ stroke 0.35s cubic-bezier (0.4 , 0 , 0.2 , 1 ) !important ;
71+ }
72+
73+
74+ @keyframes icon-hide {
75+ 0% { transform : scale (1 ) rotate (0deg ); opacity : 1 ; }
76+ 100% { transform : scale (0 ) rotate (-90deg ); opacity : 0 ; }
77+ }
78+
79+ @keyframes icon-show {
80+ 0% { transform : scale (0 ) rotate (90deg ); opacity : 0 ; }
81+ 100% { transform : scale (1 ) rotate (0deg ); opacity : 1 ; }
82+ }
83+ @keyframes toggle-glow {
84+ 0% { box-shadow : 0 0 0 0 rgba (99 , 102 , 241 , 0.55 ); }
85+ 50% { box-shadow : 0 0 0 8px rgba (99 , 102 , 241 , 0.18 ); }
86+ 100% { box-shadow : 0 0 0 14px rgba (99 , 102 , 241 , 0 ); }
87+ }
88+
5989body {
6090 font-family : 'Inter' , sans-serif;
6191 background :
@@ -191,7 +221,10 @@ html {
191221}
192222
193223@media (prefers-reduced-motion : reduce) {
194- * {
224+ * ,
225+ html .theme-transitioning * ,
226+ html .theme-transitioning * ::before ,
227+ html .theme-transitioning * ::after {
195228 animation-duration : 0.01ms !important ;
196229 animation-iteration-count : 1 !important ;
197230 transition-duration : 0.01ms !important ;
0 commit comments