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

Feature: Global Themes #415

Open
1 of 2 tasks
adamgreenough opened this issue Aug 18, 2023 · 3 comments
Open
1 of 2 tasks

Feature: Global Themes #415

adamgreenough opened this issue Aug 18, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@adamgreenough
Copy link

adamgreenough commented Aug 18, 2023

Type of feature

✨ Feature

Current behavior

No response

Suggested feature

Ability to load/inject custom CSS to style the UI and embed interfaces themselves without editing core files that will be replaced in an update

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributing Docs

  • I agree to follow this project's Contribution Docs
@hatemhosny
Copy link
Collaborator

hatemhosny commented Aug 18, 2023

The ability to add custom themes for the playground UI is planned and probably soon.

The approach I plan is the ability to supply a JSON object (or URL) with values for CSS variables which are already being used.

This is a lot more controlled than arbitrary CSS that may mess with layout.

This would be different from editor themes that can be selected from a list of predefined themes.

@hatemhosny hatemhosny reopened this Aug 18, 2023
@hatemhosny hatemhosny added the enhancement New feature or request label Aug 18, 2023
@adamgreenough
Copy link
Author

Awesome! Thanks for bringing those CSS variables to my attention, I might try and fork changing just those and rebuilding for updates for now.

Really excited to see where this project goes. A game changer for code documentation and blogging where I can be in control of my own embeds. :)

@hatemhosny
Copy link
Collaborator

For custom themes, I may need to add/split some CSS variables. But, yes, you may give it a try as a start.

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

2 participants