File tree Expand file tree Collapse file tree 4 files changed +77
-92
lines changed
Expand file tree Collapse file tree 4 files changed +77
-92
lines changed Original file line number Diff line number Diff line change 1- import "./static/theme/github-light .css"
1+ import "./src/components/layout .css"
Original file line number Diff line number Diff line change @@ -126,6 +126,82 @@ details[open] summary:before {
126126 content : "▼ " ;
127127}
128128
129+ /* prism syntax highlight */
130+ .token .comment ,
131+ .token .prolog ,
132+ .token .doctype ,
133+ .token .cdata {
134+ color : # 6a737d ;
135+ font-style : italic;
136+ }
137+
138+ .token .string ,
139+ .token .char ,
140+ .token .attr-value ,
141+ .token .regex ,
142+ .token .variable {
143+ color : # 032f62 ;
144+ }
145+
146+ .token .keyword ,
147+ .token .atrule ,
148+ .token .attr-name {
149+ color : # d73a49 ;
150+ }
151+
152+ .token .boolean ,
153+ .token .number ,
154+ .token .constant ,
155+ .token .symbol ,
156+ .token .url {
157+ color : # 005cc5 ;
158+ }
159+
160+ .token .function ,
161+ .token .class-name ,
162+ .token .property {
163+ color : # 6f42c1 ;
164+ }
165+
166+ .token .tag ,
167+ .token .selector ,
168+ .token .entity {
169+ color : # 22863a ;
170+ }
171+
172+ .token .punctuation ,
173+ .token .operator {
174+ color : # 24292e ;
175+ }
176+
177+ .token .important ,
178+ .token .bold {
179+ font-weight : bold;
180+ }
181+
182+ .token .italic {
183+ font-style : italic;
184+ }
185+
186+ .token .inserted {
187+ color : # 22863a ;
188+ background-color : # f0fff4 ;
189+ }
190+
191+ .token .deleted {
192+ color : # b31d28 ;
193+ background-color : # ffeef0 ;
194+ }
195+
196+ .token .changed {
197+ color : # e36209 ;
198+ background-color : # ffebda ;
199+ }
200+
201+ .token .namespace {
202+ opacity : 0.7 ;
203+ }
204+
129205/* custom style */
130206h1 , h2 , h3 , h4 , h5 , h6 {
131207 margin-top : 24px ;
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { css } from "@emotion/react"
22import { Analytics } from "@vercel/analytics/react"
33import { graphql , Link , useStaticQuery } from "gatsby"
44import React from "react"
5- import "./layout.css"
65
76export default function Layout ( { children } ) {
87 const data = useStaticQuery ( graphql `
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments