An open API service indexing awesome lists of open source software.

https://github.com/fpapado/lightning-css-oklch-downleveling

lightning-css-oklch-downleveling
https://github.com/fpapado/lightning-css-oklch-downleveling

Last synced: 5 months ago
JSON representation

lightning-css-oklch-downleveling

Awesome Lists containing this project

README

          

# `oklch()`/`oklab()` downleveling with lightningcss

This repo contains some examples (WIP) of downleveling/transpiling the numeric and percentage values of the `oklch()`/`oklab()` CSS colour functions.

## Prerequisites

You will need [node](https://nodejs.org/en) and [npm](https://www.npmjs.com/).

Then, in a terminal:

```shell
# Install dependencies
npm ci

# Run the matrix test with the syntaxes
npm test
```