Skip to content

Commit 0c51073

Browse files
committed
style: charte graphique tentée
j'ai également enlevé la mention à Quartz dans le footer... désolé
1 parent 73bdc88 commit 0c51073

4 files changed

Lines changed: 21 additions & 25 deletions

File tree

quartz.config.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,26 @@ const config: QuartzConfig = {
2929
},
3030
colors: {
3131
lightMode: {
32-
light: "#faf8f8",
33-
lightgray: "#e5e5e5",
34-
gray: "#b8b8b8",
35-
darkgray: "#4e4e4e",
36-
dark: "#2b2b2b",
37-
secondary: "#284b63",
38-
tertiary: "#84a59d",
39-
highlight: "rgba(143, 159, 169, 0.15)",
40-
textHighlight: "#fff23688",
32+
light: "#f8f4ff",
33+
lightgray: "#f0e6ff",
34+
gray: "#e0d0ff",
35+
darkgray: "#6040a1ff",
36+
dark: "#6337a4ff",
37+
secondary: "#9370db",
38+
tertiary: "#c8e6c9",
39+
highlight: "rgba(148, 0, 211, 0.15)",
40+
textHighlight: "#e6e6fa",
4141
},
4242
darkMode: {
43-
light: "#0e0a18ff",
44-
lightgray: "#393639",
45-
gray: "#646464",
46-
darkgray: "#d4d4d4",
47-
dark: "#ebebec",
48-
secondary: "#847baaff",
49-
tertiary: "#84a59d",
50-
highlight: "rgba(143, 159, 169, 0.15)",
51-
textHighlight: "#b3aa0288",
43+
light: "#170b2cff",
44+
lightgray: "#2a1a3f",
45+
gray: "#3a2a4f",
46+
darkgray: "#cfc3ecff",
47+
dark: "#e6e6fa",
48+
secondary: "#a080ff",
49+
tertiary: "#a0c0a0",
50+
highlight: "rgba(148, 0, 211, 0.15)",
51+
textHighlight: "#e6e6fa",
5252
},
5353
},
5454
},
@@ -94,4 +94,4 @@ const config: QuartzConfig = {
9494
},
9595
}
9696

97-
export default config
97+
export default config

quartz.layout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const defaultContentPageLayout: PageLayout = {
2121
condition: (page) => page.fileData.slug !== "index",
2222
}),
2323
Component.ArticleTitle(),
24-
Component.ContentMeta(),
24+
Component.ContentMeta({showReadingTime: false}),
2525
Component.TagList(),
2626
],
2727
left: [

quartz/components/Footer.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,9 @@ interface Options {
99

1010
export default ((opts?: Options) => {
1111
const Footer: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => {
12-
const year = new Date().getFullYear()
1312
const links = opts?.links ?? []
1413
return (
1514
<footer class={`${displayClass ?? ""}`}>
16-
<p>
17-
{i18n(cfg.locale).components.footer.createdWith}{" "}
18-
<a href="https://quartz.jzhao.xyz/">Quartz v{version}</a> © {year}
19-
</p>
2015
<ul>
2116
{Object.entries(links).map(([text, link]) => (
2217
<li>

quartz/styles/custom.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
@use "./base.scss";
22

33
// put your custom CSS here!
4+

0 commit comments

Comments
 (0)