Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wengert/color docs #8

Merged
merged 6 commits into from
Jan 7, 2020
Merged

Wengert/color docs #8

merged 6 commits into from
Jan 7, 2020

Conversation

phantomxc
Copy link
Contributor

Updates the documentation and provides a way to auto generate token list.

const hash = value.indexOf('#') !== -1

if (value.indexOf('#') !== -1) {
stream.write(`| ${childKey} | ${value} | ![${value}](https://placehold.it/15/${value.split('#')[1]}/000000?text=+) |\n`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is neat! I was thinking we might need a script to generate an image of the different colors for documentation. I am glad there's a simpler solution.

@schinns
Copy link
Contributor

schinns commented Jan 6, 2020

I think the tokens documentation looks great, and I am a fan of the buildDoc script!

@schinns
Copy link
Contributor

schinns commented Jan 7, 2020

:shipit:

@phantomxc phantomxc merged commit ac7a6cc into master Jan 7, 2020
@run-time run-time deleted the wengert/color-docs branch May 28, 2021 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants