-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
3c07f2c
commit 468ff98
Showing
4 changed files
with
35 additions
and
1 deletion.
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,14 @@ | ||
import { ThemeConfig } from "tailwindcss/types/config"; | ||
|
||
const borderRadius: Pick<Partial<ThemeConfig>, "borderRadius"> = { | ||
// !!! We replace the default Tailwind CSS borderRadius scale with our own | ||
borderRadius: { | ||
none: "0px", | ||
DEFAULT: "1rem", | ||
md: "1.5rem", | ||
lg: "2rem", | ||
full: "9999px", | ||
}, | ||
}; | ||
|
||
export default borderRadius; |
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,15 @@ | ||
import { ThemeConfig } from "tailwindcss/types/config"; | ||
|
||
const spacing: Pick<Partial<ThemeConfig>, "spacing"> = { | ||
// We're adding these as a default spacing scale, but feel free to use any multiplies of 0.25rem as part of default Tailwind CSS spacing scale e.g. h-10 p-2 | ||
spacing: { | ||
xxs: "0.25rem", | ||
xs: "0.5rem", | ||
sm: "1rem", | ||
md: "1.5rem", | ||
lg: "2rem", | ||
xl: "3rem", | ||
}, | ||
}; | ||
|
||
export default spacing; |
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