Skip to content

Commit

Permalink
fix(schema): add meta media type
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Oct 20, 2022
1 parent 7113e9d commit eed168d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/schema/src/meta.ts
Expand Up @@ -127,4 +127,10 @@ export interface Meta {
* This attribute defines the unique ID.
*/
id?: string
/**
* A valid media query list that can be included to set the media the `theme-color` metadata applies to.
*
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color
*/
media?: '(prefers-color-scheme: light)' | '(prefers-color-scheme: dark)' | (string & Record<never, never>)
}

0 comments on commit eed168d

Please sign in to comment.