Skip to content

Commit

Permalink
update README.md with diff instead of html
Browse files Browse the repository at this point in the history
  • Loading branch information
ollema committed Jan 24, 2024
1 parent 7e946e2 commit e63d34c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,20 @@ To enable this, set the `themeColor` prop to your preferred colors:

Note that for this to work, you must have added the `theme-color` meta tag to your `head` element in `app.html`:

```html
<meta name="theme-color" content="black" />
```diff
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
+ <meta name="theme-color" content="black" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div>%sveltekit.body%</div>
</body>
</html>
```

## API
Expand Down

0 comments on commit e63d34c

Please sign in to comment.