Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

polished - parseToRGB bug with color-mix

node v18.11.0
version: 1.0.0
endpointsharetweet
const { parseToRgb } = require('polished'); const rgbString = 'rgb(0, 48, 86)'; const colorMixString = 'color-mix(in srgb, rgb(0, 48, 86) calc(100%), rgb(255, 255, 255))'; console.log(parseToRgb(rgbString)); console.log(parseToRgb(colorMixString));
Loading…

no comments

    sign in to comment