mirror of
https://github.com/imfing/hextra.git
synced 2025-08-23 12:16:44 -04:00

* feat(toc): add Table of Contents scroll highlighting - Introduced a new toc.css file for styling the Table of Contents with active link highlighting. - Implemented toc-scroll.js to manage scroll behavior and link activation based on viewport visibility. - Updated core.html to include the new JavaScript file and ensure proper loading of the Table of Contents functionality. * chore: lower root heading font weight for TOC * chore: run `task css` * chore: update dependencies in package.json and package-lock.json to version 4.1.11 for @tailwindcss/postcss and tailwindcss, and update @jridgewell packages to latest versions
16 lines
679 B
JSON
16 lines
679 B
JSON
{
|
|
"scripts": {
|
|
"dev:theme": "hugo server --logLevel=debug --config=hugo.yaml,../dev.toml --environment=theme --source=exampleSite --themesDir=../.. -D --port 1313",
|
|
"dev": "hugo server --source=exampleSite --themesDir=../.. --disableFastRender -D --port 1313",
|
|
"build:css": "npx postcss --config postcss.config.mjs --env production assets/css/styles.css -o assets/css/compiled/main.css",
|
|
"build": "hugo --gc --minify --themesDir=../.. --source=exampleSite"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.1.11",
|
|
"postcss-cli": "^11.0.1",
|
|
"prettier": "^3.5.3",
|
|
"prettier-plugin-go-template": "^0.0.15",
|
|
"tailwindcss": "^4.1.11"
|
|
}
|
|
}
|