Skip to content

Commit

Permalink
fixed default theming
Browse files Browse the repository at this point in the history
  • Loading branch information
SelfhostedPro committed Oct 22, 2020
1 parent e73dc61 commit a0ab6f7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Build Vue
ARG VUE_APP_THEME=Default
FROM node:14.5.0-alpine as build-stage
ARG VUE_APP_THEME=Default
ENV VUE_APP_THEME=${VUE_APP_THEME}
WORKDIR /app
COPY ./frontend/package*.json ./
RUN npm install
Expand Down
4 changes: 2 additions & 2 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ dnspython==2.0.0
docker==4.3.0
email-validator==1.1.1
fastapi==0.60.2
fastapi-users==3.0.3
fastapi-users==3.0.6
gunicorn==20.0.4
h11==0.9.0
httptools==0.1.1
idna==2.10
python-jose==3.2.0
makefun==1.9.2
passlib==1.7.3
passlib==1.7.4
pycparser==2.20
pydantic==1.6.1
PyJWT==1.7.1
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default {
if (dark_theme == "false") {
this.$vuetify.theme.dark = false;
} else {
} else if (dark_theme == "true"){
this.$vuetify.theme.dark = true;
}
if (theme) {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/plugins/vuetify.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function theme() {
},
DigitalOcean: {
theme: {
dark: false,
themes: {
light: {
primary: "#008bcf",
Expand All @@ -47,7 +48,6 @@ function theme() {
foreground: "#1E1E1E"
}
},
dark: false,
options: {
customProperties: true,
}
Expand Down

0 comments on commit a0ab6f7

Please sign in to comment.