Skip to content

Commit

Permalink
Include oklab and oklch in the culori/css bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
danburzo committed Feb 25, 2023
1 parent 61cfee9 commit a8e83de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bootstrap/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import modeLab65 from '../lab65/definition.js';
import modeLch from '../lch/definition.js';
import modeLch65 from '../lch65/definition.js';
import modeLrgb from '../lrgb/definition.js';
import modeOklab from '../oklab/definition.js';
import modeOklch from '../oklch/definition.js';
import modeP3 from '../p3/definition.js';
import modeProphoto from '../prophoto/definition.js';
import modeRec2020 from '../rec2020/definition.js';
Expand All @@ -25,6 +27,8 @@ export const lab65 = useMode(modeLab65);
export const lch = useMode(modeLch);
export const lch65 = useMode(modeLch65);
export const lrgb = useMode(modeLrgb);
export const oklab = useMode(modeOklab);
export const oklch = useMode(modeOklch);
export const p3 = useMode(modeP3);
export const prophoto = useMode(modeProphoto);
export const rec2020 = useMode(modeRec2020);
Expand Down
2 changes: 2 additions & 0 deletions test/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ const API_CSS = [
'lch',
'lch65',
'lrgb',
'oklab',
'oklch',
'p3',
'prophoto',
'rec2020',
Expand Down

0 comments on commit a8e83de

Please sign in to comment.