0
Fork 0
mirror of https://github.com/penpot/penpot-export.git synced 2025-01-22 14:38:57 -05:00
penpot-export/packages/demo
Roberto Redradix 2b3381fa97 feat!(core): use 8-digit hexadecimal RGBA colors
The 8-digit hexadecimal RGBA syntax is a more standard way to represent colors than the rgba() color function, which is CSS-specific.

The 8-digit hex notation is valid CSS as of the CSS Level 4 spec: https://www.w3.org/TR/css-color-4/#hex-notation

Additionally, the CSS rgba() comma-separated color function is considered *legacy color syntax* as per the CSS Level 4 spec: https://www.w3.org/TR/css-color-4/#legacy-color-syntax

Sass has built-in support for CSS Level 4 color notations: https://sass-lang.com/documentation/values/colors/

The 8-digit hexadecimal RGBA is a drop-in replacement for rgba() values in both CSS and SCSS, so this is functionally compatible if the file is used directly.

BREAKING CHANGE: drops CSS rgba() values in all output formats. It's a soft breaking change for CSS and SCSS outputs, but a hard one for JSON.
2023-09-12 13:28:09 +02:00
..
src feat!(core): use 8-digit hexadecimal RGBA colors 2023-09-12 13:28:09 +02:00
.env.template docs(demo): document environment variables 2023-09-01 17:43:45 +02:00
.gitignore Initial commit 2023-08-21 08:36:47 +02:00
package.json refactor!: split penpot-export into cli and core modules 2023-09-01 17:43:45 +02:00
penpot-export.config.js feat(core): allow to export SCSS files 2023-09-07 16:59:03 +02:00