Skip to content

Commit a96f9c3

Browse files
committed
feat: add theme to graphiql
1 parent 62e035d commit a96f9c3

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

go.mod

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
module github.com/graphql-go/handler
1+
module github.com/Moranilt/handler
22

3-
go 1.14
3+
go 1.16
4+
5+
require (
6+
github.com/graphql-go/graphql v0.7.9
7+
github.com/graphql-go/handler v0.2.3
8+
)

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
github.com/graphql-go/graphql v0.7.9 h1:5Va/Rt4l5g3YjwDnid3vFfn43faaQBq7rMcIZ0VnV34=
2+
github.com/graphql-go/graphql v0.7.9/go.mod h1:k6yrAYQaSP59DC5UVxbgxESlmVyojThKdORUqGDGmrI=
3+
github.com/graphql-go/handler v0.2.3 h1:CANh8WPnl5M9uA25c2GBhPqJhE53Fg0Iue/fRNla71E=
4+
github.com/graphql-go/handler v0.2.3/go.mod h1:leLF6RpV5uZMN1CdImAxuiayrYYhOk33bZciaUGaXeU=

graphiql.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ add "&raw" to the end of the URL within a browser.
103103
<script crossorigin src="https://unpkg.com/react/umd/react.production.min.js"></script>
104104
<script crossorigin src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
105105
<script crossorigin src="https://unpkg.com/graphiql/graphiql.min.js"></script>
106+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.23.0/theme/solarized.css" />
106107
</head>
107108
<body>
108109
<div id="graphiql">Loading...</div>

0 commit comments

Comments
 (0)