Skip to content

Commit b01d9ce

Browse files
copy edit respect-user-color-scheme and renderings descriptions
1 parent efe3a9d commit b01d9ce

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/resources/schema/cell-attributes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- name: renderings
1414
schema:
1515
arrayOf: string
16-
description: "Array of rendering names"
16+
description: "Array of rendering names, e.g. `[light, dark]`"
1717

1818
- name: tags
1919
tags:

src/resources/schema/document-options.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,10 @@
9090
tags:
9191
formats: [$html-doc]
9292
description:
93-
short: "Whether the `prefers-color-scheme` media query controls dark mode."
93+
short: "Enables setting dark mode based on the `prefers-color-scheme` media query."
9494
long: |
95-
Whether to use the `prefers-color-scheme` media query to determine whether to show
96-
the user a dark or light page. Otherwise the author preference (order of `light`
97-
and `dark` in `theme` or `brand`) determines what is shown to the user at first visit.
95+
If set. Quarto reads the `prefers-color-scheme` media query to determine whether to show
96+
to show the user a dark or light page. Otherwise the author preference will be shown.
9897
9998
- name: html-math-method
10099
tags:

0 commit comments

Comments
 (0)