Skip to content

Commit

Permalink
style: change color
Browse files Browse the repository at this point in the history
  • Loading branch information
SalmaElsoly committed Aug 14, 2024
1 parent a815066 commit 503e737
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 19 deletions.
3 changes: 3 additions & 0 deletions frontend/public/theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.background-green {
background-color: #1aa18f !important;
}
7 changes: 4 additions & 3 deletions frontend/src/components/CreateFlist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<v-main class="d-flex flex-column justify-center" height="90%">
<v-container fluid>
<v-row justify="center">
<v-col :cols="8">
<v-col cols="8">
<h2 class="mb-2">Create a Flist:</h2>
</v-col>
</v-row>
<v-row justify="center">
<v-col :cols="8">
<v-col cols="8">
<label
for="image-name"
class="text-subtitle-1 text-medium-emphasis d-flex align-center"
Expand Down Expand Up @@ -192,7 +192,7 @@
</div>

<v-btn
class="pr-5 rounded-pill bg-purple-darken-1 mb-8"
class="pr-5 rounded-pill background-green mb-8"
size="large"
width="50%"
@click="create"
Expand All @@ -215,6 +215,7 @@ import axios from "axios";
import Footer from "./Footer.vue";
import { toast } from "vue3-toastify";
import "vue3-toastify/dist/index.css";
import "../../public/theme.css";
const privateReg = ref<boolean>(false);
const registeryAddress = ref<boolean>(false);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/FollowUp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<v-progress-circular
:size="70"
:width="7"
color="purple-darken-1"
color="#1aa18f"
indeterminate
class="mb-5"
>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@click="username = userName"
>
<template v-slot:prepend>
<v-icon icon="mdi-account" color="purple-darken-1"></v-icon>
<v-icon icon="mdi-account" color="#1aa18f"></v-icon>
</template>
<v-list-item-title>
{{ userName }}
Expand All @@ -51,7 +51,7 @@
style="height: fit-content"
>
<h2 class="mb-2" v-if="username.length != 0">
<v-icon icon="mdi-account" color="purple-darken-1"></v-icon
<v-icon icon="mdi-account" color="#1aa18f"></v-icon
>{{ username }}
</h2>
<!-- table containe flists -->
Expand Down
13 changes: 3 additions & 10 deletions frontend/src/components/Login.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<template>
<v-container
fluid
style="
padding: 0px;
max-height: 100vh;
overflow-y: hidden;
overflow-x: hidden;
"
>
<v-container fluid class="overflow-hidden pa-0">
<v-row>
<v-col :cols="4" class="position-relative">
<v-img :src="image" cover height="100%" style="z-index: 900"> </v-img>
Expand Down Expand Up @@ -71,7 +63,7 @@
>
</v-text-field>
<v-btn
class="pr-5 rounded-pill bg-purple-darken-1"
class="pr-5 rounded-pill background-green"
size="large"
width="50%"
@click="login"
Expand All @@ -95,6 +87,7 @@ import { User } from "../types/User.ts";
import axios from "axios";
import { toast } from "vue3-toastify";
import "vue3-toastify/dist/index.css";
import "../../public/theme.css";
const user = ref<User>({ username: "", password: "" });
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/components/Navbar.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-app-bar class="bg-purple-darken-1">
<v-app-bar color="#1aa18f">
<v-app-bar-nav-icon to="/" class="ml-8">
<v-img :src="whiteLogo" contain height="50px" width="50px"></v-img>
</v-app-bar-nav-icon>
Expand All @@ -9,7 +9,8 @@
</div>
<div class="mr-5" v-else>
<v-btn to="/Create"
><v-icon icon="mdi-plus-circle-outline" class="mr-2"></v-icon>Create flist</v-btn
><v-icon icon="mdi-plus-circle-outline" class="mr-2"></v-icon>Create
flist</v-btn
>
<v-btn to="/Flists">My FLists</v-btn>
</div>
Expand All @@ -18,5 +19,6 @@
<script setup lang="ts">
import whiteLogo from "../assets/logo_white.png";
import "../../public/theme.css";
const auth: string | null = sessionStorage.getItem("token");
</script>
2 changes: 1 addition & 1 deletion frontend/src/components/UserFlist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<v-main>
<div>
<h2 class="ml-5 mt-5">
<v-icon icon="mdi-account" color="purple-darken-1"></v-icon
<v-icon icon="mdi-account" color="#1aa18f"></v-icon
>{{ loggedInUser }}
</h2>
</div>
Expand Down

0 comments on commit 503e737

Please sign in to comment.