Skip to content

Commit

Permalink
fix(theme-tac): use tchap theme for TAC button and badge
Browse files Browse the repository at this point in the history
  • Loading branch information
marc.sirisak committed Jun 19, 2024
1 parent c161737 commit 287295b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ $icon-button-color: var(--icon-button-color, $icon-button-color);
$strong-input-border-color: var(--strong-input-border-color, $strong-input-border-color);
$inverted-bg-color: var(--strong-input-border-color, $inverted-bg-color);

$e2e-verified-color: var(--confirmation-color); // to keep it green instead of tchap red

/**
* Variation of the accent color.
* Generate this colour scale using LeonardoColor
Expand Down
4 changes: 4 additions & 0 deletions res/themes/tchap-common/css/_tchap_custom.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,8 @@
.mx_SecondaryButton {
background: rgba(255, 255, 255, 0);
}
}

.mx_ThreadsActivityCentreButton .mx_ThreadsActivityCentreButton_Icon {
color: white;
}
1 change: 1 addition & 0 deletions res/themes/tchap-light/css/_tchap_custom_vars.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ body {
--cpd-color-bg-action-primary-rest: var(--accent);
--cpd-color-text-on-solid-primary: #ffffff;
--cpd-color-icon-accent-tertiary: var(--accent);
--cpd-color-icon-success-primary: var(--warning-color); // use for badge level color, we use red in tchap instead of element's green

/* TODO default avatar colors are broken because of the switch to use Compound to manage colors.
Try something like this:
Expand Down

0 comments on commit 287295b

Please sign in to comment.