Closed EvanNotFound closed 3 months ago
The project updates include switching the default CDN provider from 'zstatic' to 'npmmirror' in the configuration file, bumping the version in package.json
, improving CDN handling in themeHelpers.js
, and improving CSS theming compatibility in waline.styl
by using custom properties for colors. These changes enhance performance, version control, and customization in the Hexo Theme Redefine project.
Files | Change Summary |
---|---|
_config.yml |
Changed CDN provider from zstatic to npmmirror . |
package.json |
Bumped version from "2.6.3" to "2.6.4". |
scripts/helpers/themeHelpers.js |
Modified cdnProviders URLs, updated logic in cdnPathHandle functions, and updated rendering. |
source/css/layout/_.../waline.styl |
Updated CSS variables to use custom properties for colors instead of hardcoded values. |
In code's vast fields, a change we see,
From zstatic's hold, to npmmirror we flee.
With versions brightened, from 3 to 4,
Our scripts run swifter, rendering more.
Colors now transform with ease,
Custom properties the eye to please.
πΌ Hoppy trails to smoother lines,
In Hexoβs theme, where code now shines! π
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This pull request has been deployed to Vercel.
Latest commit: | 17a4ca5 |
β Preview: | https://redefine-preview-pr-384.vercel.app |
π Inspect: | https://vercel.com/evanovation/hexo-theme-redefine/8rBBMHyxPXu46MQNoHNmkR6CEtWh |
Summary by CodeRabbit
npmmirror
for improved performance.