Skip to content

Commit

Permalink
fix: filerobot-image-editor
Browse files Browse the repository at this point in the history
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
skjnldsv committed Mar 22, 2024
1 parent 46d11db commit f971e7e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions css/viewer-main.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/components/ImageEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<script>
import { basename, dirname, extname, join } from 'path'
import { emit } from '@nextcloud/event-bus'
import { Node } from '@nextcloud/files'
import { showError, showSuccess } from '@nextcloud/dialogs'
import axios from '@nextcloud/axios'
import { Node } from '@nextcloud/files'
import logger from '../services/logger.js'
import translations from '../models/editorTranslations.js'
Expand Down Expand Up @@ -72,16 +72,16 @@ export default {
palette: {
'bg-secondary': 'var(--color-main-background)',
'bg-primary': 'var(--color-background-dark)',
'bg-hover': 'var(--color-background-hover)',
'bg-stateless': 'var(--color-background-dark)',
// Accent
'accent-primary': 'var(--color-primary-element)',
// Use by the slider
'accent-stateless': 'var(--color-primary-element)',
'border-active-bottom': 'var(--color-primary-element)',
'icons-primary': 'var(--color-main-text)',
// Active state
'bg-primary-active': 'var(--color-background-dark)',
'bg-primary-hover': 'var(--color-background-hover)',
'accent-primary-active': 'var(--color-main-text)',
// Used by the save button
'accent-primary-hover': 'var(--color-primary-element)',
warning: 'var(--color-error)',
Expand Down

0 comments on commit f971e7e

Please sign in to comment.