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

Add a devmode class to the document body. #11

Open
zeel01 opened this issue Aug 4, 2021 · 0 comments
Open

Add a devmode class to the document body. #11

zeel01 opened this issue Aug 4, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@zeel01
Copy link

zeel01 commented Aug 4, 2021

Is your feature request related to a problem? Please describe.
In some cases it's nice to have slightly different CSS styles when developing vs. production.

Describe the solution you'd like
Add a new class devmode to a high level element such as <body> which can then be used to conditionally apply styles through the application.

Describe alternatives you've considered
Adding a setting/flag for this inside my own module.

Additional context
Great for hiding UI elements that are used for debugging/dev purposes. CSS to hide stuff is easier than a bunch of conditions in your JS/HBS.

@zeel01 zeel01 added the enhancement New feature or request label Aug 4, 2021
@zeel01 zeel01 self-assigned this Aug 4, 2021
@akrigline akrigline added the good first issue Good for newcomers label Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants