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

add justify-items and justify-self #513

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion grammars/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@
{
"contentName": "meta.property-values.css",
"comment": "individual words without any sub options",
"begin": "(?i)(?<=^|[\\W])\\s*+((-(webkit|moz|o|ms)-)?(z-index|writing-mode|will-change|width|widows|white-space|volume|visibility|vertical-align|user-zoom|user-select|touch-action|top|table-layout|tab-size|system|symbols|suffix|src|speak-as|size|right|revert|resize|range|prefix|quotes|position|pointer-events|pad|orphans|orientation|order|opacity|negative|mix-blend-mode|marks|line-height|line-break|letter-spacing|left|justify-content|isolation|inline-size|hyphens|height|float|filter|fallback|empty-cells|display|direction|cursor|content|columns|color|clip-path|clip|clear|caption-side|bottom|block-size|bleed|backface-visibility|appearance|all|additive-symbols))\\s*+(:)",
"begin": "(?i)(?<=^|[\\W])\\s*+((-(webkit|moz|o|ms)-)?(z-index|writing-mode|will-change|width|widows|white-space|volume|visibility|vertical-align|user-zoom|user-select|touch-action|top|table-layout|tab-size|system|symbols|suffix|src|speak-as|size|right|revert|resize|range|prefix|quotes|position|pointer-events|pad|orphans|orientation|order|opacity|negative|mix-blend-mode|marks|line-height|line-break|letter-spacing|left|justify-content|justify-items|justify-self|isolation|inline-size|hyphens|height|float|filter|fallback|empty-cells|display|direction|cursor|content|columns|color|clip-path|clip|clear|caption-side|bottom|block-size|bleed|backface-visibility|appearance|all|additive-symbols))\\s*+(:)",
"end": "(;)|(?=[`})\\]])",
"beginCaptures": {
"1": {"name": "support.type.property-name.css"}
Expand Down
18 changes: 18 additions & 0 deletions lib/completions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,24 @@
"space-between"
],
"description": "Defines how the browser distributes space between and around flex items"
},
"justify-items": {
"values": [
"start",
"end",
"center",
"stretch",
],
"description": "Defines the default justify-self for all items of the box, giving them all a default way of justifying each box along the appropriate axis"
},
"justify-self": {
"values": [
"start",
"end",
"center",
"stretch",
],
"description": "Defines the way a box is justified inside its alignment container along the appropriate axis"
},
"transition-property": {
"values": [
Expand Down
2 changes: 2 additions & 0 deletions spec/fixtures/grammar/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@
inline-size:;
isolation:;
justify-content:;
justify-items:;
justify-self:;
left:;
letter-spacing:;
line-break:;
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/grammar/large files/bundle.js

Large diffs are not rendered by default.