diff options
| author | bobzel <zzzman@gmail.com> | 2021-03-01 17:05:45 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-03-01 17:05:45 -0500 |
| commit | c41696a3169dc765512d64972ba4503cea8393e0 (patch) | |
| tree | 644cb81de4a23d4b38335bb4731fccc7d1a34504 /src/client/views/StyleProvider.tsx | |
| parent | bed03be10f9289e36f7e1621bbcf2579b0ca3f2d (diff) | |
added basic math typeset equation input
Diffstat (limited to 'src/client/views/StyleProvider.tsx')
| -rw-r--r-- | src/client/views/StyleProvider.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/StyleProvider.tsx b/src/client/views/StyleProvider.tsx index 5a2fb285b..2352aa22a 100644 --- a/src/client/views/StyleProvider.tsx +++ b/src/client/views/StyleProvider.tsx @@ -110,6 +110,7 @@ export function DefaultStyleProvider(doc: Opt<Doc>, props: Opt<FieldViewProps | case DocumentType.FILTER: docColor = docColor || (darkScheme() ? "#2d2d2d" : "rgba(105, 105, 105, 0.432)"); break; case DocumentType.INK: docColor = doc?.isInkMask ? "rgba(0,0,0,0.7)" : undefined; break; case DocumentType.SLIDER: break; + case DocumentType.EQUATION: docColor = docColor || "transparent"; break; case DocumentType.LABEL: docColor = docColor || (doc.annotationOn !== undefined ? "rgba(128, 128, 128, 0.18)" : undefined); break; case DocumentType.BUTTON: docColor = docColor || (darkScheme() ? "#2d2d2d" : "lightgray"); break; case DocumentType.LINK: return "transparent"; |
