Skip to content

Commit

Permalink
Update mixin name
Browse files Browse the repository at this point in the history
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
  • Loading branch information
luixxiul committed Mar 4, 2024
1 parent 42e5891 commit d9f5027
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ limitations under the License.
@import "./views/messages/_DecryptionFailureBody.pcss";

@define-mixin consistency__TextEvent {
@mixin EventTile_color;
@mixin EventTile_font;
@mixin EventTile_line_color;
@mixin EventTile_line_font;
@mixin DecryptionFailureBody;
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

/* Specify text color with color property instead of opacity.
Note this mixin is applied to GELS as well. */
@define-mixin EventTile_color {
@define-mixin EventTile_line_color {
:where(.mx_EventTile_info, .mx_GenericEventListSummary) {
/* Get rid of opacity values for coloring from CSS files as it is very
confusing and makes it difficult to maintain consistency.
Expand All @@ -43,7 +43,7 @@ limitations under the License.
}

/* Specify font for consistency */
@define-mixin EventTile_font {
@define-mixin EventTile_line_font {
:where(.mx_EventTile_info, .mx_GenericEventListSummary) {
--font: var(--cpd-font-body-sm-regular); /* Replace with js when needed */

Expand Down

0 comments on commit d9f5027

Please sign in to comment.