aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2021-10-10 23:17:41 -0700
committerGitHub <noreply@github.com>2021-10-10 23:17:41 -0700
commitd31a9a79c24922684b917ec13c4c555237339dda (patch)
tree77be480ad42c3e1a64005a1974206dc249273bbb
parent66a434e7dba49011dd5401e32bb45ab180a73a11 (diff)
parent7a4e78e8d0448541e76f6052c45f00b30cdf60e1 (diff)
downloadhomer-d31a9a79c24922684b917ec13c4c555237339dda.tar.gz
homer-d31a9a79c24922684b917ec13c4c555237339dda.tar.zst
homer-d31a9a79c24922684b917ec13c4c555237339dda.zip
Merge pull request #307 from robinschneider/icon-color
Added custom fontawesome icon color option with link property
-rw-r--r--docs/configuration.md2
-rw-r--r--public/assets/config.yml.dist2
-rw-r--r--src/assets/app.scss1
-rw-r--r--src/assets/defaults.yml2
4 files changed, 7 insertions, 0 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index e4ddfcf..50b5bd5 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -52,6 +52,7 @@ colors:
52 text-title: "#303030" 52 text-title: "#303030"
53 text-subtitle: "#424242" 53 text-subtitle: "#424242"
54 card-shadow: rgba(0, 0, 0, 0.1) 54 card-shadow: rgba(0, 0, 0, 0.1)
55 link: "#3273dc"
55 link-hover: "#363636" 56 link-hover: "#363636"
56 background-image: "assets/your/light/bg.png" 57 background-image: "assets/your/light/bg.png"
57 dark: 58 dark:
@@ -65,6 +66,7 @@ colors:
65 text-title: "#fafafa" 66 text-title: "#fafafa"
66 text-subtitle: "#f5f5f5" 67 text-subtitle: "#f5f5f5"
67 card-shadow: rgba(0, 0, 0, 0.4) 68 card-shadow: rgba(0, 0, 0, 0.4)
69 link: "#3273dc"
68 link-hover: "#ffdd57" 70 link-hover: "#ffdd57"
69 background-image: "assets/your/dark/bg.png" 71 background-image: "assets/your/dark/bg.png"
70 72
diff --git a/public/assets/config.yml.dist b/public/assets/config.yml.dist
index 65c5098..acdd32c 100644
--- a/public/assets/config.yml.dist
+++ b/public/assets/config.yml.dist
@@ -24,6 +24,7 @@ colors:
24 text-title: "#303030" 24 text-title: "#303030"
25 text-subtitle: "#424242" 25 text-subtitle: "#424242"
26 card-shadow: rgba(0, 0, 0, 0.1) 26 card-shadow: rgba(0, 0, 0, 0.1)
27 link: "#3273dc"
27 link-hover: "#363636" 28 link-hover: "#363636"
28 dark: 29 dark:
29 highlight-primary: "#3367d6" 30 highlight-primary: "#3367d6"
@@ -36,6 +37,7 @@ colors:
36 text-title: "#fafafa" 37 text-title: "#fafafa"
37 text-subtitle: "#f5f5f5" 38 text-subtitle: "#f5f5f5"
38 card-shadow: rgba(0, 0, 0, 0.4) 39 card-shadow: rgba(0, 0, 0, 0.4)
40 link: "#3273dc"
39 link-hover: "#ffdd57" 41 link-hover: "#ffdd57"
40 42
41# Optional message 43# Optional message
diff --git a/src/assets/app.scss b/src/assets/app.scss
index f2dfb37..c709282 100644
--- a/src/assets/app.scss
+++ b/src/assets/app.scss
@@ -31,6 +31,7 @@ body {
31 transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; 31 transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms;
32 32
33 a { 33 a {
34 color: var(--link);
34 &:hover { 35 &:hover {
35 color: var(--link-hover); 36 color: var(--link-hover);
36 } 37 }
diff --git a/src/assets/defaults.yml b/src/assets/defaults.yml
index ae4f523..ed1fbc9 100644
--- a/src/assets/defaults.yml
+++ b/src/assets/defaults.yml
@@ -23,6 +23,7 @@ colors:
23 text-title: "#303030" 23 text-title: "#303030"
24 text-subtitle: "#424242" 24 text-subtitle: "#424242"
25 card-shadow: rgba(0, 0, 0, 0.1) 25 card-shadow: rgba(0, 0, 0, 0.1)
26 link: "#3273dc"
26 link-hover: "#363636" 27 link-hover: "#363636"
27 background-image: "" 28 background-image: ""
28 dark: 29 dark:
@@ -36,6 +37,7 @@ colors:
36 text-title: "#fafafa" 37 text-title: "#fafafa"
37 text-subtitle: "#f5f5f5" 38 text-subtitle: "#f5f5f5"
38 card-shadow: rgba(0, 0, 0, 0.4) 39 card-shadow: rgba(0, 0, 0, 0.4)
40 link: "#3273dc"
39 link-hover: "#ffdd57" 41 link-hover: "#ffdd57"
40 background-image: "" 42 background-image: ""
41 43