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:
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