Logo of Easterhegg 2025. In the style of a neon sign:
     The text 'Unhandled Eggception Easterhegg 2025' with a line art of a hare and an egg.
     The egg shell and the word 'Eggception' are glowing in a light blue, everything else in a bright pink. Logo of Easterhegg 2025. In the style of a unpowered neon sign:
     The text 'Unhandled Eggception Easterhegg 2025' with a line art of a hare and an egg.
     The egg shell and the word 'Eggception' are dimly glowing in a dark blue, everything else in a dark pink.

Glow

Darkmode

To add the glow to something of a given height (or fontsize), here 1em, one needs to calculate four values:

The first three values are used for drop-shadows, the last for an inset shadow. Sadly, the latter is currently not possible using plain CSS filters, which is why it requires the use of an SVG filter (further information: see Notes).

Below you'll find implementation examples using the primary color CSS variable for the glow color as specified in our (S)CSS stylesheets. In the CSS example simply replace --color-primary with --color-secondary to use the secondary color. In the SVG example, we don't use CSS variables, because not every software understands them.

Lightmode

To add the dim glow to something of a given height (or fontsize), here 1em, one needs to calculate one value: a thirtysecond; here 0.03125.

The value is needed for both drop shadows and inset shadows. Sadly, the latter is currently not possible using plain CSS filters, which is why it requires the use of an SVG filter (further information: see Notes).

Below you'll find implementation examples using the primary color CSS variable for the glow color as specified in our (S)CSS stylesheets. In the CSS example simply replace each occurrence of "primary" with "secondary" and "argon" with "krypton" to get a glow of the secondary color. In the SVG example, we don't use CSS variables, because not every software understands them.

Notes

Because support for external SVG filters (using url("filter.svg#filter-id")) is still flaky, we instead opted to have two versions of each glow. One using SVG filters for use-cases which support it (like the logo), and one using CSS filters (as for this page's headings).

In the SVG files we use two separate filters, because when combining shadows with the primary and the secondary color as can be seen in the logo, it is necessary to first add all drop-shadows to all paths using style="mix-blend-mode: screen;" and put them in an isolated group, so that the blend mode does not interfere with the background:
<g style="isolation: isolate;">
Then layer all inset-shadow filters on top of that - otherwise, one path's drop shadow might overlay another path's inset-shadow. Have a look at the logo's source for an example.

Since inkscape, for example, cannot handle the ‘feDropShadow’ filter yet, we use it in its long form as a combination of 5 other filters, as described in the SVG Filter Effects Module Level 1 (Working Draft).