@newskit-themes/talktv

0.2.1 • Public • Published

Package exporting Newskit compatible themes 🎨 for Talktv

📦 Install

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

npm install @newskit-themes/talktv
yarn add @newskit-themes/talktv

🔖 Current themes available:

TalkTV-dark.json
TalkTV-light.json
talktv-dark.css
talktv-light.css

✍️ Usage

  // To import themes in json format
  
  import {newskitLightTheme} from 'newskit';
  import TalkTVDark from '@newskit-themes/talktv/TalkTV-dark.json'

  // compiling and merging it with a base theme
  export const talktvTheme = createTheme({
    name: 'talktv-theme',
    baseTheme: newskitLightTheme,
    overrides: TalkTVDark,
  });

  ...
  
  < ThemeProvider theme={talktvTheme}>
    < 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';

Package Sidebar

Install

npm i @newskit-themes/talktv

Weekly Downloads

2

Version

0.2.1

License

MIT

Unpacked Size

65.1 kB

Total Files

10

Last publish

Collaborators

  • newskit