You've already forked wp-bootstrap
v0.1.0 - Core Theme: patterns, dark mode, block styles, style variations
- Add 16 block patterns across 7 new categories (hero, features, CTA, testimonials, pricing, contact, text) - Add dark mode toggle with localStorage persistence and system preference detection (Bootstrap 5.3 data-bs-theme) - Register 17 custom block styles mapping Bootstrap components to WordPress blocks (cards, alerts, tables, buttons, etc.) - Add 4 style variations: Ocean, Forest, Sunset, Midnight - Add sidebar template part and "Blog with Sidebar" custom template - Add Inter and Lora variable fonts with fontFace declarations - Add Display font size (fluid 2.5rem-3.5rem) - Update translations (en_US .pot, de_CH .po) with all new strings - Bump version to 0.1.0 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
79
styles/01-ocean.json
Normal file
79
styles/01-ocean.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
|
||||
"version": 3,
|
||||
"title": "Ocean",
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#FFFFFF",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#1a2332",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#0077b6",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#6c757d",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#198754",
|
||||
"name": "Success",
|
||||
"slug": "success"
|
||||
},
|
||||
{
|
||||
"color": "#dc3545",
|
||||
"name": "Danger",
|
||||
"slug": "danger"
|
||||
},
|
||||
{
|
||||
"color": "#ffc107",
|
||||
"name": "Warning",
|
||||
"slug": "warning"
|
||||
},
|
||||
{
|
||||
"color": "#00b4d8",
|
||||
"name": "Info",
|
||||
"slug": "info"
|
||||
},
|
||||
{
|
||||
"color": "#f0f7fa",
|
||||
"name": "Light",
|
||||
"slug": "light"
|
||||
},
|
||||
{
|
||||
"color": "#023e58",
|
||||
"name": "Dark",
|
||||
"slug": "dark"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"elements": {
|
||||
"button": {
|
||||
":hover": {
|
||||
"color": {
|
||||
"background": "#005f8a"
|
||||
}
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
":hover": {
|
||||
"color": {
|
||||
"text": "#005f8a"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
79
styles/02-forest.json
Normal file
79
styles/02-forest.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
|
||||
"version": 3,
|
||||
"title": "Forest",
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#fafaf5",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#2d3319",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#2d6a4f",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#6c757d",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#40916c",
|
||||
"name": "Success",
|
||||
"slug": "success"
|
||||
},
|
||||
{
|
||||
"color": "#b5271d",
|
||||
"name": "Danger",
|
||||
"slug": "danger"
|
||||
},
|
||||
{
|
||||
"color": "#dda15e",
|
||||
"name": "Warning",
|
||||
"slug": "warning"
|
||||
},
|
||||
{
|
||||
"color": "#52b788",
|
||||
"name": "Info",
|
||||
"slug": "info"
|
||||
},
|
||||
{
|
||||
"color": "#f1f5ec",
|
||||
"name": "Light",
|
||||
"slug": "light"
|
||||
},
|
||||
{
|
||||
"color": "#1b4332",
|
||||
"name": "Dark",
|
||||
"slug": "dark"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"elements": {
|
||||
"button": {
|
||||
":hover": {
|
||||
"color": {
|
||||
"background": "#1b4332"
|
||||
}
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
":hover": {
|
||||
"color": {
|
||||
"text": "#1b4332"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
79
styles/03-sunset.json
Normal file
79
styles/03-sunset.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
|
||||
"version": 3,
|
||||
"title": "Sunset",
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#FFFFFF",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#2b2024",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#c1440e",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#6c757d",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#198754",
|
||||
"name": "Success",
|
||||
"slug": "success"
|
||||
},
|
||||
{
|
||||
"color": "#9b2226",
|
||||
"name": "Danger",
|
||||
"slug": "danger"
|
||||
},
|
||||
{
|
||||
"color": "#ee9b00",
|
||||
"name": "Warning",
|
||||
"slug": "warning"
|
||||
},
|
||||
{
|
||||
"color": "#ca6702",
|
||||
"name": "Info",
|
||||
"slug": "info"
|
||||
},
|
||||
{
|
||||
"color": "#fdf0e2",
|
||||
"name": "Light",
|
||||
"slug": "light"
|
||||
},
|
||||
{
|
||||
"color": "#3d1308",
|
||||
"name": "Dark",
|
||||
"slug": "dark"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"elements": {
|
||||
"button": {
|
||||
":hover": {
|
||||
"color": {
|
||||
"background": "#9a360b"
|
||||
}
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
":hover": {
|
||||
"color": {
|
||||
"text": "#9a360b"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
86
styles/04-midnight.json
Normal file
86
styles/04-midnight.json
Normal file
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
|
||||
"version": 3,
|
||||
"title": "Midnight",
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#1a1a2e",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#e8e8e8",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#4895ef",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#adb5bd",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#4cc9f0",
|
||||
"name": "Success",
|
||||
"slug": "success"
|
||||
},
|
||||
{
|
||||
"color": "#f07167",
|
||||
"name": "Danger",
|
||||
"slug": "danger"
|
||||
},
|
||||
{
|
||||
"color": "#ffd166",
|
||||
"name": "Warning",
|
||||
"slug": "warning"
|
||||
},
|
||||
{
|
||||
"color": "#7209b7",
|
||||
"name": "Info",
|
||||
"slug": "info"
|
||||
},
|
||||
{
|
||||
"color": "#16213e",
|
||||
"name": "Light",
|
||||
"slug": "light"
|
||||
},
|
||||
{
|
||||
"color": "#0f3460",
|
||||
"name": "Dark",
|
||||
"slug": "dark"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"elements": {
|
||||
"button": {
|
||||
"color": {
|
||||
"background": "var:preset|color|primary",
|
||||
"text": "var:preset|color|base"
|
||||
},
|
||||
":hover": {
|
||||
"color": {
|
||||
"background": "#3672c4"
|
||||
}
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
"color": {
|
||||
"text": "var:preset|color|primary"
|
||||
},
|
||||
":hover": {
|
||||
"color": {
|
||||
"text": "#3672c4"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user