From a2aaeff6e182d79bdd78206b418b2cae7b1071c9 Mon Sep 17 00:00:00 2001 From: Dan Moore Date: Thu, 13 Jun 2024 09:20:42 -0600 Subject: [PATCH] image urls had lowercase r and l (Url vs URL) which was incorrect based on the JSON objects and observed behavior for 1.51.0 --- .../docs/apis/themes/_simple-theme-request-body.mdx | 2 +- .../docs/apis/themes/_theme-simple-variables-request.mdx | 8 ++++---- .../docs/apis/themes/_theme-simple-variables-response.mdx | 4 ++-- astro/src/content/json/themes/responses.json | 4 ++-- astro/src/content/json/themes/search-response.json | 4 ++-- astro/src/content/json/themes/simple-request.json | 6 +++--- astro/src/content/json/themes/simple-response.json | 6 +++--- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/astro/src/content/docs/apis/themes/_simple-theme-request-body.mdx b/astro/src/content/docs/apis/themes/_simple-theme-request-body.mdx index a7a4a93bdb..850153c5e2 100644 --- a/astro/src/content/docs/apis/themes/_simple-theme-request-body.mdx +++ b/astro/src/content/docs/apis/themes/_simple-theme-request-body.mdx @@ -17,4 +17,4 @@ The type of the Theme. This value determines what content is required for the Theme. There are two distinct values. * `advanced` - This is the default FusionAuth theme type. This type allows for full customization of the html, css, and messaging via [Freemarker](https://freemarker.apache.org) templates. If a Theme is `advanced` then the theme.defaultMessages and theme.templates fields are required. The theme.defaultMessages should specify every message in the message bundle. See [Theme Localization](/docs/customize/look-and-feel/localization). * `simple` - A simple theme only requires a set of variables that will applied to css across the theme. If a Theme is `simple` then the theme.variables field is required. If a theme is `simple` then the theme.defaultMessages need only specify any text that you would like to change from what is included in theme. - \ No newline at end of file + diff --git a/astro/src/content/docs/apis/themes/_theme-simple-variables-request.mdx b/astro/src/content/docs/apis/themes/_theme-simple-variables-request.mdx index 7687353dc4..1ef5210629 100644 --- a/astro/src/content/docs/apis/themes/_theme-simple-variables-request.mdx +++ b/astro/src/content/docs/apis/themes/_theme-simple-variables-request.mdx @@ -9,14 +9,14 @@ import InlineField from 'src/components/InlineField.astro'; The color of the font in the alert message. [Colors](https://developer.mozilla.org/en-US/docs/Web/CSS/color) must be a valid hex color code, RGB, or HSL value. - + The url of the background image. Will replace the page background color. Must be a valid absolute URL. Specifies the [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) of the background image. Valid values are `repeat`, `contain`, and `cover`. - Required if theme.variables.backgroundImageUrl is provided. + Required if theme.variables.backgroundImageURL is provided. @@ -94,10 +94,10 @@ import InlineField from 'src/components/InlineField.astro'; The size of the logo image. Must be a valid numeric value with a `px`, `em`, or `rem` suffix. - Required if theme.variables.logoImageUrl is provided. + Required if theme.variables.logoImageURL is provided. - + The url of the logo image. Must be a valid absolute URL. Can be `null`. diff --git a/astro/src/content/docs/apis/themes/_theme-simple-variables-response.mdx b/astro/src/content/docs/apis/themes/_theme-simple-variables-response.mdx index 69a44c06e9..0fb113f89a 100644 --- a/astro/src/content/docs/apis/themes/_theme-simple-variables-response.mdx +++ b/astro/src/content/docs/apis/themes/_theme-simple-variables-response.mdx @@ -9,7 +9,7 @@ import InlineField from 'src/components/InlineField.astro'; The color of the font in the alert message. - + The url of the background image. Will replace the page background color. @@ -93,7 +93,7 @@ import InlineField from 'src/components/InlineField.astro'; The size of the logo image. - + The url of the logo image. diff --git a/astro/src/content/json/themes/responses.json b/astro/src/content/json/themes/responses.json index db1a412e7b..cc818f40c9 100644 --- a/astro/src/content/json/themes/responses.json +++ b/astro/src/content/json/themes/responses.json @@ -74,7 +74,7 @@ "variables": { "alertBackgroundColor": "#ffffff", "alertFontColor": "#ffffff", - "backgroundImageUrl": "https://example.com/mybackground.png", + "backgroundImageURL": "https://example.com/mybackground.png", "backgroundRepeat": "no-repeat", "backgroundSize": "cover", "borderRadius": "1.00rem", @@ -95,7 +95,7 @@ "linkTextFocusColor": "#cccccc", "logoImageDisplay": "flex", "logoImageSize": "7rem", - "logoImageUrl": "https://example.com/mylogo.png", + "logoImageURL": "https://example.com/mylogo.png", "monoFontColor": "#ffffff", "monoFontFamily": "monospace", "pageBackgroundColor": "#ffffff", diff --git a/astro/src/content/json/themes/search-response.json b/astro/src/content/json/themes/search-response.json index 791c93e4e7..52c1b0ac82 100644 --- a/astro/src/content/json/themes/search-response.json +++ b/astro/src/content/json/themes/search-response.json @@ -74,7 +74,7 @@ "variables": { "alertBackgroundColor": "#ffffff", "alertFontColor": "#ffffff", - "backgroundImageUrl": "https://example.com/mybackground.png", + "backgroundImageURL": "https://example.com/mybackground.png", "backgroundRepeat": "no-repeat", "backgroundSize": "cover", "borderRadius": "1.00rem", @@ -95,7 +95,7 @@ "linkTextFocusColor": "#cccccc", "logoImageDisplay": "flex", "logoImageSize": "7rem", - "logoImageUrl": "https://example.com/mylogo.png", + "logoImageURL": "https://example.com/mylogo.png", "monoFontColor": "#ffffff", "monoFontFamily": "monospace", "pageBackgroundColor": "#ffffff", diff --git a/astro/src/content/json/themes/simple-request.json b/astro/src/content/json/themes/simple-request.json index bdd657f705..4e7f84075b 100644 --- a/astro/src/content/json/themes/simple-request.json +++ b/astro/src/content/json/themes/simple-request.json @@ -13,7 +13,7 @@ "variables": { "alertBackgroundColor": "#ffffff", "alertFontColor": "#ffffff", - "backgroundImageUrl": "https://example.com/mybackground.png", + "backgroundImageURL": "https://example.com/mybackground.png", "backgroundRepeat": "no-repeat", "backgroundSize": "cover", "borderRadius": "1.00rem", @@ -34,7 +34,7 @@ "linkTextFocusColor": "#cccccc", "logoImageDisplay": "flex", "logoImageSize": "7rem", - "logoImageUrl": "https://example.com/mylogo.png", + "logoImageURL": "https://example.com/mylogo.png", "monoFontColor": "#ffffff", "monoFontFamily": "monospace", "pageBackgroundColor": "#ffffff", @@ -45,4 +45,4 @@ "primaryButtonTextFocusColor": "#cccccc" } } -} \ No newline at end of file +} diff --git a/astro/src/content/json/themes/simple-response.json b/astro/src/content/json/themes/simple-response.json index 623aba08e0..1efecbb92e 100644 --- a/astro/src/content/json/themes/simple-response.json +++ b/astro/src/content/json/themes/simple-response.json @@ -16,7 +16,7 @@ "variables": { "alertBackgroundColor": "#ffffff", "alertFontColor": "#ffffff", - "backgroundImageUrl": "https://example.com/mybackground.png", + "backgroundImageURL": "https://example.com/mybackground.png", "backgroundRepeat": "no-repeat", "backgroundSize": "cover", "borderRadius": "1.00rem", @@ -37,7 +37,7 @@ "linkTextFocusColor": "#cccccc", "logoImageDisplay": "flex", "logoImageSize": "7rem", - "logoImageUrl": "https://example.com/mylogo.png", + "logoImageURL": "https://example.com/mylogo.png", "monoFontColor": "#ffffff", "monoFontFamily": "monospace", "pageBackgroundColor": "#ffffff", @@ -48,4 +48,4 @@ "primaryButtonTextFocusColor": "#cccccc" } } -} \ No newline at end of file +}