diff --git a/app/app.vue b/app/app.vue index 3203888..1973ede 100644 --- a/app/app.vue +++ b/app/app.vue @@ -13,6 +13,7 @@ body { background-color: var(--color-primary); font-family: var(--font-body), serif; + color: var(--color-surface); } .content { diff --git a/app/assets/css/variables.css b/app/assets/css/variables.css index 0bc9256..381fe95 100644 --- a/app/assets/css/variables.css +++ b/app/assets/css/variables.css @@ -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; } \ No newline at end of file diff --git a/app/components/movie-list.vue b/app/components/movie-list.vue index 4dd50a6..016d535 100644 --- a/app/components/movie-list.vue +++ b/app/components/movie-list.vue @@ -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]; @@ -122,7 +123,7 @@ const isSortActive = (field: SortField, direction: SortDirection): boolean => { - +
"You complete me." @@ -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 { @@ -271,4 +273,4 @@ const isSortActive = (field: SortField, direction: SortDirection): boolean => { flex-grow: 1; } } - \ No newline at end of file + diff --git a/app/components/panels/movie-details.vue b/app/components/panels/movie-details.vue index 7a3c894..a2def8c 100644 --- a/app/components/panels/movie-details.vue +++ b/app/components/panels/movie-details.vue @@ -70,6 +70,7 @@ const criticScores = computed(() => { \ No newline at end of file diff --git a/app/pages/account-settings.vue b/app/pages/account-settings.vue index 4fb9e74..626bd6d 100644 --- a/app/pages/account-settings.vue +++ b/app/pages/account-settings.vue @@ -3,27 +3,32 @@ 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"; diff --git a/app/pages/lists/index.vue b/app/pages/lists/index.vue index 891f85b..756e5ce 100644 --- a/app/pages/lists/index.vue +++ b/app/pages/lists/index.vue @@ -83,7 +83,7 @@ const refreshLists = () => { } .movie-list li:hover { - background-color: #eee; + background-color: var(--color-list-item-hover); } .not-found-message {