---
id: design.remaining-work
kind: instruction-reference
owner_paths:
  - packages/agentic/design
---

# Remaining work

Open work for the theming and appearance contract. Completed work is removed rather than marked done; the resulting
behavior is documented in `theming.md`, `tokens.md`, and `entry-points.md`.

## Structured Win32 appearance

- **Issue:** [#4270](https://github.com/microsoft/fluentui-react-native/issues/4270)
- **Outcome:** Win32 resolves color scheme and contrast from structured Office host fields, with no high-contrast
  inference from a theme name.
- **Current state:** `createOfficeTheme` in `@fluentui-react-native/win32-theme` accepts `colorScheme` and
  `isHighContrast` from host-theme events and `initialIsHighContrast` from module constants. When both are absent, its
  transitional `getOfficeAppearance` fallback still maps the `HighContrast` host-theme name to high contrast.
- **Done when:** the Office native module is confirmed to supply both fields, the name-based fallback is removed, and
  Win32 tests cover scheme and contrast changes.

## Deprecated appearance APIs

- **Issue:** [#4270](https://github.com/microsoft/fluentui-react-native/issues/4270)
- **Outcome:** consumers use the structured appearance model, and the single-union compatibility surface can be retired.
- **Current state:** `AppearanceOptions`, `ThemeOptions`, `getCurrentAppearance`, `isHighContrast`, and
  `setIsHighContrast` are still exported from the `theming` subpath and re-exported by
  `@fluentui-react-native/theming-utils`. Only `ThemeState.highContrast` is marked deprecated. About 44 files outside
  this package still use them, including v1 component tokens, the Apple and default platform themes, and the tester app.
- **Done when:** the remaining APIs are marked deprecated, repository callers use `ThemeState.appearance`,
  `useThemeAppearance`, or the appearance adapters, and the APIs are removed in a release that permits the break, or
  are kept with a documented reason.

## Appearance-specific default tokens

- **Issue:** [#4263](https://github.com/microsoft/fluentui-react-native/issues/4263)
- **Outcome:** default Flex tokens vary by resolved color scheme, contrast, and interface level.
- **Current state:** the generated x3 defaults vary by color scheme and color tone. The pinned x3 sources define no
  high-contrast or elevated values, so those appearances use the light or dark defaults, and high contrast only
  suppresses derived interaction states. Authors must supply appearance-aware bases or recipes for high-contrast or
  elevated values.
- **Done when:** x3 publishes, or the owner approves, high-contrast and elevated values, the defaults generator emits
  them, and `FlexThemeReference` selects them by the resolved appearance without changing its laziness or identity
  guarantees.

## Fixed interactive color derivation

- **Outcome:** an omitted state of a `fixed` interactive color with a mappable rest derives from an authoritative,
  scheme-independent rule.
- **Current state:** the pinned x3 sources define no such rule, so resolving that state throws until the author
  supplies `hover` and `pressed` (see `flex-colors.md`). No default color uses the `fixed` type.
- **Done when:** x3 publishes, or the owner approves, the rule, the interaction policy implements it with conformance
  fixtures, and `fixed` colors no longer require explicit states.

## Native layered shadows and motion

- **Outcome:** components render Flex layered shadows and motion tokens with qualified native behavior.
- **Current state:** `tokens.shadow` and `tokens.motion` carry the pinned x3 values (see `tokens.md`), but no agentic
  component reads them, and no native story qualifies how each platform and renderer draws every shadow layer or
  applies the durations and easing curves.
- **Done when:** the first consuming component defines that behavior for each supported platform and renderer, and
  native stories qualify it in light and dark appearances.

## Flex authoring migration guide

- **Outcome:** theme authors have a worked migration from `ThemeReference` recipes to `FlexThemeReference`, including
  `legacyFallback` for values Flex cannot represent.
- **Current state:** `theming.md` documents both authoring models, provider precedence, and reverse-projection loss. The
  repository's user documentation covers `ThemedRoot` but still teaches custom themes only through `ThemeReference`.
- **Done when:** the user documentation includes the migration example and links to this package's theming reference.

## Fluent elevated themes

- **Outcome:** `fluentTheme` selects distinct themes for elevated appearances.
- **Current state:** `themes` provides light, dark, and high-contrast Fluent themes. The generated Fluent tokens already
  supply `lightElevated` and `darkElevated` color and shadow sets (`tokens.md`), but `fluentTheme` and the Flex-to-legacy
  projection, which share `selectFluentTheme`, resolve elevated requests by color scheme alone.
- **Done when:** the owner approves how elevated appearances map to those sets, and `selectFluentTheme` selects the
  matching theme by the resolved interface level.

## Retire the deprecated entry point

- **Outcome:** no package reads the Fluent 2 token JSON at runtime, and `@fluentui-react-native/design/deprecated`,
  `src/deprecated/`, and the runtime `design-tokens-*` dependencies are removed.
- **Current state:** the Android, Apple, and Win32 theme packages build their legacy themes from the JSON through
  `./deprecated`, the `theme-tokens` and `theming-utils` shims re-export it, and the private tester app reads the
  `globalTokens` palettes (R-DESIGN-003). The generated Fluent sets already provide each platform's alias colors,
  shadows, and font aliases (`tokens.md`), and the build still derives them from the JSON with the deprecated mappers.
- **Done when:** the platform themes and the tester read the generated Fluent sets, generated global tokens, or Flex
  tokens instead, the shims drop the deprecated re-exports in a release that permits the break, and the build reads the
  JSON without runtime modules.

## Dependent work owned by other packages

- `@fluentui-react-native/apple-theme` still authors a legacy `Theme`;
  [#4261](https://github.com/microsoft/fluentui-react-native/issues/4261) re-authors it on Flex tokens.
