77 Commits

Author SHA1 Message Date
David Barragán Merino
66b1d5b7bd Merge remote-tracking branch 'origin/staging' into develop 2025-09-16 16:26:23 +02:00
Pablo Alba
18d5b84b00
🐛 Fix variants events (#7320)
* 🐛 Add missing event add-component-to-variant

* 🐛 Fix event apply-tokens, param applied-to-variant

* 🐛 Fix missing case on event "add new variant"

* 🐛 Fix event combine-as-variants

* 🐛 Fix event variant-edit-property-name

* 🐛 On variants events, change trigger for origin

* 🐛 Split combine-as-variants to not have an optional first parameter
2025-09-16 13:09:23 +02:00
Eva Marco
aecaf51953
✨ Add color token on colorpicker (#7197)
* ✨ Add token aplication to colorpicker

* 🐛 Change fn name

* 🐛 Change scss from file

* 🐛 Change color for direct-color

* 🐛 Remove vector from fns

* 🐛 Fix CI

* 🐛 Change color-option name

* 🐛 Fix comments

* 🐛 Remove sets without color tokens
2025-09-11 09:13:43 +02:00
Alejandro Alonso
43a238a896 Merge remote-tracking branch 'origin/staging' into develop 2025-09-09 08:40:35 +02:00
Florian Schrödl
8aed47dad3
✨ Allow references to other typography tokens (#7251) 2025-09-08 16:45:18 +02:00
Pablo Alba
06441063f2 ✨ Add "advanced" events to variants 2025-09-08 15:33:14 +02:00
Florian Schroedl
18e6842e35 ♻️ Revert trigger interactive via actionize and propagation 2025-09-03 10:10:34 +02:00
Florian Schroedl
c4481be39f ♻️ Revert trigger interactive via actionize and propagation 2025-09-03 09:42:40 +02:00
Florian Schroedl
fc5e4a821b ♻️ Use interactive update functions only on user actions 2025-08-29 13:38:41 +02:00
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