Skip to content

Commit

Permalink
feat: add option to customize social icons color
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbrozer committed May 1, 2023
1 parent 4d8525b commit eceebaa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Id leo in vitae turpis. Cras sed felis eget velit. Suspendisse interdum consectetur libero id. Dolor sit amet consectetur adipiscing elit duis tristique sollicitudin nibh. Et egestas quis ipsum suspendisse ultrices gravida dictum. Egestas pretium aenean pharetra magna ac placerat vestibulum. Nec ultrices dui sapien eget mi proin sed libero enim. Sodales ut eu sem integer vitae justo. Diam sit amet nisl suscipit adipiscing. Hendrerit dolor magna eget est. Massa sapien faucibus et molestie. In nisl nisi scelerisque eu ultrices. Elementum pulvinar etiam non quam lacus. In massa tempor nec feugiat nisl. Vel orci porta non pulvinar neque. In metus vulputate eu scelerisque felis imperdiet proin fermentum leo. Donec ac odio tempor orci dapibus ultrices in iaculis nunc.",
"type": "wysiwyg"
},
{
"name": "socialIconsColor",
"label": "Social icons color",
"group": "Colors",
"note": "Set the color of social icons in the footer.",
"value": "f626eed9",
"type": "text"
},
{
"name": "mainWidth",
"label": "Main width",
Expand Down
2 changes: 1 addition & 1 deletion partials/social.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{#each items}}
<li>
<a href="{{link}}" target="{{target}}" uk-tooltip="{{title}}">
<img height="64" width="64" src="https://cdn.simpleicons.org/{{label}}/f626eed9">
<img height="64" width="64" src="https://cdn.simpleicons.org/{{label}}/{{@config.custom.socialIconsColor}}">
</a>
</li>
{{/each}}
Expand Down

0 comments on commit eceebaa

Please sign in to comment.