@kamiapp/theme
TypeScript icon, indicating that this package has built-in type declarations

0.8.0 • Public • Published

<kami-theme>

This component contains the default theme of the collection called kami-theme. It also contains a base class to create your own theme. This base class provide a support for light and dark mode.

Usage

Install the component using npm or yarn or pnpm :

$ npm install --save @kamiapp/theme

Import the component into your main js/ts file :

import '@kamiapp/markdown';
import '@kamiapp/theme';

And use the component directly into your html :

<kami-theme mode="dark">
  <kami-markdown>
    <script type="text/markdown">
      # H1
    </script>
  </kami-markdown>
</kami-theme>

Documentation

To get more informations about this component you can go to the kami-theme section into the kami collection site web. See the documentation at collection.kamiapp.fr to get more information about how to use each components. You will also find a playground section to test all components.

Readme

Keywords

none

Package Sidebar

Install

npm i @kamiapp/theme

Weekly Downloads

9

Version

0.8.0

License

none

Unpacked Size

311 kB

Total Files

9

Last publish

Collaborators

  • emilienleroy