Skip to content

Commit

Permalink
Fixed:#52853 Lacking 'color' attribute in IconDescriptor Metadata (#5…
Browse files Browse the repository at this point in the history
…2902)

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
  • Loading branch information
darshanjain-entrepreneur committed Jul 19, 2023
1 parent 2c1c8fa commit 7771e78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/src/lib/metadata/types/metadata-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export type IconDescriptor = {
url: string | URL
type?: string
sizes?: string
color?: string
/** defaults to rel="icon" unless superseded by Icons map */
rel?: string
media?: string
Expand Down

0 comments on commit 7771e78

Please sign in to comment.