halstack-react
halstack-react copied to clipboard
New tokens arquitecture POC
Checklist
- [x] The build process is done without errors. All tests pass in the
/libdirectory. - [x] Self-reviewed the code before submitting.
- [x] Meets accessibility standards.
- [x] Added/updated documentation to
/websiteas needed. - [x] Added/updated tests as needed.
Purpose A test for the new tokens architecture.
Description This PR includes:
- New CSS files for global styling:
fonts.cssandtokens.css. inyectStylesflag for default styling within the library build.- New exported function
setCustomTheme(provisional name) for application-level theming (only once intented per application). - New exported provider
HalstackThemeProvider(provisional name) for dynamic and specific theming strategies. - Button code page example.