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

Support multiple color labels #10

Open
philipmjohnson opened this issue May 31, 2015 · 0 comments
Open

Support multiple color labels #10

philipmjohnson opened this issue May 31, 2015 · 0 comments
Assignees
Milestone

Comments

@philipmjohnson
Copy link
Contributor

Currently, labels come in one color. Multiple users have requested support for multiple label colors. However, label colors must be custom to each Morea theme. So, let's propose that each theme should provide three colors for labels, called label-color-1, label-color-2, and label-color-3. The YAML front-matter should be augmented to support a new syntax for labels:

morea_labels:
  - ["this is the label", label-color-1]

This syntax allows the user to explicitly specify the label color. Note that when you want label-color-1, you can use the traditional syntax instead. So the following is a shorthand for the above:

 morea_labels:
   - "this is the label"

You can mix and match:

morea_labels:
  - "my first label"
  - ["a different color label", label-color-2]
  - "another label"
@philipmjohnson philipmjohnson added this to the Morea 2.1 milestone Jun 13, 2015
@philipmjohnson philipmjohnson self-assigned this Jun 13, 2015
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

1 participant