Commit graph

28 commits

Author SHA1 Message Date
Caroline Moore
a371b7fbfb
Remove unnecessary AMP check
Co-authored-by: Weston Ruter <westonruter@google.com>
2021-05-11 14:42:01 -04:00
sixhours
1c320862b7 Dalston: Separate script and style enqueues for better performance 2021-05-11 12:31:48 -04:00
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
5a410e23c4 All Themes: Fix whitespace in functions.php 2021-02-18 10:17:16 +00: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
863aab88f5 Update the Dalston theme to have the mobile nav on the side. 2020-12-17 11:36:47 +01:00
Allan Cole
f8a85bc4d4
Dalston: Reduce specificity on rules to hide extra color palettes 2020-11-04 17:08:26 -05:00
Allan Cole
5384940bad
Merge pull request #2231 from rtCamp/fix/dalston-amp-compatibility
Dalston: Enqueue Block Scripts only in non-AMP
2020-08-07 14:10:56 -04:00
Towhidul Islam
856ca6b4e5 Dalston: Skip enqueuing block JS and CSS files in AMP endpoint 2020-08-06 21:12:41 +06:00
Allan Cole
f097621933 Dalston: Add original default colors to editor palette. 2020-08-05 17:38:25 -04:00
Towhidul Islam
46a770e359 Dalston: Enqueue block JS files while not in AMP endpoint 2020-07-06 18:14:11 +06:00
Allan Cole
bfc2f3f0d2
Dalston: Revise conditionals to fix array offset issue, cody tidying. 2020-05-21 12:38:38 -04:00
Allan Cole
7cd3daf265 Dalston: Connect editor color palette to color annotations. 2020-05-20 16:32:04 -04:00
Allan Cole
05f6f4c2d5 Dalston: Fix custom-logo support to prevent scaling up too small images. 2019-12-10 17:06:03 -05:00
Allan Cole
eda02018d9 Dalston: Update color and font-size settings for the editor 2019-09-24 16:21:21 -04:00
Allan Cole
b0d670081a Dalston: Improving header layout and removing site-description from customizer logo options 2019-09-20 17:38:17 -04:00
Allan Cole
b080fd7512 Dalston: Add custom media-text block style, add design improvements to cover-block image, improve header styles. 2019-09-20 16:48:56 -04:00
Allan Cole
5c465e4e0e Dalston: Add block extends for Cover and Columns blocks, Clean up header styles 2019-09-20 12:46:23 -04:00
Allan Cole
d881ae5594 Dalston: Add a custom Block Style for the Cover Block. 2019-09-19 13:30:19 -04:00
Allan Cole
bfb8e2f5e8 Dalston: More improvements to the editor and front end to make styles match Professional business 2019-08-15 13:25:10 -04:00
Allan Cole
8ef0908f14 Dalston: Adding more variables and improvemenst to match Pro Business theme 2019-08-15 11:52:44 -04:00
Allan Cole
2e2f7470fe Dalston: Adding font and color variables from Professional Business 2019-08-15 11:36:12 -04:00
Allan Cole
3c9108afe1 Dalston: Initial commit 2019-08-15 11:20:03 -04:00