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

Studio: generate-themes no token exports #2517

Open
sabaturgay opened this issue Apr 6, 2024 · 0 comments
Open

Studio: generate-themes no token exports #2517

sabaturgay opened this issue Apr 6, 2024 · 0 comments

Comments

@sabaturgay
Copy link

sabaturgay commented Apr 6, 2024

Current Behavior

I've encountered an issue where the output from the Tamagui generate-themes command does not match the instructions provided in the documentation. The exported const tokens is not found in theme-builder.ts as per the instructions.

Expected Behavior

Based on the documentation, I expected to successfully import themes and tokens as instructed for further use in my project.

Tamagui Version

1.94.1

Platform (Web, iOS, Android)

iOS

Reproduction

1- Run the theme generation command:  generate-themes ./path/to/theme-builder.ts ./theme-output.ts.
2- The documentation mentions importing tokens with: import { tokens } from './src/theme-builder'.

System Info

No response

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

No branches or pull requests

1 participant