Files
directus/src/styles/main.scss
Rijk van Zanten 4b7fcb79fa Add reusable image editor modal (#503)
* Install cropperjs

* Add cropper js styles

* Add editing image string

* Track inner active state

* Add temp edit button

* Start on image editor modal

* Add custom icons for image manipulation

* Add image manipulation strings

* Tweak cropper styles

* Remove unused import

* Save as blob

* Expose getItem method for manual refreshes

* Add cache-busting to file preview

* Use new API post endpoint, emit refresh event on success

* Add a cache buster to the image editor
2020-04-29 16:44:34 -04:00

29 lines
420 B
SCSS

@import 'base';
@import 'fonts';
@import 'variables';
@import 'tooltip';
@import 'type-styles';
@import 'themes/dark';
@import 'themes/light';
@import 'lib/codemirror';
@import 'lib/portal-vue';
@import 'lib/cropperjs';
body.light {
@include light;
}
body.dark {
@include dark;
}
body.auto {
@media (prefers-color-scheme: dark) {
@include dark;
}
@media (prefers-color-scheme: light) {
@include light;
}
}