We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Related to #30
Currently, the only colors that can be matched and that can use the color picker are hex based:
lit-analyzer/packages/vscode-lit-plugin/src/color-provider.ts
Line 117 in 9659154
With an HTML file:
With a TS file:
Reproduce:
import { LitElement, css, html } from 'lit' import { customElement } from 'lit/decorators.js' @customElement('foo-element') export class FooElement extends LitElement { render() { return html`<p>hello</p>`; } static styles = css` .foo { background: white; background-color: rgb(234, 238, 242); color: hsl(120deg, 75%, 25%); color: hsla(120deg, 75%, 25%, 0.5); color: #fff; } ` }
The text was updated successfully, but these errors were encountered:
I don't know if this is related or not, but this seems to be how VSCode does it:
https://github.com/microsoft/vscode/blob/7ead2078eb2a097119e66bd8272155bcc1580667/src/vs/editor/common/languages/defaultDocumentColorsComputer.ts#L101-L138
Sorry, something went wrong.
Fixes runem#319
d79905c
Successfully merging a pull request may close this issue.
Related to #30
Currently, the only colors that can be matched and that can use the color picker are hex based:
lit-analyzer/packages/vscode-lit-plugin/src/color-provider.ts
Line 117 in 9659154
With an HTML file:

With a TS file:

Reproduce:
The text was updated successfully, but these errors were encountered: