mirror of
https://github.com/rommapp/romm.git
synced 2026-12-03 10:33:22 +01:00
Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration
This commit is contained in:
@@ -60,8 +60,8 @@ services:
|
||||
- authentik-media:/media
|
||||
- authentik-templates:/templates
|
||||
ports:
|
||||
- 9000:9000
|
||||
- 9443:9443
|
||||
- 9001:9000
|
||||
- 9444:9443
|
||||
depends_on:
|
||||
- romm-postgres-dev
|
||||
- romm-valkey-dev
|
||||
|
||||
1
frontend/assets/auth_background.svg
Normal file
1
frontend/assets/auth_background.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="560" preserveAspectRatio="none" viewBox="0 0 1440 560"><style>@keyframes leftMove{0%,to{transform:translate(50px,10px)}50%{transform:translate(-50px,-10px)}}@keyframes rightMove{0%,to{transform:translate(35px,-10px)}50%{transform:translate(-105px,10px)}}</style><g fill="none" mask="url(#a)"><path id="center" fill="#553E98" d="M0 0h1440v560H0z"/><path fill="#371f69" d="M0 580c120 10 180-130 270-190s220-70 290-150c80-90 140-210 120-320S520-250 420-310C340 30 250 0 160-20S-10-50-90-20s-150 70-200 140-60 150-85 230c-30 100-130 200-90 290s190 70 270 130c45-340 85-200 195-190" style="animation:leftMove 15s ease-in-out infinite"/><path fill="#FF9B85" d="M1440 1060c100 30 230 40 310-40s30-210 70-310c35-90 130-150 140-240 10-100-10-220-90-290s-200-40-300-60c-90-20-180-60-270-30s-150 110-220 170c-70 70-190 120-200 220s110 160 170 240c50 70 90 130 150 180 70 60 140 140 230 160" style="animation:rightMove 15s ease-in-out infinite;animation-delay:-3s"/></g><defs><mask id="a"><path fill="#fff" d="M0 0h1440v560H0z"/></mask></defs></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 522 KiB |
913
frontend/package-lock.json
generated
913
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -17,6 +17,7 @@ const selectedLanguage = ref(
|
||||
locale.value = selectedLanguage.value.value;
|
||||
storeLanguage.setLanguage(selectedLanguage.value);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<v-app>
|
||||
<v-main height="100dvh">
|
||||
|
||||
@@ -69,7 +69,7 @@ function showEditable() {
|
||||
}
|
||||
|
||||
function closeEditable() {
|
||||
updatedPlatform.value = {};
|
||||
updatedPlatform.value = { ...currentPlatform.value };
|
||||
isEditable.value = false;
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ async function updatePlatform() {
|
||||
color: "red",
|
||||
});
|
||||
});
|
||||
updatedPlatform.value = {};
|
||||
updatedPlatform.value = { ...currentPlatform.value };
|
||||
updating.value = false;
|
||||
}
|
||||
|
||||
@@ -365,7 +365,7 @@ watch(
|
||||
<v-img
|
||||
:aspect-ratio="aspectRatio.size"
|
||||
cover
|
||||
src="/assets/styled_bg.png"
|
||||
src="/assets/auth_background.svg"
|
||||
:class="{ greyscale: !isSelected }"
|
||||
class="d-flex align-center justify-center"
|
||||
>
|
||||
|
||||
@@ -10,7 +10,7 @@ import storeDownload from "@/stores/download";
|
||||
import storeGalleryView from "@/stores/galleryView";
|
||||
import storeRoms from "@/stores/roms";
|
||||
import { type SimpleRom } from "@/stores/roms.js";
|
||||
import { onMounted, ref, computed } from "vue";
|
||||
import { computed } from "vue";
|
||||
import { useTheme } from "vuetify";
|
||||
|
||||
// Props
|
||||
|
||||
@@ -11,9 +11,11 @@ import qrcode from "qrcode";
|
||||
const { lgAndUp } = useDisplay();
|
||||
const show = ref(false);
|
||||
const emitter = inject<Emitter<Events>>("emitter");
|
||||
const rom = ref<SimpleRom>({} as SimpleRom);
|
||||
|
||||
emitter?.on("showQRCodeDialog", async (romToView: SimpleRom) => {
|
||||
show.value = true;
|
||||
rom.value = romToView;
|
||||
|
||||
await nextTick();
|
||||
|
||||
@@ -43,11 +45,13 @@ function closeDialog() {
|
||||
v-model="show"
|
||||
icon="mdi-pencil-box"
|
||||
scroll-content
|
||||
:width="lgAndUp ? 400 : 300"
|
||||
:width="lgAndUp ? 400 : 400"
|
||||
>
|
||||
<template #content>
|
||||
<v-row no-gutters>
|
||||
<v-col cols="12" class="text-center">
|
||||
<v-col cols="12" class="text-center px-4">
|
||||
<h3 class="mt-5">{{ rom.name }}</h3>
|
||||
<h4 class="text-primary">{{ rom.fs_name }}</h4>
|
||||
<canvas id="qr-code"></canvas>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
@@ -18,8 +18,8 @@ withDefaults(
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<v-card class="ma-2" :class="[bgColor]" elevation="0">
|
||||
<v-toolbar class="bg-toplayer px-1 rounded" density="compact">
|
||||
<v-card class="ma-2 bg-background" elevation="0">
|
||||
<v-toolbar class="bg-toplayer px-1" density="compact">
|
||||
<v-toolbar-title class="text-button">
|
||||
<v-icon :color="iconColor" class="mr-2">{{ icon }}</v-icon>
|
||||
{{ title }}
|
||||
|
||||
@@ -8,7 +8,7 @@ const heartbeatStore = storeHeartbeat();
|
||||
|
||||
<template>
|
||||
<notification />
|
||||
<v-container class="fill-height justify-center">
|
||||
<v-container id="container" class="fill-height justify-center">
|
||||
<router-view />
|
||||
</v-container>
|
||||
<div id="version" class="position-absolute">
|
||||
@@ -26,4 +26,10 @@ const heartbeatStore = storeHeartbeat();
|
||||
bottom: 0.3rem;
|
||||
right: 0.5rem;
|
||||
}
|
||||
|
||||
#container {
|
||||
background-image: url("/assets/auth_background.svg");
|
||||
background-size: cover;
|
||||
max-width: 100vw;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -9,19 +9,16 @@ const commonColors = {
|
||||
export const dark = {
|
||||
dark: true,
|
||||
colors: {
|
||||
primary: "#8B74E8", // Slightly desaturated for better readability
|
||||
secondary: "#9E8CD6", // Better contrast with primary
|
||||
tertiary: "#C5B6AE", // Lightened for better visibility
|
||||
accent: "#FF9B85", // Slightly muted to reduce visual harshness
|
||||
primary: "#8B74E8",
|
||||
secondary: "#9E8CD6",
|
||||
accent: "#E1A38D",
|
||||
background: "#0D1117",
|
||||
surface: "#161B22",
|
||||
toplayer: "#1C2330", // Slightly darker for better depth
|
||||
"primary-lighten": "#A18FFF", // More vibrant for interactive elements
|
||||
"primary-darken": "#6043C8", // Deeper purple for emphasis
|
||||
"secondary-lighten": "#EBE7FA", // More saturated for better contrast
|
||||
"secondary-darken": "#7A6BB4", // Darker for better hierarchy
|
||||
"tertiary-lighten": "#E5D6CC", // Warmer tone
|
||||
"tertiary-darken": "#A69589", // More neutral dark tone
|
||||
toplayer: "#1C2330",
|
||||
"primary-lighten": "#A18FFF",
|
||||
"primary-darken": "#6043C8",
|
||||
"secondary-lighten": "#EBE7FA",
|
||||
"secondary-darken": "#7A6BB4",
|
||||
...commonColors,
|
||||
},
|
||||
};
|
||||
@@ -29,19 +26,16 @@ export const dark = {
|
||||
export const light = {
|
||||
dark: false,
|
||||
colors: {
|
||||
primary: "#371f69", // Slightly darker for better contrast on light
|
||||
primary: "#371f69",
|
||||
secondary: "#553e98",
|
||||
tertiary: "#8A7A71", // Darker for better readability
|
||||
accent: "#FF7A5C", // More vibrant for better visibility
|
||||
accent: "#E1A38D",
|
||||
surface: "#FFFFFF",
|
||||
background: "#F2F4F8", // Darker to create more separation from background
|
||||
background: "#F2F4F8",
|
||||
toplayer: "#E4E9F0",
|
||||
"primary-lighten": "#7850E6", // More saturated for interactive states
|
||||
"primary-lighten": "#7850E6",
|
||||
"primary-darken": "#452788",
|
||||
"secondary-lighten": "#F0EBFA", // Slightly warmer purple tint
|
||||
"secondary-darken": "#9B8BD0", // More saturated for emphasis
|
||||
"tertiary-lighten": "#CFC2B8",
|
||||
"tertiary-darken": "#766961", // Darker for better contrast
|
||||
"secondary-lighten": "#F0EBFA",
|
||||
"secondary-darken": "#9B8BD0",
|
||||
...commonColors,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user