feat: twind plugin (#513)

This adds a first-party twind plugin to use twind for styling.
This commit is contained in:
Luca Casonato
2022-08-09 21:41:11 +02:00
committed by GitHub
parent fd4e2bbe17
commit 660e0f5fef
20 changed files with 296 additions and 238 deletions
+2 -3
View File
@@ -1,11 +1,10 @@
/** @jsx h */
import { h } from "preact";
import { tw } from "@twind";
export function IconMinus() {
return (
<svg
class={tw`h-6 w-6`}
class="h-6 w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
@@ -25,7 +24,7 @@ export function IconMinus() {
export function IconPlus() {
return (
<svg
class={tw`h-6 w-6`}
class="h-6 w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"