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

feat(npm): add types and sass variables #22

Merged
merged 1 commit into from
May 18, 2021

Conversation

josokinas
Copy link
Contributor

@josokinas josokinas commented May 13, 2021

Purpose

Add types and Sass variables of all (base and theme) tokens available.

Approach

Auto-generate TypeScript types and Sass variables, make them accessible via index.ts and index.scss.

Testing

When integrating with Castor.

Risks

N/A

@josokinas josokinas requested a review from rabelloo May 13, 2021 14:59
@josokinas josokinas self-assigned this May 13, 2021
@josokinas josokinas force-pushed the feat/types-and-sass-variables branch from d8e5245 to 5c80e6a Compare May 13, 2021 15:05
@rabelloo
Copy link
Contributor

Since it's not auto generated, do we have to manually curate these when a token is added/removed/changed?

@josokinas josokinas force-pushed the feat/types-and-sass-variables branch from 5c80e6a to a8d286c Compare May 17, 2021 15:04
@josokinas
Copy link
Contributor Author

@rabelloo I have reworked this now so that Theo auto-generates all the definitions.

Let me know how does it look now.

@josokinas josokinas force-pushed the feat/types-and-sass-variables branch 2 times, most recently from 8aef843 to f181436 Compare May 17, 2021 15:19
@josokinas josokinas force-pushed the feat/types-and-sass-variables branch 3 times, most recently from a8270aa to 76403ea Compare May 18, 2021 11:34
@josokinas josokinas requested a review from rabelloo May 18, 2021 11:35
@josokinas josokinas force-pushed the feat/types-and-sass-variables branch from 76403ea to 62bb8f4 Compare May 18, 2021 12:24
@josokinas josokinas force-pushed the feat/types-and-sass-variables branch from 62bb8f4 to 34c013e Compare May 18, 2021 15:44
@josokinas josokinas merged commit 3f6ea6e into main May 18, 2021
@josokinas josokinas deleted the feat/types-and-sass-variables branch May 18, 2021 15:46
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.

3 participants