Commit Graph

557 Commits

Author SHA1 Message Date
ZhenShuo Leo
81f2423d71 Merge branch 'dev' into feature/callout-tailwind 2025-12-23 01:21:40 +08:00
Nuno C.
4bab2b4e7e Merge pull request #2644 from NSStudent/hotfix/copy-safari-issue
Fix: Copy fallback for safari
2025-12-22 17:17:41 +00:00
Nuno C.
b6c00249c6 Merge pull request #2656 from ZhenShuo2021/feat/codeblock-title
 Feat: support title in code block
2025-12-22 17:11:53 +00:00
Nuno C.
9719d7ac6f Merge pull request #2653 from ZhenShuo2021/fix/gallery
🐛 Fix: gallery and carousel no width
2025-12-22 17:10:44 +00:00
Nuno C.
74650e4927 Merge pull request #2637 from ZhenShuo2021/feat/tabs
 Feat: add tabs shortcode
2025-12-22 17:09:40 +00:00
Nuno C.
0b54ddac94 Merge pull request #2630 from ZhenShuo2021/fix/contrast
🐛 Fix: improve contrast
2025-12-22 17:07:21 +00:00
Nuno C.
bd3589f783 Merge pull request #2650 from nunocoracao/dependabot/npm_and_yarn/dev/katex-0.16.27
📌 bump katex from 0.16.25 to 0.16.27
2025-12-22 17:04:23 +00:00
ZhenShuo Leo
07f2fec870 feat(admonition): polish
- sort by type names
- tweak colors of some types
- improve dark mode contrast
- prune css
- simplify render hook
2025-12-23 00:49:50 +08:00
rxchi1d
3f2891cc32 fix(admonitions): align paragraph spacing with prose 2025-12-22 15:42:07 +08:00
rxchi1d
57befe227f feat(admonitions): add header-only support 2025-12-22 14:18:31 +08:00
rxchi1d
775d5b1bbf feat: add admonitions 2025-12-22 09:53:58 +08:00
ZhenShuo Leo
0e3bad2be7 feat(codeblock): add title support 2025-12-18 02:38:31 +08:00
ZhenShuo Leo
4422c4b517 fix: gallery and carousel wouldn't show without other statically sized elements 2025-12-15 20:26:04 +08:00
dependabot[bot]
f25fb65d42 📦 Update packaged KaTeX 2025-12-10 05:02:13 +00:00
NSStudent
8ba07f0d59 fix copy fallback for safari
Signed-off-by: NSStudent <omarmn83@gmail.com>
2025-12-08 21:12:14 +01:00
ZhenShuo Leo
ff9a860af9 style: line highlight for linenos=inline 2025-12-08 16:29:15 +08:00
dependabot[bot]
6bf7c7a019 📦 Update packaged Mermaid 2025-12-03 05:02:01 +00:00
ZhenShuo Leo
eda9fc9bc3 feat(tabs): better usage 2025-12-01 21:14:15 +08:00
ZhenShuo Leo
20044af981 feat: add tabs 2025-12-01 20:24:26 +08:00
ZhenShuo Leo
7b5fe02079 feat(code): use github theme 2025-12-01 13:24:47 +08:00
ZhenShuo Leo
c5b51e3491 style: specify dark mode selector 2025-11-30 11:00:10 +08:00
ZhenShuo Leo
2d3642c62b style: improve hr contrast 2025-11-30 11:00:10 +08:00
ZhenShuo Leo
960681efaf style: improve blockquote contrast 2025-11-30 11:00:10 +08:00
ZhenShuo Leo
bb99b59528 style: improve toc contrast 2025-11-30 11:00:10 +08:00
ZhenShuo Leo
f29e515147 style: improve code contrast 2025-11-30 11:00:10 +08:00
ZhenShuo Leo
31039584e8 style: add overlay for background blur 2025-11-29 04:10:47 +08:00
ZhenShuo Leo
0f105d2acb docs: add theme-switcher for color schemes 2025-11-27 14:53:07 +08:00
Nuno C.
428b89860a Merge pull request #2599 from nunocoracao/dependabot/npm_and_yarn/dev/mermaid-11.12.1
📌 bump mermaid from 11.12.0 to 11.12.1
2025-11-24 23:21:03 +00:00
Nuno C.
b0e6c4e5fd Merge pull request #2607 from nunocoracao/dependabot/npm_and_yarn/dev/tailwindcss/cli-4.1.17
📌 bump @tailwindcss/cli from 4.1.16 to 4.1.17
2025-11-24 23:20:08 +00:00
dependabot[bot]
2b55f9aa68 💄 Rebuild CSS 2025-11-12 05:02:17 +00:00
dependabot[bot]
3b9a4032a7 📦 Update packaged Mermaid 2025-11-05 05:02:53 +00:00
ZhenShuo Leo
32f452b25d feat(chroma): use cascade layer to allow override via custom.css
This allows users to customize Chroma CSS without building the TailwindCSS manually.

For example, add this to `custom.css`:

```
.chroma,
.chroma,
.chroma:is(.dark *),
.chroma:is(.dark *) * {
  color: unset;
  background-color: unset;
  font-weight: unset;
}
```

Then use:

```
hugo gen chromastyles --style=github | sed 's/\./html.dark ./' >> assets/css/custom.css

hugo gen chromastyles --style=github | sed 's/\./html:not(.dark) ./' >> exampleSite/assets/css/custom.css
```
2025-11-05 10:59:41 +08:00
Nuno C.
407cdb66c5 Merge pull request #2567 from ZhenShuo2021/feat/color-theme
 Feat: add new color schemes "github" and "one-light"
2025-11-03 22:17:10 +00:00
dependabot[bot]
aee443b910 💄 Rebuild CSS 2025-10-29 05:02:26 +00:00
ZhenShuo Leo
a05ba20c85 feat: add new color scheme "one-light" 2025-10-20 21:34:16 +08:00
ZhenShuo Leo
be89d0e2b3 feat: add new color scheme "github" 2025-10-20 21:34:16 +08:00
Nuno C.
f768428e0b Merge pull request #2559 from nunocoracao/dependabot/npm_and_yarn/dev/katex-0.16.25 2025-10-17 07:43:15 +01:00
dependabot[bot]
bca3c4dd99 📦 Update packaged ChartJS 2025-10-15 05:02:31 +00:00
dependabot[bot]
ee8703a515 📦 Update packaged KaTeX 2025-10-15 05:02:29 +00:00
ZhenShuo Leo
de68f8d46e chore: rebuild CSS for the new release v2.91.0 2025-10-15 00:26:29 +08:00
Nuno C.
452bdd408b Merge branch 'dev' into main 2025-10-14 10:16:20 +01:00
Nuno C.
b29c6614dc Merge branch 'dev' into feat/image-position 2025-10-14 10:14:18 +01:00
Nuno C.
01dafef575 Merge pull request #2533 from ZhenShuo2021/feat/mermaid-dark
 Feat(mermaid): support dark mode
2025-10-14 10:08:26 +01:00
Nuno C.
9b6ed820e9 Merge pull request #2509 from ZhenShuo2021/fix/terms-typo
🐛 Fix: multiple small patches
2025-10-14 09:55:46 +01:00
ZhenShuo Leo
925065a5bd feat(mermaid): support dark mode 2025-10-11 15:24:21 +08:00
ZhenShuo Leo
40eea78d8c chore(footer): use logical properties 2025-10-11 03:10:00 +08:00
ZhenShuo Leo
c9c8a36c16 fix: article-pagination
- simplify html
- fix rtl item alignment
- fix empty span tag when showDate is false
- align hover effect with other element, removes group hover underline
2025-10-11 15:19:36 +08:00
ZhenShuo Leo
9b35cc2bae fix(toc): too wide when no related contents 2025-10-11 15:19:36 +08:00
ZhenShuo Leo
d8ea1d81b5 fix: article shortcode padding 2025-10-11 15:19:35 +08:00
ZhenShuo Leo
9665fe953c fix(header): align width with body
remove all horizontal padding
align layout padding settings with body
split body classes into three variables
2025-10-11 15:19:35 +08:00