Skip to content

Commit 7c022d0

Browse files
fix(demo): replace redacted font with CSS blur on main content
1 parent d0aba02 commit 7c022d0

1 file changed

Lines changed: 4 additions & 15 deletions

File tree

packages/web/src/index.css

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,10 @@
55
@import "@fontsource/dm-sans/500.css";
66
@import "@fontsource/dm-sans/600.css";
77

8-
/* Redacted font — loaded on demand for demo mode */
9-
@font-face {
10-
font-family: "Redacted Script";
11-
font-style: normal;
12-
font-weight: 400;
13-
font-display: swap;
14-
src:
15-
url("https://cdn.jsdelivr.net/gh/christiannaths/redacted-font@0.0.2/fonts/web/redacted-script-regular.woff2")
16-
format("woff2"),
17-
url("https://cdn.jsdelivr.net/gh/christiannaths/redacted-font@0.0.2/fonts/web/redacted-script-regular.woff")
18-
format("woff");
19-
}
20-
21-
[data-demo="true"] *:not(svg):not(path):not(circle):not(line):not(polyline):not(rect):not(polygon) {
22-
font-family: "Redacted Script", cursive !important;
8+
/* Demo mode — blur main content, sidebar remains interactive */
9+
[data-demo="true"] main {
10+
filter: blur(6px);
11+
user-select: none;
2312
}
2413

2514
/* ─── Tailwind v4 theme bridge ─── */

0 commit comments

Comments
 (0)