Tesserae.Themes.Phosphor
26.11.74271
dotnet add package Tesserae.Themes.Phosphor --version 26.11.74271
NuGet\Install-Package Tesserae.Themes.Phosphor -Version 26.11.74271
<PackageReference Include="Tesserae.Themes.Phosphor" Version="26.11.74271" />
<PackageVersion Include="Tesserae.Themes.Phosphor" Version="26.11.74271" />
<PackageReference Include="Tesserae.Themes.Phosphor" />
paket add Tesserae.Themes.Phosphor --version 26.11.74271
#r "nuget: Tesserae.Themes.Phosphor, 26.11.74271"
#:package Tesserae.Themes.Phosphor@26.11.74271
#addin nuget:?package=Tesserae.Themes.Phosphor&version=26.11.74271
#tool nuget:?package=Tesserae.Themes.Phosphor&version=26.11.74271
Tesserae.Themes.Phosphor
A Tesserae custom theme after the character terminal: the glass video terminals of the 1970s and 80s, and the line printers they fed.
Two editions of one machine:
- Dark (
UI.Theme.Dark()) is the screen. Green P1 phosphor on near-black glass. Every glyph blooms a little in its own colour, fine horizontal scanlines and a gentle vignette lie over the whole tube, and amber, the P3 phosphor, is the second colour: warnings, links, the second chart series. - Light is the printout. Continuous-feed paper with pale green-bar bands, a tractor-feed margin of sprocket holes down the edge of the sidebar, the same characters struck in dark carbon-ribbon ink. The same terminal, printed: the same frames and the same cursor blocks, inked instead of lit, and nothing glows.
And one build shared by both: one monospace face for everything, box-drawing frames (a single line for a field or a cell, a double line for a window, a window's title set into its top border), square corners, and the cursor as the one way the theme says "here": focus, selection, the current tab, the current page, the highlighted row are all inverse video.
using Tesserae;
using Tesserae.Themes.Phosphor;
await UI.Theme.SetCustomTheme(PhosphorTheme.Instance); // activate
await UI.Theme.ClearCustomTheme(); // back to the default look
The theme adds tss-theme-phosphor to document.body while it is active, and every rule in its stylesheet is
scoped under that class. The stylesheet (assets/css/tss-theme-phosphor.css) and the fonts
(assets/fonts/phosphor/) are copied into your app's output on build, but the stylesheet is not linked from
index.html: it is fetched the first time the theme is activated.
The fonts are bundled (SIL Open Font License 1.1, license texts beside them), so the theme makes no request to a third-party font host: IBM Plex Mono (all text, chrome and code; 400, 500, 600 and a 400 italic, Latin and Latin Extended) and VT323 (the display face, traced from a glass terminal's bitmap characters, for page and window titles and the numbers that are the point).
The design language
The rules every file in tps/assets/css/ follows. The tokens are listed, with what each one is for, in the header
of tss.common.css; tss.button.css, tss.textbox.css, tss.card.css, tss.modal.css, tss.pivot.css,
tss.sidebar.css and tss.progressindicator.css are the worked examples.
- Two editions, one set of tokens. Write every rule in terms of the
--tss-*roots and the--tss-ph-*tokens, never a hex value for something that changes between modes. Text is--tss-ph-ink, secondary text--tss-ph-dim, titles and lit states--tss-ph-hot(the brightest phosphor; on paper the blackest ink), the glass or the sheet--tss-ph-paper, a window's fill--tss-ph-surface. Each has a-rootforrgba(). - One face, one cell width. Everything is IBM Plex Mono (
--tss-ph-mono); ligatures are off. Headlines (TextBlock Large and up, page titles, markdown h1 to h3, metric values) switch to VT323 (--tss-ph-display), a size larger to make up for its small x-height. Chrome legends (sidebar sections, card and modal titles, column heads, metric titles) are 11 to 12px capitals with--tss-ph-tracking. Content stays in its own case. - Frames are box-drawing lines. A field, a cell, a card, a list item:
--tss-ph-single(1px). A window (a titled card, a modal, a dialog, a menu, a dropdown list, a toast, the command palette):--tss-ph-double(3px double). Separators inside a window are--tss-ph-faint, often dashed. A titled window carries its title in its top border,[ TITLE ], on a patch of the surface colour. - Character cells have square corners. No radius anywhere (
tss.common.csssquares everytss-*element), except the radio, which a terminal draws as( ). - The cursor is inverse video.
--tss-ph-cursorwith--tss-ph-on-cursortype and no text glow: keyboard focus on a button or menu row,::selection, the current tab (Pivot's sliding indicator grown into a block), the current sidebar entry, the selected tree or nav row, the active page number, a solid button, a tooltip. Under the pointer a row is only lit (--tss-ph-tint); a ghost button inverts. - Buttons are bracketed fields. A labelled button reads
[ OK ]; solid buttons are the inverse block with the brackets inside. Links are underlined in the link colour and invert under the pointer. Disabled is a dashed frame in the dim colour. Buttons that live inside other chrome (sidebar, menus, tab strips, toolbars) drop the brackets. - Fields are prompt lines. A
>(--tss-ph-prompt, an inline SVG) in front, the faint--tss-ph-fieldwash over a 1px underline; with the cursor in it the prompt lights (--tss-ph-prompt-hot), the underline doubles in the cursor colour and the caret is a block (caret-shape: block, blinking at the system's rate). Invalid is the red underline and a message that starts!. - Progress is counted in cells. Progress bars, sliders, target bars and skeletons are rows of 6px cells
with 2px gaps (
repeating-linear-gradient), faint for the track and lit for the value; a slider thumb is a block cursor; a spinner turns in eight hard steps. - The screen glows, the paper does not. In dark mode the body sets
text-shadow: var(--tss-ph-glow), drawn incurrentColorso amber text blooms amber; lit frames and blocks add--tss-ph-box-glow, floating windows--tss-ph-window-shadow. The scanlines (--tss-ph-scanlines, a 3px raster at 16%) and the vignette are one fixedbody::afterlayer withpointer-events: none. All of it resolves tononeon paper, where a floating window casts a hard 4px carbon offset instead. - Status keeps its colour and its sign. Success is the phosphor green (on paper a green ink), warning amber, danger red; messages and banners carry a double bar of their colour at the leading edge, never the hue alone.
- Charts read in phosphors.
--tss-chart-series-1..8on the screen: P1 green, P3 amber, P4 white, P7 blue-white, a dim green, orange, red, violet; on paper: carbon, green, ribbon red, amber, blue, grey, teal, violet. Gridlines are a dotted graticule; traces use a square pen and bloom on the screen. - Motion is stepped. State changes snap (
steps(), 90 to 160ms): the toggle's block jumps, the tab cursor steps across. The only loop is the blinking block after the sidebar's brand, which stops underprefers-reduced-motion: reduce, as does every transition the theme adds.
Every selector starts with body.tss-theme-phosphor (dark mode: body.tss-theme-phosphor.tss-dark-mode) so the
theme is inert while it is off. Redefine derived variables together with their -root (see tss.common.css). A
theme file restates only what differs from Tesserae's own stylesheet of the same name.
Scrollbars
A 10px bar: a 1px rule for the rail and a square block for the thumb, a ghost at rest, dim while the pointer is
over the scroller, the full cursor colour under the pointer and while dragged. CSS only (::-webkit-scrollbar*,
and scrollbar-color for Firefox, which stops at the dim block): no script watches or draws a bar.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Tesserae (>= 2026.11.74271)
- Transpose.BCL (>= 26.9.5840)
- Transpose.Core (>= 26.10.6989)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 26.11.74271 | 50 | 11/30/2026 |
| 26.11.74236 | 60 | 11/28/2026 |
| 26.11.74168 | 61 | 11/27/2026 |
| 26.11.74167 | 59 | 11/27/2026 |
| 26.11.74166 | 49 | 11/27/2026 |
| 26.11.74163 | 65 | 11/26/2026 |
| 26.11.74149 | 63 | 11/26/2026 |
| 26.11.74043 | 76 | 11/25/2026 |
| 26.11.74042 | 79 | 11/25/2026 |
| 26.11.74041 | 76 | 11/25/2026 |
| 26.11.73979 | 86 | 11/24/2026 |
| 26.11.73973 | 85 | 11/24/2026 |
| 26.11.73968 | 89 | 11/24/2026 |
| 26.11.73961 | 86 | 11/24/2026 |
| 26.11.73898 | 94 | 11/23/2026 |
| 26.11.73897 | 94 | 11/23/2026 |
| 26.11.73875 | 97 | 11/22/2026 |
| 26.11.73874 | 96 | 11/22/2026 |
| 26.11.73866 | 98 | 11/21/2026 |
| 26.11.73859 | 96 | 11/20/2026 |