From c1ca19d4f071a9b12172e4a13bdb96c52a200d47 Mon Sep 17 00:00:00 2001 From: Jason Macgowan <1389531+jasonmacgowan@users.noreply.github.com> Date: Thu, 21 Oct 2021 13:13:59 -0400 Subject: [PATCH] Fix light-theme attr reference in theme docs (#1693) * Fix light-theme attr reference * Create olive-snakes-begin.md Co-authored-by: Jon Rohan --- .changeset/olive-snakes-begin.md | 5 +++++ docs/content/support/theming.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/olive-snakes-begin.md diff --git a/.changeset/olive-snakes-begin.md b/.changeset/olive-snakes-begin.md new file mode 100644 index 0000000000..d303a19320 --- /dev/null +++ b/.changeset/olive-snakes-begin.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Fix light-theme attr reference in theme docs diff --git a/docs/content/support/theming.md b/docs/content/support/theming.md index 68343a63c5..ad2e27465e 100644 --- a/docs/content/support/theming.md +++ b/docs/content/support/theming.md @@ -11,7 +11,7 @@ Configure Primer CSS to use a certain theme by setting HTML attributes. Theme | data attributes --- | --- -Light | `data-color-mode="light" data-dark-theme="light"` +Light | `data-color-mode="light" data-light-theme="light"` Dark | `data-color-mode="dark" data-dark-theme="dark"` Dark Dimmed | `data-color-mode="dark" data-dark-theme="dark_dimmed"` Dark High Contrast | `data-color-mode="dark" data-dark-theme="dark_high_contrast"`