From c862ca341f8683e86aa9de189bfac50e66715559 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sun, 31 Jan 2021 19:42:31 +0100 Subject: [PATCH] Use currentColor in SVGs (#997) If you include a SVG directly into the DOM (what we do here), then currentColor is the current text color. This is way more convenient than changing the SVG file. This doesn't work if you load the SVG with an IMG-Tag. Signed-off-by: Tilman Vatteroth --- .../app-bar/sync-scroll-buttons/disabledScroll.svg | 10 +++++++++- .../app-bar/sync-scroll-buttons/enabledScroll.svg | 8 +++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/components/editor/app-bar/sync-scroll-buttons/disabledScroll.svg b/src/components/editor/app-bar/sync-scroll-buttons/disabledScroll.svg index cd1bfb37c..162caf653 100644 --- a/src/components/editor/app-bar/sync-scroll-buttons/disabledScroll.svg +++ b/src/components/editor/app-bar/sync-scroll-buttons/disabledScroll.svg @@ -1 +1,9 @@ - \ No newline at end of file + + + + + + + + diff --git a/src/components/editor/app-bar/sync-scroll-buttons/enabledScroll.svg b/src/components/editor/app-bar/sync-scroll-buttons/enabledScroll.svg index ba332611f..1e6250700 100644 --- a/src/components/editor/app-bar/sync-scroll-buttons/enabledScroll.svg +++ b/src/components/editor/app-bar/sync-scroll-buttons/enabledScroll.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + + + +