Lumen Classic: The look you shipped, on Lumen 6.
The Lumen 5 default, kept as an opt-in theme. Upgrade to Lumen 6 components and fixes without changing how your product looks.
Side by side
Same components. Two appearances.
Both samples render identical markup. Only the preset attribute differs, and both follow the light or dark scheme you choose.
Workspace
Quarterly plan
Workspace
Quarterly plan
Lumen Classic
Lumen Classic is the Lumen 5 default appearance, kept as an opt-in named theme in Lumen 6. Use it to adopt Lumen 6 components, fixes and adapters without changing how an existing product looks. Classic changes presentation only: component APIs, behavior, token names and application data are the same as the new default.
When to choose Classic
- An existing product upgrades to Lumen 6 and isn’t ready to review a new appearance.
- Approved screenshots, store listings or brand material show the Lumen 5 look.
- One section, such as an embedded legacy view, must keep the earlier palette while the rest of the application adopts the new default.
For a new product, start with the Lumen 6 default or one of the product themes instead.
What Classic looks like
| Role | Lumen 6 default | Lumen Classic |
|---|---|---|
| Surfaces | Cool near-white, graphite in dark mode | Warm paper, charcoal in dark mode |
| Primary action | Flat ink fill | Deep teal fill |
| Emphasis | Violet links, focus and selection | Teal links and focus, green accent |
| Typography | Inter | Montserrat |
| Corners | 8px controls, 12px and 16px surfaces | 6px, 10px and 12px |
| Charts | Violet-led series | Teal-led series |
Classic keeps the Lumen 5 surfaces, brand, accent, shadows and chart colors, including teal chart emphasis on React Native, SwiftUI and Compose. Success, warning and danger use the Lumen 6 accessible values, so status text reaches 4.5:1 on Classic surfaces.
Web
Import the Classic stylesheet from the adapter you already use, then set the preset on the root or
on a section. Light and dark follow the surrounding data-theme, or data-lumen-scheme when the
section owns its scheme.
---
import { Button, Card } from '@santi020k/lumen-astro'
import '@santi020k/lumen-astro/styles/themes/classic.css'
---
<html data-theme="lumen-light" data-lumen-preset="classic">
<body>
<Card>
<h2>Billing</h2>
<Button>Update plan</Button>
</Card>
</body>
</html>
| Adapter | Stylesheet |
|---|---|
| Astro | @santi020k/lumen-astro/styles/themes/classic.css |
| React | @santi020k/lumen-react/styles/themes/classic.css |
| Elements | @santi020k/lumen-elements/styles/themes/classic.css |
| Core or umbrella | @santi020k/lumen-core/styles/themes/classic.css or @santi020k/lumen/styles/themes/classic.css |
The full styles.css includes Classic, so only data-lumen-preset="classic" is needed there. To
keep one region on Classic, set the attribute on that element:
<section data-lumen-preset="classic" data-lumen-scheme="light">
<!-- Legacy reporting view -->
</section>
Native
Each native adapter exposes Classic as a named theme. Apply it at the application root, or scope it to one section and pin that section’s scheme.
React Native
import { LumenProvider, LumenThemeScope } from '@santi020k/lumen-react-native'
import { classicTheme } from '@santi020k/lumen-react-native/themes/classic'
export const App = () => (
<LumenProvider definition={classicTheme}>
<Dashboard />
{/* Keep one section on the light scheme. */}
<LumenThemeScope definition={classicTheme} scheme="light">
<LegacyReport />
</LumenThemeScope>
</LumenProvider>
)
SwiftUI
ContentView()
.lumenThemeScope(.classic)
// Keep one section on the light scheme.
LegacyReport()
.lumenThemeScope(.classic, scheme: .light)
Compose
LumenThemeScope(theme = LumenNamedThemes.Classic) {
Dashboard()
// Keep one section on the light scheme.
LumenThemeScope(theme = LumenNamedThemes.Classic, darkTheme = false) {
LegacyReport()
}
}
Montserrat is bundled with the web stylesheet and the SwiftUI and Compose packages. React Native
ships the font file under the montserrat font id; register it with your host like the other theme
fonts. Without registration, text uses the system font.
Customize Classic
Classic is a starting point, not a fixed brand. Override semantic tokens after the Classic stylesheet, scoped to the same preset:
[data-lumen-preset="classic"] {
--brand: 200 80% 30%;
--brand-solid: 200 75% 28%;
}
Check foreground and background pairs in both schemes after an override. To leave Classic later, remove the preset attribute and its import, then review the Lumen 6 default appearance.