Installation

@angular-package/spectre.css installation

There are 4 ways to get started with Spectre CSS framework in your projects. You can either install manually, from CDN or via NPMarrow-up-right, or yarnarrow-up-right.

Install

Manually

Download the compiled and minified Spectre CSS filearrow-up-right (core ~30kB min+tar):

Download Spectre.cssarrow-up-right

Include spectre.min.css located in /dist in your website or Web app . Also, you can add spectre-icons.min.css and spectre-exp.min.css accordingly.

<link rel="stylesheet" href="spectre.min.css">
<link rel="stylesheet" href="spectre-exp.min.css">
<link rel="stylesheet" href="spectre-icons.min.css">

From CDN

Alternatively, you can use the unpkgarrow-up-right to load compiled Spectre.css.

<link rel="stylesheet" href="https://unpkg.com/@angular-package/spectre.css/dist/spectre.min.css">
<link rel="stylesheet" href="https://unpkg.com/@angular-package/spectre.css/dist/spectre-exp.min.css">
<link rel="stylesheet" href="https://unpkg.com/@angular-package/spectre.css/dist/spectre-icons.min.css">

With NPM

With Yarn

Last updated