Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions apps/app/src/views/RootComposeEmptyWelcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export function RootComposeEmptyWelcome({
map, and feSpecularLighting lit by a moving point light produces a
glint that follows the surface curvature (and travels) the way light
actually reflects — far less "stuck-on" than a flat sweeping band. The
highlight is clipped to the glyph and added over it. */}
highlight is clipped just inside the glyph and added over it so the
light does not brighten antialiased outer-edge pixels. */}
<svg aria-hidden className="absolute h-0 w-0" focusable="false">
<defs>
<filter
Expand Down Expand Up @@ -117,9 +118,15 @@ export function RootComposeEmptyWelcome({
)}
</fePointLight>
</feSpecularLighting>
<feMorphology
in="SourceAlpha"
operator="erode"
radius="0.75"
result="innerAlpha"
/>
<feComposite
in="spec"
in2="SourceAlpha"
in2="innerAlpha"
operator="in"
result="specClip"
/>
Expand Down
Loading