[PR #13] [CLOSED] Fixes Monaco editor instantiation in Light mode #211

Closed
opened 2026-02-15 17:16:17 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/clawhub/pull/13
Author: @bradleypriest
Created: 1/17/2026
Status: Closed

Base: mainHead: patch-1


📝 Commits (1)

  • 98c96e9 Fixes Monaco editor instantiation in Light mode

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/components/SkillDiffCard.tsx (+1 -1)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/clawhub/pull/13 **Author:** [@bradleypriest](https://github.com/bradleypriest) **Created:** 1/17/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`98c96e9`](https://github.com/openclaw/clawhub/commit/98c96e9658f910ac1875e3b07e8f953af3ec0d98) Fixes Monaco editor instantiation in Light mode ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/components/SkillDiffCard.tsx` (+1 -1) </details> ### 📄 Description 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:16:17 -05:00
yindo closed this issue 2026-02-15 17:16:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/clawhub#211