diff --git a/client/images/down-arrow-white.svg b/client/images/down-arrow-white.svg
new file mode 100644
index 00000000..34efd84b
--- /dev/null
+++ b/client/images/down-arrow-white.svg
@@ -0,0 +1,18 @@
+
+
\ No newline at end of file
diff --git a/client/images/right-arrow-white.svg b/client/images/right-arrow-white.svg
new file mode 100644
index 00000000..b789f93d
--- /dev/null
+++ b/client/images/right-arrow-white.svg
@@ -0,0 +1,16 @@
+
+
\ No newline at end of file
diff --git a/client/styles/abstracts/_variables.scss b/client/styles/abstracts/_variables.scss
index 69736822..d3a62a22 100644
--- a/client/styles/abstracts/_variables.scss
+++ b/client/styles/abstracts/_variables.scss
@@ -49,6 +49,8 @@ $themes: (
dropdown-color: #414141,
keyboard-shortcut-color: #757575,
nav-hover-color: $p5js-pink,
+ codefold-icon-open: url(../images/down-arrow.svg),
+ codefold-icon-closed: url(../images/right-arrow.svg)
),
dark: (
logo-color: $p5js-pink,
@@ -88,6 +90,8 @@ $themes: (
dropdown-color: #dadada,
keyboard-shortcut-color: #B5B5B5,
nav-hover-color: $p5js-pink,
+ codefold-icon-open: url(../images/down-arrow-white.svg),
+ codefold-icon-closed: url(../images/right-arrow-white.svg)
),
contrast: (
logo-color: $yellow,
@@ -125,7 +129,9 @@ $themes: (
search-background-color: $white,
dropdown-color: #e1e1e1,
keyboard-shortcut-color: #e1e1e1,
- nav-hover-color: $yellow
+ nav-hover-color: $yellow,
+ codefold-icon-open: url(../images/down-arrow-white.svg),
+ codefold-icon-closed: url(../images/right-arrow-white.svg)
)
);
diff --git a/client/styles/components/_editor.scss b/client/styles/components/_editor.scss
index 4aaabfe8..bf317fb0 100644
--- a/client/styles/components/_editor.scss
+++ b/client/styles/components/_editor.scss
@@ -244,11 +244,15 @@ pre.CodeMirror-line {
}
.CodeMirror-foldgutter-open:after {
- background-image: url(../images/down-arrow.svg);
+ @include themify() {
+ background-image: getThemifyVariable('codefold-icon-open');
+ }
}
.CodeMirror-foldgutter-folded:after {
- background-image: url(../images/right-arrow.svg);
+ @include themify() {
+ background-image: getThemifyVariable('codefold-icon-closed');
+ }
}
.CodeMirror-foldgutter-folded:after,