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

Inconsistent CSS property name color #170

Open
passerbyxp opened this issue Jun 16, 2021 · 0 comments
Open

Inconsistent CSS property name color #170

passerbyxp opened this issue Jun 16, 2021 · 0 comments

Comments

@passerbyxp
Copy link

This is what I got from papercolor (left) vs vim-unicon (right, which claims to have no language specific syntax):

versus

As you can see, not all property names are using the same color, and transparent is highlighted like a property name, not a value.
(12.5em got highlighted into two different tokens is a nice feature, though.)

Is it possible to make papercolor work better on CSS?

vim-css3-syntax and vim-css-color are used in the above screenshot, and also this file segment:

body
{
	font-size:16px;
	font-family:"微软雅黑","微軟雅黑","Microsoft YaHei","Source Han Sans","Noto Sans","WenQuanYi Micro Hei","文泉驿微米黑",sans-serif;
	padding:0.5em;
	background-color:#FAFAFA;/* grey 50 */
}
body.toolbar
{
	padding-left:2.5em;
}
body.toolbar:not(.manual-navigator)
{
	padding-left:12.5em;
}
.bg-trans
{
	background-color:transparent;
}
.nowrap
{
	white-space:nowrap;
}
.pre
{
	white-space:pre;
}
.pre-wrap
{
	white-space:pre-wrap;
}
.text-ellipsis
{
	overflow:hidden;
	text-overflow:ellipsis;
}
.word-break
{
	word-wrap:break-word;
	word-break:break-all;
}
.over-hold
{
	overflow:auto;
}
.over-hide
{
	overflow:hidden;
}
.over-show
{
	overflow:visible;
}
.bg-primary
{
	background-color:#2196F3;
}
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

1 participant