-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add base styles file and refactor styles in boilerplate app #2717
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
One minor fix to make I think, otherwise good to go!
container: { | ||
paddingTop: spacing.lg + spacing.xl, | ||
paddingHorizontal: spacing.lg, | ||
} as ViewStyle, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These look to only appear on the demo app screens. We should wrap a comment block around here for removing this block since it'll be unused if/when the user removes the demo code.
You can test the difference with --remove-demo
(or the Y flag when it asks if you want to remove the demo app) and see that it gets removed or remains accordingly.
container: { | |
paddingTop: spacing.lg + spacing.xl, | |
paddingHorizontal: spacing.lg, | |
} as ViewStyle, | |
// @demo remove-block-start | |
container: { | |
paddingTop: spacing.lg + spacing.xl, | |
paddingHorizontal: spacing.lg, | |
} as ViewStyle, | |
// @demo remove-block-end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fpena be sure to also add this file to the remove file: test/vanilla/__snapshots__/ignite-remove-demo.test.ts.snap
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
🎉 This PR is included in version 10.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Please verify the following:
yarn test
jest tests pass with new tests, if relevantyarn lint
eslint checks pass with new code, if relevantyarn format:check
prettier checks pass with new code, if relevantREADME.md
(or relevant documentation) has been updated with your changesDescribe your PR
This PR:
boilerplate/app/theme/styles.ts