Skip to content

Commit

Permalink
color changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AltriusRS committed Sep 3, 2023
1 parent 7402873 commit 4ec73ce
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ export default defineAppConfig({
ui: {
icons: ['mdi'],
primary: 'red',
gray: 'zinc'
gray: 'slate'
}
})
6 changes: 3 additions & 3 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="bg-slate-300 text-amber-800">
<div class="bg-slate-600 text-amber-800">
<Header />
<NuxtPage />
<Footer />
Expand All @@ -18,12 +18,12 @@ body {
margin: 0;
padding: 0;
overflow-x: hidden;
background-color: #cbd5e1;
background-color: #475569;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #cbd5e1;
background-color: #475569;
}
}
</style>
26 changes: 17 additions & 9 deletions components/VideoContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,16 @@ const { pending } = useAsyncData(async () => {

<template>
<template v-if="data">
<USlideover v-model="popoverOpen">
<UCard class="flex flex-col flex-1" :ui="{ body: { base: 'flex-1' }, ring: '', divide: 'divide-y divide-gray-100 dark:divide-gray-800' }">
<USlideover
v-model="popoverOpen"
:ui="{
background: 'bg-slate-900',
overlay: {
background: 'bg-gray-800/75'
}
}"
>
<UCard class="flex flex-col flex-1 bg-slate-900 text-white" :ui="{ body: { base: 'flex-1' }, ring: '', divide: 'divide-y divide-gray-800' }">
<template #header>
<h1 class="text-2xl font-extrabold">
Cast Viewer
Expand All @@ -72,7 +80,7 @@ const { pending } = useAsyncData(async () => {
<template v-else>
<div>
<template v-for="(p,i) in cast" :key="i">
<div class="flex w-82 mx-auto mt-2 mb-5 bg-slate-200 rounded-lg p-2">
<div class="flex w-82 mx-auto mt-2 mb-5 bg-slate-800 rounded-lg p-2">
<div class="flex ml-2 mr-4 my-auto align-middle">
<UAvatar class="object-cover" size="3xl" :alt="p.name" :src="'https://cdn.thewandb.com/mugs/'+p.mug" />
</div>
Expand Down Expand Up @@ -101,7 +109,7 @@ const { pending } = useAsyncData(async () => {
<Icon class="w-7 h-7 mx-1" name="bxl:imdb" color="#f3ce13" />
</a>
<a v-else>
<Icon class="w-7 h-7 mx-1" name="bxl:imdb" color="#3a3a3a" />
<Icon class="w-7 h-7 mx-1 fill-slate-400" name="bxl:imdb" />
</a>

<a
Expand All @@ -112,7 +120,7 @@ const { pending } = useAsyncData(async () => {
<Icon class="w-7 h-7 mx-1" name="mdi:wikipedia" />
</a>
<a v-else>
<Icon class="w-7 h-7 mx-1" name="mdi:wikipedia" color="#3a3a3a" />
<Icon class="w-7 h-7 mx-1 fill-slate-400" name="mdi:wikipedia" />
</a>

<a
Expand All @@ -123,14 +131,14 @@ const { pending } = useAsyncData(async () => {
<Icon class="w-7 h-7 mx-1" name="mdi:instagram" color="#C13584" />
</a>
<a v-else>
<Icon class="w-7 h-7 mx-1" name="mdi:instagram" color="#3a3a3a" />
<Icon class="w-7 h-7 mx-1 fill-slate-400" name="mdi:instagram" />
</a>

<a v-if="p.twitter" :href="'https://twitter.com/' + p.twitter" target="_blank">
<Icon class="w-7 h-7 mx-1" name="logos:twitter" />
</a>
<a v-else>
<Icon class="w-7 h-7 mx-1" name="mdi:twitter" color="#3a3a3a" />
<Icon class="w-7 h-7 mx-1 fill-slate-400" name="mdi:twitter" />
</a>

<a
Expand All @@ -141,7 +149,7 @@ const { pending } = useAsyncData(async () => {
<Icon class="w-7 h-7 mx-1" name="devicon:linkedin" />
</a>
<a v-else>
<Icon class="w-7 h-7 mx-1" name="devicon-plain:linkedin" color="#3a3a3a" />
<Icon class="w-7 h-7 mx-1" name="devicon-plain:linkedin" />
</a>
</div>
<!-- <pre><code class="block whitespace-pre overflow-x-scroll">{{ p }}</code></pre> -->
Expand All @@ -163,7 +171,7 @@ const { pending } = useAsyncData(async () => {
</template>
</UCard>
</USlideover>
<NuxtLink class="w-fit overflow-hidden min-h-16 m-1 bg-slate-200 rounded-lg pt-2 hover:bg-slate-400 transition-all" :href="`/videos/${data.id}`">
<NuxtLink class="w-fit overflow-hidden min-h-16 m-1 bg-slate-700 rounded-lg pt-2 hover:bg-slate-500 transition-all text-white" :href="`/videos/${data.id}`">
<div class="w-80 m-2 h-72">
<img class="w-max mx-auto rounded-md my-0" style="width: 300px; height: auto; object-fit: cover;" :src="data.thumbnail">
<h1 class="text-xl mx-2 h-16 my-0">
Expand Down
3 changes: 3 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ export default defineNuxtConfig({
api_base: 'http' + (!process.env.DOMAIN.startsWith('localhost') ? 's' : '') + '://' + process.env.DOMAIN + '/api/v1'
}
},
colorMode: {
preference: 'dark'
},
sitemap: {
siteUrl: 'https://thewandb.com',
urls: ['https://thewandb.com'],
Expand Down

0 comments on commit 4ec73ce

Please sign in to comment.