diff --git a/gatsby-node.js b/gatsby-node.js index c05253d..1bb56a5 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -48,7 +48,6 @@ function processColors(vibrantData, imagePath) { badContrast(DarkVibrant, Vibrant) || badContrast(DarkVibrant, LightMuted) ) { - // DarkVibrant = DarkVibrant.darken(); if (badContrast(DarkVibrant, Vibrant)) { Vibrant = Vibrant.brighten(2); } diff --git a/src/pages/index.js b/src/pages/index.js index 0f37dae..74b2692 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -26,50 +26,47 @@ const getDifferentRand = (range, lastNs, iterations = 0) => { }; const ImageButtons = ({ isClient, image, shuffleImage }) => ( -
-
- - - - - - -
+
+ + + + + + - Gallery + Photography Gallery
); @@ -152,6 +149,7 @@ const IndexPage = ({ const vibrant = getVibrant(image); const ar = getAspectRatio(image); + console.log("ar", ar); return ( <> @@ -191,10 +189,9 @@ const IndexPage = ({ style={{ gridArea: "1/1" }} >
)} - {/*
*/}
1 || !isClient ? "portrait:items-center" : "landscape:justify-center" @@ -208,7 +205,7 @@ const IndexPage = ({ )} style={{ zIndex: 100 }} > -
-
+ diff --git a/src/styles/global.css b/src/styles/global.css index a1a7dad..9fa047a 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -33,10 +33,10 @@ scroll-padding: theme("spacing.6"); } .blurred-or-opaque-bg-1 { - @apply bg-opacity-80; + @apply bg-opacity-70; } .blurred-or-opaque-bg-2 { - @apply bg-opacity-100; + @apply bg-opacity-90; } @supports (backdrop-filter: blur(24px)) { .blurred-or-opaque-bg-1 { diff --git a/tailwind.config.js b/tailwind.config.js index d33f474..435c609 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -32,7 +32,11 @@ module.exports = { }, extend: { dropShadow: { - 'dark': '0 1px 2px rgba(0, 0, 0, 0.5)', + 'dark': '0 1px 2px rgba(0, 0, 0, 0.8)', + }, + fontSize: { + 'huge-1': '80px', + 'huge-2': 'max(7.8vw, 100px)' }, colors: { vibrant: {