Skip to main content

Stylesheet Keys

This page contains the resources for customizing each element of the widget. In order to do that, you need the correct stylesheet KEY with the corresponding DATA TYPE. Please note that some keys are uniquely used for certain widgets, check the WIDGET column if that is the case.

A quick reminder, to use the stylesheet, you must create your widget like this :

const payment = await manager.createWidget({
interface: "PAYMENT",
stylesheet:{
overrides:{
//You write here the key and the value you want for customize an element
//For example :
"usp-modal-bg-color" : "red"
}
}
});

await payment.mount("widget-payment"); //Add the widget-payment to the DOM
warning

Concerning the PAN and Cryptogram fields, we are currently not able to modify their font directly. It is still possible but you will have to contact our integration team.

Stylesheet Keys

Payment methods Keys

KEYSDescriptionWidgetData TypeExample
usp-accordion-item-icon-orderSpecifies the positioning of icons within the Accordion ItemPAYMENTnumber0
usp-amount-container-px-sizeSets the horizontal padding size for the Amount container widgetAMOUNTlength1rem
usp-box-bg-colorSpecifies the background color for various box elements or containersPAYMENTcolortransparent
usp-box-border-radiusControls the degree of rounding applied to the corners of payment widgets or other box-shaped elements.PAYMENTlength12px
usp-brand-icon-s-sizeSpecifies the size of small brand icons used within the UI.length20px
usp-brand-icon-sizeSets the size of brand icons displayed within the user interface.length30px
usp-card-border-colorThe color of the payment methods cardsPAYMENTcolor#f1f1f1
usp-card-border-out-colorDefines the color of the outer border of Payment Methods, providing a visual distinction from the inner border.PAYMENTcolor#6e6e6e
usp-card-border-widthThe width size of the border of the Payment MethodsPAYMENTlength1px
usp-card-heightSets the height of the Payment MethodsPAYMENTlength180px
usp-card-hover-text-colorSpecifies the text color of the Payment Methods when hovered over by the cursor.PAYMENTcolor#f1f1f1
usp-card-line-half-heightSets the height of a line dividing the Payment Methods into two sections.lengthcalc(180px / 2)
usp-card-line-third-heightSets the height of a line dividing the Payment Methods into three sections.lengthcalc(180px / 3)
usp-card-text-colorDefines the default text color used within Payment Methods.PAYMENTcolor#ffffff
usp-card-widthSets the width of Payment MethodsPAYMENTlength350px
usp-credit-card-form-v-spacingDetermines the vertical spacing between elements within a credit card form.FORMlength1rem
usp-input-group-label-colorChange the color of the credit card vault labelsPAYMENTcolor#ffffff
usp-input-group-label-sizeChange the size of the credit card vault labelsPAYMENTlength40px
usp-icon-s-sizeSets the size of small icons.length40px
usp-icon-sizeSets the default size of icons.length50px
usp-item-accordion-sizeSize of the payment methods if the ACCORDION layout is usedPAYMENTlength69px
usp-item-align-itemsalign-items css properties passed to item headerscenter, flex-start, flex-endcenter
usp-item-broken-bg-colorSpecifies the background color of items that are broken or invalid.color#f1f1f1
usp-item-card-border-colorDefines the color of the border surrounding item cards.PAYMENTcolor
usp-item-card-border-out-colorDefines the color of the outer border surrounding item cards.PAYMENTcolor
usp-item-card-border-widthThe size of the border of the payment methodsPAYMENTlength
usp-item-card-heightThe width size of the payment methodsPAYMENTlength
usp-item-card-hover-text-colorSpecifies the text color of item cards when hovered over.PAYMENTcolor
usp-item-card-line-half-heightSets the height of a line dividing item cards into two sections.length
usp-item-card-line-third-heightSets the height of a line dividing item cards into three sections.length
usp-item-card-text-colorSpecifies the text color used within the Payment MethodsPAYMENTcolor
usp-item-card-widthSets the width of the Payment MethodsPAYMENTlength
usp-item-checkbox-visibilityControls the visibility of checkboxes associated with items.FORMboolTRUE
usp-item-default-bg-colorThe default background color of the Payment MethodPAYMENTcolor#FFFFFF
usp-item-default-border-colorSpecifies the default border color of the Payment MethodPAYMENTcolor#f1f1f1
usp-item-default-text-colorSpecifies the color of text within default Payment Methods.PAYMENTcolor#434748
usp-item-flexflex-direction css properties passed to item headersrow, column,row-reverse, column-reverserow
usp-item-hovered-bg-colorSpecifies the background color of items when hovered over.PAYMENTcolor#f1f1f1
usp-item-hovered-border-colorSets the border color of a payment method when hovered over.PAYMENTcolor#f1f1f1
usp-item-hovered-text-colorSets the text color of a payment method when hovered over.PAYMENTcolor#434748
usp-item-icon-visibilityControls the visibility of icons associated with items.booleanTRUE
usp-item-selected-bg-colorSpecifies the background color of selected items.color#f9f9f9
usp-item-selected-border-colorDefines the border color of selected items.color#f1f1f1
usp-item-selected-text-colorSpecifies the color of text within selected items.color#434748
usp-item-shadowControls the shadow effect applied to items.shadow css string0 0px 0px #00000000
usp-item-title-fontSpecifies the font used for Payment Methods titles.PAYMENTfont
usp-item-title-text-transformSpecifies the css text-transform property used for Payment Methods titles.PAYMENTall values for CSS text-transformcapitalize
usp-item-content-text-sizeThe font-size of the pre/post accordion content text.PAYMENTlength
usp-item-content-text-colorThe color of the pre/post accordion content text.PAYMENTcolor
usp-item-content-text-font-weightThe font-weight of the pre/post accordion content text.PAYMENTlength
usp-item-content-v-spacingThe vertical spacing around the pre/post accordion content text.PAYMENTlength
usp-item-default-bg-colorSpecifies the default background color of items.PAYMENTcolor#FFFFFF
usp-item-default-border-colorSpecifies the default border color of the payment methodsPAYMENTcolor#f1f1f1
usp-item-default-text-colorSpecifies the color of text within default the payment methodsPAYMENTcolor#434748
usp-item-content-gapThe spacing between method icon and text.PAYMENTlength2rem
usp-item-inner-content-gapThe spacing between radio button and method icon.PAYMENTlength2rem
usp-list-item-spacingThe spacing between list item.PAYMENTlength2rem
usp-item-content-text-transformSpecifies the text transform.PAYMENTstringuppercase
usp-item-disabled-subtext-colorModify the color of the warning message for minimum amount to orderstring#ffffff
usp-primary-colorControls the color of the primary payment methodsPAYMENTcolor#1C1C1C
usp-secondary-colorControls the color of the secondary payment methodsPAYMENTcolor#6e6e6e
usp-success-colorDefines the color used to indicate success or positive feedback.color#00661d
usp-text-fontSpecifies the font used for text elements.textinherit
usp-warning-colorDefines the color used to indicate warnings or cautionary messages.color#EFB638

Token system Keys

KEYSDescriptionWidgetData TypeExample
usp-add-token-button-alignAdd token button horizontal alignment. Any valid CSS `justify-content` valuePAYMENTflex-start, flex-end, centerstart
usp-token-inline-bg-colorSpecifies the background color of inline tokens.PAYMENTcolortransparent
usp-token-inline-border-colorSpecifies the border color of inline tokens.PAYMENTcolortransparent
usp-token-inline-border-radiusSets the curvature of the corners of inline tokens.PAYMENTlength0
usp-token-inline-border-widthSets the thickness of the border surrounding inline tokens.PAYMENTlength0
usp-token-inline-content-spacingThe vertical spacing between token contentPAYMENTlength0.5rem
usp-token-inline-hovered-bg-colorSpecifies the background color of inline tokens when hovered over.PAYMENTcolortransparent
usp-token-inline-hovered-border-colorSpecifies the border color of inline tokens when hovered over.PAYMENTcolor#FFFFFF
usp-token-inline-hovered-border-radiusSets the curvature of the corners of inline tokens when hovered over.PAYMENTlength0
usp-token-inline-hovered-border-widthSets the thickness of the border surrounding inline tokens when hovered over.PAYMENTlength0
usp-token-inline-hovered-secondary-text-colorSpecifies the color of secondary text within inline tokens when hovered over.PAYMENTcolor#6e6e6e
usp-token-inline-hovered-text-colorSpecifies the text color of inline tokens when hovered over.PAYMENTcolor#000000
usp-token-inline-name-colorThe color of the token namePAYMENTcolor#1C1C1C
usp-token-inline-name-font-sizeThe font size of the token namePAYMENTlength1rem
usp-token-inline-name-font-weightThe font weight of the token namePAYMENTnumbernormal
usp-token-inline-paddingThe padding of the tokenPAYMENTlength0.5rem
usp-token-inline-selected-bg-colorThe background color of the selected tokenPAYMENTcolortransparent
usp-token-inline-selected-border-colorThe border color of the selected tokenPAYMENTcolor#FFFFFF
usp-token-inline-selected-border-radiusThe border radius of the selected tokenPAYMENTlength0
usp-token-inline-selected-border-widthThe border width of the selected tokenPAYMENTlength0
usp-token-inline-selected-secondary-text-colorThe secondary text color of the selected tokenPAYMENTcolor#6e6e6e
usp-token-inline-selected-text-colorThe text color of the selected tokenPAYMENTcolor#000000
usp-token-inline-secondary-text-colorSpecifies the color of secondary text within inline tokens.PAYMENTcolor#6e6e6e
usp-token-inline-secondary-text-font-weightSpecifies the font-weight of secondary text within inline tokens.PAYMENTCSS font-weight valuebold
usp-token-inline-spacingThe horizontal spacing between tokensPAYMENTlength0.5rem
usp-token-inline-text-colorThe global text color of the token component.PAYMENTcolor#000000
usp-token-inline-font-sizeThe global font-size of the token component.PAYMENTlength1rem
usp-token-inline-widthThe width of the token component (vertical mode only)PAYMENTlength320px
usp-save-token-border-widthSets the border width for the save token buttonTOKENlength"2px"
usp-save-token-border-radiusSets the border radius for the save token buttonTOKENlength"0%"
usp-save-token-paddingSets the padding for the save token buttonTOKENlength"0"
usp-secondary-token-actions-alignThe position of the action buttons in a secondary token (vertical mode only)PAYMENTCSS justify-content valueflex-end
usp-token-inline-cvv-border-colorThe border color of the token cvv input.PAYMENTcolor#000000
usp-token-inline-cvv-border-radiusThe border radius of the cvv token inputPAYMENTlength1rem
usp-token-inline-cvv-border-widthThe width of the border token cvv inputPAYMENTlength1rem
usp-token-inline-margin-xThe margin x of the token componentPAYMENTlength1rem

PayButton Keys

KEYSDescriptionWidgetData TypeExample
usp-pay-button-icon-sizeSpecifies the size of an icon within a payment button.PAY-BUTTONlength2rem
usp-pay-button-icon-visibilityWhether or not the method icon should be displayed.PAY-BUTTONbooleanTRUE
usp-pay-button-max-widthSets the max width of a payment button.PAY-BUTTONlength750px
usp-pay-button-min-heightSets the min height of a payment button.PAY-BUTTONlength60px
usp-pay-button-bg-colorSets the text color of a payment button.PAY-BUTTONcolor#FFFFFF
usp-pay-button-text-colorSets the background color of a payment button.PAY-BUTTONcolorlightblue
usp-pay-button-paddingSets the padding of a payment button.PAY-BUTTONlength4px
usp-pay-button-border-widthSets the border width of a payment button.PAY-BUTTONlength4px
usp-pay-button-border-colorSets the border color of a payment button.PAY-BUTTONcolor#FFFFFF
usp-pay-button-border-radiusSets the border radius of a payment button.PAY-BUTTONlength0.5em
usp-pay-button-disabled-text-colorSets the text color of a disabled payment button.PAY-BUTTONcolor#FFFFFF
usp-pay-button-disabled-bg-colorSets the background color of a disabled payment button.PAY-BUTTONcolorlightblue
usp-pay-button-disabled-paddingSets the padding of a disabled payment button.PAY-BUTTONlength4px
usp-pay-button-disabled-border-widthSets the border width of a disabled payment button.PAY-BUTTONlength4px
usp-pay-button-disabled-border-colorSets the border color of a disabled payment button.PAY-BUTTONcolor#FFFFFF
usp-pay-button-disabled-border-radiusSets the border radius of a disabled payment button.PAY-BUTTONlength0.5em
usp-pay-button-hovered-bg-colorSets the text color of a hovered payment button.PAY-BUTTONcolor#FFFFFF
usp-pay-button-hovered-text-colorSets the background color of a hovered payment button.PAY-BUTTONcolorlightblue
usp-pay-button-hovered-paddingSets the padding of a hovered payment button.PAY-BUTTONlength4px
usp-pay-button-hovered-border-widthSets the border width of a hovered payment button.PAY-BUTTONlength4px
usp-pay-button-hovered-border-colorSets the border color of a hovered payment button.PAY-BUTTONcolor#FFFFFF
usp-pay-button-hovered-border-radiusSets the border radius of a hovered payment button.PAY-BUTTONlength0.5em
usp-x-pay-buttons-bg-colorBackground color for interfaceX_PAY_BUTTONScolortransparent
usp-x-pay-buttons-border-colorInterface border colorX_PAY_BUTTONSlength#f1f1f1
usp-x-pay-buttons-border-sizeInterface border widthX_PAY_BUTTONScolor0px
usp-x-pay-buttons-text-colorText color if anyX_PAY_BUTTONSlength#1C1C1C
usp-x-pay-buttons-container-paddingPadding around the X-Pay-Buttons interface containerX_PAY_BUTTONSlength0px

Radio/Toggle/Checkboxes buttons or Overlay effects Keys

KEYSDescriptionWidgetData TypeExample
usp-alert-border-widthDefines the border size for the content of the Alert Componentborder2px 2px 2px 8px
usp-alert-border-radiusDefines the border radius for the Alert Componentnumber4px
usp-alert-paddingDefines the padding size for the content of the Alert Componentnumber8px
usp-button-bg-colorDefines the background color of buttons throughout the UI.color#f1f1f1
usp-button-bg-colorDefines the background color of buttons throughout the UI.color#f1f1f1
usp-button-border-colorSpecifies the border color of buttons.colortransparent
usp-button-border-radiusDetermines the curvature of the button's corners.length6px
usp-button-border-widthSets the thickness of the button's border.length0
usp-button-disabled-bg-colorDefines the background color of disabled buttons.color#F5F5F5
usp-button-disabled-text-colorSpecifies the text color of disabled buttons.color#6e6e6e
usp-button-font-weightSpecifies the font weight of text within buttons.number400
usp-button-hovered-bg-colorDefines the background color of buttons when hovered over by the cursor.color#5e5e5e
usp-button-hovered-border-colorSpecifies the border color of buttons when hovered over.colortransparent
usp-button-hovered-border-widthSets the thickness of the button's border when hovered over.length0
usp-button-hovered-text-colorSpecifies the text color of buttons when hovered over.color#FAFAFA
usp-button-marginControls the margin space around buttons.length0
usp-button-paddingSpecifies the internal padding within buttons.length0.5rem 1rem
usp-button-text-colorDefines the color of text within buttons.color#292929
usp-button-widthSets the width of buttons.lengthauto
usp-checkbox-bg-colorThe color of the checkbox for saving the cardFORMcolor#cfcfcf
usp-checkbox-border-radiusSets the curvature of the corners of checkbox elements.FORMlength0,5
usp-checkbox-selected-bg-colorThe color of the checkbox after selectionFORMcolor#07a434
usp-checkbox-sizeControls the size of `save card` checkboxFORMcolor12px
usp-opacity-disabledSpecifies the opacity level for disabled elements.number.30
usp-opacity-widget-disabledSpecifies the opacity level for disabled widgets.number.30
usp-overlay-bg-colorSpecifies the background color of overlays.colorrgba(255255255.8)
usp-overlay-paragraph-colorSpecifies the color of paragraphs within overlays.color#707070
usp-overlay-text-colorDefines the text color used within overlays.color#292929
usp-overlay-title-colorSpecifies the color of titles within overlays.color#262626
usp-overlay-widthSpecifies the width of overlays.length10px
usp-overlay-heightSpecifies the height of overlays.length10px
usp-overlay-positionSpecifies the position of overlays.stringabsolute
usp-pay-button-use-partner-uiSpecifies whether to use the partner's UI for payment buttons.booleanFALSE
usp-radio-bg-colorSpecifies the background color of radio buttons.color#cfcfcf
usp-radio-border-radiusSets the curvature of the corners of radio buttons.length50%
usp-radio-selected-bg-colorSpecifies the background color of selected radio buttons.color#07a434
usp-radio-focus-bg-colorSpecifies the background color of focus radio buttons.color#07a434
usp-radio-sizeSets the size of radio buttons.length12px
usp-radio-border-widthSets the border width of radio buttons.length1px
usp-radio-inner-border-widthSets the border padding of radio buttons.length1px
usp-radio-border-width-selectedSets the border width of selected radio buttons.length2px
usp-radio-inner-border-width-selectedSets the border padding of selected radio buttons.length2px
usp-radio-inner-border-width-focusSets the border padding of focus radio buttons.length2px
usp-radio-border-styleSets the border style of radio buttons.stringdotted
usp-radio-border-style-selectedSets the border style of selected radio buttons.stringdashed
usp-radio-border-style-focusSets the border style of focus radio buttons.stringdashed
usp-radio-border-colorSpecifies the border color of radio buttons.color#9E1027
usp-radio-border-color-selectedSpecifies the border color of selected radio buttons.color#27AE60
usp-radio-border-color-focusSpecifies the border color of focus radio buttons.color#27AE60
usp-radio-inner-border-colorSpecifies the padding color of border radio buttons.color#9E1027
usp-radio-inner-border-color-selectedSpecifies the padding color of border selected radio buttons.color#27AE60
usp-radio-inner-border-color-focusSpecifies the padding color of border selected radio buttons.color#27AE60
usp-radio-shadowSets the shadow of radio buttons.shadow10px 5px 5px red
usp-radio-shadow-selectedSets the shadow of selected radio buttons.shadow10px 5px 5px blue
usp-radio-shadow-focusSets the shadow of focus radio buttons.shadow10px 5px 5px pink
usp-text-fontSpecifies the font used for text elements.textinherit
usp-toggle-bg-colorSpecifies the background color of toggle switches.color#cfcfcf
usp-toggle-border-radiusSets the curvature of the corners of toggle switches.length0,5
usp-toggle-selected-bg-colorSpecifies the background color of selected toggle switches.color#27AE60
usp-toggle-thumb-bg-colorSpecifies the background color of the thumb (slider) of toggle switches.color#FFFFFF
usp-toggle-sizeSets the size of toggle switches.length12px

Loader elements Keys

KEYSDescriptionWidgetData TypeExample
usp-loader-colorChange the color of the loading animation of the form widgetPAYMENT/FORMcolor#1C1C1C
usp-loader-l-sizeChange the size of the loading animationPAYMENT/FORMlength75px
usp-loader-sizeDetermines the size or dimensions of the loading animation.PAYMENT/FORMlength55px

Input fields Keys

KEYSDescriptionWidgetData TypeExample
usp-input-widthSpecifies the width of the input fieldFORMlength"300px"
usp-input-bg-colorDefines the background color of an input field in the form widget.FORMcolor#FFFFFF
usp-input-border-colorSpecifies the border color of an input field in the form widget.FORMcolor#ACACAC
usp-input-border-radiusSets the border radius or rounded corners of an input field.FORMlength4px
usp-input-border-widthSpecifies the border width of an input field.FORMlength1px
usp-input-focused-border-colorSets the border color of an input field when it is focused and clicked.FORMcolor#7A7A7A
usp-input-heightDefines the height of an input field.FORMlength2.6rem
usp-input-l-widthSets the width of the input to largeFORMlength500px
usp-input-m-widthSets the width of the input to mediumFORMlength290px
usp-input-s-widthSets the width of the input to smallFORMlength110px
usp-input-xs-widthSets the width of the input to extra smallFORMlength90px
usp-input-placeholder-colorThe color of the placeholder texts in the input elements.FORMcolor#ACACAC
usp-input-text-colorSpecifies the color of text entered into input fields.color#000000

Tooltip Keys

KEYSDescriptionWidgetData TypeExample
usp-tooltip-hiddenDetermines the visibility or display of tooltips in the form widget.booleanTRUE
usp-tooltip-icon-s-sizeSpecifies the size of a small icon within a tooltip.FORMlength16px
usp-tooltip-icon-sizeDetermines the size of an icon within a tooltip.FORMlength20px
usp-tooltip-is-modalSpecifies whether a tooltip is displayed as a modal or popup.FORMbooleanTRUE
usp-tooltip-max-widthSets the maximum width of a tooltip.FORMlength200px
usp-tooltip-min-widthSets the minimum width of a tooltip.FORMlength350px

Modals Keys

warning

In order to fully customize the modal, you should use the advanced modal style. To do this, simply add this line to your layout :

{
layout: {
modalStyle: 'advanced'
}
}
KEYSDescriptionWidgetData TypeExample
usp-modal-bg-colorSets the background color of the modalMODALcolor"#EFEFEF"
usp-modal-button-primary-bg-colorDefines the background color for the primary buttonBUTTONcolor"#1F2933"
usp-modal-button-primary-border-colorSets the border color for the primary buttonBUTTONcolor"transparent"
usp-modal-button-primary-border-widthSpecifies the border width for the primary buttonBUTTONlength"2px"
usp-modal-button-primary-font-weightDefines the font weight for the primary buttonBUTTONweight"normal"
usp-modal-button-primary-hover-bg-colorSpecifies the background color for the primary button on hoverBUTTONcolor"#3E4C59"
usp-modal-button-primary-hover-border-colorSets the border color for the primary button on hoverBUTTONcolor"#9AA5B1"
usp-modal-button-primary-hover-border-widthSpecifies the border width for the primary button on hoverBUTTONlength"2px"
usp-modal-button-primary-hover-font-weightDefines the font weight for the primary button on hoverBUTTONweight"normal"
usp-modal-button-primary-hover-text-colorSets the text color for the primary button on hoverBUTTONcolor"#F5F7FA"
usp-modal-button-primary-text-colorSets the text color for the primary buttonBUTTONcolor"#F5F7FA"
usp-modal-button-secondary-bg-colorDefines the background color for the secondary buttonBUTTONcolor"#F5F7FA"
usp-modal-button-secondary-border-colorSets the border color for the secondary buttonBUTTONcolor"transparent"
usp-modal-button-secondary-border-widthSpecifies the border width for the secondary buttonBUTTONlength"2px"
usp-modal-button-secondary-font-weightDefines the font weight for the secondary buttonBUTTONweight"normal"
usp-modal-button-secondary-hover-bg-colorSpecifies the background color for the secondary button on hoverBUTTONcolor"#E4E7EB"
usp-modal-button-secondary-hover-border-colorSets the border color for the secondary button on hoverBUTTONcolor"#9AA5B1"
usp-modal-button-secondary-hover-border-widthSpecifies the border width for the secondary button on hoverBUTTONlength"2px"
usp-modal-button-secondary-hover-text-colorSets the text color for the secondary button on hoverBUTTONcolor"#3E4C59"
usp-modal-button-secondary-text-colorSets the text color for the secondary buttonBUTTONcolor"#3E4C59"
usp-modal-close-right-positionPositions the close button from the rightMODALlength"0.5rem"
usp-modal-close-top-positionPositions the close button from the topMODALlength"1rem"
usp-modal-content-paddingSets the padding for the modal contentMODALlength"0"
usp-modal-footer-alignDefines the alignment of the modal footer contentMODALalignment"center"
usp-modal-footer-bg-colorSets the background color of the modal footerMODALcolor"transparent"
usp-modal-footer-paddingSpecifies the padding inside the modal footerMODALlength"1rem"
usp-modal-header-bg-colorSpecifies the background color of the modal headerMODALcolor"white"
usp-modal-header-border-radiusSpecifies the border radius for the modal headerMODALborder"0 0 8px 8px"
usp-modal-header-font-sizeDefines the font size for the modal header textMODALlength"20px"
usp-modal-header-font-weightSpecifies the font weight for the modal header textMODALweight"500"
usp-modal-header-paddingSets the padding inside the modal headerMODALlength"1rem"
usp-modal-header-shadowAdds a shadow effect to the modal headerMODALshadow"0 2px 4px 0 rgba(0, 0, 0, 0.1)"
usp-modal-overlay-bg-colorSpecifies the background color of the modal overlayMODALcolor"rgba(0, 0, 0, 0.75)"
usp-modal-overlay-paragraph-colorSpecifies the color of the paragraph of the modal overlayMODALcolor"rgba(0, 0, 0, 0.75)"
usp-modal-paddingSpecifies the padding inside the modalMODALlength"1rem"
usp-modal-text-colorDefines the text color used within modal windowsMODALcolor"#000000"
usp-wallet-deletion-modal-hide-tokenSpecifies whether the deletion modal hides tokensMODALbooleanTRUE

Icons Keys

KEYSDescriptionWidgetData TypeExample
usp-icon-actions-alignThe alignment of the action icons containerflex-start, flex-end, centerflex-start
usp-icon-actions-gapThe spacing between the action iconsnumber0.5rem
usp-icon-actions-icon-sizeThe size of a action iconlength20px
usp-icon-actions-widthThe width of the action icons containerlength90px
usp-icon-s-sizeDefines the size of small iconsMODALlength"24px"

Other elements Keys

KEYSDescriptionWidgetData TypeExample
usp-accent-colorThe primary color used to highlight or emphasize certain elements throughout the user interface.color#1C1C1C
usp-accent-contrast-colorA contrasting color to the primary accent color, often used for text or icons to ensure readability and visual appeal.color#FFFFFF
usp-debugger-heightSets the height of the debugger tool, often used for troubleshooting or testing purposes.length190px
usp-debugger-widthSets the width of the debugger tool.length560px
usp-error-colorDefines the color used to indicate errors or invalid input.color#9E1027
usp-favorite-colorSpecifies the color used to indicate favorite or preferred items or options.color#D4CE21
usp-header-bg-colorSets the background color of header elements within the UI.color#1C1C1C
usp-header-text-colorDefines the text color used within header elements.color#f1f1f1
usp-item-broken-bg-colorSpecifies the background color of items that are broken or invalid.color#f1f1f1
usp-text-font-weightSpecifies the font weight of text elements.number400
usp-text-l-sizeSets the large size of text elements.length1.1rem
usp-text-s-sizeSets the small size of text elements.length0.8rem
usp-text-selected-font-weightSpecifies the font weight of selected text elements.number400
usp-text-sizeSets the default size of text elements. (Careful, on IOS, if < 16px, you should add <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> on your html page in order to avoid unwanted behavior)length1rem
usp-text-xl-sizeSets the extra-large size of text elements.length1.3rem
usp-text-xs-sizeSets the extra-small size of text elements.length0.7rem
usp-title-fontSpecifies the font used for titles.fontinherit
usp-title-font-weightSpecifies the font weight of titles.number400
usp-toggle-disabled-bg-colorDefines the background color of disabled toggle switches.color#EBEBEB
usp-token-inline-actions-widthSpecifies the width of inline actions associated with tokens.length90px
usp-token-inline-selected-secondary-text-coloSpecifies the color of secondary text within selected inline tokens.color
usp-token-inline-text-colorSpecifies the text color of inline tokens.boolean#000000
usp-z-absolute-topSpecifies the Z-index for elements positioned at the topmost layer.number901