hexojs / hexojs/hexo-theme-landscape

Colors from _config.yml

Open
#186 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Stylus
Stars
335
Forks
373
PR merge metrics
No merged PRs in 30d

Description

Is that possible to make some colors accessible to change from `_config.yml` rather than `source/css/_variables.styl`?

It even more important since landscape is a [npm theme](https://github.com/hexojs/hexo/issues/3890) and so is configured via [Alternate Theme Config](https://hexo.io/docs/configuration#Alternate-Theme-Config).

Modifying `node_modules/hexo-theme-landscape/source/css/_variables.styl` is not viable.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with source/css/_variables.styl and the theme’s _config.yml, then review the linked Alternate Theme Config documentation and how the npm theme is configured. Define how color settings should flow from configuration to the theme styles. Done means users can change the relevant colors without editing node_modules/hexo-theme-landscape/source/css/_variables.styl.

Written by the indexing model from the issue text.

Assessment

Tech stack
stylus
Domain
design, frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.