Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow spaces in token names #339

Merged
merged 3 commits into from
Nov 28, 2021
Merged

Allow spaces in token names #339

merged 3 commits into from
Nov 28, 2021

Conversation

six7
Copy link
Collaborator

@six7 six7 commented Nov 28, 2021

This PR changes aliasRegex to also allow spaces in token names. Might need more refinement to filter out cases that contain a space at the beginning but for now that's enough.

Resolves #323

@vercel
Copy link

vercel bot commented Nov 28, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/six7/figma-tokens/9pU5s4K9TdzGXe2w6qeiq1ERPXDJ
✅ Preview: https://figma-tokens-git-fixes-spaces-token-names-six7.vercel.app

@six7 six7 merged commit 60b2861 into release-69 Nov 28, 2021
six7 added a commit that referenced this pull request Nov 28, 2021
* Box shadows (#306)

* add support for multiple box shadows

* fix color evaluation

* remove logs

* remove logs

* revert css removal

* remove line

* remove code not part of boxShadows

* fix alias calculation (#307)

* fix lightOrDark visualization by converting hsla before calculating (#311)

* fix lightOrDark visualization by converting hsla before calculating

* fix tests

* fixes #295 (#304)

* fixes #295

* add spec

* add textCase and textDecoration (#303)

* add textCase and textDecoration

* add tests

* add more tests

* add transforms to allow users to type lowercase

* add tests and transforms

* introduce small_caps and small_caps_forced

* remove log

* add type props

* add working pull/update with json

* add catch for lightOrDark

* fix removal of documentation tokens

* move extraProperties to upper layer so isActive works

* bump release

* add edit boxshadow ui

* add pretty import dialog

* fix shadow input not updating, styling

* add test for filterMatchingStyle

* add tests for setEffectValuesOnTarget

* add tests for setValuesOnNode

* update tests for updateStyles

* add test for tokenHelper array

* add cypress tests

* add cypress spec

* fixes #331

* remove log

* fix apply shadows

* GitHub sync enterprise support & optimizations (#329)

* add working gh enterprise sync

* Add baseUrl to permission check

* remove console log

* fix unexpected pull

* add checks for future optimizations

* add tests

* add permission check to restoring

* fix git sync permissions

* fix duplicate keys

* show error when bad credentials

* fix cancel import

* Allow spaces in token names (#339)

* allow spaces in token names

* remove unneccessary escape

fixes #323

* fix spec

* Update tokens.spec.js

* Update tokens.spec.js

* fix dnd

* bump release
@six7 six7 deleted the fixes-spaces-token-names branch November 29, 2021 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant