Skip to content

Commit

Permalink
add new appearance options (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiying-stripe authored Oct 10, 2024
1 parent 42d20a9 commit f86773d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions types/shared.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,42 @@ export declare type AppearanceVariables = {
* The color used for primary actions and links. This accepts hex values or RGB/HSL strings.
*/
actionPrimaryColorText?: string;
/**
* The line type used for text decoration of primary actions and links. This accepts a valid text decoration line value.
*/
actionPrimaryTextDecorationLine?: string;
/**
* The color used for text decoration of primary actions and links. This accepts hex values or RGB/HSL strings.
*/
actionPrimaryTextDecorationColor?: string;
/**
* The style of text decoration of primary actions and links. This accepts a valid text decoration style value.
*/
actionPrimaryTextDecorationStyle?: string;
/**
* The thickness of text decoration of primary actions and links. This accepts a valid text decoration thickness value.
*/
actionPrimaryTextDecorationThickness?: string;
/**
* The color used for secondary actions and links. This accepts hex values or RGB/HSL strings.
*/
actionSecondaryColorText?: string;
/**
* The line type used for text decoration of secondary actions and links. This accepts a valid text decoration line value.
*/
actionSecondaryTextDecorationLine?: string;
/**
* The color used for text decoration of secondary actions and links. This accepts hex values or RGB/HSL strings.
*/
actionSecondaryTextDecorationColor?: string;
/**
* The style of text decoration of secondary actions and links. This accepts a valid text decoration style value.
*/
actionSecondaryTextDecorationStyle?: string;
/**
* The thickness of text decoration of secondary actions and links. This accepts a valid text decoration thickness value.
*/
actionSecondaryTextDecorationThickness?: string;

// Neutral Badge Colors
/**
Expand Down Expand Up @@ -261,6 +293,10 @@ export declare type AppearanceVariables = {
* A z-index to use for the overlay throughout embedded components. Set this number to control the z-order of the overlay.
*/
overlayZIndex?: number;
/**
* The backdrop color when an overlay is opened. This accepts hex values or RGB/RGBA/HSL strings.
*/
overlayBackdropColor?: string;

// Body Typography
/**
Expand Down

0 comments on commit f86773d

Please sign in to comment.