chore: update twind import map defaults in init.ts (#291)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
import { h } from "preact";
|
||||
import { tw } from "../utils/twind.ts";
|
||||
import { tw } from "@twind";
|
||||
|
||||
export function RoundedButton(props: h.JSX.HTMLAttributes<HTMLButtonElement>) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
import { h } from "preact";
|
||||
import { apply, tw } from "../utils/twind.ts";
|
||||
import { apply, tw } from "@twind";
|
||||
|
||||
import {
|
||||
CATEGORIES,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
import { h } from "preact";
|
||||
import { tw } from "../utils/twind.ts";
|
||||
import { tw } from "@twind";
|
||||
|
||||
const LINKS = [
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
import { h } from "preact";
|
||||
import { tw } from "../utils/twind.ts";
|
||||
import { tw } from "@twind";
|
||||
|
||||
export function IconMinus() {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
import { h } from "preact";
|
||||
import { tw } from "../utils/twind.ts";
|
||||
import { tw } from "@twind";
|
||||
|
||||
export default function NavigationBar(props: { active: string }) {
|
||||
const items = [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
import { h } from "preact";
|
||||
import { tw } from "../utils/twind.ts";
|
||||
import { tw } from "@twind";
|
||||
|
||||
export default function WarningBanner() {
|
||||
const warning = tw`bg-yellow-100 border(1 yellow-200) p-4 mb-4`;
|
||||
|
||||
Reference in New Issue
Block a user