mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 15:05:42 -05:00
rem recent notes section, impacted style
This commit is contained in:
parent
1d6e011738
commit
581646883d
64
README.md
64
README.md
@ -26,6 +26,70 @@ Source code for Forgetful Notes—my digital garden of knowledge. It serves as a
|
||||
| `npx quartz sync` | Save Local Changes to Repo |
|
||||
| `npx quartz sync --help` | Find Help |
|
||||
|
||||
## Style
|
||||
|
||||
|
||||
|
||||
### Fonts
|
||||
|
||||
|
||||
| Use | Font |
|
||||
| ------ | ----------------- |
|
||||
| Header | Schibsted Grotesk |
|
||||
| Body | Source Sans Pro |
|
||||
| Code | IBM Plex Mono |
|
||||
|
||||
|
||||
- Header: Schibsted Grotesk
|
||||
- Body: Source Sans Pro
|
||||
- Code IBM Plex Mono
|
||||
|
||||
### Light Mode
|
||||
|
||||
|
||||
| Variable | Color |
|
||||
| --------- | ---------- |
|
||||
| Light | \#faf8f8 |
|
||||
| Lightgray | \#e5e5e5 |
|
||||
| Gray | \#b8b8b8 |
|
||||
| Darkgray | \#4e4e4e |
|
||||
| Dark | \#2b2b2b |
|
||||
| Secondary | \#284b63 |
|
||||
| Terciary | \#84a59d |
|
||||
| Highlight | \#8f9fa926 |
|
||||
|
||||
|
||||
- Light: \#faf8f8
|
||||
- Lightgray: \#e5e5e5
|
||||
- Gray: \#b8b8b8
|
||||
- Darkgray: \#4e4e4e
|
||||
- Dark: \#2b2b2b
|
||||
- Secondary: \#284b63
|
||||
- Tertiary: \#84a59d
|
||||
- Highlight: \#8f9fa926
|
||||
|
||||
### Dark Mode
|
||||
|
||||
| Variable | Color |
|
||||
| --------- | ---------- |
|
||||
| Light | \#1e1e2e |
|
||||
| Lightgray | \#6c7086 |
|
||||
| Gray | \#a6adc8 |
|
||||
| Darkgray | \#cdd6f4 |
|
||||
| Dark | \#cdd6f4 |
|
||||
| Secondary | \#a6e3a1 |
|
||||
| Terciary | \#89dceb |
|
||||
| Highlight | \#8f9fa926 |
|
||||
|
||||
- Light: \#1e1e2e
|
||||
- Lightgray: \#6c7086
|
||||
- Gray: \#a6adc8
|
||||
- Darkgray: \#cdd6f4
|
||||
- Dark: \#cdd6f4
|
||||
- Secondary: \#a6e3a1
|
||||
- Tertiary: \#89dceb
|
||||
- Highlight: \#8f9fa926
|
||||
|
||||
## License
|
||||
|
||||
Source code is available under [MIT](LICENSE).
|
||||
|
||||
@ -14,20 +14,20 @@ const config: QuartzConfig = {
|
||||
defaultDateType: "created",
|
||||
theme: {
|
||||
typography: {
|
||||
header: "Lora",
|
||||
body: "Inter",
|
||||
code: "Fira Code",
|
||||
header: "Schibsted Grotesk",
|
||||
body: "Source Sans Pro",
|
||||
code: "IBM Plex Mono",
|
||||
},
|
||||
colors: {
|
||||
lightMode: {
|
||||
light: "#eff1f5",
|
||||
lightgray: "#dce0e8",
|
||||
gray: "#8c8fa1",
|
||||
darkgray: "#4c4f69",
|
||||
dark: "#4f4f7f",
|
||||
secondary: "#40a02b",
|
||||
tertiary: "#209fb5",
|
||||
highlight: "rgba(143, 159, 169, 0.15)",
|
||||
light: "#faf8f8",
|
||||
lightgray: "#e5e5e5",
|
||||
gray: "#b8b8b8",
|
||||
darkgray: "#4e4e4e",
|
||||
dark: "#2b2b2b",
|
||||
secondary: "#284b63",
|
||||
tertiary: "#84a59d",
|
||||
highlight: "#8f9fa926",
|
||||
},
|
||||
darkMode: {
|
||||
light: "#1e1e2e",
|
||||
@ -46,9 +46,7 @@ const config: QuartzConfig = {
|
||||
transformers: [
|
||||
Plugin.FrontMatter(),
|
||||
Plugin.TableOfContents(),
|
||||
Plugin.CreatedModifiedDate({
|
||||
priority: ["frontmatter", "filesystem"], // you can add 'git' here for last modified from Git but this makes the build slower
|
||||
}),
|
||||
// Plugin.CreatedModifiedDate({ priority: ["frontmatter", "filesystem"], }),
|
||||
Plugin.SyntaxHighlighting(),
|
||||
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
|
||||
Plugin.GitHubFlavoredMarkdown(),
|
||||
|
||||
@ -30,7 +30,7 @@ export const defaultContentPageLayout: PageLayout = {
|
||||
Component.Search(),
|
||||
Component.Darkmode(),
|
||||
Component.DesktopOnly(Component.Explorer()),
|
||||
Component.RecentNotes(),
|
||||
// Component.RecentNotes(),
|
||||
],
|
||||
right: [
|
||||
Component.Graph(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user