Skip to content

Commit 7f32c7c

Browse files
committed
Update mixin name
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
1 parent f8e4f3d commit 7f32c7c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

res/css/_sc/feature-improvement/consistency__TextEvent/index.pcss

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
/* Fix upstream's style inconsistencies among mx_TextualEvent, mx_RedactedBody, and mx_DecryptionFailureBody */
17+
/* Fix upstream's style inconsistencies among text events and mx_DecryptionFailureBody */
1818
/* See https://github.com/SchildiChat/schildichat-desktop/issues/240 */
1919

2020
@import "./views/rooms/_EventTile.pcss";
2121
@import "./views/messages/_DecryptionFailureBody.pcss";
2222

2323
@define-mixin consistency__TextEvent {
24-
@mixin EventTile_color;
25-
@mixin EventTile_font;
24+
@mixin EventTile_line_color;
25+
@mixin EventTile_line_font;
2626
@mixin DecryptionFailureBody;
2727
}

res/css/_sc/feature-improvement/consistency__TextEvent/views/rooms/_EventTile.pcss

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616

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

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

0 commit comments

Comments
 (0)