@newskit-themes/market-watch

0.0.2 • Public • Published

Package exporting Newskit compatible themes 🎨 for Market Watch

📦 Install

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

npm install @newskit-themes/market-watch
yarn add @newskit-themes/market-watch

🔖 Current themes available:

MarketWatch-dark.json
MarketWatch-light.json

✍️ Usage

  // To import themes in json format
  
  import {newskitLightTheme} from 'newskit';
  import MarketWatchDark from '@newskit-themes/market-watch/MarketWatch-dark.json'

  // compiling and merging it with a base theme
  export const marketWatchTheme = createTheme({
    name: 'market-watch-theme',
    baseTheme: newskitLightTheme,
    overrides: MarketWatchDark,
  });

  ...
  
  < ThemeProvider theme={marketWatchTheme}>
    < 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/market-watch

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

41.3 kB

Total Files

6

Last publish

Collaborators

  • newskit