lumeland / lume.land

The website of lume.land
https://lume.land
MIT License
68 stars 65 forks source link

Light mode code block syntax highlighting appears to be broken by AI widget #84

Closed marcus-crane closed 9 months ago

marcus-crane commented 9 months ago

Hi there,

I was poking around the Lume docs and I noticed that some of the syntax blocks appear to be light text on a light background.

CleanShot 2023-10-30 at 19 11 39@2x

It seems that the recently added AI widget created an inline <style> block that overrides anything using the .hljs class which can be seen near the top of the script: https://cdn.glimelab.ai/widget/1.0.0/widget.js

oscarotero commented 9 months ago

Thanks @marcus-crane I've reported to Glimelab and they told me that will be fixed today. Let's wait a while.

oscarotero commented 9 months ago

It seems that it's already fixed.