JSPM

  • Created
  • Published
  • Downloads 5136
  • Score
    100M100P100Q127813F
  • License Apache-2.0

Svelte Material UI - Theme Builder

Package Exports

    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 (smui-theme) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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]