Skip to content

Commit

Permalink
Merge pull request #249 from heorhi-deriv/FEQ-2645-Add-dark-support-f…
Browse files Browse the repository at this point in the history
…or-message-text

[FEQ] george / FEQ-2645 / Add dark support for text message
  • Loading branch information
shayan-deriv authored Sep 10, 2024
2 parents 05dd3fb + 1b5fa7f commit d587161
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SectionMessage/SectionMessage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $success-bgColor: $color-status-success;
$success-icColor: $color-green-9;
$info-bgColor: $color-status-information-1;
$info-icColor: $color-blue-11;
$description-color: $alpha-color-black-8;
$description-color: var(--du-text-black-transparent, $alpha-color-black-8);
$general-color: $color-gray-2;

.deriv-section-message {
Expand Down
1 change: 1 addition & 0 deletions src/styles/abstracts/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ $alpha-color-white-1: transparentize($color-white, 0.04);
$alpha-color-white-2: transparentize($color-white, 0.84);
$alpha-color-white-3: transparentize($color-white, 0.92);
$alpha-color-white-4: transparentize($color-white, 0.3);
$alpha-color-white-5: transparentize($color-white, 0.72);
$alpha-color-red-1: transparentize($color-red, 0.92);
$alpha-color-red-2: transparentize($color-red, 0.84);
$alpha-color-red-3: transparentize($color-red, 0.76);
Expand Down
2 changes: 2 additions & 0 deletions src/styles/base/_root.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
--du-text-status-info-blue: #{$color-blue};
--du-text-hint: #{$color-black-1};
--du-text-white: #{$color-white};
--du-text-black-transparent: #{$alpha-color-black-8};
// Purchase
--du-purchase-main-1: #{$color-green-1};
--du-purchase-section-1: #{$color-green-2};
Expand Down Expand Up @@ -262,6 +263,7 @@
--du-icon-dark-background: #{$color-white};
--du-icon-gray-background: #{$color-black-1};
--du-icon-black-plus: #{$color-white};
--du-text-black-transparent: #{$alpha-color-white-5};
// Purchase
--du-purchase-main-1: #{$color-green-3};
--du-purchase-section-1: #{$color-green-4};
Expand Down

0 comments on commit d587161

Please sign in to comment.