0
Fork 0
mirror of https://github.com/penpot/penpot-export.git synced 2025-02-01 11:49:14 -05:00
Commit graph

24 commits

Author SHA1 Message Date
Roberto Redradix
07977124da chore(demo): update generated files 2023-09-12 18:20:19 +02:00
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
Roberto Redradix
173472aa36 chore(demo): update generated files 2023-09-11 18:45:28 +02:00
Roberto Redradix
562e1d77e3 chore(demo): import SCSS files 2023-09-07 18:07:59 +02:00
Roberto Redradix
f33dc7a9b8 feat(core): allow to export SCSS files 2023-09-07 16:59:03 +02:00
Roberto Redradix
c035375084 chore(demo): update assets and HTML 2023-09-07 16:58:39 +02:00
Roberto Redradix
abe6e54f4a chore(demo): update with JSON outputs 2023-09-05 14:43:33 +02:00
Roberto Redradix
e35186eae9 refactor!: split penpot-export into cli and core modules 2023-09-01 17:43:45 +02:00
Roberto Redradix
e13d644805 refactor!(cli): rename pentpot-css-export to penpot-export 2023-09-01 17:43:45 +02:00
Roberto Redradix
ec802a35d0 feat!(cli): output CSS colors with alpha channel 2023-09-01 17:43:45 +02:00
Roberto Redradix
41303b0a51 docs(demo): document environment variables 2023-09-01 17:43:45 +02:00
Roberto Redradix
899a8b6572 docs: update configuration example 2023-08-31 20:28:14 +02:00
Roberto Redradix
d2540b3765 chore(cli): split validating user config from normalizing app config
Also, be more exhaustive with types and errors
2023-08-31 20:23:27 +02:00
Roberto Redradix
ce380d99b7 feat(cli): redesign user config 2023-08-31 20:23:27 +02:00
Roberto Redradix
06b8da67fe feat(cli): support third-party Penpot instances 2023-08-30 13:34:40 +02:00
Roberto Redradix
3a61990e62 chore(demo): demonstrate colors CSS working in a web document 2023-08-29 18:14:02 +02:00
Roberto Redradix
e2812c99ea feat(cli): allow exporting colors CSS vars 2023-08-29 18:14:02 +02:00
Roberto Redradix
c5288352ab chore(demo): update typography demo and generated CSS 2023-08-29 17:23:04 +02:00
Roberto Redradix
d0e18709f1 chore(demo): demonstrate typography CSS working in a web document 2023-08-29 17:23:04 +02:00
Roberto Redradix
c201db2f2d chore(demo): generate typographies CSS 2023-08-29 17:23:04 +02:00
Roberto Redradix
e19ea35b84 feat: allow exporting typographies CSS 2023-08-29 17:23:04 +02:00
Roberto Redradix
878d18dcb2 chore(demo): update Penpot file id 2023-08-22 13:54:25 +02:00
Roberto Redradix
1edea394de chore(demo): fix config type annonation 2023-08-22 13:54:09 +02:00
Enrique Bernabeu
9eed1481ce Initial commit 2023-08-21 08:36:47 +02:00