# jetons v0.2.2 - Table of Contents

Compile-time design token library for Elixir

## Pages

- [Jetons](readme.md)

- Guides
  - [CSS Generation](css-generation.md)

## Modules

- [Credo.Check.Readability.MaxFunctionLength](Credo.Check.Readability.MaxFunctionLength.md): ## Basics
- [Jetons](Jetons.md): A simple, flexible library for managing design tokens in Elixir.
- [Jetons.CSS](Jetons.CSS.md): Generates CSS custom properties from design token modules or raw config maps.
- [Jetons.CSS.Color](Jetons.CSS.Color.md): Serializes DTCG 2025.10 color value maps to CSS color strings.
- [Jetons.CSS.Composite](Jetons.CSS.Composite.md): Serializes DTCG 2025.10 composite token values to CSS strings.
- [Jetons.CSS.Formatter](Jetons.CSS.Formatter.md): Shared formatting utilities for CSS property generation.

- [Jetons.CSS.Transformer](Jetons.CSS.Transformer.md): CSS custom properties transformer.
- [Jetons.CSS.UtilityClass](Jetons.CSS.UtilityClass.md): Renders composite tokens as CSS utility class blocks.
- [Jetons.CSS.Value](Jetons.CSS.Value.md): Serializes structured DTCG 2025.10 token values to CSS strings.
- [Jetons.DTCG](Jetons.DTCG.md): DTCG (Design Tokens Community Group) format understanding.
- [Jetons.Figma](Jetons.Figma.md): Helpers for working with Figma DTCG exports.
- [Jetons.Macro](Jetons.Macro.md): Compile-time code generation for `use Jetons`.

- [Jetons.Map](Jetons.Map.md): Generic map utilities for working with nested maps.

- [Jetons.Namespace](Jetons.Namespace.md): Hoists selected top-level token groups under a shared parent, rewriting `{ref}`s
to match.
- [Jetons.Parser](Jetons.Parser.md): Pipeline orchestrator for parsing DTCG config maps into flat token lists.
- [Jetons.Query](Jetons.Query.md): Query helpers for working with flattened token lists.
- [Jetons.Ref](Jetons.Ref.md): Token reference expansion for DTCG brace references and JSON pointers.
- [Jetons.Resolver](Jetons.Resolver.md): Resolves DTCG 2025.10 resolver documents into standard token config maps.
- [Jetons.TokenStudio](Jetons.TokenStudio.md): Reads Token Studio folder structure and converts to DTCG resolver format.
- [Jetons.Transformer](Jetons.Transformer.md): Behaviour for transforming design token configs to output formats.
- [Jetons.Transforms](Jetons.Transforms.md): Applies type-based transforms to flattened token lists.

## Mix Tasks

- [mix jetons.build](Mix.Tasks.Jetons.Build.md): Generates output from design tokens.
- [mix jetons.convert](Mix.Tasks.Jetons.Convert.md): Converts Token Studio folder structure to DTCG resolver format.
- [mix jetons.figma_refs](Mix.Tasks.Jetons.FigmaRefs.md): Rewrites Figma `aliasData` literals into Jetons `{ref}` references.
- [mix jetons.inspect](Mix.Tasks.Jetons.Inspect.md): Inspect and debug design tokens.
- [mix jetons.namespace](Mix.Tasks.Jetons.Namespace.md): Hoists the `--keys` token groups under `--group` across every `*.tokens.json`
under DIR and rewrites the `{ref}`s pointing at them, so the tokens emit
`--group-*` CSS properties (`hue.300` -> `color.hue.300` -> `--color-hue-300`).

