Skip to content

Fixes Monaco editor instantiation in Light mode#13

Closed
bradleypriest wants to merge 1 commit intoopenclaw:mainfrom
bradleypriest:patch-1
Closed

Fixes Monaco editor instantiation in Light mode#13
bradleypriest wants to merge 1 commit intoopenclaw:mainfrom
bradleypriest:patch-1

Conversation

@bradleypriest
Copy link

Currently the skills page is crashing when clicking compare (in light mode only).

Uncaught Error: Illegal value for token color: #fff

The Monaco Editor expects full hex codes in it's theming, and whilst it is being set as "#ffffff" in the styles.css, some part of the build process (likely the Vite CSS minifier) is converting it to "#fff" in the live site.

This is a pretty hacky fix, but seems to solve the problem.

Fixes #9

Currently the skills page is crashing when clicking compare (in light mode only).

`Uncaught Error: Illegal value for token color: #fff`

The Monaco Editor expects full hex codes in it's theming, and whilst it is being set as "#ffffff" in the styles.css, some part of the build process (likely the Vite CSS minifier) is converting it to "#fff" in the live site.

This is a pretty hacky fix, but seems to solve the problem.

Fixes openclaw#9
@vercel
Copy link
Contributor

vercel bot commented Jan 18, 2026

@bradleypriest is attempting to deploy a commit to the Amantus Machina Team on Vercel.

A member of the Team first needs to authorize it.

@steipete
Copy link
Contributor

Thanks! We already fixed this in #4 (normalize hex colors in SkillDiffCard). This PR only normalizes surface, so I'll close as duplicate.

@steipete steipete closed this Jan 19, 2026
@bradleypriest
Copy link
Author

Hey @steipete that fixed a similar problem, but this is I guess a spot where that Pr missed.
it’s currently broken on the main site.

@steipete
Copy link
Contributor

Looking

@bradleypriest bradleypriest deleted the patch-1 branch January 19, 2026 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clawdhub crashes when trying to view Skill's Compare tab

2 participants