Tesserae.Themes.Kristall
26.11.74271
dotnet add package Tesserae.Themes.Kristall --version 26.11.74271
NuGet\Install-Package Tesserae.Themes.Kristall -Version 26.11.74271
<PackageReference Include="Tesserae.Themes.Kristall" Version="26.11.74271" />
<PackageVersion Include="Tesserae.Themes.Kristall" Version="26.11.74271" />
<PackageReference Include="Tesserae.Themes.Kristall" />
paket add Tesserae.Themes.Kristall --version 26.11.74271
#r "nuget: Tesserae.Themes.Kristall, 26.11.74271"
#:package Tesserae.Themes.Kristall@26.11.74271
#addin nuget:?package=Tesserae.Themes.Kristall&version=26.11.74271
#tool nuget:?package=Tesserae.Themes.Kristall&version=26.11.74271
Tesserae.Themes.Kristall
A Tesserae custom theme after the translucent macOS desktop look of its current generation: an application drawn as a native window standing on a desktop. (An homage: the package has no connection to any vendor, and uses none of their names, logos, fonts or artwork.)
The page is the desktop: a soft, static field of colour, and the window's content pane is laid over it nearly
opaque, so a breath of the wallpaper's colour shows through. The sidebar is a vibrant source list, a frosted strip
through which the wallpaper glows, with the current page as a rounded selection pill in the accent. Toolbars and
command bars are unified translucent bars; grouped boxes are white panes with a hairline; menus, popovers, help tags
and notification banners are frosted rounded panels lit by a 1px inner stroke of light; sheets drop in from the
title area on a deep, soft shadow and wear the window's three traffic lights. Controls are native: capsule push
buttons, the blue default button, borderless toolbar buttons that answer the pointer with a glass capsule, pop-up
buttons with a double chevron, the accent switch, check boxes and radios, segmented controls, a capsule search
field, and a focus ring that is a translucent accent halo hugging the control. Dark mode (UI.Theme.Dark()) is the
dark appearance: graphite glass over a night wallpaper.
using Tesserae;
using Tesserae.Themes.Kristall;
await UI.Theme.SetCustomTheme(KristallTheme.Instance); // activate
await UI.Theme.ClearCustomTheme(); // back to the default look
The theme adds tss-theme-kristall to document.body while it is active, and every rule in its stylesheet is
scoped under that class. The stylesheet (assets/css/tss-theme-kristall.css) and the fonts
(assets/fonts/kristall/) 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: Inter (text, variable, upright and italic) and JetBrains Mono (code), Latin subsets.
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.sidebar.css, tss.button.css, tss.textbox.css, tss.dropdown.css, tss.pivot.css,
tss.modal.css and tss.contextmenu.css are the worked examples.
- One set of tokens, two appearances. Write every rule in terms of the
--tss-*roots and the--tss-kr-*tokens, never a hex value for something that changes between modes. Text is the label scale (--tss-kr-labelto--tss-kr-label-4), quiet surfaces are the fill scale (--tss-kr-fillto-fill-4), both translucent so they sit on any material. Lines are--tss-kr-separator(between items) and--tss-kr-hairline(the edge of a control or a panel), drawn at 0.5px where they are a box-shadow. - Materials, from the back. The wallpaper (
--tss-kr-wallpaper, static, fixed to the viewport) is painted once on the body under the window veil (--tss-kr-window). The sidebar repaints the same fixed wallpaper under its own lighter veil (--tss-kr-sidebar), so it reads as vibrancy without abackdrop-filter. Content sits in grouped boxes (--tss-kr-box, radius 10px,--tss-kr-shadow-box). Floating things (menus, popovers, the palette, toasts, sheets) are glass:--tss-kr-popoveror--tss-kr-sheet,backdrop-filter: var(--tss-kr-blur)andbox-shadow: var(--tss-kr-rim), var(--tss-kr-shadow-pop | -sheet | -toast). - Blur only where it is free and safe. A
backdrop-filtermakes its element the containing block of every fixed-position descendant and a stacking context. It goes only on surfaces that mount on the body as layers and hold no fixed children (menus, dropdown lists, popovers, modals, panels, toasts, the palette, tooltips), never on the sidebar, a list row or anything repeated, and never on a container an application lays content into. - Radii by role. 5px for a check box, a tag or a menu row; 7-8px for a field, a pop-up button, a segment;
10px for a grouped box; 12px for a menu or popover; 18px for a sheet, a modal, a toast. Push buttons, the search
field, switches and badges are capsules (
--tss-kr-r-pill). - Push buttons. A coloured button is a capsule of its colour with a faint top light, a 0.5px edge and a small
shadow; the default button is the accent (
--tss-kr-accent-face). Nothing glows under the pointer; held down the face darkens a shade. Tesserae's default button is the borderless toolbar button: type at rest, a glass capsule (--tss-kr-fill-3with a light inner stroke) under the pointer. Icon-only buttons become circles. - The accent marks choice. System blue (
--tss-kr-accent) is the default button, a checked box, an on switch, the slider fill, the selection pill (--tss-kr-selection, a wash with the text in the accent), the menu highlight (solid, white type) and focus. The rest of the system palette (--tss-kr-redto--tss-kr-gray) is for meaning: danger, success, warning, and the chart series. - Focus is a halo. A text field draws it as
box-shadow: inset 0 0 0 1px accent, var(--tss-kr-focus). A button (and a tab, a sidebar row, a segment) draws it inside its own edge, a 3.5px band in--tss-kr-focus-ringthat follows the control's radius, through Tesserae's--tss-btn-focus-color/--tss-btn-focus-width, so a container that clips never cuts it off. Invalid is the same halo in red. - Segmented controls. A Pivot, a SegmentedPivot and an IconToggle are one control: a 9px track in the system fill, and the chosen segment a white pill (a lighter glass pill in dark) with a hairline and a small shadow. The Pivot's sliding underline is that pill, so it glides between segments.
- Menus. Frosted panel, 5px padding, 26px rows with a 5px radius; the row under the pointer or the keyboard is solid accent with white type (a destructive row turns red); a single select marks its row with a check, a multi select with the native check box; headers are 11px semibold grey in their own case; dividers are hairlines inset from the edge.
- Typography. Inter at the desktop's sizes: 13px body, 11px captions, semibold headings, with tracking that
tightens as the size grows (
-0.022emat the largest). Section headers and table headers are small grey semibold captions in their own case: never tracked capitals. - Window chrome is decoration. The traffic lights (
--tss-kr-traffic-lights: red, yellow, green, 12px) appear only before a modal's title, carry no behaviour and take no clicks. - Motion settles. Sheets drop a few pixels with a touch of scale on
var(--tss-kr-ease), the switch knob moves on a short spring (var(--tss-kr-spring)), everything else is a 120-180ms fade. Underprefers-reduced-motion: reducenothing travels; underprefers-reduced-transparency: reduceevery material turns opaque.
Every selector starts with body.tss-theme-kristall (dark mode: body.tss-theme-kristall.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
The desktop's overlay scroller, in CSS only: an 11px slot with a slim rounded thumb and no track, faint at rest, darker while the pointer is over the scroller, darker still under the pointer and while dragged, when a hairline track appears behind it. Firefox, which has no thumb part to hover, stops at the darker grey. 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 | 44 | 11/30/2026 |
| 26.11.74236 | 58 | 11/28/2026 |
| 26.11.74168 | 64 | 11/27/2026 |
| 26.11.74167 | 53 | 11/27/2026 |
| 26.11.74166 | 60 | 11/27/2026 |
| 26.11.74163 | 60 | 11/26/2026 |
| 26.11.74149 | 66 | 11/26/2026 |
| 26.11.74043 | 79 | 11/25/2026 |
| 26.11.74042 | 74 | 11/25/2026 |
| 26.11.74041 | 71 | 11/25/2026 |
| 26.11.73979 | 90 | 11/24/2026 |
| 26.11.73973 | 88 | 11/24/2026 |
| 26.11.73968 | 94 | 11/24/2026 |
| 26.11.73961 | 87 | 11/24/2026 |
| 26.11.73898 | 93 | 11/23/2026 |
| 26.11.73897 | 92 | 11/23/2026 |
| 26.11.73875 | 93 | 11/22/2026 |
| 26.11.73874 | 91 | 11/22/2026 |
| 26.11.73866 | 95 | 11/21/2026 |
| 26.11.73859 | 97 | 11/20/2026 |