Skip to content

useColorMode differences from VueUse #2822

@cbeytas

Description

@cbeytas

The documentation for useColorMode states:

useColorMode is simply a wrapper for the vueuse utility.

But it forces different options: source
It targets the <body> element instead of the <html> element.

Why the difference between useColorMode from 'bootstrap-vue-next' and useColorMode from VueUse?

The documentation for Bootstrap v5.3 hints that the <html> element should have this attribute.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions