Update KcApp.tsx
Signed-off-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
This commit is contained in:
parent
2abca7c1b1
commit
7b231748a2
|
@ -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; }) {
|
||||||
|
|
Loading…
Reference in a new issue