Skip to content

Commit bf02e13

Browse files
committed
Change logo for darkmode and fix radius for install
1 parent d4b273c commit bf02e13

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

home-assistant-connect-zwa-2/install-portable.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434

3535
.installer-card {
3636
background: var(--app-bg-card);
37-
border-radius: 12px;
38-
padding: 20px;
37+
border-radius: 16px;
3938
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
4039
margin: 20px 0;
4140
}
@@ -44,7 +43,7 @@
4443
width: 100%;
4544
border: none;
4645
min-height: 600px;
47-
border-radius: 8px;
46+
border-radius: 16px;
4847
}
4948

5049
warning-card::part(container) {

home-assistant-connect-zwa-2/use-poe.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
.installer-card {
3535
background: var(--app-bg-card);
36-
border-radius: 12px;
36+
border-radius: 16px;
3737
padding: 20px;
3838
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
3939
margin: 20px 0;
@@ -43,7 +43,7 @@
4343
width: 100%;
4444
border: none;
4545
min-height: 600px;
46-
border-radius: 8px;
46+
border-radius: 16px;
4747
}
4848

4949
warning-card::part(container) {

public/ohf_dark.svg

Lines changed: 8 additions & 0 deletions
Loading

src/components/app-header.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ export class AppHeader extends LitElement {
3636
width: auto;
3737
}
3838
39+
@media (prefers-color-scheme: dark) {
40+
.logo {
41+
content: url('/ohf_dark.svg');
42+
height: 70px;
43+
}
44+
}
45+
3946
.title {
4047
font-size: 1.25rem;
4148
font-weight: 500;

0 commit comments

Comments
 (0)