mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 14:12:36 -05:00
Add - to allowed token-name
This commit is contained in:
parent
174d91a519
commit
a98f59469e
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
Caution: This will allow a trailing dot like `token-name.`,
|
Caution: This will allow a trailing dot like `token-name.`,
|
||||||
But we will trim that in the `finalize-name`,
|
But we will trim that in the `finalize-name`,
|
||||||
to not throw too many errors while the user is editing."
|
to not throw too many errors while the user is editing."
|
||||||
#"([a-zA-Z0-9]+\.?)*")
|
#"([a-zA-Z0-9-]+\.?)*")
|
||||||
|
|
||||||
(def valid-token-name-schema
|
(def valid-token-name-schema
|
||||||
(m/-simple-schema
|
(m/-simple-schema
|
||||||
|
|
Loading…
Add table
Reference in a new issue