Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/samualtnorman/solid-syntax-highlight-text-editor. Syntax highlighting text editor in Solid.js samualtnorman.github.io/solid-syntax-highlight-text-editor
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778@import "./catppuccin.css";
:root { color: var(--text)}
html { height: 100%}
body, textarea, input { all: unset; tab-size: 4}
/* https://catppuccin.com/palette/ */body { font-family: monospace; font-size: clamp(16px, 3vw, 20px); word-break: break-word; background-color: var(--base); display: flex; width: 100%; min-height: 100%}
button { border: none; background: none; font: inherit; cursor: pointer}
a { color: var(--sky); text-decoration: none}
a:hover { text-decoration: underline}
textarea::selection { background-color: rgb(from var(--overlay2) r g b / .3)}
::highlight(squigly-bracket) { color: var(--sapphire)}
::highlight(square-bracket) { color: var(--lavender)}
::highlight(punctuation) { color: var(--overlay2)}
::highlight(boolean) { color: var(--yellow)}
::highlight(number) { color: var(--peach)}
::highlight(null) { color: var(--mauve)}
::highlight(string) { color: var(--green)}
::highlight(key) { color: var(--blue)}