JSPM

@newskit-themes/market-watch

0.0.0-d93aa8238
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 32
    • Score
      100M100P100Q88938F
    • License MIT

    Package Exports

    • @newskit-themes/market-watch
    • @newskit-themes/market-watch/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@newskit-themes/market-watch) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

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