feat(css): add more queries

* feature/attribute selector
* function's arguments
This commit is contained in:
Hoang Nguyen 2023-11-20 00:00:00 +07:00
parent 6906560814
commit a237751b11
No known key found for this signature in database
GPG key ID: B0567C20730E9B11
2 changed files with 25 additions and 0 deletions

View file

@ -5,3 +5,15 @@
(parenthesized_query
"(" @delimiter
")" @delimiter @sentinel) @container
(feature_query
"(" @delimiter
")" @delimiter @sentinel) @container
(arguments
"(" @delimiter
")" @delimiter @sentinel) @container
(attribute_selector
"[" @delimiter
"]" @delimiter @sentinel) @container

View file

@ -1,3 +1,16 @@
:root {
@media (prefers-color-scheme: dark) {
--color-bg: #3b4252;
--color-fg: #eceff4;
--color-gray: #434c5e;
--color-blue: #81a1c1;
}
}
li:has(input[type="checkbox"]) {
list-style-type: none;
}
.foo {
color: #ffffff;
}