diff --git a/default.hbs b/default.hbs index 10842bb..3211e35 100644 --- a/default.hbs +++ b/default.hbs @@ -17,6 +17,34 @@ :root { --background-color: {{@custom.background_color}} } + + *, html, :root, body, h1, h2, h3, h4, h5, h6, p, a, div, .gh-foot a:hover { + color: {{@custom.text_color}}; + } + + {{#if @custom.flip_columns}} + .showOnMedia { + font-size: 0; + visibility: hidden; + } + + @media only screen and (max-width: 840px) { + .HideOnMedia { + font-size: 0; + visibility: hidden; + } + + .showOnMedia { + font-size: clamp(3.2rem, 2.4452rem + 2.0968vw, 5.8rem); + visibility: visible; + margin-bottom: 50px; + } + } + {{/if}} + + .gh-about-inner.gh-inner { + gap: 50px; + } + + {{ghost_head}} + + + + + @@ -43,15 +78,41 @@
- + {{#if @custom.show_site_title}} + {{else}} - {{@site.title}} + + {{#if @custom.show_site_title}} + {{/if}} - + {{else}} + + {{/if}}
- + {{#if @custom.show_search_icon}} + + {{/if}}
@@ -59,7 +120,9 @@ {{navigation}} {{#unless @site.members_enabled}} {{#match @custom.navigation_layout "Stacked"}} - + {{#if @custom.show_search_icon}} + + {{/if}} {{/match}} {{/unless}} @@ -67,10 +130,14 @@
{{#unless @site.members_enabled}} {{^match @custom.navigation_layout "Stacked"}} - + {{#if @custom.show_search_icon}} + + {{/if}} {{/match}} {{else}} - + {{#if @custom.show_search_icon}} + + {{/if}}
{{#unless @member}} {{#unless @site.members_invite_only}} @@ -98,7 +165,7 @@ + +{{#is "post, page"}} + {{> "pswp"}} +{{/is}} + + + + + +{{ghost_foot}} + + + + \ No newline at end of file diff --git a/package.json b/package.json index bcacb70..22ce84d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "solo", - "description": "A Ghost theme", - "version": "1.0.0", + "description": "A clean, minimal personal Theme for the Ghost publishing platform", + "version": "1.0.1", "private": true, "engines": { "ghost": ">=5.0.0" @@ -46,6 +46,22 @@ "type": "color", "default": "#ffffff" }, + "text_color": { + "type": "color", + "default": "#000000" + }, + "link_of_lottie_json_file": { + "type": "text", + "default": "" + }, + "show_site_title": { + "type": "boolean", + "default": false + }, + "show_site_description": { + "type": "boolean", + "default": false + }, "navigation_layout": { "type": "select", "options": ["Logo on the left", "Logo in the middle", "Stacked"], @@ -80,6 +96,15 @@ "options": ["Classic", "Typographic", "Parallax"], "default": "Classic", "group": "homepage" + }, + "show_search_icon": { + "type": "boolean", + "default": true + }, + "flip_columns": { + "type": "boolean", + "default": false, + "group": "homepage" } } }, @@ -104,4 +129,4 @@ "postcss-easy-import": "4.0.0", "pump": "3.0.0" } -} +} \ No newline at end of file