Commit graph

35 commits

Author SHA1 Message Date
Matthew Reishus
ce0c116051
Public Themes S2: PHP Rector fixes (#7395) 2023-09-28 11:09:13 -05:00
Ben Dwyer
5a410e23c4 All Themes: Fix whitespace in functions.php 2021-02-18 10:17:16 +00:00
Ben Dwyer
2285010176
Merge pull request #3268 from Automattic/fix/3016
Filter colors for Seedlet child themes
2021-02-15 16:10:12 +00:00
Ben Dwyer
e33629ee82 Filter colors for Seedlet child themes 2021-02-15 11:31:33 +00:00
Jason Crist
8b0b34aa3a Add toggle for dark mode to customizer
This change adjusts the existing "Dark Mode Notices" and changes it into
a checkbox.  This toggles a flag used to determine if the (now
separated) dark mode variables CSS should be loaded.
2021-02-11 14:10:00 -05:00
Jason Crist
fba2523485 Change CSS variable assignment order
First Seedlet was changed so that all custom CSS variables for color
definitions are associated with the 'seedlet-custom-color-overrides'
stylesheed.  (Previously only editor override styles were associated
with that stylesheet.

Next Spearhead was changed to first dequeue that stylesheet, THEN assign
the spearhead-specific style variables THEN re-enqueue that
seedlet-custom-color-overrides stylesheet.

This puts the customizer color variable assignments AFTER the Spearhead
variable assignments so that those are the values that are used.
2021-01-14 10:21:57 -05:00
Jason Crist
11166eb771 Remove 'dark-editor-style' theme support
This fixes the issue where some styles (such as the image caption) have
"dark mode" support added to them.  This is fine if a user has "dark
mode" enabled for their system.  But in the default mode it isn't a
"dark" style and therefore those stylistic behaviors introduce problems.

I did not notice any negative behavior due to this being removed.

This behavior seems to have been introduced due to recent chagnes in
Gutenberg that introduce additional editor styles for themes that
express support for 'dark-editor-style'.
2021-01-12 13:58:16 -05:00
Jeff Ong
e11b81d737 Add $more as an argument. 2020-12-07 13:21:48 -05:00
Jeff Ong
e938b544ad Use hellip and add is_admin check. 2020-12-03 17:04:58 -05:00
Jeff Ong
17770066b3 Remove return types to support php5.6 2020-12-01 13:20:36 -05:00
Maggie Cabrera
5916acce82 escaped block code 2020-10-29 12:19:28 +01:00
Maggie Cabrera
4907eafa53 show audio block on the excerpt 2020-10-29 11:31:03 +01:00
Ben Dwyer
90831960e9 update spearhead content width 2020-10-22 13:10:54 +01:00
Ben Dwyer
16f44a3fd0 remove code causing a notice 2020-10-15 12:30:22 +01:00
Jeff Ong
49eead8996
Merge pull request #2600 from Automattic/fix/remove-previous-next
Spearhead + Seedlet: make it possible to remove the previous / next post navigation (#2594)
2020-10-14 11:51:48 -04:00
Maggie
6499acd4ca Update spearhead/functions.php
Co-authored-by: Ben Dwyer <ben@scruffian.com>
2020-10-14 17:14:47 +02:00
Maggie Cabrera
00cc34801b rebase master 2020-10-14 17:14:16 +02:00
Maggie Cabrera
92b21924c5 renamed the entry footer functions 2020-10-14 17:14:16 +02:00
Maggie Cabrera
a22d5440d9 search results excerpts changed to match design 2020-10-14 17:14:04 +02:00
Jeff Ong
a1e1361dc7 Overwrite posts pagination template tag. 2020-10-14 10:23:21 -04:00
Ben Dwyer
847be857ff take a different approach to the read more link: 2020-10-13 16:01:45 +01:00
Maggie Cabrera
042baaffda changes to the excerpt filter and styles 2020-10-13 16:00:55 +01:00
Jeff Ong
1b44cbd01f Rebase master. 2020-10-12 15:27:43 -04:00
Jeff Ong
37b01e0af8
Merge pull request #2572 from Automattic/add/spearhead-sticky-posts
Spearhead: Add styles for sticky posts
2020-10-12 14:44:05 -04:00
Jeff Ong
c826235937
Spearhead: fix unregister block pattern bug (#2574)
* Remove calls to unregister.

* Fix package name.

* Ensure these load after Seedlet so that we can deregister Seedlets block patterns.
2020-10-09 11:58:23 -04:00
Ben Dwyer
323deef399 Add styles for sticky posts 2020-10-09 13:43:52 +01:00
Ben Dwyer
dba4b23c87 restructuring 2020-10-09 11:01:00 +01:00
Jeff Ong
031d9f49e4
Spearhead: Add related posts block styles (#2559)
* Add related posts block styles.

* Add related posts as a block pattern.

* Fix phpcs errors.
2020-10-08 14:00:56 -04:00
Ben Dwyer
53ea8ec8ae spaces to tabs 2020-10-05 10:56:34 +01:00
Ben Dwyer
b110a73211 Add dark mode to spearhead 2020-10-05 10:54:13 +01:00
Ben Dwyer
34ccb4903e
Revert "Spearhead: Add a dark color scheme" 2020-10-05 10:46:13 +01:00
Ben Dwyer
af5f16b1ad update dark mode variables and add support for dark mode in the editor 2020-10-02 20:54:38 +01:00
Jeff Ong
49af591fbf Entry header meta and home page styles. 2020-08-10 16:59:14 -04:00
Jeff Ong
7c22a7641d Add base color, typography, and header styles. 2020-08-10 14:07:38 -04:00
Jeff Ong
1e7d6aed21 Scaffolding. 2020-08-10 14:07:38 -04:00