Compare commits

...

2 commits

Author SHA1 Message Date
b6a60f69a3 Merge pull request 'updated theme' (#16) from theme-updates into main
Reviewed-on: #16
2026-05-30 01:23:38 +00:00
5909e51f8a updated theme 2026-05-29 20:19:43 -05:00
7 changed files with 33 additions and 21 deletions

View file

@ -13,6 +13,7 @@
body {
background-color: var(--color-primary);
font-family: var(--font-body), serif;
color: var(--color-surface);
}
.content {

View file

@ -1,14 +1,16 @@
:root {
--color-primary: #f5f5f5;
--color-primary: #0a439e;
--color-surface: #fff;
--font-body: 'Ubuntu', serif;
--result-background: #c4c1d2;
--panel-background: #f5f5f5;
--card-background: #c4c1d2;
--card-background: #575757;
--panel-background: var(--card-background);
--color-button-primary: #4caf50;
--color-button-warning: #f59e0b;
--color-button-danger: #fb3b3b;
--color-action-button-text: #fff;
--color-success-text: #4caf50;
--color-list-item-hover: #0058bd;
--color-success-text: #4caf50p;
--color-error-text: #fb3b3b;
--color-movie-background: #453e3e;
}

View file

@ -28,6 +28,7 @@ const sortMovies = (movies: Movie[]): Movie[] => {
if (!currentSort.value) return movies;
const {field, direction} = currentSort.value;
console.log(movies)
return [...movies].sort((a, b) => {
const aVal = a[field];
const bVal = b[field];
@ -220,6 +221,7 @@ const isSortActive = (field: SortField, direction: SortDirection): boolean => {
position: relative;
width: 100%;
height: 100%;
background-color: var(--color-movie-background);
}
.movie img {

View file

@ -70,6 +70,7 @@ const criticScores = computed(() => {
<style scoped>
dt {
font-weight: bold;
font-size: 1.3rem;
}
.movie-detail {
@ -110,6 +111,7 @@ dt {
.movie-title {
text-align: center;
font-size: 2rem;
}
@media (max-width: 1300px) {

View file

@ -58,7 +58,7 @@ onUnmounted(() => document.removeEventListener('click', onClickOutside))
right: 0;
top: 100%;
margin-top: 0.5rem;
background: white;
background: var(--card-background);
border: 1px solid #ccc;
border-radius: 0.5rem;
list-style: none;
@ -75,7 +75,7 @@ onUnmounted(() => document.removeEventListener('click', onClickOutside))
}
.dropdown li:hover {
background: #f0f0f0;
background: var(--color-list-item-hover);
}
</style>

View file

@ -3,19 +3,23 @@
import PageTitle from "~/components/common/page-title.vue";
import PasswordResetForm from "~/components/forms/password-reset-form.vue";
import ProfileForm from "~/components/forms/profile-form.vue";
import Card from "~/components/common/card.vue";
</script>
<template>
<div>
<div class="content">
<PageTitle title="Account Settings"/>
<card>
<div class="password-settings settings-section">
<h2>Reset Password</h2>
<PasswordResetForm/>
</div>
</card>
<card>
<div class="profile-settings settings-section">
<div class="profile-header">
<h2>Profile</h2>
@ -24,6 +28,7 @@ import ProfileForm from "~/components/forms/profile-form.vue";
<ProfileForm/>
</div>
</card>
</div>
</template>

View file

@ -83,7 +83,7 @@ const refreshLists = () => {
}
.movie-list li:hover {
background-color: #eee;
background-color: var(--color-list-item-hover);
}
.not-found-message {