We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb6e706 commit 73e3cbeCopy full SHA for 73e3cbe
src/App.tsx
@@ -1,5 +1,5 @@
1
import React from "react";
2
-import styled from "styled-components";
+import styled, { createGlobalStyle } from "styled-components";
3
import "latex.css/style.css";
4
import LZString from "lz-string";
5
import "katex/dist/katex.css";
@@ -8,9 +8,19 @@ import Katex from "./katex";
8
import Settings from "./settings";
9
const DEFAULT_VALUE = "\\zeta(s) = \\sum_{n=1}^\\infty \\frac{1}{n^s}";
10
11
+const GlobalStyle = createGlobalStyle`
12
+ .latex-dark {
13
+ textarea {
14
+ color: #f8f9fa;
15
+ background-color: #212529;
16
+ }
17
18
+`;
19
+
20
function App() {
21
return (
22
<div>
23
+ <GlobalStyle />
24
<h1>MathJojo</h1>
25
<Sandbox />
26
</div>
0 commit comments