fix: on some devices text is dark (#1)

This commit is contained in:
Saahil dutta 2024-09-01 00:01:23 -04:00 committed by GitHub
parent 61fa4122b9
commit da1618b5f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--rosewater: #f5e0dc;
--flamingo: #f2cdcd;
@ -30,9 +31,11 @@
--mantle: #181825;
--crust: #11111b;
}
.mauve {
color: var(--mauve)
}
.text-highlight {
color: var(--mauve);
/* color: linear-gradient(var(--mauve), var(--mantle); */
@ -41,11 +44,13 @@
@apply ease-in duration-500;
}
.text-highlight:hover {
background: linear-gradient(var(--mauve), var(--yellow));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
@ -53,6 +58,7 @@ body {
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: var(--text);
}
code {