1
1
import { Route , Routes } from "@solidjs/router" ;
2
- import { css , styled } from "solid-styled-components" ;
2
+ import { styled } from "solid-styled-components" ;
3
3
import { LocaleSelector , useTranslation } from "@revolt/i18n" ;
4
4
5
5
import { BiLogosGithub , BiLogosTwitter , BiLogosMastodon } from "solid-icons/bi" ;
@@ -32,11 +32,10 @@ const Base = styled("div")`
32
32
flex-direction: column;
33
33
justify-content: space-between;
34
34
35
- /* TODO breakpoint md */
36
- @media (max-width: 768px) {
35
+ @media (max-width: ${ ( { theme } ) => theme ! . breakpoints . md } ) {
37
36
padding: 30px 20px;
38
37
background-image: unset;
39
- background-color: #242424 ;
38
+ background-color: ${ ( { theme } ) => theme ! . colours [ "background-200" ] } ;
40
39
/* TODO primary bg */
41
40
}
42
41
` ;
@@ -68,11 +67,11 @@ const NavItems = styled("div")<{
68
67
color: #ddd;
69
68
font-size: 0.9em;
70
69
71
- @media (max-width: 768px ) {
70
+ @media (max-width: ${ ( { theme } ) => theme ! . breakpoints . md } ) {
72
71
display: ${ ( props ) => ( props . hide ? "none" : "flex" ) } ;
73
72
}
74
73
75
- @media (max-width: 768px ) {
74
+ @media (max-width: ${ ( { theme } ) => theme ! . breakpoints . md } ) {
76
75
flex-direction: ${ ( props ) => ( props . stack ? "column" : "row" ) } ;
77
76
}
78
77
` ;
@@ -86,7 +85,7 @@ const Bullet = styled("div")`
86
85
background: grey;
87
86
border-radius: 50%;
88
87
89
- @media (max-width: 768px ) {
88
+ @media (max-width: ${ ( { theme } ) => theme ! . breakpoints . md } ) {
90
89
display: none;
91
90
}
92
91
` ;
0 commit comments