JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 657
  • Score
    100M100P100Q153882F
  • License MIT

Package Exports

  • @newskit-themes/the-sun
  • @newskit-themes/the-sun/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/the-sun) 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 The Sun

📦 Install

Use your favourite package manager to install @newskit-themes/the-sun.

npm install @newskit-themes/the-sun
yarn add @newskit-themes/the-sun

🔖 Current themes available:

TheSun-dark-fabulous.json
TheSun-dark-football.json
TheSun-dark-health.json
TheSun-dark-lifestyle.json
TheSun-dark-money.json
TheSun-dark-motors.json
TheSun-dark-news.json
TheSun-dark-showbiz.json
TheSun-dark-sport.json
TheSun-dark-tech.json
TheSun-dark-travel.json
TheSun-dark-tv.json
TheSun-dark.json
TheSun-light-fabulous.json
TheSun-light-football.json
TheSun-light-health.json
TheSun-light-lifestyle.json
TheSun-light-money.json
TheSun-light-motors.json
TheSun-light-news.json
TheSun-light-showbiz.json
TheSun-light-sport.json
TheSun-light-tech.json
TheSun-light-travel.json
TheSun-light-tv.json
TheSun-light.json

✍️ Usage

  import {newskitLightTheme} from 'newskit';
  import TheSunDarkFabulous from '@newskit-themes/the-sun/TheSun-dark-fabulous.json'

  // compiling and merging it with a base theme
  export const theSunTheme = createTheme({
    name: 'the-sun-theme',
    baseTheme: newskitLightTheme,
    overrides: TheSunDarkFabulous,
  });

  ...
  
  < ThemeProvider theme={theSunTheme}>
    < Container>{children}< /Container>
  < /ThemeProvider>