From fcb67c0c28f5382ab017ddc801131e657f0f781b Mon Sep 17 00:00:00 2001 From: Jun Date: Sat, 11 Nov 2023 12:45:34 +0900 Subject: [PATCH] use constants. --- _data/template.yml | 1 + _includes/form.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_data/template.yml b/_data/template.yml index db83bcb..25f883f 100644 --- a/_data/template.yml +++ b/_data/template.yml @@ -6,6 +6,7 @@ color: muted: 777 mkpYellow: fed136 mkpBlue: 1f396d + lightGray: f3f3f3 # Font Families font: diff --git a/_includes/form.html b/_includes/form.html index 47c6651..a864265 100644 --- a/_includes/form.html +++ b/_includes/form.html @@ -7,8 +7,8 @@ } .loader { - border: 16px solid #f3f3f3; /* Light grey */ - border-top: 16px solid #3498db; /* Blue */ + border: 16px solid #{{ site.data.template.color.lightGray }}; /* Light grey */ + border-top: 16px solid #{{ site.data.template.color.mkpBlue }}; border-radius: 50%; width: 120px; height: 120px;