Releases: LekoArts/gatsby-themes
@lekoarts/[email protected]
@lekoarts/[email protected]
@lekoarts/[email protected]
@lekoarts/[email protected]
@lekoarts/[email protected]
Patch Changes
-
#1165
b350a5a5
Thanks @LekoArts! - Ensure that the color mode toggle (light/dark mode) works correctly. This is done through adding the current color mode to the<html>
element like so:<html class="theme-ui-light"></html>
When the button is pressed it'll change to:
<html class="theme-ui-dark"></html>
In theory this shouldn't be necessary, but there is a weird interaction between Theme UI and Gatsby Head API that I currently don't have the time to deeply investigate.
-
#1164
27abea13
Thanks @LekoArts! - Move some global styles from<Global>
component to Theme UI'sstyles.root
. This makes it easier to modify those directly through the Theme UI config. -
#1139
dcbdefd5
Thanks @renovate! - fix(deps): update minor and patch dependencies for gatsby-theme-minimal-blog -
Updated dependencies [
6985b62e
]:- @lekoarts/[email protected]
@lekoarts/[email protected]
@lekoarts/[email protected]
Patch Changes
-
#1138
2b21e8a7
Thanks @renovate! - fix(deps): update minor and patch dependencies for gatsby-theme-jodie -
#1164
27abea13
Thanks @LekoArts! - This theme had a fixedfont-size
of18px
on the<html>
element. This is a bad accessibility practice.
This explicitly setfont-size
is removed now.This will make the overall font sizes and spacing for the theme smaller (since all other font sizes and padding/margin are derived from the root
font-size
throughrem
).If you need the old font styles, you can adjust the
fontSizes
inside the Theme UI configuration.Currently, the
fontSizes
array inside the Theme UI configuration you're using is:const fontSizes = [ "0.875rem", "1rem", "1.25rem", "1.5rem", "1.875rem", "2.25rem", "3rem", "4rem", "4.5rem", ];
Previously, the
font-size
was set like this:html { font-size: 18px; }
So for the normal base of
16px
,18px
is1.125rem
. So you could change it to this:const fontSizes = [ "1rem", "1.125rem", "1.375rem", "1.625rem", "2rem", "2.375rem", "3.125rem", "4.125rem", "4.625rem", ];
-
#1164
27abea13
Thanks @LekoArts! - Move some global styles from<Global>
component to Theme UI'sstyles.root
. This makes it easier to modify those directly through the Theme UI config. -
#1163
641c865d
Thanks @LekoArts! - fix(gatsby-theme-jodie): Correct CSS for on custom pages -
Updated dependencies [
d3d85067
]:- @lekoarts/[email protected]
@lekoarts/[email protected]
@lekoarts/[email protected]
Patch Changes
-
#1165
b350a5a5
Thanks @LekoArts! - Ensure that the color mode toggle (light/dark mode) works correctly. This is done through adding the current color mode to the<html>
element like so:<html class="theme-ui-light"></html>
When the button is pressed it'll change to:
<html class="theme-ui-dark"></html>
In theory this shouldn't be necessary, but there is a weird interaction between Theme UI and Gatsby Head API that I currently don't have the time to deeply investigate.
-
#1164
27abea13
Thanks @LekoArts! - Move some global styles from<Global>
component to Theme UI'sstyles.root
. This makes it easier to modify those directly through the Theme UI config. -
#1137
a2514a8a
Thanks @renovate! - fix(deps): update minor and patch dependencies for gatsby-theme-graphql-playground
@lekoarts/[email protected]
Patch Changes
-
#1165
b350a5a5
Thanks @LekoArts! - Ensure that the color mode toggle (light/dark mode) works correctly. This is done through adding the current color mode to the<html>
element like so:<html class="theme-ui-light"></html>
When the button is pressed it'll change to:
<html class="theme-ui-dark"></html>
In theory this shouldn't be necessary, but there is a weird interaction between Theme UI and Gatsby Head API that I currently don't have the time to deeply investigate.
-
#1136
b666534a
Thanks @renovate! - fix(deps): update minor and patch dependencies for gatsby-theme-emma -
#1164
27abea13
Thanks @LekoArts! - Move some global styles from<Global>
component to Theme UI'sstyles.root
. This makes it easier to modify those directly through the Theme UI config. -
Updated dependencies [
27c74616
]:- @lekoarts/[email protected]