Update KcApp.tsx

Signed-off-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
This commit is contained in:
Joseph Garrone 2023-02-26 18:26:53 +01:00 committed by GitHub
parent 2abca7c1b1
commit 7b231748a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,8 +19,10 @@ const Info = lazy(()=> import("keycloakify/lib/pages/Info"));
const kcProps: KcProps = { const kcProps: KcProps = {
...defaultKcProps, ...defaultKcProps,
// NOTE: The classes are defined in ./KcApp.css // NOTE: The classes are defined in ./KcApp.css
"kcHeaderWrapperClass": "my-color my-font", // You can add your classes alongside thoses that are present in the default Keycloak theme...
"kcHtmlClass": [...defaultKcProps.kcHtmlClass, "my-root-class"], "kcHtmlClass": [...defaultKcProps.kcHtmlClass, "my-root-class"],
// ...or overwrite
"kcHeaderWrapperClass": "my-color my-font"
}; };
export default function App(props: { kcContext: KcContext; }) { export default function App(props: { kcContext: KcContext; }) {