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

Default to using colored emojis instead of badges for configs without emojis #487

Open
bmish opened this issue Oct 15, 2023 · 0 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@bmish
Copy link
Owner

bmish commented Oct 15, 2023

After removing support for README-defined badges in #499, for any config without an explicit emoji/badge defined, we can just cycle through generic, colored circle/square emojis. These are easier for us to use anywhere we mention a config (in readme or rule doc) and require less setup from the user.

const emojis = [
  // circles
  '🔴',
  '🟠',
  '🟡',
  '🟢',
  '🔵',
  '🟣',
  '🟤',
  '⚫',
  '⚪',
  // squares
  '🟥',
  '🟧',
  '🟨',
  '🟩',
  '🟦',
  '🟪',
  '🟫',
  '⬛',
  '⬜',
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant