gravid 1.3.7 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df39e73d83b49f77d28735d9783db579d53fcb4dcef08bceb63bee69891b1897
4
- data.tar.gz: af7f30b1a98434f81d9948c0768d0cf1f0cd77033f2af3babf6753c437d3936d
3
+ metadata.gz: c76e610e54716cc1959dacf5879358b7f3a8a597cd46b53b61c7867b2ed80b0c
4
+ data.tar.gz: 3f5a0110ec166c6cf6282bf4f309f1550e530a93d8bb786448d8196b3083dadc
5
5
  SHA512:
6
- metadata.gz: b78c2eaef31d714e2ef129c2796da9c9bd3cec1f8e78f84735109d3790bf4ea9b73af1e2f3336086e99a27b46c3cfee816621b39b4b7ed34daaca7d5ce17d764
7
- data.tar.gz: d17eb5f37c34c77795d4d7e649326951c05bd3bc779f463b25f5640740ff3b51af81a51a68710c90a161ab01bfe527ed07849742d29a459e9e803640f852d4f2
6
+ metadata.gz: 660ed2744e83390e2ec3bcdbe4e17f3b888c3b8add3134ad3157e9917541905ef8331fc657692a35fdd3e9d670b31bd7e7a7cea25eef32ff2c104a1fb81f46c0
7
+ data.tar.gz: bf6085fe7476ca9ddad599c637ca87c3fface98276f486c461fe30d22ec15f5d6c29612aaac263d2fadaf1a77ebe5f487b7e0dab27c1b29a5123a6ab96c2c21a
data/_config.yml CHANGED
@@ -22,6 +22,7 @@ enable_reward: false
22
22
  google_analytics:
23
23
  enable: true
24
24
  tracking_id: "UA-48441839-1"
25
+ measurement_id: "G-5M46LQ8M7B"
25
26
 
26
27
  # Build settings
27
28
  markdown: kramdown
@@ -1,9 +1,9 @@
1
1
  <!-- Global site tag (gtag.js) - Google Analytics -->
2
- <script async src="https://www.googletagmanager.com/gtag/js?id='{{ site.google_analytics.tracking_id }}'"></script>
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id='{{ site.google_analytics.measurement_id }}'"></script>
3
3
  <script>
4
4
  window.dataLayer = window.dataLayer || [];
5
5
  function gtag(){dataLayer.push(arguments);}
6
6
  gtag('js', new Date());
7
7
 
8
- gtag('config', '{{ site.google_analytics.tracking_id }}');
8
+ gtag('config', '{{ site.google_analytics.measurement_id }}');
9
9
  </script>
@@ -0,0 +1,45 @@
1
+ @media (prefers-color-scheme: dark) {
2
+ html, body {
3
+ background-color: #0d1117;
4
+ color: #c9d1d9;
5
+ }
6
+
7
+ .site-header {
8
+ background: #161b22;
9
+ border-bottom: none;
10
+
11
+ a {
12
+ color: #f6f0fc;
13
+ }
14
+
15
+ img {
16
+ background-color: #c9d1d9;
17
+ }
18
+ }
19
+
20
+ h1, h2, h3, h4, h5, em {
21
+ color: #c9d1d9;
22
+ }
23
+
24
+ strong {
25
+ color: #f6f0fc;
26
+ }
27
+
28
+ .avatar {
29
+ height: 48px;
30
+ border-radius: 12px;
31
+ vertical-align: middle;
32
+ }
33
+
34
+ .post-meta {
35
+ color: #c9d1d9;
36
+ }
37
+
38
+ .blog {
39
+ border: 1px #c9d1d9 solid;
40
+ }
41
+
42
+ .footer {
43
+ color: #8b949e;
44
+ }
45
+ }
@@ -0,0 +1,87 @@
1
+ /* Solarized Dark
2
+ For use with Jekyll and Pygments
3
+ http://ethanschoonover.com/solarized
4
+ SOLARIZED HEX ROLE
5
+ --------- -------- ------------------------------------------
6
+ base03 #002b36 background
7
+ base01 #586e75 comments / secondary content
8
+ base1 #93a1a1 body text / default code / primary content
9
+ orange #cb4b16 constants
10
+ red #dc322f regex, special keywords
11
+ blue #268bd2 reserved keywords
12
+ cyan #2aa198 strings, numbers
13
+ green #859900 operators, other keywords
14
+ */
15
+ @media (prefers-color-scheme: dark) {
16
+
17
+ .highlight { background-color: #002b36; color: #93a1a1 }
18
+ .highlight .c { color: #586e75 } /* Comment */
19
+ .highlight .err { color: #93a1a1 } /* Error */
20
+ .highlight .g { color: #93a1a1 } /* Generic */
21
+ .highlight .k { color: #859900 } /* Keyword */
22
+ .highlight .l { color: #93a1a1 } /* Literal */
23
+ .highlight .n { color: #93a1a1 } /* Name */
24
+ .highlight .o { color: #859900 } /* Operator */
25
+ .highlight .x { color: #cb4b16 } /* Other */
26
+ .highlight .p { color: #93a1a1 } /* Punctuation */
27
+ .highlight .cm { color: #586e75 } /* Comment.Multiline */
28
+ .highlight .cp { color: #859900 } /* Comment.Preproc */
29
+ .highlight .c1 { color: #586e75 } /* Comment.Single */
30
+ .highlight .cs { color: #859900 } /* Comment.Special */
31
+ .highlight .gd { color: #2aa198 } /* Generic.Deleted */
32
+ .highlight .ge { color: #93a1a1; font-style: italic } /* Generic.Emph */
33
+ .highlight .gr { color: #dc322f } /* Generic.Error */
34
+ .highlight .gh { color: #cb4b16 } /* Generic.Heading */
35
+ .highlight .gi { color: #859900 } /* Generic.Inserted */
36
+ .highlight .go { color: #93a1a1 } /* Generic.Output */
37
+ .highlight .gp { color: #93a1a1 } /* Generic.Prompt */
38
+ .highlight .gs { color: #93a1a1; font-weight: bold } /* Generic.Strong */
39
+ .highlight .gu { color: #cb4b16 } /* Generic.Subheading */
40
+ .highlight .gt { color: #93a1a1 } /* Generic.Traceback */
41
+ .highlight .kc { color: #cb4b16 } /* Keyword.Constant */
42
+ .highlight .kd { color: #268bd2 } /* Keyword.Declaration */
43
+ .highlight .kn { color: #859900 } /* Keyword.Namespace */
44
+ .highlight .kp { color: #859900 } /* Keyword.Pseudo */
45
+ .highlight .kr { color: #268bd2 } /* Keyword.Reserved */
46
+ .highlight .kt { color: #dc322f } /* Keyword.Type */
47
+ .highlight .ld { color: #93a1a1 } /* Literal.Date */
48
+ .highlight .m { color: #2aa198 } /* Literal.Number */
49
+ .highlight .s { color: #2aa198 } /* Literal.String */
50
+ .highlight .na { color: #93a1a1 } /* Name.Attribute */
51
+ .highlight .nb { color: #B58900 } /* Name.Builtin */
52
+ .highlight .nc { color: #268bd2 } /* Name.Class */
53
+ .highlight .no { color: #cb4b16 } /* Name.Constant */
54
+ .highlight .nd { color: #268bd2 } /* Name.Decorator */
55
+ .highlight .ni { color: #cb4b16 } /* Name.Entity */
56
+ .highlight .ne { color: #cb4b16 } /* Name.Exception */
57
+ .highlight .nf { color: #268bd2 } /* Name.Function */
58
+ .highlight .nl { color: #93a1a1 } /* Name.Label */
59
+ .highlight .nn { color: #93a1a1 } /* Name.Namespace */
60
+ .highlight .nx { color: #93a1a1 } /* Name.Other */
61
+ .highlight .py { color: #93a1a1 } /* Name.Property */
62
+ .highlight .nt { color: #268bd2 } /* Name.Tag */
63
+ .highlight .nv { color: #268bd2 } /* Name.Variable */
64
+ .highlight .ow { color: #859900 } /* Operator.Word */
65
+ .highlight .w { color: #93a1a1 } /* Text.Whitespace */
66
+ .highlight .mf { color: #2aa198 } /* Literal.Number.Float */
67
+ .highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
68
+ .highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
69
+ .highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
70
+ .highlight .sb { color: #586e75 } /* Literal.String.Backtick */
71
+ .highlight .sc { color: #2aa198 } /* Literal.String.Char */
72
+ .highlight .sd { color: #93a1a1 } /* Literal.String.Doc */
73
+ .highlight .s2 { color: #2aa198 } /* Literal.String.Double */
74
+ .highlight .se { color: #cb4b16 } /* Literal.String.Escape */
75
+ .highlight .sh { color: #93a1a1 } /* Literal.String.Heredoc */
76
+ .highlight .si { color: #2aa198 } /* Literal.String.Interpol */
77
+ .highlight .sx { color: #2aa198 } /* Literal.String.Other */
78
+ .highlight .sr { color: #dc322f } /* Literal.String.Regex */
79
+ .highlight .s1 { color: #2aa198 } /* Literal.String.Single */
80
+ .highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
81
+ .highlight .bp { color: #268bd2 } /* Name.Builtin.Pseudo */
82
+ .highlight .vc { color: #268bd2 } /* Name.Variable.Class */
83
+ .highlight .vg { color: #268bd2 } /* Name.Variable.Global */
84
+ .highlight .vi { color: #268bd2 } /* Name.Variable.Instance */
85
+ .highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
86
+
87
+ }
data/_sass/gravid.scss CHANGED
@@ -4,6 +4,8 @@
4
4
  @import
5
5
  "sofish/typo",
6
6
  "gravid/syntax-highlighting",
7
+ "gravid/syntax-highlighting-dark-mode",
7
8
  "gravid/base",
8
- "gravid/layout"
9
- ;
9
+ "gravid/layout",
10
+ "gravid/dark-mode"
11
+ ;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gravid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.7
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - zddhub
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-25 00:00:00.000000000 Z
11
+ date: 2022-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -94,7 +94,9 @@ files:
94
94
  - _posts/2018-01-07-W01-write-yourself-into-history.md
95
95
  - _sass/gravid.scss
96
96
  - _sass/gravid/_base.scss
97
+ - _sass/gravid/_dark-mode.scss
97
98
  - _sass/gravid/_layout.scss
99
+ - _sass/gravid/_syntax-highlighting-dark-mode.scss
98
100
  - _sass/gravid/_syntax-highlighting.scss
99
101
  - _sass/sofish/_typo.scss
100
102
  - about.md