updating theme

This commit is contained in:
2021-03-18 20:01:14 +00:00
parent e7c61e2d86
commit c1184fd330
7 changed files with 25 additions and 21 deletions

1
.gitignore vendored
View File

@@ -25,6 +25,7 @@ pnpm-debug.log*
# Custom # Custom
src/assets/deck_of_cards src/assets/deck_of_cards
src/assets/avatars src/assets/avatars
src/assets/navbar
# terraform # terraform
*.terraform *.terraform

View File

@@ -8,7 +8,7 @@
app app
:expand-on-hover="true" :expand-on-hover="true"
overflow overflow
color="#070042" color="#272935"
> >
<v-list> <v-list>
<v-list-item <v-list-item
@@ -18,28 +18,31 @@
:to="item.link" :to="item.link"
> >
<v-list-item-icon> <v-list-item-icon>
<v-icon >{{ item.icon }}</v-icon> <!-- <v-icon>{{ item.icon }}</v-icon> -->
<v-img :src="item.icon" width="50"></v-img>
</v-list-item-icon> </v-list-item-icon>
<v-list-item-content > <v-list-item-content>
<v-list-item-title>{{ item.title }}</v-list-item-title> <v-list-item-title class="text-button">{{
item.title
}}</v-list-item-title>
</v-list-item-content> </v-list-item-content>
</v-list-item> </v-list-item>
</v-list> </v-list>
</v-navigation-drawer> </v-navigation-drawer>
<v-app-bar :clipped-left="false" app color="#070042" > <v-app-bar :clipped-left="false" app color="#272935">
<v-app-bar-nav-icon <v-app-bar-nav-icon
@click.stop="primaryDrawer.model = !primaryDrawer.model" @click.stop="primaryDrawer.model = !primaryDrawer.model"
></v-app-bar-nav-icon> ></v-app-bar-nav-icon>
<v-toolbar-title >Onmyoji Deck Builder</v-toolbar-title> <v-toolbar-title>Onmyoji Deck Builder</v-toolbar-title>
</v-app-bar> </v-app-bar>
<v-main> <v-main>
<router-view></router-view> <router-view></router-view>
</v-main> </v-main>
<v-footer :inset="false" color="#04002E" app> <v-footer :inset="false" color="#272935" app>
<!-- <span class="px-4" <!-- <span class="px-4"
>&copy; {{ new Date().getFullYear() }} Daniel Tomlinson</span >&copy; {{ new Date().getFullYear() }} Daniel Tomlinson</span
> >
@@ -53,12 +56,13 @@
<script> <script>
import { import {
mdiViewDashboard,
mdiCalculator,
mdiHelpBox,
mdiGithub, mdiGithub,
} from "@mdi/js"; } from "@mdi/js";
const home_icon = require(`@/assets/navbar/0000034a.png`);
const deck_icon = require(`@/assets/navbar/00000047.png`);
const help_icon = require(`@/assets/navbar/00000121.png`);
export default { export default {
name: "App", name: "App",
@@ -66,9 +70,9 @@ export default {
primaryDrawer: { primaryDrawer: {
model: true, model: true,
items: [ items: [
{ title: "Home", icon: mdiViewDashboard, link: "/" }, { title: "Home", icon: home_icon, link: "/" },
{ title: "Deck Builder", icon: mdiCalculator, link: "deck-builder" }, { title: "Deck Builder", icon: deck_icon, link: "deck-builder" },
{ title: "Help", icon: mdiHelpBox, link: "help" }, { title: "Help", icon: help_icon, link: "help" },
], ],
}, },
icons: { icons: {

BIN
src/assets/000000c6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -1,3 +1,3 @@
$material-dark: ( $material-dark: (
'background': #04002E 'background': #16192B
); );

View File

@@ -45,7 +45,7 @@
x-large x-large
@click="data.select" @click="data.select"
@click:close="remove_shikigami(data.item)" @click:close="remove_shikigami(data.item)"
color="#070042" color="#C0B094"
> >
<v-avatar size="90" left> <v-avatar size="90" left>
<v-img <v-img
@@ -76,7 +76,7 @@
<!-- deck_title: {{ deck_title }} --> <!-- deck_title: {{ deck_title }} -->
</v-row> </v-row>
<v-row v-for="(_, index) in selected_shikigami_names" :key="index"> <v-row v-for="(_, index) in selected_shikigami_names" :key="index">
<v-card elevation="2" width="100%" class="pa-3" flat tile color="#070042"> <v-card elevation="2" width="100%" class="pa-3" flat tile color="#171D29">
<v-row> <v-row>
<v-col cols="2"> <v-col cols="2">
<div cols="12"> <div cols="12">
@@ -118,7 +118,7 @@
label label
@click="data.select" @click="data.select"
@click:close="remove_decks(index, data.index)" @click:close="remove_decks(index, data.index)"
color="#04002E" color="#C0B094"
>{{ data.item.name }}</v-chip >{{ data.item.name }}</v-chip
></template ></template
> >
@@ -132,7 +132,7 @@
v-for="i in selected_shikigami_decks[index][index]" v-for="i in selected_shikigami_decks[index][index]"
:key="i.id" :key="i.id"
width="12.3%" width="12.3%"
color="#070042" color="#171D29"
> >
<!-- <div class="text-center"> <!-- <div class="text-center">
{{ i.name }} {{ i.name }}
@@ -149,7 +149,6 @@
</v-row> </v-row>
<v-row> <v-row>
<!-- <v-textarea :value="construct_url()" color="teal"> </v-textarea> --> <!-- <v-textarea :value="construct_url()" color="teal"> </v-textarea> -->
<v-textarea :value="construct_url()" color="teal"> </v-textarea>
</v-row> </v-row>
</v-container> </v-container>
</template> </template>

View File

@@ -3,7 +3,7 @@
<v-row class="text-center"> <v-row class="text-center">
<v-col cols="12"> <v-col cols="12">
<v-img <v-img
:src="require('../assets/front_page_shikigami.png')" :src="require('../assets/000000c6.png')"
class="my-3" class="my-3"
contain contain
height="500" height="500"
@@ -14,7 +14,7 @@
<h1 class="display-2 font-weight-bold mb-3">Onmyoji Deck Builder</h1> <h1 class="display-2 font-weight-bold mb-3">Onmyoji Deck Builder</h1>
<p class="subheading font-weight-regular">Build and share decks.</p> <p class="subheading font-weight-regular">Build and share decks.</p>
<v-btn elevation="1" x-large color="#EA6F1A">Get started</v-btn> <v-btn elevation="1" x-large color="#C0B094">Get started</v-btn>
</v-col> </v-col>
</v-row> </v-row>
<!-- <v-row class="text-center"> <!-- <v-row class="text-center">