Skip to content

Commit

Permalink
add comment to styles
Browse files Browse the repository at this point in the history
  • Loading branch information
caroluchoa authored Mar 27, 2024
1 parent c0195ae commit 98abe86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sections/Theme/Theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,12 @@ export function Preview(props: Props) {
const adminColorMode = props.mode === "dark" ? "dark" : "light";
return (
<>
{
/* This stylesheet is used to simulate the colors from the admin's color schema (admin's light or dark mode), which are not accessible in the site's color schema.
* This is a temporary solution until the admin's color schema is accessible.
* TODO(@carol): Change this temporary solution.
*/
}
<style>
{`
:root {
Expand Down

0 comments on commit 98abe86

Please sign in to comment.