mirror of
https://github.com/Jellify-Music/App.git
synced 2026-02-05 18:09:18 -06:00
Theming stuff
This commit is contained in:
@@ -26,7 +26,7 @@ export function Miniplayer({ navigation }: { navigation : NavigationHelpers<Para
|
||||
const { width } = useSafeAreaFrame();
|
||||
|
||||
return (
|
||||
<BlurView>
|
||||
<BlurView overlayColor={Colors.Background}>
|
||||
{ nowPlaying && (
|
||||
|
||||
<XStack
|
||||
|
||||
@@ -6,7 +6,7 @@ import Navigation from "./navigation";
|
||||
import Login from "./Login/component";
|
||||
import { JellyfinAuthenticationProvider } from "./Login/provider";
|
||||
import { SafeAreaProvider } from "react-native-safe-area-context";
|
||||
import { JellifyTheme } from "./theme";
|
||||
import { JellifyDarkTheme } from "./theme";
|
||||
import { PlayerProvider } from "../player/provider";
|
||||
|
||||
export default function Jellify(): React.JSX.Element {
|
||||
@@ -24,7 +24,7 @@ function App(): React.JSX.Element {
|
||||
const { server, library } = useApiClientContext();
|
||||
|
||||
return (
|
||||
<NavigationContainer theme={JellifyTheme}>
|
||||
<NavigationContainer theme={JellifyDarkTheme}>
|
||||
<SafeAreaProvider>
|
||||
{ server && library ? (
|
||||
<PlayerProvider>
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
import { DarkTheme } from "@react-navigation/native";
|
||||
import { Colors } from "../enums/colors";
|
||||
|
||||
export const JellifyTheme = {
|
||||
...DarkTheme,
|
||||
export const JellifyDarkTheme = {
|
||||
colors: {
|
||||
...DarkTheme.colors,
|
||||
card: Colors.Background,
|
||||
border: Colors.Secondary,
|
||||
background: Colors.Background,
|
||||
primary: Colors.Primary,
|
||||
},
|
||||
dark: true
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user