68 Commits

Author SHA1 Message Date
Florian Schroedl
a8ed1371d4 ✨ Find closest variant when updating font family 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
6670b76ccc ✨ Show warning when applying token with non-matching font variant 2025-08-26 16:12:07 +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
Eva Marco
33fc578f96 🎉 Add numeric-input component to DS
A new numeric-input impl compatible with tokens
2025-08-25 18:52:39 +02:00
Florian Schrödl
ccd6ae5ade
🐛 Don't allow letter-spacing value with % (#7100) 2025-08-13 08:31:43 +02:00
Florian Schrödl
c29a8cb0c4
✨ Implement font-weight token (#7089) 2025-08-08 11:11:18 +02:00
Florian Schrödl
9562d2f1f0
✨ Allow font-families with surrounding quotation marks (#7081) 2025-08-07 11:13:04 +02:00
Florian Schrödl
b91e955486
✨ Text decoration fixes (#7066)
* ✨ Show text more options when apply text decoration token

* 🐛 Fix placeholder
2025-08-06 16:23:38 +02:00
Andrey Antukh
433e61bc4e Merge remote-tracking branch 'origin/staging' into develop 2025-08-04 11:52:24 +02:00
Andrei Fëdorov
818b03d8f2
✨ Add text decoration token (#7049) 2025-08-04 10:47:09 +02:00
Eva Marco
905699d15a
✨ Add info to apply-token events (#7050) 2025-08-01 14:00:30 +02:00
Andrey Antukh
e55d184d2b Merge remote-tracking branch 'origin/staging' into develop 2025-08-01 13:13:56 +02:00
Andrey Antukh
283eb0419c ♻️ Refactor time related namespaces
Mainly removes the custom app.util.time namespace
from frontend and backend and normalize all to use
the app.common.time namespace
2025-08-01 11:20:01 +02:00
Eva Marco
95dda2b1af
🐛 Fix stroke width token application (#7039) 2025-07-31 14:59:48 +02:00
Andrey Antukh
b46e9ee065 Merge remote-tracking branch 'origin/staging' into develop 2025-07-31 12:22:14 +02:00
Eva Marco
5d44c88988
🐛 Fix token pill not showing position application on dimension token type (#7018) 2025-07-30 14:24:10 +02:00
Andrey Antukh
54d76123d0 Merge remote-tracking branch 'origin/staging' into develop 2025-07-29 14:06:53 +02:00
Florian Schrödl
4c605b8151
✨ Implement text case token (#6978) 2025-07-28 17:36:06 +02:00
Florian Schroedl
58a843ea23 ✨ Remove token when applying tyopgraphic asset style 2025-07-24 17:51:53 +02:00
Florian Schroedl
4189d01844 ✨ Remove token when applying tyopgraphic asset style 2025-07-24 17:14:04 +02:00
Andrés Moya
57330f53e2 🔧 Use id instead of name for tokens crud 2025-07-24 15:21:18 +02:00
Florian Schroedl
1f15e9b81e ✨ Fix spacing token for frame children 2025-07-24 11:01:49 +02:00
Florian Schroedl
c82c39caf3 ✨ Fix spacing token for frame children 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
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
Andrey Antukh
b6863efb3a
Merge pull request #6874 from penpot/xaviju-11355-tokens-import-details-layout
✨ Improve legibility on import token notification details
2025-07-21 11:54:08 +02:00
Florian Schroedl
9c5a13c4ac ✨ Enable font-size token 2025-07-11 10:37:17 +02:00
Xavier Julian
77a47e4b2b ✨ Improve legibility on import token notification details 2025-07-08 15:09:50 +02:00
Andrés Moya
88bb9bfe52 🐛 Detach styles from assets when applying tokens 2025-07-08 13:15:45 +02:00
Xavier Julian
8f840daa91 ✨ Improve token import error copy 2025-07-07 09:59:57 +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
Andrés Moya
f0f01af55c 🔧 Make TokenSet an abstract data type 2025-06-30 16:59:00 +02:00
Xavier Julian
6de9de9e38 ✨ Add new metric for token update and provide token type 2025-06-30 13:21:49 +02:00
Florian Schroedl
fe91201431 ✨ Keep warning for unsupported token types when FF is disabled 2025-06-24 15:41:24 +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
Andrey Fedorov
130cd52f79 ✨ Notify user if imported file or directory doesn't contain token files 2025-06-23 11:44:00 +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
Eva Marco
3abc8774f6
♻️ Change translation string from workspace.token to workspace.tokens (#6508)
* ♻️ Change string translation for tokens

* ♻️ Apply find-and-replace on translation files

---------

Co-authored-by: Andrey Antukh <niwi@niwi.nz>
2025-05-21 11:17:05 +02:00
Eva Marco
8f7c63d6e2
✨ Add base font fallback (#6468)
* ✨ Add base font fallback

* ♻️ Add asserts to change-builder

* 🐛 Change fn name
2025-05-20 17:27:04 +02:00
Florian Schroedl
31f642ed25 ♻️ Use rx streams for style dictionary interface 2025-05-20 14:55:07 +02:00
Xavier Julian
c0eaa75232 💄 Fix errors UI on input token for value 2025-05-12 12:03:23 +02:00
Alejandro Alonso
0828994840
Merge pull request #6419 from penpot/niwinz-refactor-library
♻️ Refactor penpot library
2025-05-12 11:47:00 +02:00
Andrey Antukh
66ee9edaf8 ✨ Add minor enhacements and naming fixes on schemas 2025-05-07 12:17:24 +02:00
Andrés Moya
e52fd90963
💄 Add copyright header to all tokens source files (#6389) 2025-05-01 10:06:17 +02:00
Andrés Moya
b14798b405 🔧 Make private function 2025-04-29 10:28:00 +02:00
Andrés Moya
8382a88efe 🔧 Move errors and warnings to workspace.data 2025-04-29 10:27:56 +02:00