mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix some themes issues
This commit is contained in:
parent
ecd1b55fc6
commit
d63c601812
@ -38,7 +38,7 @@ export const Input = forwardRef<
|
||||
{...css(
|
||||
[
|
||||
{
|
||||
borderColor: (theme) => theme.colors.white,
|
||||
borderColor: (theme) => theme.accent,
|
||||
borderRadius: ts(1),
|
||||
borderWidth: px(1),
|
||||
borderStyle: "solid",
|
||||
|
@ -23,7 +23,7 @@ import { ComponentProps, ComponentType, forwardRef, ReactElement, ReactNode } fr
|
||||
import Link from "next/link";
|
||||
import { PressableProps } from "react-native";
|
||||
import { useYoshiki } from "yoshiki/web";
|
||||
import { px, useYoshiki as useNativeYoshiki, calc } from "yoshiki/native";
|
||||
import { useYoshiki as useNativeYoshiki } from "yoshiki/native";
|
||||
import { P } from "./text";
|
||||
import { ContrastArea, SwitchVariant } from "./themes";
|
||||
import { Icon } from "./icons";
|
||||
@ -162,7 +162,7 @@ const MenuItem = ({
|
||||
alignItems: "center",
|
||||
padding: "8px",
|
||||
height: "32px",
|
||||
focus: focusReset as any,
|
||||
...focusReset,
|
||||
},
|
||||
props as any,
|
||||
)}
|
||||
|
@ -88,7 +88,7 @@ const SearchBar = forwardRef<TextInput, Stylable>(function SearchBar(props, ref)
|
||||
}}
|
||||
placeholder={t("navbar.search")}
|
||||
{...tooltip(t("navbar.search"))}
|
||||
{...css({ height: ts(4), flexShrink: 1 }, props)}
|
||||
{...css({ height: ts(4), flexShrink: 1, borderColor: (theme) => theme.colors.white }, props)}
|
||||
/>
|
||||
);
|
||||
});
|
||||
@ -131,7 +131,7 @@ export const NavbarProfile = () => {
|
||||
/>
|
||||
))}
|
||||
{accounts.length > 0 && <HR />}
|
||||
{!accounts ? (
|
||||
{!account ? (
|
||||
<>
|
||||
<Menu.Item label={t("login.login")} icon={Login} href="/login" />
|
||||
<Menu.Item label={t("login.register")} icon={Register} href="/register" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user