Skip to content

Commit

Permalink
docs(*): update theming
Browse files Browse the repository at this point in the history
  • Loading branch information
clukhei committed Oct 29, 2024
1 parent ba56678 commit 74a7f62
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Install SGDS web components locally with the following command

```js

npm install @govtechsg/sgds-web-component
npm install @govtechsg/sgds-web-component<version>
// Loading the polyfill is not always required
npm install @webcomponents/scoped-custom-element-registry@0.0.9

Expand Down
12 changes: 9 additions & 3 deletions docs/Theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ Customize the styles at the `:root` level by overriding the values of css tokens
```css
// yourCustomCss.css
:root {
--sgds-primary: #1f69ff;
--sgds-success-500: #3bb346;
--sgds-gray-500: #667085;
--sgds-brand-100: #F5B6DA;
--sgds-brand-200: #F186C0;
--sgds-brand-300: #EE4FA6;
--sgds-brand-400: #EE0290;
--sgds-brand-500: #EF0078;
--sgds-brand-600: #DD0074;
--sgds-brand-700: #C6006E;
--sgds-brand-800: #B0006A;
--sgds-brand-900: #880061;
}
```
``` jsx
Expand Down

0 comments on commit 74a7f62

Please sign in to comment.