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

chore: update Alloy defaults #1366

Merged
merged 2 commits into from
Jan 3, 2024
Merged

chore: update Alloy defaults #1366

merged 2 commits into from
Jan 3, 2024

Conversation

m1ga
Copy link
Contributor

@m1ga m1ga commented Oct 21, 2023

Have some better defaults when working with Alloy:

  • remove the "metal" part from the readme
  • only keep one (useful) TSS class example in the default TSS comment. Most users will remove it right away.
  • make var args to const args
  • add a Window instead of a View to the default View. This will run when you create a new controller and in my opinion it's more likely that you are creating a Window instead of just a View.
    • it still needs a class otherwise it won't create a TSS file
  • remove the color from the widget default. Will always mess with dark mode

@ewanharris ewanharris merged commit 29a8a54 into master Jan 3, 2024
5 checks passed
@ewanharris ewanharris deleted the defaults branch January 3, 2024 21:01
@m1ga
Copy link
Contributor Author

m1ga commented Jan 3, 2024

Awesome, thanks for merging it 👍

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.

2 participants