From f08cc6f33868365e8462008d47bc436dde311372 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Thu, 18 Aug 2022 05:24:37 +0000 Subject: [PATCH] Fix dark mode --- src/components/Timeline.vue | 7 +++---- test.php | 4 ++++ 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 test.php diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index 00e2eb0d..3a506732 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -610,7 +610,7 @@ export default { .photo-row img { background-clip: content-box; - background-color: #eee; + background-color: var(--color-loading-light); padding: 2px; object-fit: cover; border-radius: 3%; @@ -682,7 +682,6 @@ export default { pointer-events: none; position: absolute; font-size: 0.8em; - color: black; right: 5px; transform: translateY(-50%); z-index: 1; @@ -692,7 +691,7 @@ export default { height: 4px; width: 4px; border-radius: 50%; - background-color: #444; + background-color: var(--color-main-text); opacity: 0.5; display: block; } @@ -714,7 +713,7 @@ export default { opacity: 1; } .timeline-scroll .cursor.hv { - background-color: rgba(255, 255, 255, 0.8); + background-color: var(--color-placeholder-light); padding: 2px 5px; border-top: 2px solid var(--color-primary); border-radius: 2px; diff --git a/test.php b/test.php new file mode 100644 index 00000000..1d6344dd --- /dev/null +++ b/test.php @@ -0,0 +1,4 @@ +getTimestamp()); \ No newline at end of file