update tw-theme plugin
This commit is contained in:
parent
916fb27193
commit
9325b9a0b8
@ -9,7 +9,7 @@
|
||||
}
|
||||
|
||||
.share-icons .share-icon svg {
|
||||
@apply dark:fill-current;
|
||||
@apply dark:fill-darkmode-light;
|
||||
}
|
||||
|
||||
/* notice */
|
||||
|
@ -109,6 +109,8 @@ module.exports = plugin.withOptions(() => {
|
||||
bg: (value) => ({ backgroundColor: value }),
|
||||
text: (value) => ({ color: value }),
|
||||
border: (value) => ({ borderColor: value }),
|
||||
fill: (value) => ({ fill: value }),
|
||||
stroke: (value) => ({ stroke: value }),
|
||||
},
|
||||
{ values: colorsMap, type: "color" },
|
||||
);
|
||||
|
@ -47,7 +47,7 @@
|
||||
<div class="row items-start justify-between">
|
||||
{{ $tags:= .Params.tags }}
|
||||
{{ if $tags }}
|
||||
<div class="lg:col-5 mb-10 flex items-center lg:mb-0">
|
||||
<div class="lg:col-6 mb-10 flex items-center lg:mb-0">
|
||||
<h5 class="mr-3">{{ T "tags" }} :</h5>
|
||||
<ul>
|
||||
{{ range $i,$p:= $tags }}
|
||||
@ -62,8 +62,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="lg:col-4 flex items-center">
|
||||
{{ partial "social-share" (dict "Context" . "Class" "share-icons" "Title" (T "share") "Whatsapp" false "Telegram" false "Linkedin" false "Pinterest" false "Tumblr" false "Vk" false) }}
|
||||
<div class="lg:col-6 flex items-center">
|
||||
{{ partial "social-share" (dict "Context" . "Class" "share-icons lg:ml-auto" "Title" (T "share") "Whatsapp" false "Telegram" false "Linkedin" false "Pinterest" false "Tumblr" false "Vk" false) }}
|
||||
</div>
|
||||
</div>
|
||||
<!-- comments -->
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "hugoplate",
|
||||
"description": "hugo tailwindcss boilerplate",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.1",
|
||||
"license": "MIT",
|
||||
"author": "zeon.studio",
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user