Analog
Analog
Effects
The “analog atmosphere” layer: a fixed, full-viewport grain texture painted over every page with zero markup (html::after), plus a subtle ink-bleed text-shadow for text inside .prose/.ink/.note containers. Grain intensity and blend mode swap automatically in dark mode.
| Name | Description | Value |
|---|---|---|
.grain |
Applies grain overlay to a specific subtree container. | |
--effect-grain |
Coarse noise texture SVG filter data URI used by page-wide overlay. | url("data:image/svg+xml,…") |
--effect-noise |
Fine noise texture SVG filter data URI for high-density grain. | url("data:image/svg+xml,…") |
--effect-opacity |
Overlay opacity (0.15 in light mode, 0.05 in dark mode). | 0.15 |
--effect-blend-mode |
Overlay blend mode (multiply in light mode, screen in dark). |
multiply |
--effect-ink |
Subtle ink-bleed text-shadow applied to typography. | 0 0 1.12px rgb(from currentColor r g b / 0.1) |
.ink |
Container applying organic ink-bleed text-shadows to descendants. | |
.note |
Note container applying ink-bleed text-shadows to content. |
Grain over a subtree, and ink bleed on type
<div class="grain" style="padding: var(--space); border-radius: var(--radius); background: var(--color-surface-raised)">
A surface with <code>.grain</code>: the texture sits over this container only.
</div>
<p class="ink">Text with <code>.ink</code>: a hair of bleed, as on paper.</p>
<div class="note">A <code>.note</code> container applies the same ink to its content.</div>
Live
A surface with
.grain: the texture sits over this container only.
Text with .ink: a hair of bleed, as on paper.
A
.note container applies the same ink to its content.All classes
Other
| Class | Declares |
|---|---|
.prose, .ink, .note |
text-shadow: var(--effect-ink) |