Skip to content

Commit b5e0709

Browse files
committed
fix: enable Font Size setting and add dark grid background
- Remove !important font-size override from tailwind.css that was blocking Font Size setting - Add dark dot grid background to diagram preview (#demo-frame) - background-color: #1f2937 (gray-800) - dot pattern: #4b5563 (gray-600) at 20px intervals
1 parent 69ee7f3 commit b5e0709

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/assets/tailwind.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
@tailwind components;
33
@tailwind utilities;
44

5-
.CodeMirror {
6-
@apply !text-[15px];
7-
}
8-
95
/*NOTE: try to fix tailwind backdrop-blur style after building*/
106
@layer base {
117
*,

src/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,9 @@ li.CodeMirror-hint-active {
685685
height: calc(100%);
686686
/*height: calc(100% - 29px); height reserved for console*/
687687
/* minus minimized console height */
688-
background: white;
688+
background-image: radial-gradient(circle, #4b5563 1px, transparent 1px);
689+
background-size: 20px 20px;
690+
background-color: #1f2937;
689691
}
690692

691693
/* When demo frame is in detached window */

0 commit comments

Comments
 (0)