Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/wordpress 6.6 #33

Merged
merged 51 commits into from
Aug 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
0baff86
Start of css rework
brettsmason Jul 15, 2024
5255244
Update theme.json options
brettsmason Aug 1, 2024
a3a5654
Bump required WordPress version to 6.6
brettsmason Aug 1, 2024
717bd7b
Try adding block alignment defaults
brettsmason Aug 1, 2024
8ce3b73
Fix 2xl media query
brettsmason Aug 2, 2024
8b7d370
Update variables based on new setup
brettsmason Aug 2, 2024
d2959bf
Update variables
brettsmason Aug 5, 2024
9fe0826
Fix variables
brettsmason Aug 6, 2024
caaec56
Implement default block aligns
brettsmason Aug 6, 2024
a9fcf04
Fix align filters
brettsmason Aug 6, 2024
168a9ff
Remove shadow presets
brettsmason Aug 6, 2024
c9e1617
Rough scaffolding around richtext formats
brettsmason Aug 6, 2024
0cf025d
Use primary, secondary etc for fonts
brettsmason Aug 6, 2024
a244d81
Merge branch 'feature/navigation-styling' into feature/wordpress-6.6
brettsmason Aug 6, 2024
906e5c1
Implement attributes for submenu behaviour
brettsmason Aug 7, 2024
6112ef7
Update icons
brettsmason Aug 7, 2024
3969918
Update navigation render
brettsmason Aug 7, 2024
f0e5f2f
Progress with navigation styling
brettsmason Aug 7, 2024
a139078
Variable updates
brettsmason Aug 7, 2024
ed179f6
Add start of playground blueprint
brettsmason Aug 7, 2024
63bd0ca
Update URLs
brettsmason Aug 7, 2024
f51e27a
Add playground demo link
brettsmason Aug 7, 2024
ccdb4d4
Use feature branch for testing
brettsmason Aug 7, 2024
1e65a57
Improvements for navigation classes
brettsmason Aug 7, 2024
204492c
Start from the beginning with styling
brettsmason Aug 7, 2024
e07845a
Final work on navigation css for now
brettsmason Aug 8, 2024
d0210ff
Assume the always option means a full screen modal
brettsmason Aug 8, 2024
5853872
Remove old megamenu reference
brettsmason Aug 8, 2024
5c10cbf
Remove old hook reference
brettsmason Aug 8, 2024
2e9f6db
Remove Alpine
brettsmason Aug 8, 2024
dce1633
Better default header and footer
brettsmason Aug 8, 2024
e6c8f20
css improvements
brettsmason Aug 8, 2024
5e64c7b
spacing/typography/colour updates
brettsmason Aug 8, 2024
5ec57f6
Better default 404
brettsmason Aug 8, 2024
3630684
Clean up all default templates
brettsmason Aug 8, 2024
9509475
Fix colours
brettsmason Aug 8, 2024
4150bdd
Make sure full width works in template
brettsmason Aug 8, 2024
ae05c87
Hopefully fix navigation
brettsmason Aug 9, 2024
b63e41c
Add primative colours
brettsmason Aug 9, 2024
2085d24
Favour third-party rather than vendor for css
brettsmason Aug 9, 2024
05ee5f1
Rework form styles to be more modular
brettsmason Aug 9, 2024
b1f2c5d
Remove example pattern
brettsmason Aug 9, 2024
b8f74b7
Remove example block
brettsmason Aug 9, 2024
b7ca12a
Add Gravity Forms class
brettsmason Aug 9, 2024
08d6b6b
WIP: Add base Gravity Forms block styles
brettsmason Aug 9, 2024
3b675ba
Icon utility function
brettsmason Aug 12, 2024
b9a260c
Button mixins
brettsmason Aug 12, 2024
4beb218
Button default styles
brettsmason Aug 12, 2024
464ce1e
Update variables to agreed names
brettsmason Aug 12, 2024
c7e434e
Update variables
brettsmason Aug 12, 2024
bf9a3d5
Update playground links
brettsmason Aug 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update variables
brettsmason committed Aug 12, 2024
commit c7e434e16123899629ad95d62cb7d3b7040b3893
2 changes: 1 addition & 1 deletion dist/css/app.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => 'ab88813d0cfeb8169499');
<?php return array('dependencies' => array(), 'version' => 'edae09af007e7b444f24');
2 changes: 1 addition & 1 deletion dist/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/editor.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => 'ab88813d0cfeb8169499');
<?php return array('dependencies' => array(), 'version' => 'edae09af007e7b444f24');
2 changes: 1 addition & 1 deletion dist/css/editor.css

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions src/css/elements/_document.scss
Original file line number Diff line number Diff line change
@@ -7,6 +7,8 @@ html {
}

body {
background-color: var(--wp--custom--color--surface--default);
color: var(--wp--custom--color--text--default);
font-family: var(--wp--preset--font-family--primary);
font-size: var(--wp--preset--font-size--lg);
-webkit-font-smoothing: antialiased;
@@ -16,12 +18,6 @@ body {
@include container-sizes(sm, md, lg, xl, 2-xl);
}

/// Selection styles.
::selection {
background: var(--wp--custom--color--primary--500);
color: var(--wp--custom--color--neutral--0);
}

/// Anything that has been anchored to should have extra scroll margin.
:target {
scroll-margin-block: var(--wp--custom--spacing--group-gap);
1 change: 1 addition & 0 deletions src/css/elements/_headings.scss
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ h3,
h4,
h5,
h6 {
color: var(--wp--custom--color--text--primary);
font-family: var(--wp--preset--font-family--primary);
font-weight: 600;
letter-spacing: var(--wp--custom--letter-spacing--tighter);