gravid 1.4.0 → 1.5.0

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: c3c25935105009c78fc825e818cea17b5bd131de1bd3ffa2bd7b38a7c1c56110
4
- data.tar.gz: 2bc7d996fe049a8bac95a84965fb4e611f24967e5c798eed37287f531e0c7b2b
3
+ metadata.gz: 7cf6f5ed1c26555854ca2e8287368be451e85c3ef4a5510b85470561e2c10117
4
+ data.tar.gz: bc9d4983ae80df1127c25104026c2e6cd277da068b206fbf47225e0dde1cf487
5
5
  SHA512:
6
- metadata.gz: 0f8ba41858a3dc5bc6d6f7d8524ca6030221f4db38c36ed3b3acaff618b8c946e70ef226a32bd7c1f414c60655bb79ba154ac7ae6a9244e15c5e73dd617f3475
7
- data.tar.gz: f02e6d9af877120bfd16a7ecba55f6d3683bc732db1194c95fb5c358dbd5c6de1d6ff08f3e1ea06a7dac23155b1775a73253989f6072fe6d39f313aff37862c8
6
+ metadata.gz: 262387291707ed7dce7d202917eab13ed880b453e9cae474b5bccb55af14dad4ffc0256e3f9b8b5cfc7edcc3f754a9c3d600116222593f370925cd076a9eb86a
7
+ data.tar.gz: e61823d83c7c900b83b21677f01d33126f17ea6e279453158f8b7abf29dfcc75c811a7400d9d1098bc057a697e83fc57ad67fa04aaca19a58a45e2786a20e693
@@ -0,0 +1,39 @@
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
+ strong {
16
+ color: #f6f0fc;
17
+ }
18
+
19
+ img {
20
+ background-color: #c9d1d9;
21
+ }
22
+ }
23
+
24
+ h1, h2, h3, h4, h5 {
25
+ color: #c9d1d9;
26
+ }
27
+
28
+ .post-meta {
29
+ color: #c9d1d9;
30
+ }
31
+
32
+ .blog {
33
+ border: 1px #c9d1d9 solid;
34
+ }
35
+
36
+ .footer {
37
+ color: #8b949e;
38
+ }
39
+ }
@@ -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.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - zddhub
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-27 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