Skip to content

Commit

Permalink
feat: add support for alliance no
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaalvarezd committed May 21, 2024
1 parent 2726780 commit 78da53a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<link rel="stylesheet" href="https://webassets.iota.org/api/protected?face=alliance-no1" />
<link rel="stylesheet" href="https://webassets.iota.works/api/protected?face=alliance-no2" />
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Add the UI Kit to your project with Yarn:
yarn add @iota/ui-kit
```

To be able to use the fonts you need to add the following link to the head in the HTML. `<link rel="stylesheet" href="https://webassets.iota.org/api/protected?face=alliance-no1" />`
To be able to use the fonts you need to add the following link to the head in the HTML. `<link rel="stylesheet" href="https://webassets.iota.org/api/protected?face=alliance-no2" />`

## Usage 📦

Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants/tailwind.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ interface IFontFamily {
}

export const FONT_FAMILY_CLASS: IFontFamily = {
primary: 'font-alliance-no1',
primary: 'font-alliance-no2',
secondary: 'font-inter',
}

Expand Down
1 change: 1 addition & 0 deletions src/lib/tailwind/tailwind.preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default {
extend: {
fontFamily: {
'alliance-no1': ['AllianceNo1', 'sans-serif'],
'alliance-no2': ['AllianceNo2', 'sans-serif'],
inter: ['Inter', 'sans-serif'],
},
padding: {
Expand Down

0 comments on commit 78da53a

Please sign in to comment.