1.1.8 • Published 3 days ago

@specific-group/spg-design-system v1.1.8

Weekly downloads
-
License
ISC
Repository
-
Last release
3 days ago

Getting started

A quick tutorial to get you up and running with SPG Design system.

Prerequisites

First, you need to make sure that you have a working Tailwindcss CSS and Angular Material (>=v15) project installed.

:pushpin: Iconography

In documentation we are using Phosphor Icons as icon pack. you can use other icon packs as well but we suggest to use Phosphor Icons or Angular Icons (ng-icons) icon packs. we do not guarantee other icon pack works well with our styles.

1. Install the SPG Design system

install SPG design system via npm

npm i @specific-group/spg-design-system

2. Configure tailwindcss

Add the paths to all of your template files in your tailwind.config.js file.

module.exports = {
  content: ["./src/**/*.{html,ts}"],
  darkMode: "class",
  plugins: [require("@specific-group/spg-design-system/plugin/global.config")],
};

3. Add style files to your global SCSS

Import the tailwindcss and SPG Design system style and config font family for angular material components.

@tailwind base;
@tailwind components;
@tailwind utilities;
@import "@specific-group/spg-design-system/styles/core/mat-mdc-config";
@import "@specific-group/spg-design-system/styles/style";

Note: you don't need to import angular material style in angular.json file and you can remove it.

3.0.0-beta.3

4 days ago

3.0.0-beta.4

3 days ago

3.0.0-beta.2

8 days ago

3.0.0-beta.1

12 days ago

2.0.0-rc.1

3 months ago

2.0.0-beta.3

4 months ago

2.0.0-beta.2

5 months ago

2.0.0-beta.1

5 months ago

1.1.1

9 months ago

1.1.0

10 months ago

1.1.8

6 months ago

1.1.7

7 months ago

1.1.6

8 months ago

1.1.5

9 months ago

1.1.4

9 months ago

1.1.3

9 months ago

1.1.2

9 months ago

2.0.0-beta.0

6 months ago

1.1.6-next.2

9 months ago

1.1.6-next.3

9 months ago

1.1.6-next.4

8 months ago

1.1.6-next.1

9 months ago

1.0.1

11 months ago

1.0.0

11 months ago

0.0.7

1 year ago

0.0.3

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.6

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago