Package-level declarations
Types
The twenty accents Windows Phone 8 shipped.
The Windows Phone theme palette: thirteen tokens and one accent, transcribed from the SDK's ThemeResources.xaml.
Metro's timing, from the WinJS animation library and the Windows Phone Toolkit.
Windows Phone sized text in points. Metro's own resource dictionary annotates every size with its point value, and the ratio is 0.75 in all seventeen of them, so this is Microsoft's conversion rather than a convention chosen here.
Page and control measurements, in dp at the canonical 0.75 of Metro's pixels.
The current theme.
The named text styles of a Windows Phone page.
Metro chooses weight by picking a family, not by setting a number. Selawik ships exactly the five Segoe WP had, and these are the four the phone's own styles use.
Properties
The style io.github.youndie.kvadrant.foundation.KvadrantText uses when given none.
Functions
The theme with every colour that carries text raised to WCAG AA.
Which of black or white to put on a colour, by the rule Windows Phone used: light accents take black text, dark ones take white.
WCAG's contrast ratio between two opaque colours.
Wraps content in a Metro theme, and replaces the press indication with TiltIndication — the plane leaning towards the finger is Metro's ripple, and it is the default rather than something a caller remembers to apply.
The metric set scaled so that one row of the Start screen — margin, wide tile, margin — is exactly width across.