Skip to content

Commit

Permalink
Merge pull request #78 from Codeinwp/Add-new-Theme-Style-Presets
Browse files Browse the repository at this point in the history
Add new theme style presets
  • Loading branch information
JohnPixle authored Nov 23, 2023
2 parents 448384e + 6bd9493 commit 95c8142
Show file tree
Hide file tree
Showing 4 changed files with 357 additions and 0 deletions.
89 changes: 89 additions & 0 deletions styles/green-retro.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"$schema": "<https://schemas.wp.org/trunk/theme.json>",
"title": "Green Retro",
"version": 2,
"settings": {
"color": {
"palette": [
{
"slug": "raft-bg",
"color": "#E8E3E3",
"name": "Background"
},
{
"slug": "raft-fg",
"color": "#202220",
"name": "Text"
},
{
"slug": "raft-accent",
"color": "#3F703B",
"name": "Accent"
},
{
"slug": "raft-accent-secondary",
"color": "#234020",
"name": "Accent Secondary"
},
{
"slug": "raft-bg-inv",
"color": "#1E1E1E",
"name": "Dark Background"
},
{
"slug": "raft-bg-alt",
"color": "#E3DDDD",
"name": "Light Background"
},
{
"slug": "raft-fg-alt",
"color": "#FFFFFF",
"name": "Inverted Text"
}
]
}
},
"styles": {
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--gloock)"
}
},
"h1": {
"typography": {
"fontWeight": "600"
}
},
"h2": {
"typography": {
"fontWeight": "600"
}
},
"h3": {
"typography": {
"fontWeight": "600"
}
},
"h4": {
"typography": {
"fontWeight": "600"
}
},
"h5": {
"typography": {
"fontWeight": "600"
}
},
"h6": {
"typography": {
"fontWeight": "600"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--source-sans-lora)"
}
}
}

90 changes: 90 additions & 0 deletions styles/mono.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"$schema": "<https://schemas.wp.org/trunk/theme.json>",
"title": "Mono",
"version": 2,
"settings": {
"color": {
"palette": [
{
"slug": "raft-bg",
"color": "#191B47",
"name": "Background"
},
{
"slug": "raft-fg",
"color": "#FFFFFF",
"name": "Text"
},
{
"slug": "raft-accent",
"color": "#0B33C1",
"name": "Accent"
},
{
"slug": "raft-accent-secondary",
"color": "#1041F1",
"name": "Accent Secondary"
},
{
"slug": "raft-bg-inv",
"color": "#131435",
"name": "Dark Background"
},
{
"slug": "raft-bg-alt",
"color": "#20225B",
"name": "Light Background"
},
{
"slug": "raft-fg-alt",
"color": "#F8F8F8",
"name": "Inverted Text"
}
]
}
},
"styles": {
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--jet-brains-mono)"
}
},
"h1": {
"typography": {
"fontWeight": "400"
}
},
"h2": {
"typography": {
"fontWeight": "400"
}
},
"h3": {
"typography": {
"fontWeight": "400"
}
},
"h4": {
"typography": {
"fontWeight": "400"
}
},
"h5": {
"typography": {
"fontWeight": "400"
}
},
"h6": {
"typography": {
"fontWeight": "400"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--jet-brains-mono)"
}
}
}


89 changes: 89 additions & 0 deletions styles/violet-grain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"$schema": "<https://schemas.wp.org/trunk/theme.json>",
"title": "violet grain",
"version": 2,
"settings": {
"color": {
"palette": [
{
"slug": "raft-bg",
"color": "#FEFAF7",
"name": "Background"
},
{
"slug": "raft-fg",
"color": "#202220",
"name": "Text"
},
{
"slug": "raft-accent",
"color": "#6C0AEA",
"name": "Accent"
},
{
"slug": "raft-accent-secondary",
"color": "#43167C",
"name": "Accent Secondary"
},
{
"slug": "raft-bg-inv",
"color": "#321F4A",
"name": "Dark Background"
},
{
"slug": "raft-bg-alt",
"color": "#F7DED2",
"name": "Light Background"
},
{
"slug": "raft-fg-alt",
"color": "#FFFFFF",
"name": "Inverted Text"
}
]
}
},
"styles": {
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--geologica)"
}
},
"h1": {
"typography": {
"fontWeight": "800"
}
},
"h2": {
"typography": {
"fontWeight": "800"
}
},
"h3": {
"typography": {
"fontWeight": "800"
}
},
"h4": {
"typography": {
"fontWeight": "800"
}
},
"h5": {
"typography": {
"fontWeight": "800"
}
},
"h6": {
"typography": {
"fontWeight": "800"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--geologica)"
}
}
}

89 changes: 89 additions & 0 deletions styles/washed.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"$schema": "<https://schemas.wp.org/trunk/theme.json>",
"title": "washed",
"version": 2,
"settings": {
"color": {
"palette": [
{
"slug": "raft-bg",
"color": "#FEFAF7",
"name": "Background"
},
{
"slug": "raft-fg",
"color": "#202220",
"name": "Text"
},
{
"slug": "raft-accent",
"color": "#EA7847",
"name": "Accent"
},
{
"slug": "raft-accent-secondary",
"color": "#C14712",
"name": "Accent Secondary"
},
{
"slug": "raft-bg-inv",
"color": "#37384C",
"name": "Dark Background"
},
{
"slug": "raft-bg-alt",
"color": "#FAE2D1",
"name": "Light Background"
},
{
"slug": "raft-fg-alt",
"color": "#FFFFFF",
"name": "Inverted Text"
}
]
}
},
"styles": {
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--geologica)"
}
},
"h1": {
"typography": {
"fontWeight": "600"
}
},
"h2": {
"typography": {
"fontWeight": "600"
}
},
"h3": {
"typography": {
"fontWeight": "600"
}
},
"h4": {
"typography": {
"fontWeight": "600"
}
},
"h5": {
"typography": {
"fontWeight": "600"
}
},
"h6": {
"typography": {
"fontWeight": "600"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--geologica)"
}
}
}

0 comments on commit 95c8142

Please sign in to comment.