Compare commits
4 Commits
c146a441ab
...
e6bccf9d7e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e6bccf9d7e | ||
|
|
6a7ec049fd | ||
|
|
9fcf0892a3 | ||
|
|
86a2c71e9f |
@ -124,6 +124,19 @@ css:
|
|||||||
Swiss grid + Bauhaus geometric marks + oversized numerals.
|
Swiss grid + Bauhaus geometric marks + oversized numerals.
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
|
/* Bundled faces. The host does not yet emit @font-face for
|
||||||
|
bundled_fonts (LoadedPlugin.BundledFonts is unconsumed), so the theme
|
||||||
|
declares its own faces against the served artifact paths
|
||||||
|
(/templates/corporate-modernist/fonts/...). Presets set
|
||||||
|
typography.fontHeading/body/mono to template:corporate-modernist:<Family>
|
||||||
|
so --font-heading/--font-body/--font-mono resolve to these families.
|
||||||
|
Families + weights match fonts.json exactly. */
|
||||||
|
@font-face { font-family: 'Inter'; src: url('/templates/corporate-modernist/fonts/inter-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
|
||||||
|
@font-face { font-family: 'Inter'; src: url('/templates/corporate-modernist/fonts/inter-latin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
|
||||||
|
@font-face { font-family: 'Inter'; src: url('/templates/corporate-modernist/fonts/inter-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
|
||||||
|
@font-face { font-family: 'Inter'; src: url('/templates/corporate-modernist/fonts/inter-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
|
||||||
|
@font-face { font-family: 'JetBrains Mono'; src: url('/templates/corporate-modernist/fonts/jetbrains-mono-latin.woff2') format('woff2'); font-weight: 400 500; font-style: normal; font-display: swap; }
|
||||||
|
|
||||||
/* --- Layout primitives --- */
|
/* --- Layout primitives --- */
|
||||||
.cm-content-well { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; box-sizing: border-box; }
|
.cm-content-well { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; box-sizing: border-box; }
|
||||||
.cm-measure { max-width: 70ch; }
|
.cm-measure { max-width: 70ch; }
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
name = "corporate-modernist"
|
name = "corporate-modernist"
|
||||||
display_name = "Corporate Modernist"
|
display_name = "Corporate Modernist"
|
||||||
scope = "@themes"
|
scope = "@themes"
|
||||||
version = "0.5.0"
|
version = "0.6.0"
|
||||||
description = "Swiss-grid B2B theme with restrained typography, a single configurable accent, and trust-signal blocks for enterprise sites."
|
description = "Swiss-grid B2B theme with restrained typography, a single configurable accent, and trust-signal blocks for enterprise sites."
|
||||||
kind = "theme"
|
kind = "theme"
|
||||||
categories = ["templates"]
|
categories = ["templates"]
|
||||||
|
|||||||
25
presets.json
@ -5,6 +5,11 @@
|
|||||||
"description": "Deep navy on paper. The safe choice for accountancy, law, and finance.",
|
"description": "Deep navy on paper. The safe choice for accountancy, law, and finance.",
|
||||||
"theme": {
|
"theme": {
|
||||||
"mode": "both",
|
"mode": "both",
|
||||||
|
"typography": {
|
||||||
|
"fontHeading": "template:corporate-modernist:Inter",
|
||||||
|
"fontBody": "template:corporate-modernist:Inter",
|
||||||
|
"fontMono": "template:corporate-modernist:JetBrains Mono"
|
||||||
|
},
|
||||||
"lightColors": {
|
"lightColors": {
|
||||||
"background": "0 0% 100%",
|
"background": "0 0% 100%",
|
||||||
"foreground": "220 20% 12%",
|
"foreground": "220 20% 12%",
|
||||||
@ -55,6 +60,11 @@
|
|||||||
"description": "Same chassis, deep green accent for sustainability, advisory, and ESG.",
|
"description": "Same chassis, deep green accent for sustainability, advisory, and ESG.",
|
||||||
"theme": {
|
"theme": {
|
||||||
"mode": "both",
|
"mode": "both",
|
||||||
|
"typography": {
|
||||||
|
"fontHeading": "template:corporate-modernist:Inter",
|
||||||
|
"fontBody": "template:corporate-modernist:Inter",
|
||||||
|
"fontMono": "template:corporate-modernist:JetBrains Mono"
|
||||||
|
},
|
||||||
"lightColors": {
|
"lightColors": {
|
||||||
"background": "0 0% 100%",
|
"background": "0 0% 100%",
|
||||||
"foreground": "150 18% 12%",
|
"foreground": "150 18% 12%",
|
||||||
@ -105,6 +115,11 @@
|
|||||||
"description": "Heritage accent for old-line legal, private banking, and partnerships.",
|
"description": "Heritage accent for old-line legal, private banking, and partnerships.",
|
||||||
"theme": {
|
"theme": {
|
||||||
"mode": "both",
|
"mode": "both",
|
||||||
|
"typography": {
|
||||||
|
"fontHeading": "template:corporate-modernist:Inter",
|
||||||
|
"fontBody": "template:corporate-modernist:Inter",
|
||||||
|
"fontMono": "template:corporate-modernist:JetBrains Mono"
|
||||||
|
},
|
||||||
"lightColors": {
|
"lightColors": {
|
||||||
"background": "0 0% 100%",
|
"background": "0 0% 100%",
|
||||||
"foreground": "355 18% 12%",
|
"foreground": "355 18% 12%",
|
||||||
@ -155,6 +170,11 @@
|
|||||||
"description": "Achromatic ink on gallery white. Pure Swiss restraint with no hue.",
|
"description": "Achromatic ink on gallery white. Pure Swiss restraint with no hue.",
|
||||||
"theme": {
|
"theme": {
|
||||||
"mode": "both",
|
"mode": "both",
|
||||||
|
"typography": {
|
||||||
|
"fontHeading": "template:corporate-modernist:Inter",
|
||||||
|
"fontBody": "template:corporate-modernist:Inter",
|
||||||
|
"fontMono": "template:corporate-modernist:JetBrains Mono"
|
||||||
|
},
|
||||||
"lightColors": {
|
"lightColors": {
|
||||||
"background": "0 0% 100%",
|
"background": "0 0% 100%",
|
||||||
"foreground": "0 0% 9%",
|
"foreground": "0 0% 9%",
|
||||||
@ -205,6 +225,11 @@
|
|||||||
"description": "Graphite ground with a single Bauhaus primary-red accent for bold consultancies.",
|
"description": "Graphite ground with a single Bauhaus primary-red accent for bold consultancies.",
|
||||||
"theme": {
|
"theme": {
|
||||||
"mode": "both",
|
"mode": "both",
|
||||||
|
"typography": {
|
||||||
|
"fontHeading": "template:corporate-modernist:Inter",
|
||||||
|
"fontBody": "template:corporate-modernist:Inter",
|
||||||
|
"fontMono": "template:corporate-modernist:JetBrains Mono"
|
||||||
|
},
|
||||||
"lightColors": {
|
"lightColors": {
|
||||||
"background": "0 0% 100%",
|
"background": "0 0% 100%",
|
||||||
"foreground": "0 0% 11%",
|
"foreground": "0 0% 11%",
|
||||||
|
|||||||
BIN
preview.png
|
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 153 KiB |
|
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 153 KiB |
|
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 153 KiB |
|
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 205 KiB |
|
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 204 KiB |
|
Before Width: | Height: | Size: 428 KiB After Width: | Height: | Size: 427 KiB |
|
Before Width: | Height: | Size: 422 KiB After Width: | Height: | Size: 425 KiB |