Skip to content

Commit

Permalink
EPMRPP-94577 || Code Review fix - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazarQSO committed Sep 27, 2024
1 parent 9a75a4f commit f1aac66
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/assets/styles/themes/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

// TODO: discuss with UX
/* colors rgb */
--rp-ui-tooltip-bg: rgba(34, 34, 34, 0.91);
--rp-ui-base-tooltip-bg: rgba(34, 34, 34, 0.91);
--rp-ui-base-almost-black-slight-light: rgba(63, 63, 63, 0.95);
--rp-ui-base-dark-bg-light: rgba(16, 16, 16, 0.15);

Expand Down
7 changes: 6 additions & 1 deletion src/components/tooltip/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,10 @@
- **placement**: _string_ (Floating UI Placement), optional, default = 'bottom'
- **width**: _string_, optional, default = ''
- **dynamicWidth**: _string_, optional, default = ''
- **className**: _string_, optional, default = ''
- **dataAutomationId**: _string_, optional, default = ''
- **wrapperClassName**: _string_, optional, default = ''
- **contentClassName**: _string_, optional, default = ''
- **arrowColor**: _string_, optional, default = 'rgba(34, 34, 34, 0.91)'
- **minWidth**: _number_, optional, default = '120'
- **safeZone**: _number_, optional, default = '4'
- **zIndex**: _number_, optional, default = '9'
2 changes: 1 addition & 1 deletion src/components/tooltip/tooltip.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@include font-scale('s-small');
padding: 16px;
border-radius: 8px;
background-color: var(--rp-ui-tooltip-bg);
background-color: var(--rp-ui-base-tooltip-bg);
font-family: var(--rp-ui-base-font-family);
font-weight: $fw-medium;
color: var(--rp-ui-base-bg-000);
Expand Down

0 comments on commit f1aac66

Please sign in to comment.