diff --git a/README.md b/README.md new file mode 100644 index 0000000..75a3edd --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +Creating Themes +=============== + +Themes are used to configure the look and feel of login pages and the account management console. + +Custom themes packaged in a JAR file should be deployed to the `${kc.home.dir}/providers` directory. After that, run +the `build` command to install them before starting the server. + +You are also able to create your custom themes in this directory, directly. Themes within this directory do not require +the `build` command to be installed. + +When running the server in development mode using `start-dev`, themes are not cached so that you can easily work on them without a need to restart +the server when making changes. + +See the theme section in the [Server Developer Guide](https://www.keycloak.org/docs/latest/server_development/#_themes) for more details about how to create custom themes. + +Overriding the built-in templates +--------------------------------- + +While creating custom themes, especially when overriding templates, it may be useful to use the built-in templates as +a reference. These can be found within the theme directory of `../lib/lib/main/org.keycloak.keycloak-themes-26.1.2.jar`, which can be opened using any +standard ZIP archive tool. + +**Built-in themes should not be modified directly, instead a custom theme should be created.** \ No newline at end of file diff --git a/login/resources/css/styles.css b/cccsbg/login/resources/css/styles.css similarity index 100% rename from login/resources/css/styles.css rename to cccsbg/login/resources/css/styles.css diff --git a/login/resources/img/background.svg b/cccsbg/login/resources/img/background.svg similarity index 100% rename from login/resources/img/background.svg rename to cccsbg/login/resources/img/background.svg diff --git a/login/resources/img/logo.png b/cccsbg/login/resources/img/logo.png similarity index 100% rename from login/resources/img/logo.png rename to cccsbg/login/resources/img/logo.png diff --git a/login/resources/img/logo.svg b/cccsbg/login/resources/img/logo.svg similarity index 100% rename from login/resources/img/logo.svg rename to cccsbg/login/resources/img/logo.svg diff --git a/login/template.ftl b/cccsbg/login/template.ftl similarity index 100% rename from login/template.ftl rename to cccsbg/login/template.ftl diff --git a/login/theme.properties b/cccsbg/login/theme.properties similarity index 100% rename from login/theme.properties rename to cccsbg/login/theme.properties