diff --git a/init/src/init.ts b/init/src/init.ts index 275e44608ff..84c68ec0293 100644 --- a/init/src/init.ts +++ b/init/src/init.ts @@ -201,6 +201,13 @@ export default { await writeFile("tailwind.config.ts", TAILWIND_CONFIG_TS); } + const GRADIENT_CSS = ` + .fresh-gradient { + background-color: rgb(134, 239, 172); + background-image: linear-gradient(to right bottom, rgb(219, 234, 254), rgb(187, 247, 208), rgb(254, 249, 195)); + } + `; + const NO_TAILWIND_STYLES = ` *, *::before, @@ -330,11 +337,15 @@ html { .tabular-nums { font-variant-numeric: tabular-nums; } + +${GRADIENT_CSS} `; const TAILWIND_CSS = `@tailwind base; @tailwind components; -@tailwind utilities;`; +@tailwind utilities; +${GRADIENT_CSS} +`; const cssStyles = useTailwind ? TAILWIND_CSS : NO_TAILWIND_STYLES; await writeFile("static/styles.css", cssStyles); @@ -412,7 +423,7 @@ export default define.page(function Home() { const count = useSignal(3); return ( -
+
void | Promise) { try { const browser = await launch({ args: ["--no-sandbox"], - // headless: false, + headless: !Deno.args.includes("--headful"), }); const page = await browser.newPage();