Add scrollbars to editors

This commit is contained in:
Max Brunsfeld
2022-10-10 16:20:47 -07:00
parent e96abf1429
commit eedcc585af
3 changed files with 130 additions and 10 deletions
+14
View File
@@ -1,4 +1,5 @@
import Theme from "../themes/common/theme";
import { withOpacity } from "../utils/color";
import {
backgroundColor,
border,
@@ -170,6 +171,19 @@ export default function editor(theme: Theme) {
background: backgroundColor(theme, "on500"),
},
},
scrollbar: {
width: 12,
track: {
border: {
left: true,
width: 1,
color: borderColor(theme, "secondary"),
},
},
thumb: {
background: borderColor(theme, "secondary"),
}
},
compositionMark: {
underline: {
thickness: 1.0,