Skip to content

Commit 45b7d29

Browse files
committed
changed style.css of vue sample
1 parent c6ee14d commit 45b7d29

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

samples/vuejs/app/src/style.css

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
font-weight: 400;
55

66
color-scheme: light dark;
7-
color: rgba(255, 255, 255, 0.87);
8-
background-color: #242424;
7+
color: #213547;
8+
background-color: #ffffff;
99

1010
font-synthesis: none;
1111
text-rendering: optimizeLegibility;
@@ -18,7 +18,7 @@
1818

1919
a {
2020
font-weight: 500;
21-
color: #0F71BE;
21+
color: var( --defangdark);
2222
text-decoration: inherit;
2323
}
2424

@@ -42,13 +42,15 @@ button {
4242
font-size: 1em;
4343
font-weight: 500;
4444
font-family: inherit;
45-
background-color: #1a1a1a;
45+
background-color: #efefef;
4646
cursor: pointer;
4747
transition: border-color 0.25s;
4848
}
49+
4950
button:hover {
50-
border-color: #28A2E9;
51+
border-color: var( --defanglight);
5152
}
53+
5254
button:focus,
5355
button:focus-visible {
5456
outline: 4px auto -webkit-focus-ring-color;
@@ -64,27 +66,27 @@ button:focus-visible {
6466
will-change: filter;
6567
transition: filter 300ms;
6668
}
69+
6770
.logo:hover {
6871
filter: drop-shadow(0 0 2em #54b5ff);
6972
}
7073

71-
7274
#app {
7375
max-width: 1280px;
7476
margin: 0 auto;
7577
padding: 2rem;
7678
text-align: center;
7779
}
7880

79-
@media (prefers-color-scheme: light) {
81+
@media (prefers-color-scheme: dark) {
8082
:root {
81-
color: #213547;
82-
background-color: #ffffff;
83+
color: #ffffff;
84+
background-color: #213547;
8385
}
8486
a {
85-
color: #0F71BE;
87+
color: var( --defanglight);
8688
}
8789
button {
88-
background-color: #f9f9f9;
90+
background-color: #ffffff;
8991
}
9092
}

0 commit comments

Comments
 (0)