Skip to content

Commit 7230a7e

Browse files
committed
Add (commented out) operation highlighting CSS
1 parent df9fea3 commit 7230a7e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/index.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,25 @@ code,
143143

144144
#code-mirror-override {
145145
@apply text-xs;
146+
147+
/* Operation highlighting CSS. TODO: turn on when we have more rich debug behavior toggling */
148+
/* .cm-operation-range { */
149+
/* --base-color: oklch(60% .2 15 / .3); */
150+
151+
/* .dark & { */
152+
/* --base-color: oklch(50% .2 15 / .5); */
153+
/* } */
154+
155+
/* background-color: var(--base-color); */
156+
157+
/* &[data-operation-type="StdLibCall"] { */
158+
/* background-color: oklch(from var(--base-color) l c calc(h + 120)); */
159+
/* } */
160+
161+
/* &[data-operation-type="VariableDeclaration"] { */
162+
/* background-color: oklch(from var(--base-color) l c calc(h + 240)); */
163+
/* } */
164+
/* } */
146165
}
147166

148167
/*

0 commit comments

Comments
 (0)