docs: new website (#66)

This commit is contained in:
Luca Casonato
2021-10-04 11:12:12 +02:00
committed by GitHub
parent 044da54513
commit 4a6b57de89
29 changed files with 311 additions and 163 deletions
+13
View File
@@ -0,0 +1,13 @@
/** @jsx h */
import { h, tw } from "../deps.ts";
export function RoundedButton(props: h.JSX.HTMLAttributes<HTMLButtonElement>) {
return (
<button
{...props}
class={tw
`p-3 border border-transparent rounded-full text-white bg-indigo(600 hover:700) focus:(outline-none ring(2 offset-2 indigo-500)) disabled:(bg-indigo-200 cursor-default)`}
/>
);
}