Cell
fb0c00e274
refactor(assets): simplify breakpoints and update UnoCSS CLI config
...
- Refactor SCSS breakpoints to flat min-width values (680/960/1200/1440)
with _bp-max helper deriving ranges from adjacent breakpoints
- Add 'xs': null to breakpoints map, remove special-case handling
- Update responsive image sizes to match exact breakpoint max values
- Add print:hidden to UnoCSS safelist as replacement for d-none-print
- Move UnoCSS CLI config to cli.entry in uno.config.ts
- Rename css:build → unocss, css:dev → unocss:watch
- Update documentation (CLAUDE.md, CONTRIBUTING.md, copilot-instructions.md)
2026-06-27 16:28:31 +08:00
Cell
8af8e806d7
feat(assets): integrate UnoCSS for utility classes and presetIcons ( #795 )
...
* refactor(assets): integrate UnoCSS for utility classes
- Add UnoCSS with presetWind3 as pre-built CSS (assets/css/unocss.css)
- Add uno.config.ts with theme breakpoints, colors, safelist, and blocklist
- Replace SCSS utility classes with UnoCSS atomic classes:
- d-none → hidden
- d-none-desktop → sm:hidden
- d-none-mobile → max-sm:hidden
- order-* (safelist)
- variant-numeric → tabular-nums lining-nums
- Rename .blur to .is-blur to avoid UnoCSS conflict
- Add @unocss-skip comments for SVG path elements to prevent false positives
- Remove redundant _utilities.scss ($orders map) and simplify _common.scss
- Update documentation (CLAUDE.md, CONTRIBUTING.md, copilot-instructions.md)
* refactor(assets): replace 404/offline SCSS with UnoCSS atomic classes
- Replace _404.scss styles with atomic classes on template elements
- Replace _offline.scss styles with atomic classes on template elements
- Keep selectors (id/class) as user customization hooks
- Delete assets/scss/pages/_404.scss and _offline.scss
* refactor(assets): simplify SCSS with UnoCSS atomic classes
- Replace _bilibili.scss with atomic classes (relative, aspect-video, inset-0)
- Replace _version.scss with atomic classes (whitespace-nowrap, align-text-bottom)
- Replace _noscript-warning.scss with atomic classes (bg-danger, fixed, z-200)
- Add semantic z-index shortcuts (z-hide, z-auto, z-base, z-loading, z-sticky, z-fixed)
- Add h1-h6 to UnoCSS blocklist to prevent false positives
- Use Source path for UnoCSS CSS loading to enable Hugo minify
* chore(assets): minor SCSS and template cleanup
* fix(assets): add secondary color to UnoCSS theme config
text-secondary was broken because the secondary color mapping was missing.
* feat(assets): add UnoCSS presetIcons support and z-index shortcuts
- Add presetIcons preset with empty collections (ready for custom icon sets)
- Add @iconify/json and @iconify/utils devDependencies
- Add semantic z-index shortcuts (z-hide, z-auto, z-base, z-loading, z-sticky, z-fixed)
- Add secondary color to UnoCSS theme config
* refactor(assets): replace SVG icons with UnoCSS presetIcons
- Add Lucide and Octicons icon collections to presetIcons config
- Replace arrow-up/down and enter-key SVGs with Lucide icons
- Replace alert icons (info, light-bulb, report, alert, stop) with Octicons
- Delete replaced SVG files from assets/images/icons/
- Keep custom SVGs (csdn, plume, rootme)
* refactor(layouts): redesign 404 and offline pages with UnoCSS
- Replace translate-y-[30vh] with self-stretch flex centering below header
- Remove arbitrary values (text-[3.6rem], text-[1.8rem], etc.)
- Restore @page print styles in _common.scss
- Simplify offline page layout (icon + title + text)
- Fix hardcoded #57606a → text-secondary
2026-06-27 06:27:12 +08:00
Cell
b7db52eb7e
chore: bump minimum Hugo version to 0.161.0 for hugo:vars support
...
The hugo:vars feature (used for SCSS variable configuration via
[params.appearance]) requires Hugo v0.161.0+.
See https://gohugo.io/functions/css/sass/#vars
2026-06-22 03:28:16 +08:00
Cell
f5b030b4eb
chore(packages): replace helpers with standalone chroma-lexers and enrich shared
...
- Replace helpers dispatcher pattern with standalone chroma-lexers package
- Add runCommand, fromRoot, consola re-export to shared
- Update versioning and integration to use shared utilities
- Shorten dev version format: base36 timestamp, no hash
- Rename eslint.config.js to eslint.config.ts (add jiti)
- Add README.md to each package
2026-06-11 10:35:10 +08:00
Cell
03ca90b49f
feat(assets): add helpers package for chroma lexer map generation ( #781 )
...
- Add `packages/helpers` with CLI dispatcher pattern for code generation
- Add `chroma-lexers` helper that fetches lexer definitions from alecthomas/chroma
- Rename `$code-type-map` to `$chroma-lexers`, `_code-type.scss` to `_chroma-lexers.scss`
- Fix `fi-var` and `set-fi-var` to preserve quotes for string fallbacks
- Add `capitalize` utility to `packages/shared`
- Replace `console.*` with `consola` in packages
- Add `pnpm gen:lexers` script and CI workflow for auto-regeneration
- Update CLAUDE.md and CONTRIBUTING.md
2026-06-03 16:41:07 +08:00
Cell
0fe8e100df
docs: update contributing guidelines
2026-05-28 16:10:05 +08:00
Cell
799618fd3e
docs: update contributing guide and pull request template
2026-05-10 23:42:59 +08:00
Cell
09e08d0772
refactor!: migrate theme assets from css to scss and centralize deprecation detection ( #735 )
...
**Breaking changes**:
1. Legacy custom style/script files are no longer loaded automatically.
2. Users must migrate custom files to:
- `custom.scss`
- `override.scss`
- `_variables.scss`
- `assets/js/custom.js`
**Migration guide**:
1. Move `assets/css/_custom.scss` to `assets/scss/custom.scss`.
2. Move `assets/css/_override.scss` to `assets/scss/override.scss`.
3. Keep variables in `assets/scss/_variables.scss`.
4. Move `assets/js/_custom.js` to `assets/js/custom.js`.
5. Rebuild site and verify no deprecation warnings remain.
2026-04-19 13:34:01 +08:00
Cell
aef8eaf936
chore(debug)!: enable debug mode based on environment and remove params.dev.debug config
2026-04-12 13:49:21 +08:00
Cell
673be1e8c0
chore: update minimum Hugo version to 0.158.0 across documentation and configuration files
2026-04-07 14:48:20 +08:00
Cell
0bf5d3a49b
docs(CONTRIBUTING): update commit message guidelines and examples
2026-03-18 17:29:08 +08:00
Andreas Deininger
175cf888d5
fix: eliminate deprecation warnings with hugo version 0.156.0 ( #702 )
...
* Fix deprecation warning with latest hugo version 0.156.0
* fix: use `hugo.Data` to replace the discarded `.Site.Data`
* chore(hugo): update Hugo version requirements to 0.156.0
---------
Co-authored-by: Cell <1024@lruihao.cn >
2026-02-27 15:46:31 +08:00
Cell
944295052b
chore: update release workflow and changelog generation command
2025-09-13 01:53:47 +08:00
Cell
d8624386c7
chore: structure refactor, linting, and monorepo setup ( #629 )
...
* chore: use monorepo to manage demo, test and other applications and internal packages
* style: add eslint support and lint code
* chore: refactor project structure and add versioning package replace of fixit-releaser
* chore(deps-dev): replace husky with simple-git-hooks
* Potential fix for code scanning alert no. 13: Shell command built from environment values
* chore(deps-dev): update the final fixit-releaser version
* docs: update contributing guidelines for new structure and commands
---------
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-08-31 15:07:00 +08:00
Cell
0f68046afa
docs: update contributing guidelines to follow Conventional Commits
2025-08-23 04:19:55 +08:00
Cell
93acf8ea79
🚀 Chore(ci/cd): improve the joint construction and deployment of Demo and Test content
...
- Demo: https://demo.fixit.lruihao.cn/
- Test: https://demo.fixit.lruihao.cn/test/
2025-08-19 17:40:25 +08:00
Cell
a459d2dfb8
📝 Docs: fix typo
2025-08-18 15:50:48 +08:00
Cell
57d920244b
🔧 Chore: update CodeQL configuration, add Hugo test build workflow ( #625 )
2025-08-18 12:51:47 +08:00
Cell
c6e31682c3
📝 Docs: update contribution guide, add prerequisites, development workflow and pull request guide
2025-08-18 11:07:52 +08:00
Cell
12c64431cb
🔧 Chore: add workspace suggestions and replace package manager to pnpm
2025-04-14 11:06:38 +08:00
Cell
8b4021295f
💥 Feat: default branch has been renamed to main
2025-01-19 04:34:24 +08:00
Cell
3ffef8acb0
♻️ Refactor: refactor the feed and search features ( #490 )
...
* 🔍 Refactor: add JSON feed support and refactor output formats build in FixIt
Close #475
* 🚚 Feat: migrate index templates to layouts/_default folder and home.[name].html
* 📝 Style(ignore): fix typo
* 🚚 Chore: migrate index templates to default home templates
* 🚚 Chore: migrate section templates to layouts/section folder
* ✨ Feat: add JSON feed support for section pages (#475 )
* 🚧 Feat: add common template for JSON feed (#475 )
* 🚧 Feat: add JSON feed support for section and term list pages
* 🚀 Chore: fix git stage error in update-version script
* ⚡ Perf: add front matter hiddenFromFeed for JSON feed (#475 )
* 🔍 Feat: add tags attribute for JSON feed (#475 )
* ♻️ Refactor: refactor RSS feed templates
Close #488
* 🚧 WIP: rename json-feed.html to json.html
* 🚧 Feat: revert single.md
* ⚡ Perf: enhance JSON feed 1.1 compatibility
* ♻️ Refactor: refactor post author map getting
* ✨ WIP: add featured image support in feed
* 📝 Docs: update README and screenshot
* 🔧 Chore: update changelog template
* 🚧 WIP: add feed scoped config for section and list
* 🔥 Feat: migrate JSON feed to hugo-fixit/hugo-json-feed
Close hugo-fixit/hugo-json-feed#1
* 🚚 Feat: remove front matter hiddenFromRss and rssFullText, add front matter hiddenFromFeed
2024-08-24 17:30:31 +08:00
Cell
94553e9b8e
📝 Docs: update CONTRIBUTING.md
2024-08-06 17:30:47 +08:00
Cell
dd4f422dba
📝 Docs: update contributing file
2024-01-16 15:54:09 +08:00
Cell
38043616ef
🔥 Feat: remove lunr search engine
2023-04-28 15:17:11 +08:00
Cell
667d9c9b61
📝 Docs: add dev branch
2022-10-01 14:30:06 +08:00
Cell
768dc8aad6
📝 Docs: update clone command
2022-09-30 15:46:43 +08:00
Cell
993cd26413
✏️ Docs: update commit message format
2022-08-12 15:51:28 +08:00
Cell
b9368668e4
🚚 Feat: ransfer repository from Lruihao to hugo-fixit
2022-08-02 16:37:33 +08:00
Cell
9c7be57f21
✏️ Style: fix typo
2022-05-19 12:20:37 +08:00
Cell
438d086398
🔧 Chore: update contributing and contributors
2022-04-15 22:53:39 +08:00
Cell
a47c006849
✏️ Style: fix typo discription should be: description ( #60 )
2022-02-04 00:58:46 +08:00
Cell
12fbab8a29
🔧 Chore: fix typo
2022-02-02 02:27:20 +08:00
Cell
0e96242730
📄 Docs: create CONTRIBUTING.md
2022-01-26 17:44:00 +08:00