Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexaka1 committed May 1, 2024
1 parent fa27352 commit fb2d3ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ Then, enable the plugin in your Tailwind config:
```js
/** @type {import('tailwindcss').Config} */
module.exports = {
plugins: [require('tailwindcss-oklch')()],
plugins: [require('@alexaka1/tailwindcss-oklch')()],
};
```
The plugin returns a function in order to allow you to change the default values.

## Features

Expand Down Expand Up @@ -66,7 +67,7 @@ Precision was added since color.js uses floats to calculate the OKLCH values, wh
/** @type {import('tailwindcss').Config} */
module.exports = {
plugins: [
require('tailwindcss-oklch')({
require('@alexaka1/tailwindcss-oklch')({
contrastThreshold: 0.5,
precision: 8,
minContrastLightness: 0,
Expand Down

0 comments on commit fb2d3ce

Please sign in to comment.