The native code block in Webflow only offers a light and dark theme, but we can customize the colors set by either of those default themes using a little custom CSS (see page settings). The custom CSS is simply targeting the style="color: #xxxxx" attribute set on each syntax type in the code, and resetting the color to a different color using color variables.
Tags from Webflow:
codeblock, theme, css, customcode
The best Webflow projects handpicked & delivered.
We search the entire Webflow showcase to find the most clone-worthy websites. The kind of sites that make you say "wait... this is free?"
Unsubscribe anytime. No spam.
Booyah! The first newsletter will go out early next week.
Oops! Something went wrong while submitting the form.
0 Comments