jekyll-theme-profile 1.2.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2f22b92e41c06a56c536e5d99441caf1cf9cb125a6fdff6aacc3bcf245a087e
4
- data.tar.gz: 68fcc586bc613771d69843c787fbea7c2243fd91a1200c26ee5907b18de63fcc
3
+ metadata.gz: ef3c28397bfe7d16a383f40725903daf4c80d615c796d92912b913ed072cf80d
4
+ data.tar.gz: 9540fd8e91c9d5c8650f66ce02fd8d52e72c691d50778662c33d89cf1e2b2931
5
5
  SHA512:
6
- metadata.gz: 2be63f78cf84156ef8553aa300119e0dcc73be0f084717bf9886bd866f4b6f10d18c12741e53e1ec2bc2a8d7e1d02c33bdb2f27522f1b106f38ff7907fc4be4b
7
- data.tar.gz: 42c51de2313fc240a3904baa32f7e22e012f536cc4cd220c162fec2bb0533fedd4a2d6d5a995f5066922ff8162a8bb7b61e93aaea429399945fe8a9553add580
6
+ metadata.gz: 691f10895f2fa78022374e06d1f025ac53bf2518c16227ae4b40d67fb8e8167239a05a31791fd685766f112e11252635cea32354a3af9ae084a4e236ef084197
7
+ data.tar.gz: 2eec4d50cb3740b3b6ee4c08f4c987c8ca165dce646d658d7ee8a8df42589f45dae15bd3cd26a7e0a91d1a927a14c9c7d0dda97dfdafce2c5a95916128bba7e3
data/README.md CHANGED
@@ -255,16 +255,43 @@ style: sidebar # One of "stacked", "sidebar", "topbar"
255
255
  You can even change the background by adding the following to your `_config.yml` file.
256
256
 
257
257
  ```yaml
258
- # background:
259
- # image: /media/background-img.jpg
260
- # light:
261
- # overlay: rgba(255, 255, 255, 0.5)
262
- # dark:
263
- # overlay: rgba(0, 0, 0, 0.5)
258
+ background:
259
+ image: /media/background-img.jpg
260
+ overlay: rgba(0, 0, 0, 0.5) # Overlay for both light and dark styles
261
+ light:
262
+ overlay: rgba(255, 255, 255, 0.5)
263
+ dark:
264
+ overlay: rgba(0, 0, 0, 0.5)
265
+ ```
266
+
267
+ or
268
+
269
+ ```yaml
270
+ background:
271
+ image: /media/background-img.jpg
272
+ light: # custom overlay for light and dark styles
273
+ overlay: rgba(255, 255, 255, 0.5)
274
+ dark:
275
+ overlay: rgba(0, 0, 0, 0.5)
264
276
  ```
265
277
 
266
278
  [Example page](/test/page/background.md)
267
279
 
280
+ #### Header
281
+
282
+ You can change the header color by adding the following to your `_config.yml` file
283
+
284
+ ```yaml
285
+ header:
286
+ color: "#4051b5"
287
+ text: "rgba(255,255,255,0.7)"
288
+ accent: "#ffffff"
289
+ ```
290
+
291
+ #### Custom styles
292
+
293
+ You can override any style with styles defined in `/assets/css/style.css` or `/assets/css/style.scss` files. This is to support config based styling which needs jekyll variables.
294
+
268
295
  ### Nav
269
296
 
270
297
  In the `nav` section, you can add navigation links that will show up on every page of your website.
data/_config.yml CHANGED
@@ -6,11 +6,17 @@ user_image: /media/user-image.jpg
6
6
  # Optional custom background image and overlay
7
7
  # background:
8
8
  # image: /media/background-img.jpg
9
+ # overlay: rgba(0, 0, 0, 0.7)
9
10
  # light:
10
11
  # overlay: rgba(255, 255, 255, 0.5)
11
12
  # dark:
12
13
  # overlay: rgba(0, 0, 0, 0.5)
13
- # color: white # The color for the profile card
14
+
15
+ # Optional custom header colors
16
+ # header:
17
+ # color: "#4051b5"
18
+ # text: "rgba(255,255,255,0.7)"
19
+ # accent: "#ffffff"
14
20
 
15
21
  repo_info: true # Show the information for the source of this project
16
22
  metadata: false # Show the metadata associated with the user
@@ -19,29 +25,29 @@ metadata: false # Show the metadata associated with the user
19
25
  # Social media
20
26
  social_image: /screenshot.png # The social media thumbnail image to use in post links.
21
27
  # icon_color: "#959da5" # The color of the social media icons on the site
22
- social_media: # Your social media accounts
23
- # behance: your_username
24
- # dribbble: your_username
25
- # docker: your_username
26
- # facebook: your_username
27
- # github: your_username
28
- # hackerrank: your_username
29
- # instagram: your_username
30
- # keybase: your_username
31
- # linkedin: your_username
32
- # mail: email@address
33
- # mastodon: your_username
34
- # medium: your_username
35
- # stackoverflow: your_user_id
36
- # telegram: your_username
37
- # threads: your_username
38
- # tiktok: your_username
39
- # twitter: your_username
40
- # unsplash: your_username
41
- # vk: your_username
42
- # vscode: your_username
43
- # youtube: your_username
44
- # x: your_username
28
+ # social_media: # Your social media accounts
29
+ # behance: your_username
30
+ # dribbble: your_username
31
+ # docker: your_username
32
+ # facebook: your_username
33
+ # github: your_username
34
+ # hackerrank: your_username
35
+ # instagram: your_username
36
+ # keybase: your_username
37
+ # linkedin: your_username
38
+ # mail: email@address
39
+ # mastodon: your_username
40
+ # medium: your_username
41
+ # stackoverflow: your_user_id
42
+ # telegram: your_username
43
+ # threads: your_username
44
+ # tiktok: your_username
45
+ # twitter: your_username
46
+ # unsplash: your_username
47
+ # vk: your_username
48
+ # vscode: your_username
49
+ # youtube: your_username
50
+ # x: your_username
45
51
 
46
52
  ####################
47
53
  # Navigation links
@@ -90,6 +96,20 @@ posts_limit: 3 # The number of posts to show in home
90
96
  paginate: 6 # The number of posts to show per page of pagination of blog posts
91
97
  paginate_path: "/assets/blog/page:num"
92
98
 
99
+ markdown: kramdown
100
+ highlighter: rouge
101
+ # kramdown:
102
+ # input: GFM
103
+ # syntax_highlighter: rouge
104
+ # syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
105
+ # css_class: highlight
106
+ # # default_lang: console
107
+ # span:
108
+ # line_numbers: false
109
+ # block:
110
+ # line_numbers: true
111
+ # start_line: 1
112
+
93
113
  # ============= general settings for the theme ===============
94
114
  plugins:
95
115
  - jekyll-github-metadata
@@ -120,5 +140,3 @@ exclude:
120
140
  - .deprecated
121
141
  - .github
122
142
  - "*.gem"
123
-
124
- markdown: kramdown
@@ -7,37 +7,14 @@
7
7
  {%- assign page_url = page.url %}
8
8
  {%- endif %}
9
9
 
10
- {%- if page.title %}
11
- {%- assign page_title = page.title %}
12
- {%- elsif site.title %}
13
- {%- assign page_title = site.title %}
14
- {%- else %}
15
- {%- assign page_title = user.name %}
16
- {%- endif %}
17
-
18
- {%- if page.description %}
19
- {%- assign meta_description = page.description %}
20
- {%- elsif page.path contains '_posts' %}
21
- {%- assign meta_description = page.content | strip_html | strip_newlines | xml_escape | truncate: 300 %}
22
- {%- elsif site.description %}
23
- {%- assign meta_description = site.description %}
24
- {%- else %}
25
- {%- assign meta_description = user.bio | strip_html | strip_newlines | xml_escape | truncate: 300 %}
26
- {%- endif %}
27
-
28
- {%- if page.social_image %}
29
- {%- assign social_image = page.social_image %}
30
- {%- elsif site.social_image %}
31
- {%- assign social_image = site.social_image %}
32
- {%- else %}
33
- {% assign social_image = user.avatar_url %}
34
- {%- endif %}
35
-
36
- {%- if page.background_image %}
37
- {%- assign bg_image = page.background_image %}
38
- {%- elsif site.background.image %}
39
- {%- assign bg_image = site.background.image %}
10
+ {%- assign page_title = page.title | default: site.title | default: user.name | default: user.login %}
11
+ {%- if page.path contains '_posts' %}
12
+ {%- assign post_description = page.content | strip_html | strip_newlines | xml_escape | truncate: 300 %}
40
13
  {%- endif %}
14
+ {%- assign user_bio = user.bio | strip_html | strip_newlines | xml_escape | truncate: 300 %}
15
+ {%- assign meta_description = page.description | default: post_description | default: site_description | default: user_bio %}
16
+ {%- assign social_image = page.social_image | default: site.social_image | default: user.avatar_url %}
17
+ {%- assign bg_image = page.background_image | default: site.background.image | default: null %}
41
18
 
42
19
  <head>
43
20
  <meta charset="utf-8">
@@ -50,7 +27,7 @@
50
27
  <!-- Opengraph Meta Tags -->
51
28
  <meta property="og:url" content="{{ page_url | absolute_url }}">
52
29
  <meta property="og:type" content="website">
53
- <meta property="og:title" content="{{ page_title | absolute_url }}">
30
+ <meta property="og:title" content="{{ page_title }}">
54
31
  <meta property="og:description" content="{{ meta_description }}">
55
32
  <meta property="og:image" content="{{ social_image | absolute_url }}">
56
33
 
@@ -66,9 +43,10 @@
66
43
  <meta name="twitter:site" content="@{{ site.social_media.twitter }}">
67
44
  {%- endif %}
68
45
 
46
+ <link href="{{ '/assets/css/theme.css' | relative_url }}" rel="stylesheet" type="text/css">
69
47
  <link href="{{ '/assets/css/style.css' | relative_url }}" rel="stylesheet" type="text/css">
70
48
  <link rel="icon" type="image/x-icon" href="{{ '/assets/img/favicon.ico' | relative_url}}">
71
- <link rel="canonical" href="{{ page.url | absoulte_url }}">
49
+ <link rel="canonical" href="{{ page.url | absolute_url }}">
72
50
 
73
51
 
74
52
  {%- if site.analytics.provider == 'google' %}
@@ -168,16 +146,6 @@
168
146
  </script>
169
147
 
170
148
  {%- if bg_image %}
171
- {%- if site.backgrournd.overlay %}
172
- {%- assign dark_overlay = site.background.overlay %}
173
- {%- assign light_overlay = site.background.overlay %}
174
- {%- endif %}
175
- {%- if site.background.dark.overlay %}
176
- {%- assign dark_overlay = site.background.dark.overlay %}
177
- {%- endif %}
178
- {%- if site.background.light.overlay %}
179
- {%- assign light_overlay = site.background.light.overlay %}
180
- {%- endif %}
181
149
  <style>
182
150
  body {
183
151
  position: relative;
@@ -187,26 +155,6 @@
187
155
  background-attachment: fixed;
188
156
  z-index: -10;
189
157
  }
190
- /* Dark mode styles */
191
- [data-color-mode='dark'] {
192
- --overlay-color: {{ dark_overlay }};
193
- }
194
- @media(prefers-color-scheme: dark) {
195
- [data-color-mode='auto'][data-dark-theme='dark_dimmed'] {
196
- --overlay-color: {{ dark_overlay }};
197
- }
198
- }
199
-
200
- /* Light mode styles */
201
- [data-color-mode='light'] {
202
- --overlay-color: {{ light_overlay }};
203
- }
204
-
205
- @media(prefers-color-scheme: light) {
206
- [data-color-mode='auto'][data-light-theme='light'] {
207
- --overlay-color: {{ light_overlay }};
208
- }
209
- }
210
158
  </style>
211
159
  {%- endif %}
212
160
  </head>
@@ -1,18 +1,7 @@
1
1
  {%- assign user = site.github.owner %}
2
2
 
3
- {%- if site.title %}
4
- {%- assign name = site.title %}
5
- {%- elsif user.name %}
6
- {%- assign name = user.name %}
7
- {%- else %}
8
- {%- assign name = user.login %}
9
- {%- endif %}
10
-
11
- {%- if site.user_image %}
12
- {%- assign user_img = site.user_image %}
13
- {%- else %}
14
- {%- assign user_img = user.avatar_url %}
15
- {%- endif %}
3
+ {%- assign name = site.title | default: user.name | default: user.login %}
4
+ {%- assign user_img = site.user_image | default: user.avatar_url %}
16
5
 
17
6
  {%- assign metadata_styles = 'd-flex flex-items-center flex-justify-center mb-3' %}
18
7
  <div class="Masthead">
data/_includes/posts.html CHANGED
@@ -1,7 +1,4 @@
1
- {%- assign post_limit = 3 %}
2
- {%- if include.limit %}
3
- {%- assign post_limit = include.limit %}
4
- {%- endif %}
1
+ {%- assign post_limit = include.limit | default: 3 %}
5
2
 
6
3
  <div class="gutter-condensed mb-4">
7
4
  {%- for post in site.posts limit: {{post_limit}} %}
@@ -1,4 +1,4 @@
1
1
  <div class="d-flex flex-items-center">
2
- <button id="theme-toggle" class="btn btn-sm mr-2 tooltipped tooltipped-se" aria-label="Color mode" type="button"><span id="theme-icon"
2
+ <button id="theme-toggle" class="btn btn-octicon mr-2 tooltipped tooltipped-se" aria-label="Color mode" type="button"><span id="theme-icon"
3
3
  class="octicon octicon-moon-24"></span></button>
4
4
  </div>
@@ -1,36 +1,11 @@
1
1
  {%- assign user = site.github.owner %}
2
2
 
3
- {%- if page.style %}
4
- {%- assign style = page.style %}
5
- {%- else %}
6
- {%- assign style = site.style %}
7
- {%- endif %}
3
+ {%- assign style = page.style | default: site.style %}
4
+ {%- assign breadcrumbs = page.breadcrumbs | default: false %}
5
+ {%- assign name = site.title | default: user.name | default: user.login %}
6
+ {%- assign user_img = site.user_image | default: user.avatar_url %}
7
+ {%- assign metadata = site.metadata | default: true %}
8
8
 
9
- {%- if page.breadcrumbs %}
10
- {%- assign breadcrumbs = page.breadcrumbs %}
11
- {%- else %}
12
- {%- assign breadcrumbs = false %}
13
- {%- endif %}
14
-
15
- {%- if site.title %}
16
- {%- assign name = site.title %}
17
- {%- elsif user.name %}
18
- {%- assign name = user.name %}
19
- {%- else %}
20
- {%- assign name = user.login %}
21
- {%- endif %}
22
-
23
- {%- if site.user_image %}
24
- {%- assign user_img = site.user_image %}
25
- {%- else %}
26
- {%- assign user_img = user.avatar_url %}
27
- {%- endif %}
28
-
29
- {%- if site.metadata == true or site.metadata == false %}
30
- {%- assign metadata = site.metadata %}
31
- {%- else %}
32
- {%- assign metadata = true %}
33
- {%- endif %}
34
9
 
35
10
  <!doctype html>
36
11
  <html lang="en" class="min-height-full min-width" data-color-mode="auto" data-light-theme="light"
@@ -40,50 +15,50 @@
40
15
 
41
16
  <body class="min-height-full">
42
17
  {%- if style == 'stacked' %}
43
- <div class="container-lg p-responsive min-height-full">
44
- <div class="d-flex flex-justify-end pt-2">
45
- {%- include toggle.html %}
46
- </div>
47
- <div class="Profile text-center py-3 border-bottom">
18
+ <div class="container-lg min-height-full">
19
+ <div class="Profile text-center">
48
20
  {%- include masthead.html metadata=metadata %}
49
21
  {%- if site.repo_info %}
50
- <div class="my-2">
22
+ <div class="py-2">
51
23
  {% include mini-repo-info-card.html class="Box-row-link" %}
52
24
  </div>
53
25
  {%- endif %}
54
26
  {%- if site.social_media %}
55
- <div class="my-2">
27
+ <div class="py-2 px-2">
56
28
  {%- include social.html %}
57
29
  </div>
58
30
  {%- endif %}
31
+ {%- if site.nav %}
32
+ <nav class="Header d-flex flex-column flex-md-row flex-justify-center">
33
+ {%- include nav.html %}
34
+ </nav>
35
+ {%- endif %}
59
36
  </div>
60
- {%- if site.nav %}
61
- <nav class="Header d-flex flex-column flex-md-row flex-justify-center">
62
- {%- include nav.html %}
63
- </nav>
64
- {%- endif %}
65
37
  <div class="color-bg-default">
66
- {%- if breadcrumbs %}
67
- <div class="p-3">
38
+ <div class="d-flex p-2">
39
+ {%- if breadcrumbs %}
68
40
  {%- include breadcrumbs.html %}
41
+ {%- endif %}
42
+ <div class="flex-1">
43
+ </div>
44
+ {% include toggle.html %}
69
45
  </div>
70
- {%- endif %}
71
46
  <div class="p-responsive markdown-body ">
72
- {{ content }}
47
+ {{ content }}
73
48
  </div>
74
49
  </div>
75
50
  </div>
76
51
  {%- elsif style == 'sidebar' %}
77
52
  <div class="container-xl d-lg-flex min-height-full">
78
- <div class="Profile col-lg-4 border-gray-light px-4 py-6 text-center">
53
+ <div class="Profile col-lg-4 border-gray-light pt-6 text-center">
79
54
  {%- include masthead.html metadata=metadata %}
80
55
  {%- if site.repo_info %}
81
- <div class="my-2">
56
+ <div class="py-2">
82
57
  {% include mini-repo-info-card.html class="Box-row-link" %}
83
58
  </div>
84
59
  {%- endif %}
85
60
  {%- if site.social_media %}
86
- <div class="my-2">
61
+ <div class="py-2 px-2">
87
62
  {%- include social.html %}
88
63
  </div>
89
64
  {%- endif %}
@@ -118,7 +93,7 @@
118
93
  {% octicon mark-github height:32 %}
119
94
  </a>
120
95
  </div>
121
- <div class="Header-item Header-item--full">{{ name }}</div>
96
+ <div class="Header-item Header-link Header-item--full">{{ name }}</div>
122
97
  {%- if site.social_media %}
123
98
  <div class="Header-item hide-md hide-sm">
124
99
  {%- include social.html %}
@@ -129,9 +104,6 @@
129
104
  {% include mini-repo-info-card.html class="Header-link" %}
130
105
  </div>
131
106
  {% endif %}
132
- <div class="Header-item mr-3">
133
- {% include toggle.html %}
134
- </div>
135
107
  <div class="Header-item mr-0">
136
108
  <a href="https://github.com/{{ user.login }}" class="Header-link d-flex flex-items-center">
137
109
  <img class="avatar img-cover" height="32" width="32" alt="{{ name }}"
@@ -148,10 +120,15 @@
148
120
  {%- endif %}
149
121
  </div>
150
122
  </div>
151
- <div class="container-lg p-3 color-bg-default flex-1">
152
- {%- if breadcrumbs %}
153
- {%- include breadcrumbs.html %}
154
- {%- endif %}
123
+ <div class="container-xl p-3 color-bg-default flex-1">
124
+ <div class="d-flex pb-2">
125
+ {%- if breadcrumbs %}
126
+ {%- include breadcrumbs.html %}
127
+ {%- endif %}
128
+ <div class="flex-1">
129
+ </div>
130
+ {% include toggle.html %}
131
+ </div>
155
132
  <div class="p-responsive markdown-body">
156
133
  {{ content }}
157
134
  </div>
data/_layouts/home.html CHANGED
@@ -3,11 +3,7 @@ layout: default
3
3
  ---
4
4
  <div class="py-3">
5
5
  {%- assign posts_total = site.posts | size %}
6
- {%- if site.posts_limit %}
7
- {%- assign posts_limit = site.posts_limit %}
8
- {%- else %}
9
- {%- assign posts_limit = posts_total %}
10
- {%- endif %}
6
+ {%- assign posts_limit = site.posts_limit | default: posts_total %}
11
7
 
12
8
  {%- unless content == "" %}
13
9
  {{ content }}
@@ -1,4 +1,4 @@
1
- .highlight { width: 100%; overflow: auto; background-color: var(--color-canvas-inset) !important; padding: 8px; }
1
+ .highlight { overflow: auto; background-color: var(--color-canvas-inset) !important; padding: 8px; }
2
2
  .highlight .c { color: #999988; font-style: italic } /* Comment */
3
3
  .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4
4
  .highlight .k { font-weight: bold } /* Keyword */
@@ -64,3 +64,33 @@
64
64
  .highlight .lineno {-webkit-user-select: none;-moz-user-select: none; -o-user-select: none;}
65
65
  .lineno::-moz-selection {background-color: transparent;} /* Mozilla specific */
66
66
  .lineno::selection {background-color: transparent;} /* Other major browsers */
67
+ .lineno { opacity: 0.5;}
68
+
69
+ .highlight table {
70
+ margin: inherit;
71
+ }
72
+
73
+ .highlight table tr {
74
+ background-color: inherit;
75
+ border-top: inherit;
76
+ }
77
+
78
+ .highlight table td {
79
+ padding: inherit;
80
+ border: inherit;
81
+ }
82
+
83
+ .highlight pre {
84
+ background-color: inherit !important;
85
+ border-radius: 0px !important;
86
+ }
87
+
88
+ .highlight code pre {
89
+ padding: 0px !important;
90
+ background-color: inherit;
91
+ }
92
+
93
+ .highlight code .gutter,
94
+ .highlight code .rouge-gutter {
95
+ padding-right: 16px !important;
96
+ }
@@ -1,14 +1,2 @@
1
1
  ---
2
2
  ---
3
- @import "jekyll-theme-profile";
4
-
5
- {%- if site.color %}
6
- {%- assign profile_color=site.color %}
7
- .Profile {
8
- color: {{ profile_color }};
9
- }
10
-
11
- .Profile a {
12
- color: {{ profile_color }};
13
- }
14
- {%- endif %}
@@ -0,0 +1,89 @@
1
+ ---
2
+ ---
3
+ {%- if site.background.overlay %}
4
+ {%- assign dark_overlay = site.background.overlay %}
5
+ {%- assign light_overlay = site.background.overlay %}
6
+ {%- endif %}
7
+ {%- if site.background.dark.overlay %}
8
+ {%- assign dark_overlay = site.background.dark.overlay %}
9
+ {%- endif %}
10
+ {%- if site.background.light.overlay %}
11
+ {%- assign light_overlay = site.background.light.overlay %}
12
+ {%- endif %}
13
+
14
+ {%- if dark_overlay %}
15
+ /* Dark mode styles */
16
+ [data-color-mode='dark'] {
17
+ --overlay-color: {{ dark_overlay }};
18
+ }
19
+ @media(prefers-color-scheme: dark) {
20
+ [data-color-mode='auto'][data-dark-theme='dark_dimmed'] {
21
+ --overlay-color: {{ dark_overlay }};
22
+ }
23
+ }
24
+ {%- endif %}
25
+
26
+ {%- if light_overlay %}
27
+ /* Light mode styles */
28
+ [data-color-mode='light'] {
29
+ --overlay-color: {{ light_overlay }};
30
+ }
31
+
32
+ @media(prefers-color-scheme: light) {
33
+ [data-color-mode='auto'][data-light-theme='light'] {
34
+ --overlay-color: {{ light_overlay }};
35
+ }
36
+ }
37
+ {%- endif %}
38
+
39
+ {%- if site.header.color %}
40
+
41
+ {%- assign header_color=site.header.color %}
42
+ .Header {
43
+ --color-header-bg: {{ header_color }};
44
+ }
45
+ /* Light mode styles */
46
+ [data-color-mode='light'] {
47
+ --color-header-bg: {{ header_color }};
48
+ }
49
+
50
+ @media(prefers-color-scheme: light) {
51
+ [data-color-mode='auto'][data-light-theme='light'] {
52
+ --color-header-bg: {{ header_color }};
53
+ }
54
+ }
55
+ /* Dark mode styles */
56
+ [data-color-mode='dark'] {
57
+ --color-header-bg: {{ header_color }};
58
+ }
59
+ @media(prefers-color-scheme: dark) {
60
+ [data-color-mode='auto'][data-dark-theme='dark_dimmed'] {
61
+ --color-header-bg: {{ header_color }};
62
+ }
63
+ }
64
+ {%- endif %}
65
+
66
+ {%- if site.header.text %}
67
+ .Header {
68
+ --color-header-logo: {{ site.header.text }};
69
+ }
70
+ {%- endif %}
71
+
72
+ {%- if site.header.accent %}
73
+ .Header {
74
+ --color-header-text: {{ site.header.accent }};
75
+ }
76
+ {%- endif %}
77
+
78
+ :root{
79
+ --color-profile-text: var(--color-fg-default);
80
+ --color-profile-accent: var(--color-accent-fg);
81
+ --color-profile-bg: var(--color-canvas-default);
82
+ }
83
+
84
+ @import "jekyll-theme-profile";
85
+
86
+ .Profile {
87
+ background-color: var(--color-profile-bg);
88
+ color: var(--color-profile-text);
89
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-profile
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Allison Thackston
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-14 00:00:00.000000000 Z
11
+ date: 2023-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -135,6 +135,7 @@ files:
135
135
  - _sass/jekyll-theme-profile.scss
136
136
  - assets/blog/index.html
137
137
  - assets/css/style.scss
138
+ - assets/css/theme.scss
138
139
  - assets/img/favicon.ico
139
140
  homepage: https://www.althack.dev/jekyll-theme-profile
140
141
  licenses:
@@ -148,7 +149,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
149
  requirements:
149
150
  - - ">="
150
151
  - !ruby/object:Gem::Version
151
- version: '0'
152
+ version: 2.7.0
152
153
  required_rubygems_version: !ruby/object:Gem::Requirement
153
154
  requirements:
154
155
  - - ">="