Skip to content

ThemeProvider: Deprecate redundant day and night color modes #3246

Description

@siddharthkp

Description

primer/react supports more options for color modes than primer/primitives does

color modes for primer/primitives: auto | light | dark
color modes for primer/react: auto | day | night | light | dark

this is because day and night color modes are equivalent to light and dark which causes confusion. We should deprecate them in the next major.

Usage in dotcom →

Version

v35

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions