monokai-plusplus icon indicating copy to clipboard operation
monokai-plusplus copied to clipboard

Colors changed issue

Open lacherogwu opened this issue 3 years ago • 6 comments

Hey, The v2 made colors changed drastically and it seems something went wrong there I wrote the version number at the top of the image

Screen Shot 2022-07-10 at 11 11 17 Screen Shot 2022-07-10 at 11 09 42 Screen Shot 2022-07-10 at 11 13 16

Thanks!

lacherogwu avatar Jul 10 '22 08:07 lacherogwu

Hi, could you send me the code snippets? Thanks

dcasella avatar Jul 10 '22 21:07 dcasella

import mongoose from 'mongoose';

const schema = new mongoose.Schema({
	name: {
		type: String,
		required: true,
	},
});


const model  = mongoose.model('test', schema)

export default model

lacherogwu avatar Jul 12 '22 11:07 lacherogwu

I can see that most of the other color themes I tried "get it wrong", since it's actually VS Code that makes up the semantic token type: it assigns "class" to type, address and liveChatGroupId, which makes absolutely no sense.

image

I'll see what I can do, but the source of the problem is VS Code.

dcasella avatar Jul 15 '22 13:07 dcasella

I see, thanks for the information, btw what color theme do you use? Because I see it look different than my picture and also const model is being colored in my code and in yours it doesn't

lacherogwu avatar Jul 18 '22 08:07 lacherogwu

The color theme in the screenshot is Dark+, the one which VS Code uses by default. That was just to show that other color themes, even built-in ones, have trouble with the coloring: see address and String, both being green.

dcasella avatar Jul 18 '22 15:07 dcasella

I understand

lacherogwu avatar Jul 19 '22 06:07 lacherogwu