-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.ts
39 lines (31 loc) · 917 Bytes
/
_config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import lume from "lume/mod.ts";
import date from "lume/plugins/date.ts";
import codeHighlight from "lume/plugins/code_highlight.ts";
import windi from "lume/plugins/windi_css.ts";
import metas from "lume/plugins/metas.ts";
import tailwindcss from "lume/plugins/tailwindcss.ts";
import postcss from "lume/plugins/postcss.ts";
import typography from "npm:@tailwindcss/typography"
const site = lume();
site.use(date());
// https://highlightjs.org/static/demo/ for themes
// to use, import from cdn
site.use(codeHighlight({
options: {
classPrefix: "syntax-",
},
}));
// see https://lume.land/plugins/metas/
site.use(metas());
// keep in this order! see https://lume.land/plugins/tailwindcss/
site.use(tailwindcss({
options: {
plugins: [typography],
fontFamily: {
pixeloperator: ["Pixel Operator", "sans-serif"]
}
}
}));
site.use(postcss());
site.copy("images");
export default site;