Skip to content

Commit 01c1bdd

Browse files
committed
FIX: Fix mixin initializer
1 parent 5bbaa76 commit 01c1bdd

File tree

1 file changed

+23
-25
lines changed

1 file changed

+23
-25
lines changed

packages/pycui/pyc-title-bar/_title-bar-styles.scss

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,33 +23,31 @@
2323
@use '../pyc-core';
2424

2525
@mixin render() {
26-
@mixin init() {
27-
.pyc-title-bar {
28-
display: flex;
29-
flex-flow: row nowrap;
30-
align-items: center;
31-
32-
> * + * {
33-
margin-left: 0.5rem;
34-
}
35-
36-
.pyc-title-bar__icon {
37-
display: grid;
38-
place-items: center;
39-
font-size: pyc-core.to-rem(30px);
40-
color: pyc-core.token-get('accent');
41-
user-select: none;
42-
43-
> svg {
44-
width: pyc-core.to-rem(30px);
45-
height: pyc-core.to-rem(30px);
46-
}
47-
}
26+
.pyc-title-bar {
27+
display: flex;
28+
flex-flow: row nowrap;
29+
align-items: center;
30+
31+
> * + * {
32+
margin-left: 0.5rem;
33+
}
34+
35+
.pyc-title-bar__icon {
36+
display: grid;
37+
place-items: center;
38+
font-size: pyc-core.to-rem(30px);
39+
color: pyc-core.token-get('accent');
40+
user-select: none;
4841

49-
.pyc-title-bar__title {
50-
font-size: pyc-core.to-rem(28px);
51-
line-height: pyc-core.to-rem(50px);
42+
> svg {
43+
width: pyc-core.to-rem(30px);
44+
height: pyc-core.to-rem(30px);
5245
}
5346
}
47+
48+
.pyc-title-bar__title {
49+
font-size: pyc-core.to-rem(28px);
50+
line-height: pyc-core.to-rem(50px);
51+
}
5452
}
5553
}

0 commit comments

Comments
 (0)