Package exporting Newskit compatible themes 🎨 for Times Radio
Use your favourite package manager to install @newskit-themes/times-radio
npm install @newskit-themes/times-radio
yarn add @newskit-themes/times-radio
TR-dark.json TR-light.json
// To import themes in json format import {newskitLightTheme} from 'newskit'; import TRDark from '@newskit-themes/times-radio/TR-dark.json' // compiling and merging it with a base theme export const timesRadioTheme = createTheme({ name: 'times-radio-theme', baseTheme: newskitLightTheme, overrides: TRDark, }); ... < ThemeProvider theme={timesRadioTheme}> < Container>{children}< /Container> < /ThemeProvider> // To import themes in CSS variables format to CSS files (Currently only the sun & talktv are supported) @import '@newskit-themes/the-sun/thesun-light.css' @import '@newskit-themes/talktv/talktv-light.css';