Skip to content

Commit 76cc06f

Browse files
authored
Update Defaults for Color and Look on External Providers config
When setting either the 'color' or the 'look' of the button for the external providers, although the settings come from the UUI link provided here... we are specifying the default values for the wrong list... so 'Color' can either be Default, Positive, Warning, Danger and 'Look' can be either Primary, Secondary, Outline or Placeholder But we say here the default fo color is secondary and default for Looks is default but they should be the other way around!
1 parent dfe3d80 commit 76cc06f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

15/umbraco-cms/reference/security/external-login-providers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ You have a few options to configure the button:
387387
* `forProviderName` - The name of the provider you are configuring. This should match the `SchemeName` in the `GenericBackOfficeExternalLoginProviderOptions` class with "Umbraco." prepended.
388388
* `meta.label` - The label to display on the button. The user will see this text. For example: "Sign in with Generic".
389389
* `meta.defaultView.icon` - The icon to display on the button. You can use any of the icons from the Umbraco Icon Picker. If you want to use a custom icon, you need to first register it to the [`icons` extension point](../../customizing/extending-overview/extension-types/icons.md).
390-
* `meta.defaultView.color` - (Default: "secondary") The color of the button. You can use any of the colors from the [Umbraco UI Library](https://uui.umbraco.com/?path=/story/uui-button--looks-and-colors).
391-
* `meta.defaultView.look` - (Default: "default") The look of the button. You can use any of the looks from the [Umbraco UI Library](https://uui.umbraco.com/?path=/story/uui-button--looks-and-colors).
390+
* `meta.defaultView.color` - (Default: "default") The color style of the button. You can use any of the color styles from the [Umbraco UI Library](https://uui.umbraco.com/?path=/story/uui-button--looks-and-colors). eg default (blue), positive (green), warning (yellow) or danger (red)
391+
* `meta.defaultView.look` - (Default: "secondary") The look of the button. You can use any of the looks from the [Umbraco UI Library](https://uui.umbraco.com/?path=/story/uui-button--looks-and-colors). eg. Primary (solid background colour, white text), Secondary (grey background, coloured text), Outline (white background with sold grey border, coloured text), Placeholder (white with dotted grey border, coloured text)
392392
* `meta.behavior.autoRedirect` - Automatically redirects the user to the external login provider, skipping the Umbraco login page, unless the user has specifically logged out or timed out.
393393
* `meta.behavior.popupTarget` - (Default: "umbracoAuthPopup") The target for the popup window. This is the name of the window that will be opened when the user clicks the button. If you want to open the login page in a new tab, you can set this to "\_blank".
394394
* `meta.behavior.popupFeatures` - (Default: "width=600,height=600,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,toolbar=no") The features of the popup window. This is a string of comma-separated key-value pairs. For example: "width=600,height=600". You can read more on the [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/Window/open#features).

0 commit comments

Comments
 (0)