-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(debug-plugin): migrate to a new maintained JSON Viewer (#9566)
Co-authored-by: Joey Clover <[email protected]>
- Loading branch information
Showing
4 changed files
with
136 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 101 additions & 0 deletions
101
packages/docusaurus-plugin-debug/src/theme/DebugJsonView/styles.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
.containerParaiso { | ||
font-family: monospace; | ||
cursor: default; | ||
background-color: rgb(41 42 43); | ||
position: relative; | ||
margin-top: 10px; | ||
padding: 10px; | ||
border-radius: 4px; | ||
font-size: 13px; | ||
} | ||
|
||
.basicElementParaiso { | ||
color: white; | ||
padding: 3px 5px 3px 20px; | ||
border-left: 1px solid rgb(79 66 76); | ||
} | ||
|
||
.labelParaiso { | ||
color: rgb(231 233 219); | ||
letter-spacing: 0.5px; | ||
margin-right: 3px; | ||
} | ||
|
||
.nullValueParaiso { | ||
display: inline-block; | ||
color: rgb(254 196 24); | ||
font-size: 11px; | ||
font-weight: bold; | ||
background-color: rgb(79 66 76); | ||
padding: 1px 2px; | ||
border-radius: 3px; | ||
text-transform: uppercase; | ||
} | ||
|
||
.undefinedValueParaiso { | ||
color: rgb(141 134 135); | ||
} | ||
|
||
.stringValueParaiso { | ||
color: rgb(249 155 21); | ||
} | ||
|
||
.booleanValueParaiso { | ||
color: rgb(129 91 164); | ||
} | ||
|
||
.numberValueParaiso { | ||
color: rgb(233 107 168); | ||
} | ||
|
||
.otherValueParaiso { | ||
color: white; | ||
} | ||
|
||
.punctuationParaiso { | ||
color: white; | ||
} | ||
|
||
.expandIconParaiso { | ||
display: inline-block; | ||
color: rgb(129 91 164); | ||
font-size: 22px; | ||
vertical-align: baseline; | ||
margin-right: 3px; | ||
line-height: 10px; | ||
} | ||
|
||
.collapseIconParaiso::after { | ||
content: '\25BE'; | ||
} | ||
|
||
.collapseIconParaiso { | ||
display: inline-block; | ||
color: rgb(6 182 239); | ||
font-size: 22px; | ||
vertical-align: baseline; | ||
margin-right: 3px; | ||
line-height: 10px; | ||
} | ||
|
||
.expandIconParaiso::after { | ||
content: '\25B8'; | ||
} | ||
|
||
.collapseContentParaiso { | ||
color: rgb(249 155 21); | ||
font-size: 18px; | ||
line-height: 10px; | ||
cursor: pointer; | ||
} | ||
|
||
.collapseContentParaiso::after { | ||
content: '...'; | ||
} |
Oops, something went wrong.