Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
theming adjustments throughout the app
Browse files Browse the repository at this point in the history
  • Loading branch information
PickleNik committed Mar 31, 2022
1 parent 1db1763 commit 1fc37f0
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 29 deletions.
6 changes: 5 additions & 1 deletion NUXT/components/CompactRenderers/compactChannelRenderer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
{{ title.text }}
</div>

<div class="grey--text caption" v-text="parseBottom(video)" />
<div
class="caption background--text"
:class="$vuetify.theme.dark ? 'text--lighten-4' : 'text--darken-4'"
v-text="parseBottom(video)"
/>
</v-card-text>
</div>
</v-card>
Expand Down
6 changes: 5 additions & 1 deletion NUXT/components/CompactRenderers/compactVideoRenderer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@
{{ title.text }}
</div>

<div class="grey--text caption" v-text="parseBottom(video)" />
<div
class="background--text caption"
:class="$vuetify.theme.dark ? 'text--lighten-4' : 'text--darken-4'"
v-text="parseBottom(video)"
/>
</v-card-text>
</div>
</v-card>
Expand Down
3 changes: 2 additions & 1 deletion NUXT/components/SectionRenderers/itemSectionRenderer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
v-if="
render.separatorDetails && render.separatorDetails.hasBottomSeparator
"
class="separator-bottom grey"
class="separator-bottom background"
:class="$vuetify.theme.dark ? 'lighten-4' : 'darken-4'"
:style="{ height: render.separatorDetails.height + 'px' }"
></div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion NUXT/components/SectionRenderers/shelfRenderer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
></component>
<div
v-if="render.separator && render.separator.hasBottomSeparator"
class="separator-bottom grey"
class="separator-bottom background"
:class="$vuetify.theme.dark ? 'lighten-4' : 'darken-4'"
:style="{ height: render.separator.height + 'px' }"
></div>
</div>
Expand Down
4 changes: 3 additions & 1 deletion NUXT/components/topNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
flat
label="Search"
style="margin-top: 1px"
background-color="background lighten-1"
:background-color="
$vuetify.theme.dark ? 'background lighten-1' : 'background darken-1'
"
@input="$emit('text-changed', text)"
@keyup.enter="$emit('search-btn', text)"
/>
Expand Down
7 changes: 6 additions & 1 deletion NUXT/layouts/error.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
<v-app>
<center>
<v-icon size="100">mdi-alert-circle</v-icon>
<h1 class="grey--text">An error occured!</h1>
<h1
class="background--text"
:class="$vuetify.theme.dark ? 'text--lighten-4' : 'text--darken-4'"
>
An error occured!
</h1>
<v-btn to="/">Reload Application</v-btn>
<v-btn to="/logs">Show Logs</v-btn>

Expand Down
18 changes: 16 additions & 2 deletions NUXT/pages/library.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,21 @@
style="margin-top: 5em; max-width: 80%; max-height: 15em"
src="/dev.svg"
/>
<h1 class="grey--text">Page Under Construction</h1>
<p class="grey--text">Please read the VueTube FAQ for more information.</p>
<h1
class="background--text"
:class="$vuetify.theme.dark ? 'text--lighten-4' : 'text--darken-4'"
>
Page Under Construction
</h1>
<p
class="background--text"
:class="$vuetify.theme.dark ? 'text--lighten-4' : 'text--darken-4'"
>
Please read the VueTube FAQ for more information.
</p>
</center>
</template>

<script>
export default {};
</script>
40 changes: 21 additions & 19 deletions NUXT/pages/mods/tweaks.vue
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
<template>
<div class="d-flex flex-column justify-end" style="min-height: 100%">
<h4 class="mx-10">Layout</h4>
<v-card flat class="px-4 mx-4 mb-4 mt-2 background lighten-1 rounded-xl">
<v-switch disabled label="Dense Navbars" />
<v-switch class="mt-0" disabled label="Disable Top Bar" />
<!-- <v-switch class="mt-6" disabled label="Reverse (disabled)" /> -->
</v-card>
<h4 class="mx-10">Rounded Corners</h4>
<v-card flat class="px-4 mx-4 mb-4 mt-2 background lighten-1 rounded-xl">
<v-switch disabled label="Reverse (disabled)" />
<v-slider
disabled
class="mr-2"
label="Outer (disabled)"
:max="4"
step="1"
thumb-size="64"
></v-slider>
<v-card
flat
class="px-4 ma-4 mt-2 background"
:class="$vuetify.theme.dark ? 'lighten-1' : 'darken-1'"
:style="{
borderRadius: `${roundTweak / 2}rem`,
}"
>
<h3 class="mt-4">Rounded Corners</h3>
<div
class="background--text"
:class="$vuetify.theme.dark ? 'text--lighten-4' : 'text--darken-4'"
>
applies to only a few elements for now
</div>
<!-- TODO: outer radius -->
<!-- TODO: Dense Navbar -->
<!-- TODO: Disable Top Bar -->
<!-- TODO: Top and Bottom bar color selection -->
<v-slider
v-model="roundTweak"
class="mr-2"
class="mr-2 mt-5"
label="Inner"
:max="4"
step="1"
Expand All @@ -28,7 +30,7 @@
>
<template #thumb-label="{ value }">
<div
class="pa-4 white text-red red-text red--text"
class="pa-4 background text-red red-text red--text"
:style="{ borderRadius: value * 3 + 'px !important' }"
></div>
</template>
Expand Down
18 changes: 16 additions & 2 deletions NUXT/pages/subscriptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,21 @@
style="margin-top: 5em; max-width: 80%; max-height: 15em"
src="/dev.svg"
/>
<h1 class="grey--text">Page Under Construction</h1>
<p class="grey--text">Please read the VueTube FAQ for more information.</p>
<h1
class="background--text"
:class="$vuetify.theme.dark ? 'text--lighten-4' : 'text--darken-4'"
>
Page Under Construction
</h1>
<p
class="background--text"
:class="$vuetify.theme.dark ? 'text--lighten-4' : 'text--darken-4'"
>
Please read the VueTube FAQ for more information.
</p>
</center>
</template>

<script>
export default {};
</script>

0 comments on commit 1fc37f0

Please sign in to comment.