This repository has been archived by the owner on Jun 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Pass --disable-extensions flag while running tests * Add .nvmrc * Support function calls * Run prettier
- Loading branch information
Showing
6 changed files
with
270 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const Component = styled(getComponent(props))` | ||
max-width: 100%; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,244 @@ | ||
[ | ||
{ | ||
"c": "const", | ||
"t": "source.js meta.var.expr.js storage.type.js", | ||
"r": { | ||
"dark_plus": "storage.type: #569CD6", | ||
"light_plus": "storage.type: #0000FF", | ||
"dark_vs": "storage.type: #569CD6", | ||
"light_vs": "storage.type: #0000FF", | ||
"hc_black": "storage.type: #569CD6" | ||
} | ||
}, | ||
{ | ||
"c": " ", | ||
"t": "source.js meta.var.expr.js", | ||
"r": { | ||
"dark_plus": "default: #D4D4D4", | ||
"light_plus": "default: #000000", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "default: #FFFFFF" | ||
} | ||
}, | ||
{ | ||
"c": "Component", | ||
"t": "source.js meta.var.expr.js meta.var-single-variable.expr.js meta.definition.variable.js variable.other.constant.js", | ||
"r": { | ||
"dark_plus": "variable.other.constant: #4FC1FF", | ||
"light_plus": "variable.other.constant: #0070C1", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "variable: #9CDCFE" | ||
} | ||
}, | ||
{ | ||
"c": " ", | ||
"t": "source.js meta.var.expr.js meta.var-single-variable.expr.js", | ||
"r": { | ||
"dark_plus": "default: #D4D4D4", | ||
"light_plus": "default: #000000", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "default: #FFFFFF" | ||
} | ||
}, | ||
{ | ||
"c": "=", | ||
"t": "source.js meta.var.expr.js keyword.operator.assignment.js", | ||
"r": { | ||
"dark_plus": "keyword.operator: #D4D4D4", | ||
"light_plus": "keyword.operator: #000000", | ||
"dark_vs": "keyword.operator: #D4D4D4", | ||
"light_vs": "keyword.operator: #000000", | ||
"hc_black": "keyword.operator: #D4D4D4" | ||
} | ||
}, | ||
{ | ||
"c": " ", | ||
"t": "source.js meta.var.expr.js", | ||
"r": { | ||
"dark_plus": "default: #D4D4D4", | ||
"light_plus": "default: #000000", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "default: #FFFFFF" | ||
} | ||
}, | ||
{ | ||
"c": "styled", | ||
"t": "source.js meta.var.expr.js meta.function-call.ts entity.name.function.ts", | ||
"r": { | ||
"dark_plus": "entity.name.function: #DCDCAA", | ||
"light_plus": "entity.name.function: #795E26", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "entity.name.function: #DCDCAA" | ||
} | ||
}, | ||
{ | ||
"c": "(", | ||
"t": "source.js meta.var.expr.js meta.brace.round.ts", | ||
"r": { | ||
"dark_plus": "default: #D4D4D4", | ||
"light_plus": "default: #000000", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "default: #FFFFFF" | ||
} | ||
}, | ||
{ | ||
"c": "getComponent", | ||
"t": "source.js meta.var.expr.js meta.function-call.ts entity.name.function.ts", | ||
"r": { | ||
"dark_plus": "entity.name.function: #DCDCAA", | ||
"light_plus": "entity.name.function: #795E26", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "entity.name.function: #DCDCAA" | ||
} | ||
}, | ||
{ | ||
"c": "(", | ||
"t": "source.js meta.var.expr.js meta.brace.round.ts", | ||
"r": { | ||
"dark_plus": "default: #D4D4D4", | ||
"light_plus": "default: #000000", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "default: #FFFFFF" | ||
} | ||
}, | ||
{ | ||
"c": "props", | ||
"t": "source.js meta.var.expr.js variable.other.readwrite.ts", | ||
"r": { | ||
"dark_plus": "variable: #9CDCFE", | ||
"light_plus": "variable: #001080", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "variable: #9CDCFE" | ||
} | ||
}, | ||
{ | ||
"c": "))", | ||
"t": "source.js meta.var.expr.js meta.brace.round.ts", | ||
"r": { | ||
"dark_plus": "default: #D4D4D4", | ||
"light_plus": "default: #000000", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "default: #FFFFFF" | ||
} | ||
}, | ||
{ | ||
"c": "`", | ||
"t": "source.js meta.var.expr.js punctuation.definition.string.template.begin.js string.template.js", | ||
"r": { | ||
"dark_plus": "string: #CE9178", | ||
"light_plus": "string: #A31515", | ||
"dark_vs": "string: #CE9178", | ||
"light_vs": "string: #A31515", | ||
"hc_black": "string: #CE9178" | ||
} | ||
}, | ||
{ | ||
"c": " ", | ||
"t": "source.js meta.var.expr.js source.css.scss", | ||
"r": { | ||
"dark_plus": "default: #D4D4D4", | ||
"light_plus": "default: #000000", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "default: #FFFFFF" | ||
} | ||
}, | ||
{ | ||
"c": "max-width", | ||
"t": "source.js meta.var.expr.js source.css.scss meta.property-name.scss support.type.property-name.css", | ||
"r": { | ||
"dark_plus": "support.type.property-name: #9CDCFE", | ||
"light_plus": "support.type.property-name: #FF0000", | ||
"dark_vs": "support.type.property-name: #9CDCFE", | ||
"light_vs": "support.type.property-name: #FF0000", | ||
"hc_black": "support.type.property-name: #D4D4D4" | ||
} | ||
}, | ||
{ | ||
"c": ":", | ||
"t": "source.js meta.var.expr.js source.css.scss punctuation.separator.key-value.scss", | ||
"r": { | ||
"dark_plus": "default: #D4D4D4", | ||
"light_plus": "default: #000000", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "default: #FFFFFF" | ||
} | ||
}, | ||
{ | ||
"c": " ", | ||
"t": "source.js meta.var.expr.js source.css.scss", | ||
"r": { | ||
"dark_plus": "default: #D4D4D4", | ||
"light_plus": "default: #000000", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "default: #FFFFFF" | ||
} | ||
}, | ||
{ | ||
"c": "100", | ||
"t": "source.js meta.var.expr.js source.css.scss meta.property-value.scss constant.numeric.css", | ||
"r": { | ||
"dark_plus": "constant.numeric: #B5CEA8", | ||
"light_plus": "constant.numeric: #098658", | ||
"dark_vs": "constant.numeric: #B5CEA8", | ||
"light_vs": "constant.numeric: #098658", | ||
"hc_black": "constant.numeric: #B5CEA8" | ||
} | ||
}, | ||
{ | ||
"c": "%", | ||
"t": "source.js meta.var.expr.js source.css.scss meta.property-value.scss constant.numeric.css keyword.other.unit.percentage.css", | ||
"r": { | ||
"dark_plus": "keyword.other.unit: #B5CEA8", | ||
"light_plus": "keyword.other.unit: #098658", | ||
"dark_vs": "keyword.other.unit: #B5CEA8", | ||
"light_vs": "keyword.other.unit: #098658", | ||
"hc_black": "keyword.other.unit: #B5CEA8" | ||
} | ||
}, | ||
{ | ||
"c": ";", | ||
"t": "source.js meta.var.expr.js source.css.scss punctuation.terminator.rule.scss", | ||
"r": { | ||
"dark_plus": "default: #D4D4D4", | ||
"light_plus": "default: #000000", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "default: #FFFFFF" | ||
} | ||
}, | ||
{ | ||
"c": "`", | ||
"t": "source.js meta.var.expr.js punctuation.definition.string.template.end.js string.template.js", | ||
"r": { | ||
"dark_plus": "string: #CE9178", | ||
"light_plus": "string: #A31515", | ||
"dark_vs": "string: #CE9178", | ||
"light_vs": "string: #A31515", | ||
"hc_black": "string: #CE9178" | ||
} | ||
}, | ||
{ | ||
"c": ";", | ||
"t": "source.js punctuation.terminator.statement.js", | ||
"r": { | ||
"dark_plus": "default: #D4D4D4", | ||
"light_plus": "default: #000000", | ||
"dark_vs": "default: #D4D4D4", | ||
"light_vs": "default: #000000", | ||
"hc_black": "default: #FFFFFF" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters