Unverified Commit 7771e782 authored by Darshan Jain's avatar Darshan Jain Committed by GitHub

Fixed:#52853 Lacking 'color' attribute in IconDescriptor Metadata (#52902)

Fixes #52853

Lacking 'color' attribute in IconDescriptor  Metadata

```diff
export type IconDescriptor = {
  url: string | URL
  type?: string
  sizes?: string
+ color?: string          // added the color attribute 
  /** defaults to rel="icon" unless superseded by Icons map */
  rel?: string
  media?: string
  /**
   * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/fetchPriority
   */
  fetchPriority?: 'high' | 'low' | 'auto'
}
```


https://github.com/vercel/next.js/blob/v13.4.11-canary.0/packages/next/src/lib/metadata/types/metadata-types.ts#L99
parent 2c1c8fa0
...@@ -100,6 +100,7 @@ export type IconDescriptor = { ...@@ -100,6 +100,7 @@ export type IconDescriptor = {
url: string | URL url: string | URL
type?: string type?: string
sizes?: string sizes?: string
color?: string
/** defaults to rel="icon" unless superseded by Icons map */ /** defaults to rel="icon" unless superseded by Icons map */
rel?: string rel?: string
media?: string media?: string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment