fix: marker highlighting for visual editor

This commit is contained in:
NGPixel 2019-11-03 22:25:29 -05:00
parent 8eddc4799e
commit 491434fd92
2 changed files with 28 additions and 1 deletions

View File

@ -242,7 +242,7 @@ export default {
this.tree = [ this.tree = [
{ {
id: 0, id: 0,
title: '/ (root', title: '/ (root)',
children: [] children: []
} }
] ]

View File

@ -683,6 +683,33 @@
} }
// ---------------------------------
// HIGHLIGHTING
// ---------------------------------
mark {
&.pen-red {
color: mc('red', '500');
background-color: initial;
}
&.pen-green {
color: mc('green', '500');
background-color: initial;
}
&.marker-blue {
background-color: mc('blue', '300');
}
&.marker-yellow {
background-color: mc('yellow', '300');
}
&.marker-pink {
background-color: mc('pink', '300');
}
&.marker-green {
background-color: mc('green', '300');
}
}
} }
// --------------- // ---------------