Commit graph

19 commits

Author SHA1 Message Date
George Stephanis
8347656eb8 Add filter to change bundled google fonts.
Initially intended as a part-fix for #3134 to enable child themes to swap typefaces that get included more easily, this also extends that change across to many themes using the common patterns.

It explicitly does not change the following themes:

Spearhead (uses different endpoint and method)

And the following themes that have multiple functions that generate typeface includes so as to avoid confusion:

* canard
* gazette
* illustratr
* publication
2021-02-18 10:20:38 -05:00
Ben Dwyer
2173942579 Color Annotations: Check for the existence of color annotations in a more robust way 2021-02-12 21:06:40 +00:00
Enej Bajgoric
ca1ba9919f Simplify: Refactor functions to just include one function that adds the 3 required filters/actions 2020-12-17 11:36:48 +01:00
Enej Bajgoric
ecec58072b Move functions to after theme setup call 2020-12-17 11:36:47 +01:00
Enej Bajgoric
11cbcc675b Move functions to Varia add customizer control 2020-12-17 11:36:47 +01:00
Enej Bajgoric
626ba8c1b6 Updates to take into accout the theme switch. 2020-12-17 11:36:47 +01:00
Enej Bajgoric
7fa2ec4ff3 Include the varia_mobile_nav_on_side function in all the themes.
This makes sure that the user will not get a PHP warning if theu are not running the latest version of varia that has that function.
Since varia doesn't have that feature enabled this PR removes the function as well.
2020-12-17 11:36:47 +01:00
Enej Bajgoric
24cf9893c1 Update the Alves theme to have the mobile nav on the side. 2020-12-17 11:36:47 +01:00
Allan Cole
04bc8a94ee Alves: Reduce specificity on rules to hide extra color palettes. 2020-11-04 16:59:07 -05:00
Kjell Reigstad
8cff3fa041 Alves: Fix custom colors logic
Fixes #2146 by syncing up the custom colors logic with the code used in Coutoire and Rivington.
2020-06-18 07:54:12 -04:00
Allan Cole
49bbb275d0
Alves: Improve color-annotation support.
- Add conditional fallbacks for foreground-light/dark colors
- Hide duplicate palette colors when using custom colors
2020-06-11 12:47:21 -04:00
Allan Cole
898a1a3b2e Alves: Revise conditionals to fix array offset issue, cody tidying. 2020-05-21 12:10:12 -04:00
Allan Cole
a638e0382c Alves: Connect editor color palette to color annotations. 2020-05-20 16:27:38 -04:00
Takashi Irie
c2bce60660 Alves: Blog Posts block style tweak 2019-12-20 14:24:47 +00:00
Takashi Irie
9e1f7c9904 Alves: Add tag to stylesheet, minor version bump 2019-10-03 11:53:08 +01:00
Danny Dudzic
570c382ab1 Alves: Fix editor font sizes 2019-08-21 13:18:21 +02:00
Danny Dudzic
ec18424c76 Alves: Update font sizes 2019-08-21 00:37:21 +02:00
Danny Dudzic
bf39d2febc Alves: Misc updates 2019-08-21 00:02:00 +02:00
Danny Dudzic
0066ccdaab Alves: First commit 2019-08-20 12:45:07 +02:00