0.0.0-66495ee17 • Published 1 year ago

@newskit-themes/thesun v0.0.0-66495ee17

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Package exporting Newskit compatible themes for the-sun

Current themes available:

the-sun-default-football.json the-sun-default.json

How to import and use themes

Given a themes package for a specific brand "newskit-themes-brandname", where "brandname" will change accordingly to the brand and a theme .json file called "new-theme.json", you can import the theme and use it in your React application as follow:

// compiling and merging it with a base theme export const newThemeWithBase = createTheme({ name: 'new-theme-with-base', baseTheme: baseTheme, overrides: newTheme, });

...