Skip to content

Commit 2b9e872

Browse files
Update styling-with-css.mdx
Added section about storing CSS
1 parent 25d0104 commit 2b9e872

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/content/docs/design/customize-with-code/styling-with-css.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ For example, you can:
1818
- Set the primary button’s background color with `--kinde-button-primary-background-color`.
1919
- Set the color of a form field’s invalid message with `--kinde-control-associated-text-invalid-message-color` (or use `--kinde-shared-color-invalid` for a more global approach).
2020

21+
## Storing your CSS and other asset files
22+
23+
We know you will want to use assets like stylesheets, fonts and images. Kinde does not currently offer hosting for these static assets and you will need to host them yourself.
24+
25+
We recommend storing them on servers that share the same domain as your custom domain. For example, if you are using the custom domain auth.myapp.com you could host your external fonts, images and CSS files at assets.myapp.com and they would be accessible in your code.
26+
2127
## Define settings in your CSS
2228

2329
Kinde settings are standard CSS custom properties, making them easy to integrate into your custom CSS. You can also map your own design tokens or custom properties to Kinde settings for added consistency.

0 commit comments

Comments
 (0)