Skip to content

Commit b85f776

Browse files
style wordmark and subtitle
1 parent 90aec6b commit b85f776

File tree

2 files changed

+25
-18
lines changed

2 files changed

+25
-18
lines changed

src/features/common/components/site-brand/site-brand.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const SiteBrandComponent: React.FC<SiteBrandComponentProps> = ({
2323
<div className={styles.brand__logo}>
2424
<JwtLogoComponent />
2525
</div>
26-
<div className={styles.brand__logoText}>
26+
<div className={styles.brand__wordmark}>
2727
<JwtWordmarkComponent />
2828
</div>
2929
<div className={clsx(SecondaryFont.className, styles.brand__headline)}>

src/features/common/components/site-brand/site-brand.module.scss

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
.brand {
2-
width: 100%;
3-
display: flex;
4-
align-items: center;
5-
height: 1.5rem;
6-
gap: .5rem;
7-
position: relative;
8-
cursor: pointer;
2+
width: 100%;
3+
display: flex;
4+
align-items: center;
5+
height: 1.5rem;
6+
gap: 0.5rem;
7+
position: relative;
8+
cursor: pointer;
99

1010
svg {
1111
height: inherit;
@@ -27,11 +27,11 @@
2727
}
2828

2929
.brand__logo {
30-
position: relative;
31-
display: flex;
32-
align-items: center;
33-
height: 1.5rem;
34-
animation: rotate 10s linear infinite;
30+
position: relative;
31+
display: flex;
32+
align-items: center;
33+
height: 1.5rem;
34+
animation: rotate 10s linear infinite;
3535
}
3636

3737
@keyframes rotate {
@@ -43,10 +43,16 @@
4343
}
4444
}
4545

46+
.brand__wordmark {
47+
position: relative;
48+
display: flex;
49+
align-items: center;
50+
height: 1rem;
51+
}
52+
4653
.brand__headline {
4754
display: flex;
4855
flex-direction: column;
49-
margin-left: 0.625rem;
5056
color: var(--color_fg_bold);
5157
}
5258

@@ -60,8 +66,9 @@
6066

6167
.brand__subtitle {
6268
display: flex;
63-
font-size: 0.75rem;
64-
line-height: 0.75rem;
69+
font-size: 1rem;
70+
font-weight: 500;
71+
line-height: .75rem;
6572
margin-top: 1px;
66-
letter-spacing: 0.02rem;
67-
}
73+
letter-spacing: .02rem;
74+
}

0 commit comments

Comments
 (0)