Skip to content

Range of font size and color to tagcloud#648

Merged
1v9 merged 1 commit intotheme-next:masterfrom
1v9:tagcloud
Mar 3, 2019
Merged

Range of font size and color to tagcloud#648
1v9 merged 1 commit intotheme-next:masterfrom
1v9:tagcloud

Conversation

@1v9
Copy link
Member

@1v9 1v9 commented Mar 3, 2019

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines.
  • Tests for the changes was maked (for bug fixes / features).
    • Muse | Mist have been tested.
    • Pisces | Gemini have been tested.
  • Docs in NexT website have been added / updated (for new features).

PR Type

What kind of change does this PR introduce?

  • Bugfix.
  • Feature.
  • Code style update (formatting, local variables).
  • Refactoring (no functional changes, no api changes).
  • Build related changes.
  • CI related changes.
  • Documentation content changes.
  • Other... Please describe:

What is the current behavior?

Font color or size of tagcloud can't be customized.

What is the new behavior?

  • Screenshots with this changes:
    批注 2019-03-04 004014.jpg

How to use?

In NexT _config.yml:

tagcloud:
  enable: true
  min: 50
  max: 100
  start: green
  end: '#5c50e6'

Does this PR introduce a breaking change?

  • Yes.
  • No.

* Add tagcloud option

* Update {{ tagcloud }}
1v9 added a commit to theme-next/theme-next.org that referenced this pull request Mar 3, 2019
@1v9 1v9 requested a review from ivan-nginx March 3, 2019 17:03
@ivan-nginx
Copy link
Member

Don't forget about docs. 👍

@ivan-nginx
Copy link
Member

https://theme-next.org/docs/theme-settings/#Tagcloud

Need to add something like description: Available under 7.1.0 version or highter.

@ivan-nginx ivan-nginx added this to the v7.1.0 milestone Mar 3, 2019
@1v9
Copy link
Member Author

1v9 commented Mar 3, 2019

@ivan-nginx Done. I will never edit docs in the original repo. It is too dizzy 🍳.

@1v9 1v9 merged commit b7ba1d7 into theme-next:master Mar 3, 2019
@1v9 1v9 deleted the tagcloud branch March 3, 2019 17:31
@1v9 1v9 restored the tagcloud branch March 3, 2019 17:51
1v9 added a commit that referenced this pull request Mar 3, 2019
@liolok liolok changed the title Feat: Custom font size and color of tagcloud Custom font size and color of tagcloud Mar 31, 2019
@liolok liolok changed the title Custom font size and color of tagcloud Range of font size and color to tagcloud Mar 31, 2019
@1v9 1v9 added the 🌀 Fonts label Aug 13, 2019
tongluyang pushed a commit to tongluyang/hexo-theme-next that referenced this pull request Nov 19, 2019
* Add tagcloud option

* Update {{ tagcloud }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants