@detachhead/smui-theme

7.0.0-beta.0-7aa154b58dd17d39757ade237397a003da4f0bdc • Public • Published

Svelte Material UI - Theme Builder

A helper package for compiling SMUI styles.

Installation

npm install --save-dev smui-theme

Getting Started

Try these.

npx smui-theme template src/theme
npx smui-theme compile build/smui.css -i src/theme
npx smui-theme compile build/smui-dark.css -i src/theme/dark

Usage

Run npx smui-theme

smui-theme [command]

Commands:
  smui-theme compile <output>     Compile SMUI styles
  smui-theme template <location>  Create an SMUI theme template in a given
                                  directory
  smui-theme completion           generate completion script

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Compile Command

smui-theme compile <output>

Compile SMUI styles

Positionals:
  output  The output file to write CSS to.                   [string] [required]

Options:
      --version       Show version number                              [boolean]
      --help          Show help                                        [boolean]
  -i, --includes      Sass include paths.                  [array] [default: []]
  -s, --output-style  CSS output style.
            [string] [choices: "compressed", "expanded"] [default: "compressed"]

Template Command

smui-theme template <location>

Create an SMUI theme template in a given directory

Positionals:
  location  The output directory. If it doesn't exist, it will be created.
                                                             [string] [required]

Options:
      --version       Show version number                              [boolean]
      --help          Show help                                        [boolean]
  -d, --include-dark  Include a dark theme.            [boolean] [default: true]

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
7.0.0-beta.0-7aa154b58dd17d39757ade237397a003da4f0bdc0latest
7.0.0-alpha.00canary

Version History

VersionDownloads (Last 7 Days)Published
7.0.0-beta.0-7aa154b58dd17d39757ade237397a003da4f0bdc0
7.0.0-beta.0-bde6dbb20b13d0f01bfbfb6daf901b112a786afe0
7.0.0-beta.0-da72427f50f3b64dca46e0a9d9504524848cfb0e1
7.0.0-alpha.00

Package Sidebar

Install

npm i @detachhead/smui-theme

Weekly Downloads

1

Version

7.0.0-beta.0-7aa154b58dd17d39757ade237397a003da4f0bdc

License

Apache-2.0

Unpacked Size

20.8 kB

Total Files

55

Last publish

Collaborators

  • detachhead