Skip to content

Commit

Permalink
Fix example styles
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Jun 25, 2023
1 parent cd21ff9 commit de5cb5d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions website/src/components/RenderExample.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
font-size: 1em;
padding: 0.4em 0.6em;
}
.example input + button {
margin-left: 0.5em;
}
13 changes: 13 additions & 0 deletions website/src/theme/CodeBlock/sandpack-app/dark.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
body {
margin: 1em;
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell,
'Noto Sans', sans-serif, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial,
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
Expand All @@ -12,6 +13,18 @@ body {
color: #f5f6f7;
}

input {
font-size: 1em;
padding: 0.4em 0.6em;
}
button {
font-size: 1em;
padding: 0.4em 0.6em;
}
input + button {
margin-left: 0.5em;
}

.rdp {
--rdp-accent-color-light: var(--rdp-accent-color-dark);
--rdp-accent-color-lighter: var(--rdp-accent-color-darker);
Expand Down
13 changes: 13 additions & 0 deletions website/src/theme/CodeBlock/sandpack-app/light.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
body {
margin: 1em;
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell,
'Noto Sans', sans-serif, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial,
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
Expand All @@ -17,3 +18,15 @@ body {
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.04), 0px 4px 5px rgba(0, 0, 0, 0.06),
0px 2px 4px -1px rgba(0, 0, 0, 0.09);
}
input {
font-size: 1em;
padding: 0.4em 0.6em;
}
button {
font-size: 1em;
padding: 0.4em 0.6em;
}

input + button {
margin-left: 0.5em;
}

0 comments on commit de5cb5d

Please sign in to comment.