next-theme / hexo-theme-next

πŸŽ‰ Elegant and powerful theme for Hexo.
https://theme-next.js.org
Other
2.41k stars 426 forks source link

NexT v8 Roadmap #3

Closed stevenjoezhang closed 3 years ago

stevenjoezhang commented 4 years ago

Previous Roadmap

NexT v7 Roadmap theme-next/hexo-theme-next#67 NexT v7.5 Roadmap theme-next/hexo-theme-next#809

Requested Features

Known Issues

Miscellaneous

Deprecated Features

Hexo 5.0 (https://github.com/hexojs/hexo/pull/4423)

Hexo 5.x

Help Wanted

To be Discussed


Please feel free to leave your thought in comments (or edit this post directly if u have permissions).

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can also use our support channels to get help with the project.

github-actions[bot] commented 4 years ago

This issue has been added to the latest roadmap.

stevenjoezhang commented 3 years ago

Migrate from Stylus to Sass

random(255) random-color https://github.com/iissnan/hexo-theme-next/commit/7b9948770d9202650910828a4c8dc34b1e9c5c3f @use https://github.com/sass/sass/issues/2750 @import in @if https://github.com/sass/sass/issues/451 Dynamic import

@use "sass:meta";
@include meta.load-css('_variables/' + hexo-config('scheme'));

Then update Bootstrap color

find . -name "*.styl" -exec rename 's/\.styl$/.scss/' '{}' \;

# source/css/_variables/base.scss
(\$.*?)\.(default|primary|info|success|warning|danger)
map.get($1, '$2')

(--.*?: )(\$.*?);
$1#{$2};

sass-migrator module --verbose --migrate-deps source/css/main.scss
stevenjoezhang commented 3 years ago

Other comment systems

stevenjoezhang commented 3 years ago

Load Creative Commons icon via CDN

See also https://github.com/theme-next/hexo-theme-next/pull/1610 https://github.com/creativecommons/creativecommons.org https://creativecommons.org/about/downloads/

Fixed in https://github.com/next-theme/hexo-theme-next/pull/267 https://github.com/next-theme/hexo-theme-next/pull/242

stevenjoezhang commented 3 years ago

Image caption of pandoc and fancybox

https://github.com/iissnan/hexo-theme-next/issues/443 .figure .caption is for pandoc html4 syntax, in html5 it should be figure figcaption. https://github.com/theme-next/hexo-theme-next/issues/145#issuecomment-368252366 https://github.com/theme-next/hexo-theme-next/issues/1017 https://github.com/theme-next/hexo-theme-next/issues/1525 https://github.com/next-theme/hexo-theme-next/discussions/356

Need to test:

Fancybox enabled

Fixed in https://github.com/next-theme/hexo-theme-next/commit/c377515fd7c5dfd82bec6663a37c0f564bbe323d

stevenjoezhang commented 3 years ago

Upgrade firebase https://firebase.google.com/docs/web/modular-upgrade

https://caniuse.com/es6-module

stevenjoezhang commented 3 years ago

Superseded by https://github.com/next-theme/hexo-theme-next/issues/366

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.