Skip to content

Commit ca69ab6

Browse files
committed
updated underlying package and updated site config to support new theme
1 parent 4f3b0c4 commit ca69ab6

File tree

3 files changed

+112
-8
lines changed

3 files changed

+112
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"react-dom": "^16.13.0"
1616
},
1717
"dependencies": {
18-
"@draftbox-co/gatsby-wordpress-theme-libre": "^1.0.43",
18+
"@draftbox-co/gatsby-wordpress-theme-libre": "^1.0.44",
1919
"dotenv": "^8.2.0",
2020
"gatsby": "2.20.24",
2121
"gatsby-plugin-disqus": "^1.1.4",

siteConfig.js

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ module.exports = {
1515
themeColor: "#15171A", // Used for Offline Manifest
1616
apiUrl: "https://wordpress.theasdfghjkl.com",
1717
subscribeWidget: {
18+
visible: true,
1819
title: "Subscribe to Draftbox",
1920
helpText: "Get the latest posts delivered right to your inbox.",
2021
successMessage: "Thanks for subscribing to Draftbox.",
@@ -62,6 +63,12 @@ module.exports = {
6263
instagram: "https://www.instagram.com/",
6364
linkedin: "https://linkedin.com/",
6465
github: "https://github.com/draftbox-co",
66+
whatsapp: "",
67+
pinterest: "",
68+
youtube: "",
69+
dribbble: "",
70+
behance: "",
71+
externalLink: "",
6572
},
6673
contactWidget: {
6774
title: "Contact Built with Draftbox",
@@ -94,4 +101,58 @@ module.exports = {
94101
iconUrl: "favicon.png",
95102
coverUrl: "cover.jpg",
96103
alternateLogoUrl: "logo.png",
104+
themeConfig: {
105+
fonts: [
106+
{
107+
family: "Libre Baskerville",
108+
variants: ["400", "700"],
109+
fontDisplay: "swap",
110+
strategy: "selfHosted",
111+
},
112+
{
113+
family: "Source Code Pro",
114+
variants: ["400", "700"],
115+
fontDisplay: "swap",
116+
strategy: "selfHosted",
117+
},
118+
],
119+
variables: [
120+
{
121+
varName: "--page-background",
122+
value: "#ede6dd",
123+
},
124+
{
125+
varName: "--primary-font",
126+
value: "Libre Baskerville",
127+
},
128+
{
129+
varName: "--primary-font-normal",
130+
value: "400",
131+
},
132+
{
133+
varName: "--primary-font-bold",
134+
value: "700",
135+
},
136+
{
137+
varName: "--primary-color",
138+
value: "#438d8d",
139+
},
140+
{
141+
varName: "--secondary-font",
142+
value: "Source Code Pro",
143+
},
144+
{
145+
varName: "--secondary-font-normal",
146+
value: "400",
147+
},
148+
{
149+
varName: "--secondary-font-bold",
150+
value: "700",
151+
},
152+
{
153+
varName: "--secondary-color",
154+
value: "#5e4f40",
155+
},
156+
],
157+
},
97158
};

yarn.lock

Lines changed: 50 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,13 @@
972972
dependencies:
973973
"@babel/runtime" "^7.10.5"
974974

975+
"@draftbox-co/gatsby-plugin-css-variables@^0.0.3":
976+
version "0.0.3"
977+
resolved "https://registry.yarnpkg.com/@draftbox-co/gatsby-plugin-css-variables/-/gatsby-plugin-css-variables-0.0.3.tgz#90baf9d83509bf5fe405b94e5a21455b5e916b8d"
978+
integrity sha512-6dg9hLUKaXWOLnBTZSRxBYxks3GAlFOSCp/3BrPl7RBPWk74ybcrAmNptCe2MbZHi8wUCaAhgaOH/8Jito7P0Q==
979+
dependencies:
980+
"@babel/runtime" "^7.10.5"
981+
975982
"@draftbox-co/gatsby-plugin-hotjar-lazy@^0.0.1":
976983
version "0.0.1"
977984
resolved "https://registry.yarnpkg.com/@draftbox-co/gatsby-plugin-hotjar-lazy/-/gatsby-plugin-hotjar-lazy-0.0.1.tgz#10b9b1d34fdcac4c22ccbc952bf6922e7b39fab2"
@@ -993,12 +1000,26 @@
9931000
dependencies:
9941001
"@babel/runtime" "^7.10.5"
9951002

996-
"@draftbox-co/gatsby-wordpress-theme-libre@^1.0.43":
997-
version "1.0.43"
998-
resolved "https://registry.yarnpkg.com/@draftbox-co/gatsby-wordpress-theme-libre/-/gatsby-wordpress-theme-libre-1.0.43.tgz#70d78791745e7fabbee61fc4fc08e195a4f0a01f"
999-
integrity sha512-log0FuI/dHnMg50rMU2zmRYf30hRQoWRHd/2Qaw8BQxE4tSA90C1OAlfZz5Xw1kVRPy6jcz7DCI0WGo9sML4yA==
1003+
"@draftbox-co/gatsby-plugin-webfonts@^1.1.3":
1004+
version "1.1.3"
1005+
resolved "https://registry.yarnpkg.com/@draftbox-co/gatsby-plugin-webfonts/-/gatsby-plugin-webfonts-1.1.3.tgz#5cecdc55e6c4ce22bf15c34301294ff3d64242b9"
1006+
integrity sha512-gmCLaXFvombdPVEkr4HcmYGbLL7kwvvAiAxMWpR9x0Kr74TH0GEEkPnPxF8jsfakg8+ASGmxtX/i1hO+AcTW4w==
1007+
dependencies:
1008+
axios "^0.19.0"
1009+
cssnano "^4.1.10"
1010+
fs-extra "^8.0.1"
1011+
lodash.isempty "^4.4.0"
1012+
postcss "^7.0.17"
1013+
postcss-js "^2.0.1"
1014+
1015+
"@draftbox-co/gatsby-wordpress-theme-libre@^1.0.44":
1016+
version "1.0.44"
1017+
resolved "https://registry.yarnpkg.com/@draftbox-co/gatsby-wordpress-theme-libre/-/gatsby-wordpress-theme-libre-1.0.44.tgz#3cafb2d13965848ed5ff2cdf1054d2c1a74c75a0"
1018+
integrity sha512-sn4wkMZ4n2d+eKYxnCtxSlibJFdYzlqDKrwuSU/kNsu1KH7kDxZZeYj7DvLF0XL6L5zFU15i8/fkV/Gq+shx9w==
10001019
dependencies:
10011020
"@draftbox-co/gatsby-plugin-amp" "^0.2.4"
1021+
"@draftbox-co/gatsby-plugin-css-variables" "^0.0.3"
1022+
"@draftbox-co/gatsby-plugin-webfonts" "^1.1.3"
10021023
"@reach/router" "^1.3.3"
10031024
disqus-react "^1.0.8"
10041025
gatsby-awesome-pagination "^0.3.5"
@@ -2342,7 +2363,7 @@ aws4@^1.8.0:
23422363
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.9.1.tgz#7e33d8f7d449b3f673cd72deb9abdc552dbe528e"
23432364
integrity sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==
23442365

2345-
axios@^0.19.2:
2366+
axios@^0.19.0, axios@^0.19.2:
23462367
version "0.19.2"
23472368
resolved "https://registry.yarnpkg.com/axios/-/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27"
23482369
integrity sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==
@@ -3086,7 +3107,7 @@ callsites@^3.0.0:
30863107
resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
30873108
integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
30883109

3089-
camelcase-css@2.0.1:
3110+
camelcase-css@2.0.1, camelcase-css@^2.0.1:
30903111
version "2.0.1"
30913112
resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5"
30923113
integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==
@@ -5817,7 +5838,7 @@ fs-exists-cached@1.0.0, fs-exists-cached@^1.0.0:
58175838
resolved "https://registry.yarnpkg.com/fs-exists-cached/-/fs-exists-cached-1.0.0.tgz#cf25554ca050dc49ae6656b41de42258989dcbce"
58185839
integrity sha1-zyVVTKBQ3EmuZla0HeQiWJidy84=
58195840

5820-
fs-extra@8.1.0, fs-extra@^8.1.0:
5841+
fs-extra@8.1.0, fs-extra@^8.0.1, fs-extra@^8.1.0:
58215842
version "8.1.0"
58225843
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"
58235844
integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==
@@ -8605,6 +8626,11 @@ lodash.foreach@^4.5.0:
86058626
resolved "https://registry.yarnpkg.com/lodash.foreach/-/lodash.foreach-4.5.0.tgz#1a6a35eace401280c7f06dddec35165ab27e3e53"
86068627
integrity sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=
86078628

8629+
lodash.isempty@^4.4.0:
8630+
version "4.4.0"
8631+
resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e"
8632+
integrity sha1-b4bL7di+TsmHvpqvM8loTbGzHn4=
8633+
86088634
lodash.isequal@^4.5.0:
86098635
version "4.5.0"
86108636
resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"
@@ -10395,6 +10421,14 @@ postcss-flexbugs-fixes@^4.2.0:
1039510421
dependencies:
1039610422
postcss "^7.0.26"
1039710423

10424+
postcss-js@^2.0.1:
10425+
version "2.0.3"
10426+
resolved "https://registry.yarnpkg.com/postcss-js/-/postcss-js-2.0.3.tgz#a96f0f23ff3d08cec7dc5b11bf11c5f8077cdab9"
10427+
integrity sha512-zS59pAk3deu6dVHyrGqmC3oDXBdNdajk4k1RyxeVXCrcEDBUBHoIhE4QTsmhxgzXxsaqFDAkUZfmMa5f/N/79w==
10428+
dependencies:
10429+
camelcase-css "^2.0.1"
10430+
postcss "^7.0.18"
10431+
1039810432
postcss-load-config@^2.0.0:
1039910433
version "2.1.0"
1040010434
resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-2.1.0.tgz#c84d692b7bb7b41ddced94ee62e8ab31b417b003"
@@ -10681,6 +10715,15 @@ postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.26, postcss@^7.0.27:
1068110715
source-map "^0.6.1"
1068210716
supports-color "^6.1.0"
1068310717

10718+
postcss@^7.0.17, postcss@^7.0.18:
10719+
version "7.0.32"
10720+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.32.tgz#4310d6ee347053da3433db2be492883d62cec59d"
10721+
integrity sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==
10722+
dependencies:
10723+
chalk "^2.4.2"
10724+
source-map "^0.6.1"
10725+
supports-color "^6.1.0"
10726+
1068410727
potrace@^2.1.5:
1068510728
version "2.1.5"
1068610729
resolved "https://registry.yarnpkg.com/potrace/-/potrace-2.1.5.tgz#4d0c284ad5af39b74affe7a738b26bb009000b91"

0 commit comments

Comments
 (0)