OTTR CSS
Customizing Colors
& Style
Two CSS files work together to separate OTTR defaults from your customizations:
style_config_default.cssGets synced from OTTR
style.css references
themstyle_config_custom.cssNot synced
Edit style_config_custom.css to override any default
variable:
:root {
--link-color: #your-color-here;
--heading-color: #your-color-here;
}
style_config_custom.css
in your repository
You only need to set the variables you want to change. Anything not
set in style_config_custom.css will fall back to the
defaults in style_config_default.css.
For example, within your assets/style_config_custom.css
file, you would add:
:root {
--link-color: #a1005a; /* deep magenta for links */
--accent-color: #6e0040; /* dark rose (headings, emphasis) */
--highlight-color: #e754a6; /* vibrant pink for UI highlights */
--caption-color: #4a4a4a; /* neutral dark gray */
--background-color: #ffffff;
--callout-background-color: #f6e9f1; /* soft pink-tinted gray */
}
Default colors
Changed colors
1. Venngage Color Accessibility Tool: https://venngage.com/tools/accessible-color-palette-generator
2. ColorBuddy: https://color-buddy.netlify.app/
If your repo is enrolled in OTTR sync, future CSS improvements will be updated automatically via your pull request.
style_config_default.css will update on sync.
Do not customize this file.style_config_custom.css will not
be touched