diff --git a/.changeset/giant-birds-eat.md b/.changeset/giant-birds-eat.md new file mode 100644 index 0000000000..6e73b30e96 --- /dev/null +++ b/.changeset/giant-birds-eat.md @@ -0,0 +1,15 @@ +--- +'@rainbow-me/rainbowkit': patch +--- + +Add `fontStack` option to built-in themes, supporting `"rounded"` and `"system"` variants. + +You can now opt out of using [SF Pro Rounded,](https://developer.apple.com/fonts) using default system fonts instead. + +**Example usage** + +```tsx +const theme = lightTheme({ + fontStack: 'system', +}); +``` diff --git a/README.md b/README.md index 3610d9ab7d..2c3f5c0765 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,12 @@ The built-in theme functions also accept an options object, allowing you to sele
"large"
fontStack
"rounded" | "system"
"rounded"