🎨Colors
Principle supports customizing different Colors of the website.
Colors
You can change colors:
Background Color
Text Color
Border Color and Hover
Block Background Color (example: author card, page head block, blocks in post content)
Color current page in navigation
Color linear gradient (sets the color for the theme buttons)
To customize:
Access the Settings > Code Injection from the admin menu.
Click Open
In the provided space, specify the desired background-colors using the appropriate CSS variable. For example:
<style> :root { --main-background-color: #f6f6f6; --text-color: #0d0d0d; --border-color: #ede6e3; --border-color-hover: #dfcdc6; --block-background-color: #f8f6f5; --color-linear-gradient: linear-gradient(0deg, rgba(223, 60, 24, 1) 0%, rgba(255, 121, 91, 1) 100%); --color-current-nav-page:#f9f3f2; } </style>
Click Save
Last updated