Codesandbox-client: "Illegal value for token color" when using custom VSCode theme

Created on 1 Nov 2018  路  6Comments  路  Source: codesandbox/codesandbox-client

馃悰 bug report

Description of the problem

When generating a color theme using the Generate Color Theme From Custom Settings in VSCode and pasting the resulting output into the Custom VSCode Theme setting I get the error Problem initializing template in editor: Illegal value for token color:.

I am using the Material theme in VS Code.

The color theme that VSCode generates: https://gist.github.com/Bassetts/f824270f99d4fd205744a4aa213fe851

image

Your Environment

| Software | Name/Version|
| ---------------- | ---------- |
| 小odesandbox | PROD-1541005726-0dba21e
| Browser | Firefox Nightly 65.0a1 (2018-11-01) (64-bit)
| Operating System | macOS Mojave 10.14.1
| Visual Studio Code | 1.29.0-insider

stale 馃悰 Bug

Most helpful comment

Found the issue here, VSCode has trouble handling the empty values ("").

Until we deploy a fix, a workaround would be to find all "" values and delete those lines (I think there are 3).

All 6 comments

Found the issue here, VSCode has trouble handling the empty values ("").

Until we deploy a fix, a workaround would be to find all "" values and delete those lines (I think there are 3).

Got same error when using VSCode, Jupyter Notebook and color theme Atom One Dark:
9CE29D01005165B4F70B726766177F32

VSCode default color theme is OK

image
Same error using Atom one dark theme. It was working without error couple of days ago

@aht007 Same here with Material Theme Darker. Shouldn't we move this issue to main VSCode repository?

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

This issue has been automatically closed because there wasn't any activity after the previous notice or the stale label wasn't removed.

Was this page helpful?
0 / 5 - 0 ratings