Skip to content

Commit

Permalink
Set the same declarations to mx_RedactedBody
Browse files Browse the repository at this point in the history
Signed-off-by: Suguru Hirahara <[email protected]>
  • Loading branch information
luixxiul committed Mar 4, 2024
1 parent 2a3e4ef commit f6115b8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ limitations under the License.

@import "./views/messages/_DecryptionFailureBody.pcss";
@import "./views/messages/_TextualEvent.pcss";
@import "./views/messages/_RedactedBody.pcss";

@define-mixin consistency__TextEvent {
@mixin DecryptionFailureBody;
@mixin TextualEvent;
@mixin RedactedBody;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
Copyright 2024 Suguru Hirahara
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

@define-mixin RedactedBody {
.mx_RedactedBody {
color: $tertiary-content;
font: var(--cpd-font-body-sm-regular);
}
}

0 comments on commit f6115b8

Please sign in to comment.