mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 16:00:39 +01:00
chore: remove vueuse and dark mode plugin
This commit is contained in:
@@ -16,9 +16,13 @@
|
||||
Usage
|
||||
</h2>
|
||||
|
||||
<p>VueUse <a href="https://vueuse.org/core/useDark" target="_blank" class="underline">useDark</a> composable is instancied through a plugin injected by the module.</p>
|
||||
<pre class="u-bg-gray-900 rounded-md u-text-white px-4">
|
||||
<code class="text-sm">
|
||||
{{ code5 }}
|
||||
</code>
|
||||
</pre>
|
||||
|
||||
<p>This composable makes use of the `dark` class on the html tag so you can easily take advantage of the UnoCSS `dark` variant.</p>
|
||||
<p>The VueUse <a href="https://vueuse.org/core/useDark" target="_blank" class="underline">useDark</a> composable makes use of the `dark` class on the html tag so you can easily take advantage of the UnoCSS `dark` variant.</p>
|
||||
|
||||
<pre class="u-bg-gray-900 rounded-md u-text-white px-4">
|
||||
<code class="text-sm">
|
||||
@@ -30,12 +34,12 @@
|
||||
|
||||
<pre class="u-bg-gray-900 rounded-md u-text-white px-4">
|
||||
<code class="text-sm">
|
||||
{{ code1 }}
|
||||
{{ code2 }}
|
||||
</code>
|
||||
</pre>
|
||||
<pre class="u-bg-gray-900 rounded-md u-text-white px-4">
|
||||
<code class="text-sm">
|
||||
{{ code2 }}
|
||||
{{ code1 }}
|
||||
</code>
|
||||
</pre>
|
||||
|
||||
@@ -71,4 +75,7 @@ const code3 = `
|
||||
const code4 = `
|
||||
<div class="bg-white dark:bg-black"></div>
|
||||
`
|
||||
const code5 = `
|
||||
yarn add @vueuse/components @vueuse/core
|
||||
`
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user