diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-09-27 21:45:26 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-09-27 21:45:26 +0200 |
commit | babd0c7cf07f7ef81156d9c272d22e3befc86c1c (patch) | |
tree | 91f93b753cbb8c2683e316b7f09fbcecbe30862f | |
parent | 0f82d38f6d487aee568cfbab223cbfcf6324c65f (diff) |
Fix preview bg
-rw-r--r-- | components/FilePreview.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/FilePreview.vue b/components/FilePreview.vue index 878ca5b..9708197 100644 --- a/components/FilePreview.vue +++ b/components/FilePreview.vue @@ -42,10 +42,10 @@ export default { }, created() { this.baseAPI = this.$config.api; - if (this.$colorMode.preference == "light") { - this.color = this.bg; - } else { + if (this.$colorMode.preference == "dark") { this.color = "#ecfdf5"; + } else { + this.color = this.bg; } }, methods: { |