From 12bc7d8ea70d646e9d4cfe9702e65a41d71a063c Mon Sep 17 00:00:00 2001 From: somrat sorkar Date: Mon, 29 May 2023 16:04:51 +0600 Subject: [PATCH] modified remove-darkmode system --- assets/scss/components.scss | 10 ---------- assets/scss/module-overrides.scss | 11 +++++++++++ package.json | 5 +++-- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/assets/scss/components.scss b/assets/scss/components.scss index 85db8aa..5596ad9 100755 --- a/assets/scss/components.scss +++ b/assets/scss/components.scss @@ -34,16 +34,6 @@ } } -.share-icons { - .share-link { - @apply h-9 w-9 rounded leading-9; - @apply bg-primary hover:bg-primary dark:bg-darkmode-primary dark:hover:bg-darkmode-primary; - } - .share-icon svg { - @apply dark:fill-dark; - } -} - // swiper pagination .swiper-pagination-bullet { @apply bg-theme-light dark:bg-darkmode-theme-light h-2.5 w-2.5 opacity-100; diff --git a/assets/scss/module-overrides.scss b/assets/scss/module-overrides.scss index b0829c9..6adb180 100644 --- a/assets/scss/module-overrides.scss +++ b/assets/scss/module-overrides.scss @@ -3,6 +3,17 @@ @apply overflow-hidden rounded; } +// share icons +.share-icons { + .share-link { + @apply h-9 w-9 rounded leading-9; + @apply bg-primary hover:bg-primary dark:bg-darkmode-primary dark:hover:bg-darkmode-primary; + } + .share-icon svg { + @apply dark:fill-dark; + } +} + // tab .tab { @apply border-border dark:border-darkmode-border overflow-hidden rounded-lg border; diff --git a/package.json b/package.json index 11295c1..9fee342 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.0.2", + "version": "1.0.3", "license": "MIT", "author": "zeon.studio", "scripts": { @@ -9,7 +9,8 @@ "test": "cd exampleSite; hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --verbose --verboseLog --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify 2> /dev/null || hugo server --themesDir ../.. --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --verbose --verboseLog --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify", "build": "cd exampleSite; hugo --gc --minify --templateMetrics --templateMetricsHints --verbose --verboseLog --buildDrafts --buildExpired --buildFuture --forceSyncStatic 2> /dev/null || hugo --themesDir ../.. --gc --minify --templateMetrics --templateMetricsHints --verbose --verboseLog --buildDrafts --buildExpired --buildFuture --forceSyncStatic", "update-modules": "hugo mod clean && hugo mod get -u ./... && hugo mod tidy", - "format": "prettier -w ." + "format": "prettier -w .", + "remove-darkmode": "node ./scripts/removeDarkmode.js && yarn format" }, "devDependencies": { "@fullhuman/postcss-purgecss": "^5.0.0",