-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
97 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@coinbase/onchainkit": patch | ||
--- | ||
|
||
- **feat**: introduce Inter font-family and internal text components. By @kyhyco #506 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
type TextBodyReact = { | ||
children: ReactNode; | ||
}; | ||
|
||
export function TextBody({ children }: TextBodyReact) { | ||
return ( | ||
<span className="text-sans text-base leading-normal text-black"> | ||
{children} | ||
</span> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
type TextCaptionReact = { | ||
children: ReactNode; | ||
}; | ||
|
||
/* istanbul ignore next */ | ||
export function TextCaption({ children }: TextCaptionReact) { | ||
return ( | ||
<span className="text-sans text-bold text-xs leading-4">{children}</span> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
type TextHeadlineReact = { | ||
children: ReactNode; | ||
}; | ||
|
||
export function TextHeadline({ children }: TextHeadlineReact) { | ||
return ( | ||
<span className="text-sans text-base leading-normal text-bold text-[#0A0B0D]"> | ||
{children} | ||
</span> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
type TextLabel1React = { | ||
children: ReactNode; | ||
}; | ||
|
||
/* istanbul ignore next */ | ||
export function TextLabel1({ children }: TextLabel1React) { | ||
return ( | ||
<span className="text-sans text-bold text-sm leading-5 text-[#0A0B0D]"> | ||
{children} | ||
</span> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
type TextLabel2React = { | ||
children: ReactNode; | ||
}; | ||
|
||
/* istanbul ignore next */ | ||
export function TextLabel2({ children }: TextLabel2React) { | ||
return ( | ||
<span className="text-sans text-sm leading-5 text-[#0A0B0D]"> | ||
{children} | ||
</span> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
type TextLegalReact = { | ||
children: ReactNode; | ||
}; | ||
|
||
/* istanbul ignore next */ | ||
export function TextLegal({ children }: TextLegalReact) { | ||
return <span className="text-sans text-xs leading-4">{children}</span>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { TextBody } from './TextBody'; | ||
export { TextHeadline } from './TextHeadline'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap'); | ||
@import url('./tailwind-base.css'); | ||
@import url('./index.css'); | ||
@import url('./index.css'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters