Skip to content

Conversation

@miss-programgamer
Copy link

I took the liberty of implementing the changes requested by aeschli in pr #440.

IsaacTian05 and others added 11 commits April 25, 2025 21:12
…ctions (microsoft#436)

__RESOLVES:__
_feature_ - *Add new CSS color functions* \[[microsoft#305](https://github.com/microsoft/vscode-css-languageservice/issues/305)\]

__DESCRIPTION:__
CSS Color Module Level 4 adds support for `oklch` and `oklab` to browsers. They are becoming more popular, and I wanted to use them with color previews in my editor.

This feature is built of of the original [microsoft#306](microsoft#306) which included steps for `lab` and `lch` but not the `ok` variants.

Generally this code was designed using real world color [examples](https://www.oddcontrast.com/#hex__*f00__*4d216f80__srgb).

__STEPS TO TEST:__
* Remove extra characters

* trim trailing space in package.json
… of duplicating (microsoft#438)

__DESCRIPTION:__
I noticed that both the `tsconfig.json` and the `tsconfig.esm.json` files are largely the same. So it makes sense to me to extend the base on instead of duplicating the configuration options.
* Add basic media query auto complete support

* build

* Status support

* Add `: ` and trigger suggestion

* Add test

* Only suggest value if not on feature name

* Add schema

* MediaQuery is not a BodyDeclaration

---------

Co-authored-by: Martin Aeschlimann <[email protected]>
…hark

chore: bump action and node versions
@aeschli
Copy link

aeschli commented Sep 29, 2025

@miss-programgamer Cool. I guess your changes are not yet in microsoft#440 yet.
Can you maybe create a new PR against microsoft/vscode-css-languageservice ?

@miss-programgamer
Copy link
Author

@aeschli Sure, I'll do that rn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants