CodexStylesheet class
Codex stylesheet - Gamer-inspired theme with neon glows.
Implements a neon, glowing gaming aesthetic:
- OLED-optimized dark mode with pure black backgrounds
- Vibrant neon accents (configurable: Green/Red/Blue/Purple/Rainbow)
- Subtle glow effects via colored shadows
- Larger radii and spacing for a modern feel
- Clean, accessible light mode with soft contrasts
- ITCAvantGardeStd font for headings and titles
- Akzidenz-GroteskPro font for body text
- Hack font for code
The light mode uses soft whites and grays with vibrant accents.
- Inheritance
-
- Object
- ArcaneStylesheet
- CodexStylesheet
Constructors
- CodexStylesheet({CodexAccent accent = CodexAccent.green})
-
const
Properties
- accent → CodexAccent
-
The accent theme to use. Defaults to green.
final
- baseCss → String
-
Complete CSS output including all variables and base styles.
no setterinherited
- bodyClass → String
-
Returns the CSS class to apply to the body element for this accent.
For rainbow theme, returns 'codex-rainbow' which enables the animation.
no setteroverride
- componentCss → String
-
Component-specific CSS (scrollbars, tree lines, animations, etc.)
no setteroverride
- darkModeCss → String?
-
@deprecated Use componentCss instead.
no setterinherited
- darkSeed → ThemeSeed
-
Dark mode seed colors.
no setteroverride
-
externalCssUrls
→ List<
String> -
External CSS URLs to load (Google Fonts, CDN stylesheets, etc.)
no setterinherited
- fontFaces → String
-
Font face declarations (@font-face rules).
no setteroverride
- fonts → FontConfig
-
Font configuration.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier for this stylesheet.
no setteroverride
- lightModeCss → String?
-
@deprecated Use componentCss instead.
no setterinherited
- lightSeed → ThemeSeed
-
Light mode seed colors.
no setteroverride
- name → String
-
Human-readable display name.
no setteroverride
- radius → RadiusConfig
-
Border radius configuration.
no setteroverride
- renderers → ComponentRenderers
-
Component renderers for this stylesheet.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited