Closed dnmd closed 4 years ago
It won't be directly compatible. You'll have to create a function to transform one theme to the other.
vscode theme json has 2 main attributes - tokenColors
and colors
. monaco's theme has rules
and colors
. So the function will have to convert data in tokenColors
to rules
. colors
attributes can be used directly without any tranformation.
Reference - vscode them json - https://github.com/microsoft/vscode/blob/master/extensions/theme-solarized-dark/themes/solarized-dark-color-theme.json monaco theme json - https://github.com/brijeshb42/monaco-themes/blob/master/themes/Blackboard.json
You'll have to create a function to transform one theme to the other.
@brijeshb42 are you aware of someone already having written this function? (Also see my question on SO.)
First of, thanks for providing these themes! Great job! I've got a question though, whether or not;
a) it is possible to "port" VSCode its Dark+ theme? b) if so, do you have any recommendations / pointers in doing so?
Thanks in advance, and again, thanks!