-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply new text components to token kit
- Loading branch information
Showing
9 changed files
with
90 additions
and
24 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,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,11 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
type TextCaptionReact = { | ||
children: ReactNode; | ||
}; | ||
|
||
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,13 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
type TextLabel1React = { | ||
children: ReactNode; | ||
}; | ||
|
||
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,13 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
type TextLabel2React = { | ||
children: ReactNode; | ||
}; | ||
|
||
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,9 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
type TextLegalReact = { | ||
children: ReactNode; | ||
}; | ||
|
||
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
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