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

Allow user-defined coloring for tags #12

Open
morbus opened this issue Feb 4, 2021 · 3 comments
Open

Allow user-defined coloring for tags #12

morbus opened this issue Feb 4, 2021 · 3 comments

Comments

@morbus
Copy link

morbus commented Feb 4, 2021

I'm currently mapping a story that increases a stat either a little (+), a little more (++), or a lot (+++). I tag passages as "Stat+", "Stat++", and "Stat+++". These three tags get three different colors in the default implementation. I'd like the ability to define my own colors for tags, perhaps something like "tagColors: [ {"tagone+": "#111111"}, {"tagone++": #111111"}, ... ]". This would allow me to either a) color similar tags the same color [useful in combination with #11] or b) shade similar tags in the same way ("all blue shades mean this stat will be increased. got it.").

@mcdemarco
Copy link
Owner

There is also a tag-colors field in StoryData, though the values are restricted by the Twine GUI and it's unclear what would happen if you used hex values there. Nevertheless, it would be handy to pick that up.

@morbus
Copy link
Author

morbus commented Feb 18, 2021

Agree. Discovered that while switching to tweego/twee3. I think that's probably the way to go here.

@mcdemarco
Copy link
Owner

The tag color list for Twine is here.

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

No branches or pull requests

2 participants