Page specific styles
So far the customization we have made applies to all the pages however you might want to have stylesheet specific to certain pages.
You can do that by loading different stylesheet and applying different classes depending on the kcContext.pageId
.
Implementation example, instead of importing our stylesheet at the top of the KcPage.tsx component file we import them dynamically:
src/login/KcPage.tsx
What's next?
At this point of the documentation, if you're looking for using tailwind you can go to this page:
Using TailwindElse you can skip directly to the next section:
Using Custom AssetsLast updated