/* * X (formerly Twitter) (x-twitter@1.0.0) * Palette: x-twitter@1.0.0 * Fonts: heading=chirp@1.0.0, body=chirp@1.0.0, mono=jetbrainsmono-nerdfont@1.0.0 * Generated by brand-atoms converter — do not edit by hand. */ package com.brandatoms.xtwitter import androidx.compose.ui.graphics.Color /** Source-of-truth color swatches. */ object BrandSwatch { /** X Black — Canonical canvas — the X identity reads as the white mark on black. */ val XBlack = Color(0xFF000000) /** X White — Inverse canvas / mark fill — the X mark renders white on black or black on white. */ val XWhite = Color(0xFFFFFFFF) /** X Dim — "Dim" surface — the desaturated near-navy product canvas inherited from Twitter's three-mode theme system, still surfaced on x.com under the Display settings. */ val XDim = Color(0xFF15202B) /** X Dim Elevated — Authored elevated surface on the Dim canvas — modals, hover rows. */ val XDimElevated = Color(0xFF1E2732) /** X Charcoal — Authored elevated surface on the Lights Out (pure-black) canvas — rows, tile borders, and modal backgrounds on x.com dark mode. */ val XCharcoal = Color(0xFF16181C) /** X Gray — Secondary text and icon tone on the dark canvas. */ val XGray = Color(0xFF71767B) /** X Gray Light — Primary text tone on the dark canvas (off-white). */ val XGrayLight = Color(0xFFE7E9EA) /** X Gray Border — Hairline divider and border tone on the dark canvas. */ val XGrayBorder = Color(0xFF2F3336) /** Twitter Blue (Legacy) — The pre-2023 Twitter Blue. Retained as a deprecated reference for historical applications and migration documentation only; not part of the current X monochrome identity. */ val TwitterBlueLegacy = Color(0xFF1DA1F2) } /** Semantic color roles for light mode. */ object BrandLight { val Background = BrandSwatch.XWhite val Surface = BrandSwatch.XWhite val SurfaceElevated = BrandSwatch.XWhite val TextPrimary = BrandSwatch.XBlack val TextSecondary = BrandSwatch.XGray val TextTertiary = BrandSwatch.XGray val Primary = BrandSwatch.XBlack val PrimaryHover = BrandSwatch.XCharcoal val Accent = BrandSwatch.XBlack val AccentHover = BrandSwatch.XCharcoal val Warning = BrandSwatch.XBlack val WarningHover = BrandSwatch.XCharcoal val Error = BrandSwatch.XBlack val Success = BrandSwatch.XBlack } /** Semantic color roles for dark mode. */ object BrandDark { val Background = BrandSwatch.XBlack val Surface = BrandSwatch.XCharcoal val SurfaceElevated = BrandSwatch.XDimElevated val TextPrimary = BrandSwatch.XGrayLight val TextSecondary = BrandSwatch.XGray val TextTertiary = BrandSwatch.XGray val Primary = BrandSwatch.XWhite val PrimaryHover = BrandSwatch.XGrayLight val Accent = BrandSwatch.XWhite val AccentHover = BrandSwatch.XGrayLight val Warning = BrandSwatch.XWhite val WarningHover = BrandSwatch.XGrayLight val Error = BrandSwatch.XWhite val Success = BrandSwatch.XWhite } /** Brand-level color role overrides. */ object BrandColor { val Identity = BrandSwatch.XBlack val OnIdentity = BrandSwatch.XWhite val Background = BrandSwatch.XBlack val Surface = BrandSwatch.XCharcoal val SurfaceElevated = BrandSwatch.XDimElevated val TextPrimary = BrandSwatch.XGrayLight val TextSecondary = BrandSwatch.XGray val TextTertiary = BrandSwatch.XGray val Primary = BrandSwatch.XWhite val PrimaryHover = BrandSwatch.XGrayLight val Accent = BrandSwatch.XWhite val AccentHover = BrandSwatch.XGrayLight val Mark = BrandSwatch.XWhite val TextEmphasis = BrandSwatch.XGrayLight val TextMuted = BrandSwatch.XGray } /** Typography family names by brand role. */ object BrandFont { /** Chirp (chirp@1.0.0) */ const val Heading = "Chirp" /** Chirp (chirp@1.0.0) */ const val Body = "Chirp" /** JetBrainsMono Nerd Font (jetbrainsmono-nerdfont@1.0.0) */ const val Mono = "JetBrainsMono Nerd Font" }