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 style for tags #26

Closed
ECorreia45 opened this issue Jul 17, 2021 · 0 comments · Fixed by #29 or #32
Closed

Support style for tags #26

ECorreia45 opened this issue Jul 17, 2021 · 0 comments · Fixed by #29 or #32
Assignees
Labels
Feature Suggestion an idea of a feature for the project high priority high priority task release candidate mark a next release candidate

Comments

@ECorreia45
Copy link
Contributor

ECorreia45 commented Jul 17, 2021

Is your feature request related to a problem? Please describe.
right now when you create a tag you have to create a different file for style and import in different places
accordingly.

Describe the solution you'd like
Ideally would be nice to specify the style the tag is associated with and that be added to the page whenever
the tag is used without having to use the tag on a page and then import the style associated with it.

This makes the tag markup and associated style a single entity that always goes together

This should take into consideration the following:

  • a tag can be used multiple times on a page but the style should only be included on that page once;
  • styles can conflict with others so the tag style should be uniquely marked to avoid that [optional]
  • should support any preprocessor easily
  • should be placed in a style tag in the head when in development and into a file when going into production. If the page already has an associated stylesheet, these tag styles should be placed there instead otherwise a new file is created.
@ECorreia45 ECorreia45 added Feature Suggestion an idea of a feature for the project high priority high priority task release candidate mark a next release candidate labels Jul 17, 2021
@ECorreia45 ECorreia45 self-assigned this Jul 17, 2021
@ECorreia45 ECorreia45 linked a pull request Jul 21, 2021 that will close this issue
@ECorreia45 ECorreia45 linked a pull request Jul 31, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Suggestion an idea of a feature for the project high priority high priority task release candidate mark a next release candidate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant