/* * GOV.UK Design System (govuk@1.0.0) * Palette: govuk@1.0.0 * Fonts: heading=inter@1.0.0, body=inter@1.0.0, mono=roboto-mono@1.0.0 * Generated by brand-atoms converter — do not edit by hand. */ package com.brandatoms.govuk import androidx.compose.ui.graphics.Color /** Source-of-truth color swatches. */ object BrandSwatch { /** Text — GOV.UK Black — primary text ink on every page. */ val Text = Color(0xFF0B0C0C) /** Secondary Text — Secondary text and hints; quiet metadata. */ val SecondaryText = Color(0xFF484949) /** Link — Default link colour on the GOV.UK template background. */ val Link = Color(0xFF1A65A6) /** Link Hover — Hover state for links. */ val LinkHover = Color(0xFF0F385C) /** Link Visited — Visited link state — sourced from web-palette Purple. */ val LinkVisited = Color(0xFF54319F) /** Link Active — Active link state — GOV.UK Black for highest emphasis. */ val LinkActive = Color(0xFF0B0C0C) /** Border — Default border on quiet dividers and cards. */ val Border = Color(0xFFCECECE) /** Input Border — Form-control border — full-strength GOV.UK Black. */ val InputBorder = Color(0xFF0B0C0C) /** Hover — Hover surface for interactive rows and list items. */ val Hover = Color(0xFFCECECE) /** Focus — GOV.UK Yellow focus indicator — the signature accessibility affordance. */ val Focus = Color(0xFFFFDD00) /** Focus Text — Text ink rendered on the yellow focus background. */ val FocusText = Color(0xFF0B0C0C) /** Error — Validation and error messaging colour. */ val Error = Color(0xFFCA3535) /** Success — Success / confirmation colour. */ val Success = Color(0xFF0F7A52) /** Brand — GOV.UK Blue — the system's brand link / primary blue. */ val Brand = Color(0xFF1D70B8) /** Body Background — Default page background — white. */ val BodyBackground = Color(0xFFFFFFFF) /** Template Background — The pale-blue GOV.UK template background. */ val TemplateBackground = Color(0xFFF4F8FB) /** Surface Background — Default surface background for cards and panels. */ val SurfaceBackground = Color(0xFFF4F8FB) /** Surface Text — Default text colour on a surface panel. */ val SurfaceText = Color(0xFF0B0C0C) /** Surface Border — Default border colour on a surface panel. */ val SurfaceBorder = Color(0xFF8EB8DC) /** Web Blue — Web-palette Blue — identical to brand. */ val WebBlue = Color(0xFF1D70B8) /** Web Green — Web-palette Green — identical to success. */ val WebGreen = Color(0xFF0F7A52) /** Web Teal — Web-palette Teal. */ val WebTeal = Color(0xFF158187) /** Web Purple — Web-palette Purple — identical to link-visited. */ val WebPurple = Color(0xFF54319F) /** Web Magenta — Web-palette Magenta. */ val WebMagenta = Color(0xFFCA357C) /** Web Red — Web-palette Red — identical to error. */ val WebRed = Color(0xFFCA3535) /** Web Orange — Web-palette Orange. */ val WebOrange = Color(0xFFF47738) /** Web Yellow — Web-palette Yellow — identical to focus. */ val WebYellow = Color(0xFFFFDD00) /** Web Brown — Web-palette Brown. */ val WebBrown = Color(0xFF99704A) /** Web Black — Web-palette Black — identical to text. */ val WebBlack = Color(0xFF0B0C0C) /** Web White — Web-palette White — identical to body-background. */ val WebWhite = Color(0xFFFFFFFF) } /** Semantic color roles for light mode. */ object BrandLight { val Background = BrandSwatch.BodyBackground val Surface = BrandSwatch.TemplateBackground val SurfaceElevated = BrandSwatch.BodyBackground val TextPrimary = BrandSwatch.Text val TextSecondary = BrandSwatch.SecondaryText val TextTertiary = BrandSwatch.SecondaryText val Primary = BrandSwatch.Brand val PrimaryHover = BrandSwatch.LinkHover val Accent = BrandSwatch.Focus val AccentHover = BrandSwatch.Focus val Warning = BrandSwatch.WebOrange val WarningHover = BrandSwatch.WebOrange val Error = BrandSwatch.Error val Success = BrandSwatch.Success val Border = BrandSwatch.Border } /** Semantic color roles for dark mode. */ object BrandDark { val Background = BrandSwatch.Text val Surface = BrandSwatch.Text val SurfaceElevated = BrandSwatch.SecondaryText val TextPrimary = BrandSwatch.BodyBackground val TextSecondary = BrandSwatch.Border val TextTertiary = BrandSwatch.Border val Primary = BrandSwatch.WebBlue val PrimaryHover = BrandSwatch.WebBlue val Accent = BrandSwatch.Focus val AccentHover = BrandSwatch.Focus val Warning = BrandSwatch.WebOrange val WarningHover = BrandSwatch.WebOrange val Error = BrandSwatch.Error val Success = BrandSwatch.Success val Border = BrandSwatch.SecondaryText } /** Brand-level color role overrides. */ object BrandColor { val Identity = BrandSwatch.BodyBackground val OnIdentity = BrandSwatch.Text val Primary = BrandSwatch.Brand val PrimaryHover = BrandSwatch.LinkHover val Accent = BrandSwatch.Focus val AccentHover = BrandSwatch.Focus val Mark = BrandSwatch.Text val Success = BrandSwatch.Success val Warning = BrandSwatch.WebOrange val Error = BrandSwatch.Error val TextPrimaryLight = BrandSwatch.Text val TextPrimaryDark = BrandSwatch.BodyBackground val BackgroundLight = BrandSwatch.BodyBackground val BackgroundDark = BrandSwatch.Text val SurfaceLight = BrandSwatch.TemplateBackground val SurfaceDark = BrandSwatch.Text val TextSecondaryLight = BrandSwatch.SecondaryText val TextTertiaryLight = BrandSwatch.SecondaryText val BorderLight = BrandSwatch.Border } /** Typography family names by brand role. */ object BrandFont { /** Inter (inter@1.0.0) */ const val Heading = "Inter" /** Inter (inter@1.0.0) */ const val Body = "Inter" /** Roboto Mono (roboto-mono@1.0.0) */ const val Mono = "Roboto Mono" }