You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,6 +248,36 @@ $ yarn start
248
248
Open
249
249
[localhost:3000/localDev.html?endpoint=https://api.graph.cool/simple/v1/swapi](http://localhost:3000/localDev.html?endpoint=https://api.graph.cool/simple/v1/swapi) for local development!
250
250
251
+
## Custom Theme
252
+
From `[email protected]` on you can provide a `codeTheme` property to the React Component to customize your color theme.
253
+
These are the available options:
254
+
```ts
255
+
256
+
exportinterfaceEditorColours {
257
+
property:string
258
+
comment:string
259
+
punctuation:string
260
+
keyword:string
261
+
def:string
262
+
qualifier:string
263
+
attribute:string
264
+
number:string
265
+
string:string
266
+
builtin:string
267
+
string2:string
268
+
variable:string
269
+
meta:string
270
+
atom:string
271
+
ws:string
272
+
selection:string
273
+
cursorColor:string
274
+
editorBackground:string
275
+
resultBackground:string
276
+
leftDrawerBackground:string
277
+
rightDrawerBackground:string
278
+
}
279
+
```
280
+
251
281
### Versions
252
282
253
283
This is repository is a "mono repo" and contains multiple packages using [Yarn workspaces](https://yarnpkg.com/lang/en/docs/workspaces/). Please be aware that versions are **not** synchronised between packages. The versions of the [release page](https://github.com/graphcool/graphql-playground/releases) refer to the electron app.
0 commit comments