Skip to content

Commit

Permalink
chore: change json theme to work on dark backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
ijemmao committed Nov 24, 2021
1 parent b072957 commit 999886f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pages/components/Demo/Demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const Demo = ({ searchWord, words }) => {
Response
</h3>
<JSONPretty
className="w-full self-center lg:w-auto jsonPretty bg-gray-800 rounded-md p-2"
className="jsonPretty w-full self-center lg:w-auto bg-gray-800 rounded-md p-2"
id="json-pretty"
data={responseBody}
/>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@
max-width: 95vw;
overflow: scroll;
font-size: 1em;
@apply text-white;
color: rgb(153, 218, 255);
}

.__json-key__ {
color: black;
color: rgb(184, 245, 209);
}
.__json-string__ {
color: rgb(0, 77, 15);
color: rgb(255, 255, 255);
}

.demo-inputs-container {
Expand Down

0 comments on commit 999886f

Please sign in to comment.