@t2ca/gatsby-theme-showcase 1.0.37 → 1.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t2ca/gatsby-theme-showcase",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.39",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"devDependencies": {
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"react-icons": "^3.7.0",
|
|
50
50
|
"remark-slug": "^6.0.0",
|
|
51
51
|
"theme-ui": "^0.3.0",
|
|
52
|
+
"typeface-righteous": "^0.0.72",
|
|
52
53
|
"yup": "^0.29.0"
|
|
53
54
|
},
|
|
54
55
|
"scripts": {
|
package/src/components/header.js
CHANGED
|
@@ -27,9 +27,9 @@ export default ({
|
|
|
27
27
|
styles,
|
|
28
28
|
menuOpen,
|
|
29
29
|
nav,
|
|
30
|
-
name,
|
|
31
30
|
menuList,
|
|
32
|
-
|
|
31
|
+
desktopLogo,
|
|
32
|
+
mobileLogo,
|
|
33
33
|
}) => {
|
|
34
34
|
return (
|
|
35
35
|
<Box
|
|
@@ -75,19 +75,22 @@ export default ({
|
|
|
75
75
|
<Burger />
|
|
76
76
|
)}
|
|
77
77
|
<Link to="/" sx={{ color: "inherit", textDecoration: "none" }}>
|
|
78
|
-
<
|
|
79
|
-
sx={{
|
|
80
|
-
fontSize: [3, 4],
|
|
81
|
-
fontWeight: 600,
|
|
82
|
-
color: "brand",
|
|
83
|
-
}}
|
|
84
|
-
>
|
|
78
|
+
<div sx={{ display: ["none", "inherit"] }}>
|
|
85
79
|
<Img
|
|
86
|
-
fixed={
|
|
87
|
-
sx={{
|
|
80
|
+
fixed={desktopLogo}
|
|
81
|
+
sx={{
|
|
82
|
+
verticalAlign: ["bottom", "text-bottom"],
|
|
83
|
+
}}
|
|
88
84
|
/>
|
|
89
|
-
|
|
90
|
-
|
|
85
|
+
</div>
|
|
86
|
+
<div sx={{ display: ["inherit", "none"] }}>
|
|
87
|
+
<Img
|
|
88
|
+
fixed={mobileLogo}
|
|
89
|
+
sx={{
|
|
90
|
+
verticalAlign: ["bottom", "text-bottom"],
|
|
91
|
+
}}
|
|
92
|
+
/>
|
|
93
|
+
</div>
|
|
91
94
|
</Link>
|
|
92
95
|
<div
|
|
93
96
|
sx={{
|
|
@@ -3,6 +3,8 @@ import tailwind from "@theme-ui/preset-tailwind"
|
|
|
3
3
|
import styles from "./styles"
|
|
4
4
|
import colors from "./colors"
|
|
5
5
|
|
|
6
|
+
import "typeface-righteous/index.css"
|
|
7
|
+
|
|
6
8
|
const overwriteMerge = (destinationArray, sourceArray, options) => sourceArray
|
|
7
9
|
|
|
8
10
|
export default merge(
|
|
@@ -140,9 +142,7 @@ export default merge(
|
|
|
140
142
|
borderRadius: `sm`,
|
|
141
143
|
bg: `red.1`,
|
|
142
144
|
// border: `1px solid ${tailwind.colors.red[8]}`,
|
|
143
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
144
|
-
tailwind.colors.red[8]
|
|
145
|
-
}, 0 0 0 0 transparent`,
|
|
145
|
+
boxShadow: `inset 0 0 0 1px ${tailwind.colors.red[8]}, 0 0 0 0 transparent`,
|
|
146
146
|
opacity: 0.7,
|
|
147
147
|
color: `red.8`,
|
|
148
148
|
p: 3,
|
|
@@ -156,7 +156,7 @@ export default merge(
|
|
|
156
156
|
borderRadius: `sm`,
|
|
157
157
|
bg: `green.1`,
|
|
158
158
|
// border: `1px solid ${tailwind.colors.green[8]}`,
|
|
159
|
-
boxShadow: t =>
|
|
159
|
+
boxShadow: (t) =>
|
|
160
160
|
`inset 0 0 0 1px ${t.colors.green[8]}, 0 0 0 0 transparent`,
|
|
161
161
|
opacity: 0.7,
|
|
162
162
|
color: `green.8`,
|