Themes & Components
See original GitHub issueI want to keep the core lightweight, but at the same time I’d hate for lots of people to adopt Shoelace and then run into Bootstrap Syndrome (every website looks the same).
We can prevent this by encouraging third-party themes and linking to them from the website.
These can be simple copy/paste snippets to start:
/* Shoelace.css dark theme */
:root {
--body-color: white;
--body-bg-color: black;
...
}
We could do something similar with third-party components, too. I’m posting this here as a TODO and to gather thoughts and ideas.
Ideas
- Cards
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:13 (8 by maintainers)
Top Results From Across the Web
Components - Theme UI
A number of built-in UI components are available for layouts, grids, buttons, ... Theme UI components can be customized by adding styles to...
Read more >Theme Components | Hugo
Hugo provides advanced theming support with Theme Components. ... 0.42 a project can configure a theme as a composite of as many theme...
Read more >Components - Material UI - MUI
Components. You can customize a component's styles, default props, and more by using its keys inside the theme. This helps to achieve styling...
Read more >Component Themes - Infragistics
Component themes allow you to change the styles of specific component instances by overriding the globally defined theme.
Read more >Associate Components with Themes - Oracle Help Center
You can associate components, section layouts, and component groups with a theme to use a specific subset of components with the theme.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Here is a theme loosely based on Solarized Dark…
You can build from source to get all the customizations (and other future CSS features). This way it works with all browsers today. If you want custom properties (i.e. variables) in your own dist, you can use cssnext.io to build it. Just disable it like this: