Skip to content

Commit

Permalink
vue-cx-client example - force light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
pkumar-strivve committed Nov 25, 2024
1 parent 96005a0 commit 2b5fabe
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
8 changes: 4 additions & 4 deletions examples/vue-cx-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/vue-cx-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@strivve/strivve-cx": "^0.1.24",
"@strivve/strivve-cx": "^0.1.25",
"vue": "^3.5.12"
},
"devDependencies": {
Expand Down
15 changes: 14 additions & 1 deletion examples/vue-cx-client/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
line-height: 1.5;
font-weight: 400;

color-scheme: light dark;
color-scheme: only light;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;

Expand Down Expand Up @@ -77,3 +77,16 @@ button:focus-visible {
background-color: #f9f9f9;
}
}

@media (prefers-color-scheme: dark) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
}

0 comments on commit 2b5fabe

Please sign in to comment.