diff --git a/src/components/navigation/BottomNavigation.tsx b/src/components/navigation/BottomNavigation.tsx index 26211e04..84582a6a 100644 --- a/src/components/navigation/BottomNavigation.tsx +++ b/src/components/navigation/BottomNavigation.tsx @@ -1,5 +1,5 @@ import { Message, Group, Inbox } from "@styled-icons/boxicons-solid"; -import { At } from "@styled-icons/boxicons-regular"; +import { Search } from "@styled-icons/boxicons-regular"; import { useHistory, useLocation } from "react-router"; import styled, { css } from "styled-components"; @@ -13,11 +13,16 @@ import { useSelf } from "../../context/revoltjs/hooks"; import UserIcon from "../common/user/UserIcon"; import IconButton from "../ui/IconButton"; -const NavigationBase = styled.div` +const Base = styled.div` + background: var(--secondary-background); +`; + +const Navbar = styled.div` z-index: 100; + max-width: 500px; + margin: 0 auto; display: flex; height: var(--bottom-navigation-height); - background: var(--secondary-background); `; const Button = styled.a<{ active: boolean }>` @@ -30,6 +35,11 @@ const Button = styled.a<{ active: boolean }>` height: 100%; } + > div, + > a > div { + padding: 0 20px; + } + ${(props) => props.active && css` @@ -53,47 +63,57 @@ export function BottomNavigation({ lastOpened }: Props) { const homeActive = !(friendsActive || settingsActive); return ( - - - - {/**/} - - + + + {/* + */} + + + + ); } diff --git a/src/pages/settings/GenericSettings.tsx b/src/pages/settings/GenericSettings.tsx index 93f8ce7c..8dd72a68 100644 --- a/src/pages/settings/GenericSettings.tsx +++ b/src/pages/settings/GenericSettings.tsx @@ -74,7 +74,7 @@ export function GenericSettings({ name="theme-color" content={ isTouchscreenDevice - ? theme["primary-header"] + ? theme["background"] : theme["background"] } />