ThemeConfiguration.js revision ad920a5855b8eda16e20b7299c1f8b5f6771166d
2362N/A * The contents of this file are subject to the terms of the Common Development and 1967N/A * Distribution License (the License). You may not use this file except in compliance with the 1967N/A * specific language governing permission and limitations under the License. 1967N/A * When distributing Covered Software, include this CDDL Header Notice in each file and include 1967N/A * Header, with the fields enclosed by brackets [] replaced by your own identifying 1967N/A * information: "Portions copyright [year] [name of copyright owner]". 1967N/A * Copyright 2015 ForgeRock AS. 2362N/A // There must be a theme named "default". 2362N/A // An ordered list of URLs to stylesheets that will be applied to every page. 1967N/A // A path that is prepended to every relative URL when fetching resources (including images, stylesheets and 1967N/A // This logo is displayed on user profile pages. 1967N/A // The title attribute used on <img> tags. 1967N/A // The alt attribute used on <img> tags. 1967N/A // This logo is displayed on login pages. 1967N/A // The title attribute used on <img> tags. // The alt attribute used on <img> tags. // The height of the logo as a CSS length. // The width of the logo as a CSS length. // The footer is displayed on every page. // A contact email address. // A contact phone number. If empty, it will not be displayed. // An ordered list of URLs to stylesheets that will be applied to every page. // Each mapping will be tested in order. The theme from the first matching mapping will be used. If no mapping // matches then the theme "default" will be used. // Use the theme with the key "my-theme" if the realm is either /my-realm or /my/sub-realm. //{ theme: "my-theme", realms: ["/my-realm", "/my/sub-realm"] } // Use the theme "my-second-theme" if the realm starts with /a. e.g. /ab or /a/c. //{ theme: "my-second-theme", realms: [/^\/a/] } // Use the theme "my-third-theme" if the realm is /a and the authentication chain is auth-chain-1. //{ theme: "my-third-theme", realms: ["/a"], authenticationChains: ["auth-chain-1"] } // Use the theme "my-fourth-theme" if the default authentication chain is in use. //{ theme: "my-fourth-theme", authenticationChains: [""] }