-
Notifications
You must be signed in to change notification settings - Fork 8
Other theme changes
Simon edited this page Jul 9, 2024
·
4 revisions
If you want more control over global styling of the viewer, besides changing colors and updating the font, feel free to add custom CSS to src/theme.scss.
Note that generally speaking, since this project uses Tailwind CSS, it is preferred to make use of Tailwind's @apply directives rather than writing custom CSS, though both will work identically.
// ✅ Making use of Tailwind's @apply directives
.clickable {
@apply underline decoration-slate-300 cursor-pointer;
}// ❌ Using plain CSS
.clickable {
text-decoration-line: underline;
text-decoration-color: #cbd5e1;
cursor: pointer;
}This project is still in the prototyping phase. If you have any questions, thoughts or feedback, please reach out to Simon Dirks (mail@simondirks.com).
- Rendering components by type
- Rendering components by predicate
- Pre-defined predicate render components