Custom themes for Code Block

The Code Block component was released some time ago. Since then, the only options for customization is being able to set a "Dark" theme or a "Light" theme.

Since it appears to be using highlightjs behind the scenes, I assumed I'd be able to use a standard highlightjs theme with custom code to theme it. This does not appear to be the case though, and overriding styles with custom code is seemingly impossible because Webflow embeds inline styles to manage colors.

I understand color themeing is difficult from the designer, but I would love the ability to use existing highlightjs themes and have them work.

  • Arron Hunt
  • May 28 2024
  • Brandon Hong commented
    31 May 06:30am

    This information is really helpful for who really needs this. I hope you will many more write post like this. jetnet aa

  • Brandon Hong commented
    30 May 11:50am

    This article is really amazing i hope we will see again this type of article in future.