From e1e5ab4b1143e70f19d2895b2910b331dd930686 Mon Sep 17 00:00:00 2001 From: 3w36zj6 <52315048+3w36zj6@users.noreply.github.com> Date: Fri, 11 Jul 2025 04:02:18 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20Web=E3=82=B5=E3=82=A4=E3=83=88=E3=81=AE?= =?UTF-8?q?=E3=82=B3=E3=83=BC=E3=83=89=E3=83=96=E3=83=AD=E3=83=83=E3=82=AF?= =?UTF-8?q?=E3=81=AE=E3=82=B9=E3=82=BF=E3=82=A4=E3=83=AB=E3=82=92Monokai?= =?UTF-8?q?=E9=A2=A8=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website/src/globals.css | 65 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/website/src/globals.css b/website/src/globals.css index 69b3f923cc..14701a30ba 100644 --- a/website/src/globals.css +++ b/website/src/globals.css @@ -92,3 +92,68 @@ samp { content: none; } } + +/* Code blockをMonokai風にする */ +pre code span.typ-comment { + color: #88846f; +} +pre code span.typ-escape { + color: #f92672; +} +pre code span.typ-strong { + color: #66d9ef; + font-weight: bold; +} +pre code span.typ-emph { + color: #66d9ef; + font-style: italic; +} +pre code span.typ-link { + color: #e6db74; + text-decoration: underline; +} +pre code span.typ-raw { + color: #fd971f; +} +pre code span.typ-label { + color: #a6e22e; +} +pre code span.typ-ref { + color: #a6e22e; +} +pre code span.typ-heading { + color: #a6e22e; + font-weight: bold; + text-decoration: underline; +} +pre code span.typ-marker { + color: #ae81ff; +} +pre code span.typ-term { + color: #66d9ef; + font-weight: bold; +} +pre code span.typ-math-delim { + color: #f92672; +} +pre code span.typ-math-op { + color: #66d9ef; +} +pre code span.typ-key { + color: #f92672; +} +pre code span.typ-num { + color: #ae81ff; +} +pre code span.typ-str { + color: #e6db74; +} +pre code span.typ-func { + color: #a6e22e; +} +pre code span.typ-pol { + color: #ae81ff; +} +pre { + background: #272822; +}