編輯設計
"數位雜誌。精緻的字型搭配與深思熟慮的優雅節奏。"
使用時機
當使用者的需求符合上述美學時,使用此子風格。這是 design-it 技能的子參考,不應直接觸發。
核心原則
- 襯線與無襯線配對:編輯設計的標誌性元素。標題使用具有高對比度的優美襯線字型,內文則搭配乾淨的無襯線字型。
- 大型首字放大與引言引用:引導視線並打斷長文區塊的印刷裝飾。
- 多欄排版:內容以明確的欄位排列,常以細線分隔。
視覺基因
- 顏色:現代編輯(Modern Editorial)或 遊艇俱樂部(Yacht Club)。暖色、紙質感的背景,搭配深色、墨水般的黑色或海軍藍。
- 字型:
- 標題:
Playfair Display、Merriweather、Bodoni。 - 內文:
Lato、Open Sans、Source Sans Pro。
- 標題:
- 邊框:細緻的水平線用於分隔區段。
Web 實作
- CSS 範例:
body {
background-color: #F9F9F9; /* 紙白 */
color: #121212; /* 墨水黑 */
}
/* 字型配對 */
.editorial-headline {
font-family: 'Playfair Display', serif;
font-size: 4rem;
font-weight: 700;
font-style: italic;
margin-bottom: 24px;
border-bottom: 1px solid #121212;
padding-bottom: 24px;
}
.editorial-body {
font-family: 'Lato', sans-serif;
font-size: 1.1rem;
line-height: 1.8;
column-count: 2; /* 雜誌欄數 */
column-gap: 40px;
}
/* 首字放大 */
.editorial-body::first-letter {
font-family: 'Playfair Display', serif;
font-size: 4rem;
float: left;
line-height: 0.8;
padding-right: 12px;
color: var(--cta-highlight);
}
.pull-quote {
font-family: 'Playfair Display', serif;
font-size: 2rem;
text-align: center;
margin: 48px 0;
padding: 24px 0;
border-top: 2px solid #121212;
border-bottom: 2px solid #121212;
}
App 實作
SwiftUI
struct EditorialView: View {
var body: some View {
ScrollView {
VStack(alignment: .leading, spacing: 24) {
// 編輯標題
Text("The Digital\nMagazine")
.font(.custom("Playfair Display", size: 48))
.fontWeight(.bold)
.italic()
.foregroundColor(Color(white: 0.05))
.padding(.bottom, 16)
Divider().background(Color.black)
// 首字放大與內文
HStack(alignment: .top, spacing: 8) {
Text("I")
.font(.custom("Playfair Display", size: 64))
.foregroundColor(Color(red: 0.7, green: 0.2, blue: 0.2))
// 負邊距讓內文更貼近首字
.padding(.top, -10)
Text("n an era of sterile, flat interfaces, the return to elegant typography feels like a breath of fresh air. The interplay of serif and sans-serif...")
.font(.custom("Lato", size: 16))
.lineSpacing(6)
.foregroundColor(Color(white: 0.1))
}
// 引言引用
VStack {
Divider().background(Color.black)
Text("“Sophistication is in the spacing.”")
.font(.custom("Playfair Display", size: 28))
.italic()
.multilineTextAlignment(.center)
.padding(.vertical, 24)
Divider().background(Color.black)
}
.padding(.vertical, 24)
}
.padding(24)
}
.background(Color(red: 0.98, green: 0.98, blue: 0.96)) // 暖色紙白
}
}
- 必須大量使用
.font(.custom()),系統字型看起來太像 App。 - 使用
Divider()來建立印刷設計中常見的細線。 - 可透過
HStack對齊頂部來模擬「首字放大」。
Flutter
class EditorialScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: const Color(0xFFF9F9F8), // 紙質背景
body: SingleChildScrollView(
padding: const EdgeInsets.all(24.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const SizedBox(height: 40),
const Text(
'The Digital\nMagazine',
style: TextStyle(fontFamily: 'PlayfairDisplay', fontSize: 48, fontWeight: FontWeight.bold, fontStyle: FontStyle.italic, height: 1.1),
),
const SizedBox(height: 24),
const Divider(color: Colors.black, thickness: 1),
],
),
),
);
}
}
- 使用自訂字型:在
pubspec.yaml中加入字型定義並重啟應用程式。 - 使用
Dividerwidget 建立印刷風格的細線。 SizedBox用於控制間距,模擬雜誌的留白節奏。