# microsoft/FluentDarkModeKit

A library for backporting Dark Mode in iOS

Repository: https://github.com/microsoft/FluentDarkModeKit
Canonical: https://ross.abutalabs.com/products/fluentdarkmodekit
Language: Swift
License: MIT
License Family: permissive
Topics: darkmode, swift, ios
Archived: true
Last push: 2021-05-20T15:27:43+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2505, "days_push": 1931, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1618, forks 125 (observed 2026-08-28T04:05:12.125891+00:00)

## What it is
A Swift library by Microsoft that backports dark mode support to iOS apps running iOS 11 and later, including iOS 13. It enables dynamic theme switching within an app without restart, with minimal changes to existing code.

## Use cases
- add dark mode to an iOS 11 or 12 app
- support dark mode without dropping older iOS versions
- switch app theme dynamically without restarting
- handle system-wide dark mode changes in UIKit
- customize per-window theme change behavior

## When to choose
- your app supports iOS versions before 13 and needs dark mode
- you want a simple API to retrofit dark mode into an existing UIKit app
- you need dynamic theme switching at runtime

## When to avoid
- your app targets only iOS 13+ and can use Apple's native dark mode APIs
- you use SwiftUI exclusively
- you need a theming solution beyond light/dark modes

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, theme
- domain: mobile-development, frontend
- platform: -
- tags: dark-mode, theming, uikit, backport, ios, swift, mobile

## Member repositories
- microsoft/FluentDarkModeKit (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:12.125891+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:49:39.099498+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/FluentDarkModeKit (fetched 2026-08-28T04:05:12.125891+00:00, sha e907033eaa32)
- Data as of 2026-08-30T08:39:29.467469+00:00.
