color-mode icon indicating copy to clipboard operation
color-mode copied to clipboard

feat: add `disableTransition` option and set default to `true`

Open zcf0508 opened this issue 2 years ago • 6 comments

Reference:

https://vueuse.org/core/useColorMode/ https://paco.me/writing/disable-theme-transitions

zcf0508 avatar May 10 '23 05:05 zcf0508

Deploy Preview for nuxt-color-mode ready!

Name Link
Latest commit 8e8f17100633d955d717a488326d826e831fc393
Latest deploy log https://app.netlify.com/sites/nuxt-color-mode/deploys/65fbfe08766a8b00084ba159
Deploy Preview https://deploy-preview-192--nuxt-color-mode.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar May 10 '23 05:05 netlify[bot]

I am a bit hesitate if this should be enabled by default. Would love to have some feedback from the community.

antfu avatar Jun 21 '23 12:06 antfu

I think it might be better to have it default to false for now, so we can move forward. Later we could revise the defaults on the next major

antfu avatar Aug 13 '23 18:08 antfu

I think it might be better to have it default to false for now, so we can move forward. Later we could revise the defaults on the next major

OK, I think it is better too.

zcf0508 avatar Aug 14 '23 03:08 zcf0508

Perhaps default could come from @media/prefers-reduced-motion and then config allows you to force enable/disable.

In case it counts, I'd prefer transitions to be disabled by default.

hacknug avatar Sep 01 '23 11:09 hacknug

I'm looking forward for this feature

fos7er avatar Oct 01 '23 18:10 fos7er