From 2486221b267a0d5343b42cc6d82c6fd8a23d06d3 Mon Sep 17 00:00:00 2001 From: rowan-vr Date: Wed, 10 May 2023 19:46:38 +0200 Subject: [PATCH 1/2] Update README to include updated .env --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c4b860cb..fdb2d358 100644 --- a/README.md +++ b/README.md @@ -29,11 +29,9 @@ look something like the following (for local development): ``` VUE_APP_API_BASE_URI=http://localhost:8000 VUE_APP_API_AUTHORIZATION_ENDPOINT=/user/oauth/authorize/ -VUE_APP_API_OAUTH_CLIENT_ID=[client_id] +VUE_APP_API_ACCESS_TOKEN_ENDPOINT=/user/oauth/token/ +VUE_APP_API_OAUTH_CLIENT_ID=r8d1Zg5c9WKtOPRHTi3wtKUga6xcQyP5YlE0ITXJ VUE_APP_API_OAUTH_REDIRECT_URI=http://localhost:8080/auth/callback -VUE_APP_SENTRY_DSN=https://xxx.ingest.sentry.io/xxx -VUE_APP_SENTRY_RELEASE= -VUE_APP_SENTRY_ENVIRONMENT=local ``` It is also possible to define these variables in your terminal's environment directly. From 1e5651eeafc505521c46662dfe11fc6addbb7185 Mon Sep 17 00:00:00 2001 From: rowan-vr Date: Wed, 10 May 2023 20:56:49 +0200 Subject: [PATCH 2/2] Added dark mode using CSS media query --- src/App.vue | 41 ++++++++++++++++++++++++++++++++++ src/components/ProductCard.vue | 7 +++--- src/main.ts | 4 ++-- 3 files changed, 46 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index 6a80f1e7..e91eb1f0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -43,6 +43,47 @@ export default {