Skip to content

Commit

Permalink
Merge pull request #197 from appwrite/text-scroll
Browse files Browse the repository at this point in the history
Add color-scheme to HTML element
  • Loading branch information
ArmanNik authored May 15, 2024
2 parents ea33880 + 045f8f9 commit 5be0aeb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/rare-pans-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@appwrite.io/pink": minor
"@appwrite.io/pink-icons": minor
---

Add color-scheme to HTML element
1 change: 1 addition & 0 deletions packages/ui/src/2-resets/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ html {
scrollbar-gutter: stable;
overflow: overlay; // fallback macOS
overflow-x: hidden;
&:has(:where(body#{$theme-dark})) { color-scheme:dark; }
}

body {
Expand Down

0 comments on commit 5be0aeb

Please sign in to comment.