Skip to content

Commit

Permalink
Merge pull request #2866 from locustio/fix-light-theme-favicon
Browse files Browse the repository at this point in the history
Add favicon that looks good in light color theme
  • Loading branch information
cyberw authored Aug 20, 2024
2 parents 5b1c268 + 6740762 commit d250ed3
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion locust/webui/auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/assets/favicon.png" />
<link rel="shortcut icon" href="/assets/favicon-light.png" media="(prefers-color-scheme: light)">
<link rel="shortcut icon" href="/assets/favicon-dark.png" media="(prefers-color-scheme: dark)">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />

Expand Down
3 changes: 2 additions & 1 deletion locust/webui/dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="./assets/favicon.png" />
<link rel="shortcut icon" href="./assets/favicon-light.png" media="(prefers-color-scheme: light)">
<link rel="shortcut icon" href="./assets/favicon-dark.png" media="(prefers-color-scheme: dark)">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />

Expand Down
3 changes: 2 additions & 1 deletion locust/webui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="./assets/favicon.png" />
<link rel="shortcut icon" href="./assets/favicon-light.png" media="(prefers-color-scheme: light)">
<link rel="shortcut icon" href="./assets/favicon-dark.png" media="(prefers-color-scheme: dark)">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />

Expand Down
Binary file added locust/webui/public/assets/favicon-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added locust/webui/public/assets/favicon-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed locust/webui/public/assets/favicon.png
Binary file not shown.
3 changes: 2 additions & 1 deletion locust/webui/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
{% raw %}
<head>
<meta charset="utf-8" />
<link rel="icon" href="../../assets/favicon.png" />
<link rel="shortcut icon" href="../../assets/favicon-light.png" media="(prefers-color-scheme: light)">
<link rel="shortcut icon" href="../../assets/favicon-dark.png" media="(prefers-color-scheme: dark)">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />

Expand Down

0 comments on commit d250ed3

Please sign in to comment.