1.1.8 • Published 1 year ago

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

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year 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

1 year ago

3.0.0-beta.4

1 year ago

3.0.0-beta.2

1 year ago

3.0.0-beta.1

1 year ago

2.0.0-rc.1

1 year ago

2.0.0-beta.3

1 year ago

2.0.0-beta.2

2 years ago

2.0.0-beta.1

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

2.0.0-beta.0

2 years ago

1.1.6-next.2

2 years ago

1.1.6-next.3

2 years ago

1.1.6-next.4

2 years ago

1.1.6-next.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.7

2 years ago

0.0.3

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.6

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago