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

Enchance VS theme #98

Open
AmebaBrain opened this issue Apr 25, 2020 · 2 comments
Open

Enchance VS theme #98

AmebaBrain opened this issue Apr 25, 2020 · 2 comments

Comments

@AmebaBrain
Copy link
Contributor

VS theme seems to have limited support of possible classes comparing to default themes which come with Prismjs.

Please find below same code block highlighted with VS and system Coy theme

$ podman run -d --name myPG -p 5432:5432 -e POSTGRES_PASSWORD=postgres postgres:alpine
$ git checkout master
foo@bar:/$ cd ~
foo@bar:~$ sudo -i

VS theme
prismjs-vs

System Coy theme
prismjs_coy

Issue might be in non-whole set of classes defined in VS theme. For example, Coy theme defines token.important class color

.token.important {
	color: #e90;
}

In contrast VS theme doesn't have it.

Tagging author as the most revelant person @andrewlock

@andrewlock
Copy link
Contributor

Certainly wouldn't be difficult to add any missing extra classes. I'm sure PRs would be welcome 🙂

@AmebaBrain
Copy link
Contributor Author

@andrewlock raised #99 for this. I'm afraid to change any existing class values such as token.function to enable highlight of functions in bash as it happens in Coy scheme. So I added just missed token.important css rule for color property

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

No branches or pull requests

2 participants