@newskit-themes/times-radio

0.0.2 • Public • Published

Package exporting Newskit compatible themes 🎨 for Times Radio

📦 Install

Use your favourite package manager to install @newskit-themes/times-radio

npm install @newskit-themes/times-radio
yarn add @newskit-themes/times-radio

🔖 Current themes available:

TR-dark.json
TR-light.json

✍️ Usage

  // 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';

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @newskit-themes/times-radio

      Weekly Downloads

      1

      Version

      0.0.2

      License

      MIT

      Unpacked Size

      39.7 kB

      Total Files

      6

      Last publish

      Collaborators

      • newskit