Skip to content

Commit 51d4c1b

Browse files
authored
enh(css-like) Add support for CSS Grid properties (#3314)
* Add support for CSS Grid * update changelog
1 parent a41d712 commit 51d4c1b

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
enh(css/less/stylus/scss) improve consistency of function dispatch (#3301) [Josh Goebel][]
44
enh(css/less/stylus/scss) detect block comments more fully (#3301) [Josh Goebel][]
55
- fix(cpp) fix `xor_eq` keyword highlighting. [Denis Kovalchuk][]
6+
- enh(css/less/stylus/scss) add support for CSS Grid properties [monochromer][]
67

78
[Josh Goebel]: https://github.com/joshgoebel
89
[Denis Kovalchuk]: https://github.com/deniskovalchuk
10+
[monochromer]: https://github.com/monochromer
911

1012
## Version 11.2.0
1113

src/languages/lib/css-shared.js

+18
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,23 @@ export const ATTRIBUTES = [
346346
'font-variant-ligatures',
347347
'font-variation-settings',
348348
'font-weight',
349+
'gap',
350+
'grid',
351+
'grid-area',
352+
'grid-auto-columns',
353+
'grid-auto-flow',
354+
'grid-auto-rows',
355+
'grid-column',
356+
'grid-column-end',
357+
'grid-column-start',
358+
'grid-gap',
359+
'grid-row',
360+
'grid-row-end',
361+
'grid-row-start',
362+
'grid-template',
363+
'grid-template-areas',
364+
'grid-template-columns',
365+
'grid-template-rows',
349366
'height',
350367
'hyphens',
351368
'icon',
@@ -410,6 +427,7 @@ export const ATTRIBUTES = [
410427
'quotes',
411428
'resize',
412429
'right',
430+
'row-gap',
413431
'src', // @font-face
414432
'tab-size',
415433
'table-layout',

0 commit comments

Comments
 (0)