diff --git a/docs/img/design-tokens/39-tokens-remap.webp b/docs/img/design-tokens/39-tokens-remap.webp new file mode 100644 index 0000000000..aee6744470 Binary files /dev/null and b/docs/img/design-tokens/39-tokens-remap.webp differ diff --git a/docs/user-guide/design-systems/design-tokens.njk b/docs/user-guide/design-systems/design-tokens.njk index b83b984a63..15373b1241 100644 --- a/docs/user-guide/design-systems/design-tokens.njk +++ b/docs/user-guide/design-systems/design-tokens.njk @@ -61,7 +61,10 @@ desc: Learn how to create, manage and apply Penpot Design Tokens using W3C DTCG
Tokens edit
-

Renaming tokens will break any references to their old names. If a token is already applied somewhere, you'll need to reapply it after renaming. This can lead to extra work, so rename with caution. We're actively working on a solution to handle this automatically, ensuring renamed tokens stay linked to their properties without additional effort.

+

When you rename a token that has references (like aliases, math operations, or applied tokens), Penpot will prompt you to remap those references to the new name. If you choose to remap, all references will be updated automatically, including token aliases, design tab inputs, tooltips, and any elements where the token is applied. If the file is a library, remapping will also update references in files that use that library. You can also choose not to remap if you prefer to keep the old references, though this will break the connections.

+
+ Tokens remap +

Duplicating a token

Tokens can be duplicated by right-clicking the token you wish to duplicate and selecting Duplicate token. This will create a copy of the selected token within the same set, with -copy added to its name.