File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export function OnlineStatus(props: OnlineStatusProps): JSX.Element {
2525function AccountOfflineContent ( ) : JSX . Element {
2626 return (
2727 < >
28- < OnlineStatusAccountOfflineIcon style = { { fontSize : '24px' } } />
28+ < OnlineStatusAccountOfflineIcon className = 'seam-font-24' />
2929 < span className = 'seam-text-danger' > { t . accountOffline } </ span >
3030 </ >
3131 )
@@ -36,15 +36,15 @@ function AccountOnlineContent(props: { isOnline: boolean }): JSX.Element {
3636 if ( isOnline ) {
3737 return (
3838 < >
39- < OnlineStatusOnlineIcon style = { { fontSize : '24px' } } />
39+ < OnlineStatusOnlineIcon className = 'seam-font-24' />
4040 < span className = 'seam-status-text' > { t . online } </ span >
4141 </ >
4242 )
4343 }
4444
4545 return (
4646 < >
47- < OnlineStatusDeviceOfflineIcon style = { { fontSize : '24px' } } />
47+ < OnlineStatusDeviceOfflineIcon className = 'seam-font-24' />
4848 < span className = 'seam-text-danger' > { t . deviceOffline } </ span >
4949 </ >
5050 )
Original file line number Diff line number Diff line change 1717}
1818
1919@mixin headers {
20+
2021 h1 ,
2122 h2 ,
2223 h3 ,
5556 }
5657}
5758
59+ @mixin font-size {
60+ .seam-font-24 {
61+ font-size : 24px ;
62+ }
63+ }
64+
5865@mixin all {
5966 @include headers ;
6067 @include caption ;
6168 @include danger-text ;
6269 @include font-family ;
6370 @include defaults ;
6471 @include truncated-text ;
65- }
72+ @include font-size ;
73+ }
You can’t perform that action at this time.
0 commit comments