From a17139e1dda62efa35efde53bb0d686ce0295467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Thu, 5 Jan 2023 20:45:47 +0000 Subject: [PATCH] final polish and version bump --- assets/css/compiled/main.css | 20 ++++++++++---------- exampleSite/content/_index.md | 6 ------ layouts/partials/header/basic.html | 6 +++--- layouts/partials/hero/background.html | 2 +- package.json | 2 +- tailwind.config.js | 12 ++++++------ 6 files changed, 21 insertions(+), 27 deletions(-) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 53ddc68f..88cda2d4 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -885,11 +885,11 @@ select { color: var(--tw-prose-code); font-weight: 600; font-size: 0.875em; - background-color: rgba(var(--color-neutral-200), 1); - padding-top: 2px; - padding-bottom: 2px; - padding-left: 3px; - padding-right: 3px; + background-color: rgba(var(--color-secondary-200), 1); + padding-top: 3px; + padding-bottom: 3px; + padding-left: 5px; + padding-right: 5px; } .prose :where(code):not(:where([class~="not-prose"] *))::before { @@ -2202,14 +2202,14 @@ select { opacity: 0; } -.opacity-30 { - opacity: 0.3; -} - .opacity-70 { opacity: 0.7; } +.opacity-30 { + opacity: 0.3; +} + .mix-blend-normal { mix-blend-mode: normal; } @@ -3352,7 +3352,7 @@ body:has(#menu-controller:checked) { } .dark .dark\:prose-invert :where(code):not(:where([class~="not-prose"] *)) { - background-color: rgba(var(--color-neutral-600), 1); + background-color: rgba(var(--color-secondary-800), 1); } .dark .dark\:text-neutral-500 { diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index 5296e19d..312cf241 100755 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -3,12 +3,6 @@ title: "Welcome to Blowfish! :tada:" description: "This is a demo of the Blowfish theme for Hugo." --- - - This is a demo site built entirely using Blowfish. It also contains a complete set of [theme documentation]({{< ref "docs" >}}). Blowfish is flexible and is great for both static page-based content (like this demo) or a traditional blog with a feed of recent posts.
diff --git a/layouts/partials/header/basic.html b/layouts/partials/header/basic.html index 0da1855d..68678db5 100644 --- a/layouts/partials/header/basic.html +++ b/layouts/partials/header/basic.html @@ -1,4 +1,4 @@ -
{{ if .Site.Params.Logo -}} {{ $logo := resources.Get .Site.Params.Logo }} @@ -94,12 +94,12 @@
{{ partial "icon.html" "bars" }}
- {{ if $shouldBlur | default false }} diff --git a/package.json b/package.json index 5795374b..6489a683 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-blowfish-theme", - "version": "2.22.2", + "version": "2.23.0", "description": "Blowfish theme for Hugo", "scripts": { "fullinstall": "npm run preinstall && npm install && npm run postinstall", diff --git a/tailwind.config.js b/tailwind.config.js index 8a590642..2fddecd8 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -118,11 +118,11 @@ module.exports = { borderRadius: "0.12rem", }, code:{ - backgroundColor: theme("colors.neutral.200 / 1"), - paddingTop: "2px", - paddingBottom: "2px", - paddingLeft: "3px", - paddingRight: "3px", + backgroundColor: theme("colors.secondary.200 / 1"), + paddingTop: "3px", + paddingBottom: "3px", + paddingLeft: "5px", + paddingRight: "5px", }, 'code::before': { display: 'none' @@ -151,7 +151,7 @@ module.exports = { backgroundColor: theme("colors.secondary.400 / 1"), }, code:{ - backgroundColor: theme("colors.neutral.600 / 1"), + backgroundColor: theme("colors.secondary.800 / 1"), }, }, },