Provide a global css
tagged template literal function for better IDE DX
#1423
alexilyaev
started this conversation in
Ideas
Replies: 1 comment
-
@alexilyaev That's a great suggestion, thanks. In the meantime, it's trivial to write: let css = await readFile(kenvPath("styles.css"), "utf8") Then enjoy all the ide/tooling features in the styles.css file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Based on the example in
TIPS.md
> Adjust the CSS of ChoicesExpand code...
The CSS code is just a plain string in VS Code:
By adding a
css
tagged template literal function, we could leverage existing IDE tools like syntax highlighting, Emmet completion, Prettier formatting and CSS intellisense via, e.g. vscode-styled-components extension:Beta Was this translation helpful? Give feedback.
All reactions