Skip to content

Commit

Permalink
more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor committed Nov 26, 2024
1 parent b80cfd8 commit ac1d94f
Show file tree
Hide file tree
Showing 18 changed files with 900 additions and 31 deletions.
15 changes: 15 additions & 0 deletions assembler/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ footer {
font-size: 20px;
}

.wp-block-social-links.is-style-logos-only .wp-block-social-link-anchor {
padding: 0.25rem;
}


/* Move header core/navigation to the right on mobile. */

.order-0 {
Expand Down Expand Up @@ -170,4 +175,14 @@ footer {

.overflow-hidden {
overflow: hidden;
}

.z-10 {
position: relative;
z-index: 10;
}

.z-20 {
position: relative;
z-index: 20;
}
16 changes: 12 additions & 4 deletions assembler/styles/colors/08-sandstone.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,27 @@
"duotone": [
{
"colors": [
"#103B15",
"#FDEF04"
"#1D1705",
"#E4DECD"
],
"slug": "duotone-1",
"name": "Duotone 1"
},
{
"colors": [
"#103B15",
"#FBF9F0"
"#5B6449",
"#E4DECD"
],
"slug": "duotone-2",
"name": "Duotone 2"
},
{
"colors": [
"#1D1705",
"#A24126"
],
"slug": "duotone-3",
"name": "Duotone 3"
}
],
"gradients": [
Expand Down
32 changes: 32 additions & 0 deletions assembler/styles/typography/01-figtree.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,31 @@
],
"settings": {
"typography": {
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Figtree",
"fontStyle": "normal",
"fontWeight": "400 900",
"src": [
"file:./assets/fonts/figtree/Figtree-VariableFont_wght.ttf"
]
},
{
"fontFamily": "Figtree",
"fontStyle": "italic",
"fontWeight": "400 900",
"src": [
"file:./assets/fonts/figtree/Figtree-Italic-VariableFont_wght.ttf"
]
}
],
"fontFamily": "\"Figtree\", sans-serif",
"name": "Figtree",
"slug": "figtree"
}
],
"fontSizes": [
{
"name": "Small",
Expand Down Expand Up @@ -75,6 +100,13 @@
"fontStyle": "italic"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "15px",
"fontWeight": "400",
"fontStyle": "italic"
}
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
Expand Down
30 changes: 27 additions & 3 deletions assembler/styles/typography/02-sora.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,24 @@
],
"settings": {
"typography": {
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Sora",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "100 800",
"src": [
"file:./assets/fonts/sora/Sora-VariableFont_wght.ttf"
]
}
],
"fontFamily": "\"Sora\", sans-serif",
"name": "Sora",
"slug": "sora"
}
],
"fontSizes": [
{
"name": "Small",
Expand Down Expand Up @@ -61,22 +79,28 @@
"core/navigation": {
"typography": {
"fontSize": "16px",
"fontWeight": "250"
"fontWeight": "300"
}
},
"core/site-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "600"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "14px",
"fontWeight": "300"
}
}
},
"elements": {
"button": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--sora)",
"fontSize": "16px",
"fontWeight": "300"
"fontWeight": "400"
}
},
"heading": {
Expand Down Expand Up @@ -109,7 +133,7 @@
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--sora)",
"fontWeight": "250",
"fontWeight": "300",
"lineHeight": "1.65",
"fontSize": "var(--wp--preset--font-size--small)"
}
Expand Down
165 changes: 165 additions & 0 deletions assembler/styles/typography/03-rubik.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 3,
"title": "Rubik",
"category": "bold",
"keywords": [
"sans-serif",
"friendly",
"simple",
"clean",
"modern",
"expressive",
"versatile",
"energetic",
"contemporary"
],
"settings": {
"typography": {
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Rubik",
"fontStyle": "normal",
"fontWeight": "300 700",
"src": [
"file:./assets/fonts/rubik/Rubik-VariableFont_wght.ttf"
]
},
{
"fontFamily": "Rubik",
"fontStyle": "italic",
"fontWeight": "300 700",
"src": [
"file:./assets/fonts/rubik/Rubik-Italic-VariableFont_wght.ttf"
]
}
],
"fontFamily": "\"Rubik\", sans-serif",
"name": "Rubik",
"slug": "rubik"
}
],
"fontSizes": [
{
"name": "Small",
"size": "16px",
"slug": "small",
"fluid": {
"min": "16px",
"max": "17px"
}
},
{
"name": "Medium",
"size": "24px",
"slug": "medium",
"fluid": {
"min": "22px",
"max": "24px"
}
},
{
"name": "Large",
"size": "34px",
"slug": "large",
"fluid": {
"min": "22px",
"max": "34px"
}
},
{
"name": "Extra Large",
"size": "54px",
"slug": "x-large",
"fluid": {
"min": "36px",
"max": "54px"
}
},
{
"name": "2X Large",
"size": "70px",
"slug": "xx-large",
"fluid": {
"min": "48px",
"max": "70px"
}
}
]
}
},
"styles": {
"blocks": {
"core/site-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "700"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "15px",
"fontWeight": "400"
}
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "700"
}
}
},
"elements": {
"button": {
"typography": {
"fontSize": "18px",
"fontWeight": "700"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--rubik)",
"fontWeight": "700"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--rubik)",
"fontWeight": "300",
"lineHeight": "1.65",
"fontSize": "var(--wp--preset--font-size--small)"
}
}
}
Loading

0 comments on commit ac1d94f

Please sign in to comment.