moonwalk 0.1.2 → 0.1.3

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: 2967d34ac4d69b0a22ed559b8332cccebe5c2cdd371ce09fa4566bdb384caac1
4
- data.tar.gz: 63d7e752098c997ee32d0c25e6c2eb3103c19a689edade42b524a462d86030fc
3
+ metadata.gz: 520b901c78a0b63580aee60986eeb6c91049ffb9aa9c43470acf62c205fabc0a
4
+ data.tar.gz: 4857ad038f6bafe1c3add5fa466c6f9d0fda0cd6e392bd5dc13cf551338d453b
5
5
  SHA512:
6
- metadata.gz: 75da973db880f5071dd744bd4da7490c5ce319428e31bc38b9375f037dcf636e9bc2a326128df29f7ba0bfe1045c42cd31445a5a563548e69360a4b26cf63e40
7
- data.tar.gz: 408605ab11b60c50086241c69c291d7d66e55d08ef524a7cfce49473df0406c468e2ee31ac494d29abbb045edc8840dbbe40c8042783e05f419a19cfbc526113
6
+ metadata.gz: a1d8b3960ac369b1e7b0bc2e1609b92470c6651d141356cf4c0607b0c715a7e294c6177c2fa6e9f77b96f5293b361dde3a0dc4da33ac9411b3bf1fddcff9737e
7
+ data.tar.gz: 839a03e3bfa0754116addeb4ae1b98d5b6b679f89a11438e691ac77aa586803f411b58b42955b43aecfda6b3a32ee974291ea5f100097601bb8ecc0cca3c18bb
data/README.md CHANGED
@@ -90,24 +90,27 @@ The `home.yml` file accepts the following fields:
90
90
  ```css
91
91
  html {
92
92
  --bg: #fff;
93
- --bg-secondary: #f8f9fa;
94
- --headings: #000;
95
- --text: #333;
96
- --links: blue;
93
+ --bg-secondary: #f3f4f6;
94
+ --headings: #1e293b;
95
+ --text: #374151;
96
+ --text-secondary: #6b7280;
97
+ --links: #6366f1;
97
98
  --highlight: #ffecb2; // light yellow
99
+ --code-text: #9d174d;
98
100
  }
99
101
  ```
100
102
  - for dark mode customize these css variables
101
103
  ```css
102
104
  @mixin dark-appearance {
103
105
  html, body {
104
- --bg: #1f242A;
106
+ --headings: #74c0fc;
107
+ --links: #91a7ff;
108
+ --highlight: #41c7c7;
109
+ --bg: #1f242a;
105
110
  --bg-secondary: #323945;
106
- --headings: #3D9970;
107
111
  --text: #adb5bd;
108
- --links: #91a7ff;
109
- --highlight: #ffd8a8;
110
- --highlight: #ffd43b;
112
+ --text-secondary: #9ca3af;
113
+ --code-text: #91a7ff;
111
114
  };
112
115
  }
113
116
  ```
data/_config.yml CHANGED
@@ -30,6 +30,7 @@ theme_config:
30
30
  show_old_projects: true # show old projects as cards, add in _data/home.yml
31
31
  show_misc_list: false # show generic vertical list for misc details, add _data/home.yml
32
32
  show_reading_time: true # show number of words and reading time in the blog posts
33
+ show_tags: true # show tags in a blog posts
33
34
  # options for "home" page
34
35
  home:
35
36
  title_projects: Portfolio
@@ -1,25 +1,31 @@
1
- <p class="post-date text-bold text-upcase">
1
+ <p class="post-date text-bold">
2
2
  {% if page.author %}
3
- <span class="text-bold">{{ page.author }}</span> /
3
+ <span class="text-upcase">{{ page.author }}</span> /
4
4
  {% endif %}
5
5
  {% if page.date %}
6
- <span>{{ page.date | date: "%B %Y"}}</span>
6
+ <span class="text-upcase">{{ page.date | date: "%B %Y"}}</span>
7
7
  {% endif %}
8
- </p>
9
-
10
- <div class="soopr-btn"
11
- data-twitter="SooprCo"
12
- >
13
- </div>
14
8
 
15
9
  {% if site.theme_config.show_reading_time == true %}
16
- <p class="post-date text-bold">
17
10
  {% capture words %}
18
11
  {{ content | number_of_words | minus: 180 }}
19
12
  {% endcapture %}
20
13
  {% unless words contains '-' %}
21
- {{ words | append: ' Words, ' }}
22
- {{ words | plus: 180 | divided_by: 180 | append: ' Minutes' }}
14
+ {{ words | strip | prepend: '(' | append: ' Words, ' }}
15
+ {{ words | plus: 180 | divided_by: 180 | append: ' Minutes)' }}
23
16
  {% endunless %}
17
+ {% endif %}
24
18
  </p>
19
+
20
+ <div class="soopr-btn"
21
+ data-twitter="SooprCo"
22
+ >
23
+ </div>
24
+
25
+ {% if site.theme_config.show_tags == true %}
26
+ <div class="">
27
+ {% for tag in page.tags %}
28
+ <span class="tag">{{ tag }}</span>
29
+ {% endfor %}
30
+ </div>
25
31
  {% endif %}
data/_includes/head.html CHANGED
@@ -14,7 +14,18 @@
14
14
  {% seo title=false %}
15
15
  {% feed_meta %}
16
16
 
17
- <link rel="shortcut icon" type="image/x-icon" href="/{{ site.favicon | relative_url }}" />
17
+ <!-- Favicon -->
18
+ <link rel="apple-touch-icon" sizes="180x180" href="/assets/images/favicon/apple-touch-icon.png">
19
+ <link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicon/favicon-32x32.png">
20
+ <link rel="icon" type="image/png" sizes="16x16" href="/assets/images/favicon/favicon-16x16.png">
21
+ <link rel="manifest" href="/assets/images/favicon/site.webmanifest">
22
+ <link rel="mask-icon" href="/assets/images/favicon/safari-pinned-tab.svg" color="#5bbad5">
23
+ <link rel="shortcut icon" href="/assets/images/favicon/favicon.ico">
24
+ <meta name="msapplication-TileColor" content="#00aba9">
25
+ <meta name="msapplication-config" content="/assets/images/favicon/browserconfig.xml">
26
+ <meta name="theme-color" content="#ffffff">
27
+ <!-- Favicon -->
28
+
18
29
  <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
19
30
  {% if site.theme_config.appearance_toggle %}
20
31
  {% include toggle_theme_js.html %}
data/_sass/list.scss CHANGED
@@ -27,7 +27,7 @@ ul.horizontal-list {
27
27
  align-items: center;
28
28
  background-color: var(--bg-secondary);
29
29
  margin-bottom: 0.8em;
30
- border-radius: 0.8em;
30
+ border-radius: 0.5em;
31
31
 
32
32
  .header {
33
33
  color: var(--links);
data/_sass/moonwalk.scss CHANGED
@@ -1,4 +1,4 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro&display=swap');
1
+ @import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');
2
2
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
3
3
 
4
4
  html { height: 100%; }
@@ -11,7 +11,7 @@ body {
11
11
  min-height: 100%;
12
12
  }
13
13
  pre, code {
14
- font-family: "Anonymous Pro", "Courier New", monospace;
14
+ font-family: "Roboto Mono", "Courier New", monospace;
15
15
  font-size: 0.9rem;
16
16
  }
17
17
 
@@ -65,10 +65,11 @@ img {
65
65
  }
66
66
  html {
67
67
  --bg: #FFF;
68
- --bg-secondary: #f8f8f8;
69
- --headings: #000;
70
- --text: #333;
71
- --links: blue;
68
+ --bg-secondary: #f3f4f6;
69
+ --headings: #1e293b;
70
+ --text: #374151;
71
+ --text-secondary: #6b7280;
72
+ --links: #6366f1;
72
73
  --highlight: #FFECB2; // light yellow
73
74
  --code-text: #9D174D;
74
75
  --share-text: #999;
@@ -82,6 +83,7 @@ html {
82
83
  --bg: #1f242A;
83
84
  --bg-secondary: #323945;
84
85
  --text: #adb5bd;
86
+ --text-secondary: #9CA3AF;
85
87
  --code-text: #91A7FF;
86
88
  --share-text: #C4C4C4;
87
89
  };
@@ -155,12 +157,13 @@ mark {
155
157
  }
156
158
 
157
159
  .post-date {
158
- color: var(--secondary-text);
159
- //margin-bottom: 1rem;
160
- font-size: 0.8em;
160
+ color: var(--text-secondary);
161
+ margin-top: 1rem;
162
+ font-size: 0.7em;
163
+ font-family: "Roboto Mono", "Courier New", monospace;
161
164
  }
162
165
  .home-date {
163
- font-family: monospace;
166
+ font-family: "Roboto Mono", "Courier New", monospace;
164
167
  }
165
168
  .post-list-item a {
166
169
  text-decoration: none;
@@ -198,3 +201,15 @@ p code, li code {
198
201
  color: var(--links);
199
202
  }
200
203
  }
204
+ .tag {
205
+ font-family: "Roboto Mono", "Courier New", monospace;
206
+ color: var(--text-secondary);
207
+ padding: 0.4em 1em;
208
+ margin-right: 0.5em;
209
+ border-radius: 1em;
210
+ background-color: var(--bg-secondary);
211
+ font-size: 0.7em;
212
+ font-weight: bold;
213
+ text-transform: lowercase;
214
+ //border: 1px solid var(--text-secondary);
215
+ }
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <browserconfig>
3
+ <msapplication>
4
+ <tile>
5
+ <square150x150logo src="/assets/images/favicon/mstile-150x150.png"/>
6
+ <TileColor>#00aba9</TileColor>
7
+ </tile>
8
+ </msapplication>
9
+ </browserconfig>
Binary file
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="300.000000pt" height="300.000000pt" viewBox="0 0 300.000000 300.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+ <metadata>
8
+ Created by potrace 1.14, written by Peter Selinger 2001-2017
9
+ </metadata>
10
+ <g transform="translate(0.000000,300.000000) scale(0.100000,-0.100000)"
11
+ fill="#000000" stroke="none">
12
+ <path d="M1350 2994 c-14 -2 -68 -12 -120 -20 -135 -23 -283 -74 -419 -144
13
+ -401 -208 -683 -581 -783 -1037 -29 -135 -32 -412 -4 -558 114 -611 565 -1072
14
+ 1183 -1207 135 -29 412 -32 558 -4 609 114 1074 568 1206 1178 29 136 36 355
15
+ 15 494 -52 353 -188 624 -432 867 -211 208 -462 344 -756 408 -90 19 -384 35
16
+ -448 23z m296 -355 c507 -70 913 -476 983 -983 78 -560 -277 -1105 -820 -1260
17
+ -90 -26 -213 -46 -280 -46 l-39 0 0 1150 0 1150 39 0 c22 0 74 -5 117 -11z"/>
18
+ </g>
19
+ </svg>
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "Moonwalk",
3
+ "short_name": "Moonwalk",
4
+ "icons": [
5
+ {
6
+ "src": "/assets/images/favicon/android-chrome-192x192.png",
7
+ "sizes": "192x192",
8
+ "type": "image/png"
9
+ },
10
+ {
11
+ "src": "/assets/images/favicon/android-chrome-256x256.png",
12
+ "sizes": "256x256",
13
+ "type": "image/png"
14
+ }
15
+ ],
16
+ "theme_color": "#ffffff",
17
+ "background_color": "#ffffff",
18
+ "display": "standalone"
19
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moonwalk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abhinav Saxena
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-21 00:00:00.000000000 Z
11
+ date: 2022-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -107,6 +107,16 @@ files:
107
107
  - _sass/moonwalk.scss
108
108
  - _sass/syntax.scss
109
109
  - assets/css/main.scss
110
+ - assets/images/favicon/android-chrome-192x192.png
111
+ - assets/images/favicon/android-chrome-256x256.png
112
+ - assets/images/favicon/apple-touch-icon.png
113
+ - assets/images/favicon/browserconfig.xml
114
+ - assets/images/favicon/favicon-16x16.png
115
+ - assets/images/favicon/favicon-32x32.png
116
+ - assets/images/favicon/favicon.ico
117
+ - assets/images/favicon/mstile-150x150.png
118
+ - assets/images/favicon/safari-pinned-tab.svg
119
+ - assets/images/favicon/site.webmanifest
110
120
  homepage: https://github.com/abhinavs/moonwalk
111
121
  licenses:
112
122
  - MIT