Repository navigation
Expand file tree
/
Copy paththeme.css
More file actions
146 lines (124 loc) · 4.49 KB
/
Copy paththeme.css
File metadata and controls
146 lines (124 loc) · 4.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/* =====================================================================
DeepLearning.AI — Brand Design Tokens
Drop this into any web project and reference the CSS custom properties
instead of hardcoding values. Pairs with the deeplearning-ai-brand skill.
Fonts (load via Google Fonts):
Poppins (500, 600) — headings, sub-headings, CTAs
Open Sans (400, 600) — body
===================================================================== */
:root {
/* ---- Core brand colors ---- */
--dl-coral: #F65B66; /* Primary — identity + primary CTA */
--dl-teal: #237B94; /* Secondary — trust, featured sections, secondary CTA */
--dl-white: #FFFFFF;
/* ---- Tertiary accents ---- */
--dl-blue: #1C74EB; /* default/unclicked links */
--dl-yellow: #FAB901;
--dl-purple: #A12F9D;
--dl-magenta: #DD3C66; /* also the Pie & AI "&" */
/* ---- Special-purpose ---- */
--dl-batch-teal: #1C6272; /* The Batch wordmark (45% brightness teal) */
/* ---- Coral shades (saturation steps) ---- */
--dl-coral-80: #FF0043;
--dl-coral-70: #FF325A;
--dl-coral-40: #FF8B9C;
--dl-coral-30: #FFA6B2;
--dl-coral-20: #FDBFC7;
/* ---- Teal shades (brightness steps) ---- */
--dl-teal-35: #164C59; /* darkest — tag text */
--dl-teal-45: #1C6272;
--dl-teal-65: #288EA5;
--dl-teal-75: #2EA4BF;
--dl-teal-80: #32AFCC; /* lightest — tag fill */
/* ---- Blue shades ---- */
--dl-blue-100: #0070EA;
--dl-blue-77: #368CEA;
--dl-blue-67: #4E98EA;
--dl-blue-47: #7DB1EA;
--dl-blue-37: #94BDEA;
/* ---- Yellow shades ---- */
--dl-yellow-79: #FFB900;
--dl-yellow-69: #FFC128;
--dl-yellow-49: #FDC952;
--dl-yellow-39: #FCD172;
--dl-yellow-29: #FAD888;
/* ---- Purple shades ---- */
--dl-purple-100: #9C009E;
--dl-purple-80: #9E009D;
--dl-purple-70: #9E1E9D;
--dl-purple-50: #9F469C;
--dl-purple-40: #9D589C;
/* ---- Magenta shades ---- */
--dl-magenta-100: #DB0044;
--dl-magenta-85: #DB215B;
--dl-magenta-62: #DB537D;
--dl-magenta-40: #DB839F;
--dl-magenta-15: #DBBAC5;
/* ---- Semantic roles (use these in components) ---- */
--dl-bg: var(--dl-white);
--dl-bg-featured: var(--dl-teal); /* white text on top */
--dl-text: #111111; /* black body on white */
--dl-text-on-dark: var(--dl-white); /* on teal/dark */
--dl-cta-primary-bg: var(--dl-coral); /* convert / subscribe */
--dl-cta-primary-fg: var(--dl-white);
--dl-cta-secondary-bg:var(--dl-teal); /* internal navigation */
--dl-cta-secondary-fg:var(--dl-white);
--dl-link: var(--dl-blue); /* unclicked */
--dl-link-visited: var(--dl-teal); /* clicked */
--dl-tag-fill: var(--dl-teal-80);
--dl-tag-text: var(--dl-teal-35);
/* ---- Typography ---- */
--dl-font-heading: "Poppins", system-ui, sans-serif;
--dl-font-body: "Open Sans", system-ui, sans-serif;
/* Type scale (desktop ratio — scale fluidly for responsive) */
--dl-fs-headline: 31.25px;
--dl-fs-subhead: 20px;
--dl-fs-body: 16px;
--dl-fs-cta: 14px;
--dl-fw-heading: 600; /* Poppins Semibold */
--dl-fw-subhead: 500; /* Poppins Medium */
--dl-fw-body: 400; /* Open Sans Regular */
--dl-tracking-heading: -0.01em; /* "optical" kerning approximation */
}
/* ---- Base element conventions (optional starting point) ---- */
body {
font-family: var(--dl-font-body);
font-weight: var(--dl-fw-body);
font-size: var(--dl-fs-body);
color: var(--dl-text);
background: var(--dl-bg);
}
h1, h2, h3 {
font-family: var(--dl-font-heading);
font-weight: var(--dl-fw-heading);
letter-spacing: var(--dl-tracking-heading);
}
h1 { font-size: var(--dl-fs-headline); }
h2 { font-size: var(--dl-fs-subhead); font-weight: var(--dl-fw-subhead); }
a { color: var(--dl-link); }
a:visited { color: var(--dl-link-visited); }
/* Buttons */
.dl-btn {
font-family: var(--dl-font-heading);
font-weight: 600;
font-size: var(--dl-fs-cta);
border: none;
border-radius: 8px;
padding: 10px 20px;
cursor: pointer;
}
.dl-btn--primary { background: var(--dl-cta-primary-bg); color: var(--dl-cta-primary-fg); }
.dl-btn--secondary { background: var(--dl-cta-secondary-bg); color: var(--dl-cta-secondary-fg); }
/* Featured section */
.dl-section--featured {
background: var(--dl-bg-featured);
color: var(--dl-text-on-dark);
}
/* Tag / chip */
.dl-tag {
background: var(--dl-tag-fill);
color: var(--dl-tag-text);
border-radius: 999px;
padding: 2px 10px;
font-size: 13px;
}