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

User defined theming #851

Closed
kolpav opened this issue Nov 14, 2016 · 1 comment
Closed

User defined theming #851

kolpav opened this issue Nov 14, 2016 · 1 comment
Labels

Comments

@kolpav
Copy link

kolpav commented Nov 14, 2016

Hello,

First of all thanks for this absolutely awesome library! Its the only one I don't have to fight to get things done.

To my question.
Lets imagine we have web application where users can create blogs. Its build using Semantic a you would like to allow your users to customize theme for each of their blogs. Your application is super popular with millions blogs each with different theme.

I would like theme creation page where all components would be displayed and user could edit different variables and more advanced users could even write css for each component. Changes to theme could be previewed in real time or after refresh.

Is something like this even possible? Can you please elaborate on different solutions to this problem? I must admit I am not that good with CSS so there might be obvious solution.

@levithomason
Copy link
Member

This repo only concerns itself with JS components that render valid Semantic-UI HTML. All CSS is handled elsewhere. You can read #366 for a little more on theming.

I would also suggest taking a look at the power of Semantic-UI theming by visiting https://github.com/Semantic-Org/example-github. This repo shows a live editable theme, you can take inspiration from there on how to allow users to "select" different themes. In the README.md click on "Modern Layout", then:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants