Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addCustomWord #75

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

addCustomWord #75

wants to merge 3 commits into from

Conversation

aksmfosef11
Copy link

@aksmfosef11 aksmfosef11 commented Jul 12, 2019

When I use it in var = hexCode format
It's inconvenient not to see the color using real var
Added.
It works, but
I did not think about performance.
Please tell us if you have performance problems.

I use it like this.

Colors.js

const Colors = {
 "customColor": "#fcfcfc",
  "customColor2": "rgb (252, 252, 252)"
};

export default Colors;

settings.json

"color-highlight.customWords": {
   "customColor": "#fcfcfc",
   "customColor2": "rgb (252, 252, 252)"
}
body:
{
  color: Colors.customColor,
}

Adding the same format works.

커스텀컬러추가
커스텀 컬러 추가 버그 수정
Add Custom Words Setting
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.

1 participant