fix: theme transition error on ios

This commit is contained in:
radishzzz 2025-02-05 21:04:10 +00:00
parent 93eca1fa7a
commit aa63803aa2
3 changed files with 8 additions and 12 deletions

View file

@ -77,11 +77,7 @@ html[data-theme-transition] [data-disable-transition-on-theme] {
@supports not (view-transition-name: none) {
html:not([data-restore-theme]) {
--at-apply: 'transition-colors duration-300 ease-in-out';
}
html:not([data-restore-theme]) [data-disable-transition-on-theme] {
--at-apply: 'transition-none!';
--at-apply: 'transition-colors duration-300 ease-out';
}
}