Skip to content

Commit

Permalink
add tooltip tokens in paradigm
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarafa2n committed Nov 9, 2023
1 parent 78628b7 commit c20f166
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/interfaces/namespaces/paradigm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,15 @@ export interface LocalParadigmColorsDescriptionStruct {
* @tags color, background, themed
*/
colorBackgroundPositiveTintThemed: ColorDescription;

colorTooltipBackgroundBlueTint: ColorDescription;
colorTooltipBackgroundGreenTint: ColorDescription;
colorTooltipBackgroundOrangeTint: ColorDescription;
colorTooltipBackgroundPurpleTint: ColorDescription;
colorTooltipTextBlueThemed: ColorDescription;
colorTooltipTextGreenThemed: ColorDescription;
colorTooltipTextOrangeThemed: ColorDescription;
colorTooltipTextPurpleThemed: ColorDescription;
}

export type ParadigmLocalColors = {
Expand Down
18 changes: 18 additions & 0 deletions src/themeDescriptions/base/paradigm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,15 @@ export const lightTheme: ParadigmThemeDescription = {
colorBackgroundPositiveTintThemedAlpha: 'rgba(13, 194, 104, 0.08)',
colorBackgroundPositiveTintAlpha: 'rgba(13, 194, 104, 0.08)',
colorBackgroundPositiveTintThemed: '#ECFAF3',

colorTooltipBackgroundBlueTint: '#DDE9FF',
colorTooltipBackgroundGreenTint: '#CEEEE6',
colorTooltipBackgroundOrangeTint: '#F9D3BD',
colorTooltipBackgroundPurpleTint: '#F2E8FF',
colorTooltipTextBlueThemed: '#1C4479',
colorTooltipTextGreenThemed: '#087C6D',
colorTooltipTextOrangeThemed: '#78472A',
colorTooltipTextPurpleThemed: '#73519F',
},

breakpoints: {
Expand Down Expand Up @@ -1080,6 +1089,15 @@ export const darkTheme: ParadigmThemeDescription = {
colorBackgroundPositiveTintThemedAlpha: 'rgba(255, 255, 255, 0.08)',
colorBackgroundPositiveTintAlpha: 'rgba(13, 194, 104, 0.1)',
colorBackgroundPositiveTintThemed: '#2b2b2c',

colorTooltipBackgroundBlueTint: '#1C4479',
colorTooltipBackgroundGreenTint: '#087C6D',
colorTooltipBackgroundOrangeTint: '#78472A',
colorTooltipBackgroundPurpleTint: '#73519F',
colorTooltipTextBlueThemed: '#FFFFFF',
colorTooltipTextGreenThemed: '#FFFFFF',
colorTooltipTextOrangeThemed: '#FFFFFF',
colorTooltipTextPurpleThemed: '#FFFFFF',
},
};

Expand Down

0 comments on commit c20f166

Please sign in to comment.