Commit Graph

143 Commits

Author SHA1 Message Date
Andrés Moya 7b2271ec38
🐛 Fix remapping of tokens with the same name and update tests (#8043) 2026-01-09 10:53:19 +01:00
Andrés Moya 2ad42cfd9b
Add ability to remap tokens when renamed ones are referenced by other child tokens (#8035)
* 🎉 Add ability to remap tokens when renamed ones are referenced by other child tokens

Signed-off-by: Akshay Gupta <gravity.akshay@gmail.com>

* 🐛 Fix remap skipping tokens with same name in different sets

* 📚 Update CHANGES.md

* 🔧 Fix css styles

---------

Signed-off-by: Akshay Gupta <gravity.akshay@gmail.com>
Co-authored-by: Akshay Gupta <gravity.akshay@gmail.com>
2026-01-08 13:42:06 +01:00
Andrey Antukh 33c786498d Merge remote-tracking branch 'origin/staging-render' into develop 2025-12-12 12:19:49 +01:00
Alejandro Alonso 89d9591011 🎉 Improve svg import 2025-12-11 12:02:34 +01:00
Andrey Antukh 4637aced8c Add support auto decoding and validation syntax for obj/reify 2025-12-09 11:13:06 +01:00
Eva Marco 81e0e4f222
♻️ Replace token form files (#7896)
* ♻️ Replace shadow form

* ♻️ Rename files and components

* ♻️ Replace offsetx and offsety names

* ♻️ Replace form file for new form component using new form system

* ♻️ Rename files and props
2025-12-05 17:04:07 +01:00
Alejandro Alonso 77b9eee6bd 🐛 Fix svg fills defined in svg-attrs with url or color format 2025-11-21 14:15:27 +01:00
Andrés Moya 3cc54fd988
🎉 Add design tokens to plugins API (#7602)
Co-authored-by: alonso.torres <alonso.torres@kaleidos.net>
2025-11-14 11:14:56 +01:00
Andrey Antukh 132f7d6d3e
♻️ Add minor refactor on tokens main form (#7690) 2025-11-05 10:37:38 +01:00
Andrey Antukh f53935f5df Merge remote-tracking branch 'origin/staging' into develop 2025-10-31 12:13:29 +01:00
Florian Schroedl e681f95a70 Add box shadow token 2025-10-30 14:05:42 +01:00
Andrés Moya 70143f8ae3 🐛 Fix theme renaming and small refactor tokens forms validation 2025-10-29 15:40:45 +01:00
Eva Marco bbc6709943
🐛 Fix applying color tokens on a row from colorpicker (#7524) 2025-10-17 11:10:10 +02:00
Andrey Antukh accc9a173f Merge remote-tracking branch 'origin/staging' into develop 2025-09-29 13:24:31 +02:00
Alonso Torres deee7f7334
Merge pull request #7366 from penpot/niwinz-develop-page-data-type
 Add several enhancements for reduce workspace file load time
2025-09-29 12:43:34 +02:00
Andrés Moya f5fd978a07 🔧 Retrieve tokens from library and not from set 2025-09-29 12:16:42 +02:00
Andrés Moya d76a5c615c 🔧 Modify token sets by id instead of name and review usage 2025-09-29 12:16:42 +02:00
Andrés Moya 5f886e141a 💄 Minor changes 2025-09-29 12:16:42 +02:00
Andrés Moya 021b8f81ca 🔧 Read token sets by id instead of name 2025-09-29 12:16:42 +02:00
Andrey Antukh b9030fcc73 Add better workspace file indexing strategy
Improve file indexes initialization on workspace.

Instead of initialize indexes for all pages only initialize
indexes for the loaded page.
2025-09-29 12:07:49 +02:00
Eva Marco e184a9a8b9
🐛 Fix context menu on spacing tokens (#7382) 2025-09-25 17:28:46 +02:00
Florian Schroedl c882e8347a Add line-height to composite typography token 2025-09-22 09:52:56 +02:00
Pablo Alba f5f9157786 🐛 Fix paste behavior according to the selected element 2025-09-12 15:17:26 +02:00
Florian Schroedl fc5e4a821b ♻️ Use interactive update functions only on user actions 2025-08-29 13:38:41 +02:00
Florian Schroedl 9106617436 🎉 Add composite typography token 2025-08-27 11:35:56 +02:00
Florian Schroedl 09b9383a0b Choose closest font weight for token weight when no matching weight is found 2025-08-26 16:12:07 +02:00
Florian Schrödl c29a8cb0c4
Implement font-weight token (#7089) 2025-08-08 11:11:18 +02:00
Andrei Fëdorov 818b03d8f2
Add text decoration token (#7049) 2025-08-04 10:47:09 +02:00
Andrey Antukh e55d184d2b Merge remote-tracking branch 'origin/staging' into develop 2025-08-01 13:13:56 +02:00
Eva Marco 95dda2b1af
🐛 Fix stroke width token application (#7039) 2025-07-31 14:59:48 +02:00
Florian Schrödl 4c605b8151
Implement text case token (#6978) 2025-07-28 17:36:06 +02:00
Andrés Moya 57330f53e2 🔧 Use id instead of name for tokens crud 2025-07-24 15:21:18 +02:00
Florian Schroedl 8c96a617be Add test for spacing token application rules 2025-07-24 11:01:49 +02:00
Florian Schroedl cccea3dc71 Add test for spacing token application rules 2025-07-24 10:42:08 +02:00
Florian Schroedl (aider) d788a4d252 Implement new token-type `:font-families` 2025-07-23 11:26:28 +02:00
Andrey Antukh 8bb210e7b6 🎉 Add binary fills integration 2025-07-23 08:03:23 +02:00
Andrey Antukh 9ee488009f ♻️ Add substantial refactor on how types are organized
This mainly affects types related to colors, fills and texts, moving library
based operations from color namespace.
2025-07-23 08:03:23 +02:00
Alejandro Alonso ce62e11626 🐛 Fix error on validating file referential integrity when duplicating a page 2025-07-21 09:26:23 +02:00
Andrés Moya 88bb9bfe52 🐛 Detach styles from assets when applying tokens 2025-07-08 13:15:45 +02:00
Florian Schrödl 21746144b7
Add letter spacing token (#6814)
* 🐛 Fix merge schema not working with key generation

*  Add letter-spacing token

* ♻️ Remove comments

* ♻️ Inline line-height for now
2025-07-03 16:00:58 +02:00
Florian Schrödl 7dd61968b5
Implement object type specific tokens (#6816)
*  Allow token applying for supported shape types only

* 🐛 Remove x/y attribute keys from spacing token

*  Shape specific context-menu

*  Only apply tokens to supported shapes when doing multi selection apply

*  Handle groups not supported by tokens yet

* 🐛 Fix outdated tests

* ♻️ Commentary

*  Add helper functions for attribute applicability checks

* ♻️ Groups don't have own attributes

* ♻️ Remove unused function

* ♻️ Move attribute logic to common.types.token
2025-07-03 12:22:04 +02:00
Xavier Julian 6bd3253e5e ♻️ Restructure UI files for tokens editor 2025-06-27 13:23:42 +02:00
Florian Schrödl 580bb46a05
Implement font-size token type (#6708)
*  Implement font-size token type

*  Hide typography tokens behind FF

* 💄 Update icon

* 🔧 Add font-size to unapply check

* ♻️ Generalize status-icon logic and remove icon for font-size
2025-06-23 12:12:40 +02:00
alonso.torres 29466b47fe Adds skipChildren to export parameters 2025-06-10 15:06:30 +02:00
Alejandro Alonso 28ed62fb2c
Merge pull request #6640 from penpot/niwinz-develop-hotfix-1
🐛 Remove fills from paragraph-set nodes on text shapes
2025-06-05 14:03:18 +02:00
Andrey Antukh 6719902647 Add color checks and test of event creation for fills 2025-06-05 13:34:13 +02:00
Andrés Moya 8a0aa20789 🔧 Renames, privacy adjustments and other small enhancements 2025-06-05 10:58:23 +02:00
Eva Marco ab0219876e
Add numeric token type (#6575)
*  Add numeric type token

* 🐛 Fix comments
2025-06-05 09:33:54 +02:00
Andrés Moya 5e8929e504 🔧 Refactor token json file import/export 2025-05-26 12:02:26 +02:00
Florian Schroedl 31f642ed25 ♻️ Use rx streams for style dictionary interface 2025-05-20 14:55:07 +02:00