style: Style adjustments, headings, search result etc. #20
|
|
@ -14,8 +14,6 @@
|
||||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.4",
|
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.4",
|
||||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
|
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
|
||||||
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
|
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
|
||||||
"twind": "https://esm.sh/twind@0.16.17",
|
|
||||||
"twind/": "https://esm.sh/twind@0.16.17/",
|
|
||||||
"$gfm": "https://deno.land/x/gfm@0.6.0/mod.ts"
|
"$gfm": "https://deno.land/x/gfm@0.6.0/mod.ts"
|
||||||
},
|
},
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
|
|
||||||
2
main.ts
2
main.ts
|
|
@ -1,7 +1,7 @@
|
||||||
import { start } from "$fresh/server.ts";
|
import { start } from "$fresh/server.ts";
|
||||||
import manifest from "./fresh.gen.ts";
|
import manifest from "./fresh.gen.ts";
|
||||||
|
|
||||||
import twindPlugin from "$fresh/plugins/twind.ts";
|
import twindPlugin from "$fresh/plugins/twindv1.ts";
|
||||||
import twindConfig from "./twind.config.ts";
|
import twindConfig from "./twind.config.ts";
|
||||||
|
|
||||||
await start(manifest, { plugins: [twindPlugin(twindConfig)] });
|
await start(manifest, { plugins: [twindPlugin(twindConfig)] });
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,10 @@
|
||||||
import { Options } from "$fresh/plugins/twind.ts";
|
import { defineConfig, Preset } from "https://esm.sh/@twind/core@1.1.3";
|
||||||
|
import presetTailwind from "https://esm.sh/@twind/preset-tailwind@1.1.4";
|
||||||
|
import presetAutoprefix from "https://esm.sh/@twind/preset-autoprefix@1.0.7";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
...defineConfig({
|
||||||
|
presets: [presetTailwind() as Preset, presetAutoprefix() as Preset],
|
||||||
|
}),
|
||||||
selfURL: import.meta.url,
|
selfURL: import.meta.url,
|
||||||
} as Options;
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue