Skip to content

Commit f29fc77

Browse files
committed
IPadOS16 - color scheme default test
1 parent 7ae91dd commit f29fc77

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

app/pages/ui/settings.vue

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
</div>
2424
<hr class="mb-12" />
2525
<div class="mb-12 p-24 test-div">
26+
<p class="page-body-normal mbe-12">This is test div</p>
2627
<div class="test-button class-theme">This is a test</div>
2728
</div>
2829
</LayoutRow>
@@ -47,6 +48,7 @@ useHead({
4748

4849
<style lang="css">
4950
.settings-page {
51+
background-color: lightslategray;
5052
.test-button {
5153
/* all: unset; */
5254
padding: 0.6rem 1.2rem;
@@ -67,11 +69,19 @@ useHead({
6769
}
6870
6971
.test-div {
70-
background-color: light-dark(red, green);
71-
border: light-dark(lightslategray, white) solid 3px;
72-
outline: light-dark(red, yellow) solid 3px;
72+
color: light-dark(lightslategray, lightslategray);
73+
background-color: light-dark(white, lightslategray);
74+
border: light-dark(black, lightslategray) solid 3px;
75+
outline: light-dark(black, lightslategray) solid 3px;
7376
outline-offset: 3px;
7477
border-radius: 4px;
78+
79+
.class-theme {
80+
border: light-dark(black, lightslategray) solid 1px;
81+
outline: light-dark(black, lightslategray) solid 1px;
82+
background-color: light-dark(lightslategray, lightslategray);
83+
color: light-dark(white, lightslategray);
84+
}
7585
}
7686
}
7787
</style>

0 commit comments

Comments
 (0)