@import "tailwindcss";
@custom-variant dark (&:where(.dark, .dark *));import { useDark } from '@vueuse/core'
const isDark = useDark()<template>
<div>
<input v-model="isDark" type="checkbox" /> Dark mode
</div>
</template><div class="container">
<div class="inner">
<div class="element">123</div>
<div class="element">456</div>
<div class="element">789</div>
</div>
</div>.inner {
margin: 0 -20px;
}
.element {
margin: 0 20px;
}