mp-design-system 0.8.2 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/build/scss/library.css +1 -1
- package/dist/build/scss/library.css.map +1 -1
- package/dist/build/scss/main.css +1 -1
- package/dist/build/scss/main.css.map +1 -1
- package/package.json +7 -7
- package/src/_includes/components/alert/alert.scss +1 -1
- package/src/_includes/components/campaign/campaign.config.js +6 -0
- package/src/_includes/components/campaign/campaign.njk +5 -3
- package/src/_includes/components/meta-box/meta-box.scss +24 -0
- package/src/_includes/includes/system-footer.njk +12 -2
- package/src/_includes/library-navigation/brand-nav.njk +8 -16
- package/src/_includes/library-navigation/components-nav.njk +1 -1
- package/src/_includes/library-navigation/content-nav.njk +2 -1
- package/src/_redirects +8 -0
- package/src/assets/scss/library.scss +3 -3
- package/src/assets/scss/utilities/index.scss +4 -0
- package/src/brand/{visual/colors.njk → colors.njk} +52 -34
- package/src/brand/{visual/images.md → images.md} +0 -0
- package/src/brand/index.njk +6 -15
- package/src/brand/{visual/logo.md → logo.md} +11 -6
- package/src/brand/{visual/typography.md → typography.md} +6 -1
- package/src/checklist.md +70 -0
- package/src/components/colour.njk +7 -7
- package/src/components/grid/index.njk +56 -14
- package/src/components/iconography.njk +3 -1
- package/src/components/publishing-the-system.md +2 -0
- package/src/content/big-ideas.md +1 -1
- package/src/content/boilerplate.md +27 -0
- package/src/content/our-voice/1-big-picture.md +1 -1
- package/src/content/our-voice/2-whats-most-important.md +1 -1
- package/src/content/our-voice/3-write-like-we-speak.md +1 -1
- package/src/content/our-voice/4-write-to-be-skimmed.md +1 -1
- package/src/content/our-voice/5-active-sentences.md +1 -1
- package/src/content/our-voice/6-add-energy.md +1 -1
- package/src/content/our-voice/7-small-surprises.md +1 -1
- package/src/content/our-voice/seven-steps.md +1 -1
- package/src/content/our-voice/which-techniques-when.md +1 -1
- package/src/content/real-life-examples/01-who-we-are-boilerplate.md +10 -6
- package/src/index.njk +4 -6
- package/src/static/svg/logo-simple.svg +1 -0
- package/src/static/zip/MP_logo.zip +0 -0
- package/src/brand/identity/boilerplate.md +0 -23
- package/src/brand/identity/index.md +0 -14
- package/src/brand/identity/legal-information.md +0 -9
- package/src/brand/identity/strategy.md +0 -12
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "mp-design-system",
|
3
|
-
"version": "0.8.
|
3
|
+
"version": "0.8.4",
|
4
4
|
"description": "",
|
5
5
|
"scripts": {
|
6
6
|
"dev": "npm-run-all --parallel bundle:*",
|
@@ -20,18 +20,18 @@
|
|
20
20
|
"license": "ISC",
|
21
21
|
"devDependencies": {
|
22
22
|
"@11ty/eleventy": "^0.12.1",
|
23
|
-
"@11ty/eleventy-plugin-syntaxhighlight": "^3.
|
23
|
+
"@11ty/eleventy-plugin-syntaxhighlight": "^3.2.2",
|
24
24
|
"@parcel/transformer-sass": "^2.4.0",
|
25
25
|
"dotenv": "^8.6.0",
|
26
|
-
"html-prettify": "^1.0.
|
27
|
-
"markdown-it": "^12.
|
28
|
-
"markdown-it-prism": "^2.
|
26
|
+
"html-prettify": "^1.0.6",
|
27
|
+
"markdown-it": "^12.3.2",
|
28
|
+
"markdown-it-prism": "^2.2.3",
|
29
29
|
"npm-run-all": "^4.1.5",
|
30
30
|
"parcel": "^2.4.0",
|
31
31
|
"require-glob": "^3.2.0",
|
32
32
|
"rimraf": "^3.0.2",
|
33
|
-
"sass": "^1.
|
34
|
-
"slugify": "^1.6.
|
33
|
+
"sass": "^1.49.10",
|
34
|
+
"slugify": "^1.6.5"
|
35
35
|
},
|
36
36
|
"alias": {
|
37
37
|
"mp": "./node_modules/mp-design-system/src/assets/scss",
|
@@ -11,9 +11,11 @@
|
|
11
11
|
|
12
12
|
<aside class="{{ classNames }}">
|
13
13
|
<a href="" class="c-campaign__link">{{ params.title }}</a>
|
14
|
-
|
15
|
-
<
|
16
|
-
|
14
|
+
{% if params.image %}
|
15
|
+
<figure class="c-campaign__image">
|
16
|
+
<img src="{{ params.image.src }}" alt="{{ params.image.alt }}" />
|
17
|
+
</figure>
|
18
|
+
{% endif %}
|
17
19
|
<div class="c-campaign__content u-flow">
|
18
20
|
<h2 class="c-h c-h--step-2">{{ params.title }}</h2>
|
19
21
|
<div class="mp o-prose u-flow--prose">
|
@@ -7,4 +7,28 @@
|
|
7
7
|
.u-wrap--fields {
|
8
8
|
@include padding-right(0)
|
9
9
|
}
|
10
|
+
|
11
|
+
@media only screen and (min-width: 35em) and (max-width: 54.95em) {
|
12
|
+
column-width: 18em;
|
13
|
+
display: grid;
|
14
|
+
grid-template-columns: 1fr 1fr;
|
15
|
+
grid-gap: 0 var(--gutter);
|
16
|
+
grid-template-rows: auto max-content auto;
|
17
|
+
|
18
|
+
h2 {
|
19
|
+
grid-column: 1/3;
|
20
|
+
}
|
21
|
+
|
22
|
+
li {
|
23
|
+
break-inside: avoid;
|
24
|
+
}
|
25
|
+
|
26
|
+
.u-grey-step-1 {
|
27
|
+
grid-row: 2/4;
|
28
|
+
}
|
29
|
+
|
30
|
+
.c-button {
|
31
|
+
align-self: start;
|
32
|
+
}
|
33
|
+
}
|
10
34
|
}
|
@@ -1,15 +1,25 @@
|
|
1
|
+
{% from "components/component/component.njk" import libraryLink %}
|
2
|
+
|
1
3
|
<footer class="mp c-footer" role="contentinfo">
|
2
4
|
<nav class="c-footer__primary u-wrap" aria-label="Footer">
|
3
|
-
<div class="
|
5
|
+
<div class="o-grid o-grid--8/3-switch o-grid--push">
|
6
|
+
<ol class="u-flow--xs u-margin-top-2xs">
|
7
|
+
<li><h3>Quick links</h3></li>
|
8
|
+
<li><a href="/brand/downloads">Popular downloads</a></li>
|
9
|
+
<li><a href="/checklist">Franklin checklist</a></li>
|
10
|
+
</ol>
|
11
|
+
<div class="mp o-prose u-flow--prose u-step--1">
|
4
12
|
|
5
13
|
{% markdown %}
|
6
14
|
### Get in touch
|
7
15
|
|
8
16
|
This system is maintained by the Design System Team. Any feedback, questions or ideas are welcome, so please share your thoughts.
|
9
17
|
|
10
|
-
|
18
|
+
For all enquiries please contact Will Wallace at Malvern Panalytical, via email or Teams.
|
11
19
|
{% endmarkdown %}
|
12
20
|
|
21
|
+
</div>
|
22
|
+
</div>
|
13
23
|
</nav>
|
14
24
|
<div class="c-footer__secondary">
|
15
25
|
<div class="u-wrap">
|
@@ -2,27 +2,21 @@
|
|
2
2
|
{%- from "components/icon/macro.njk" import icon -%}
|
3
3
|
|
4
4
|
<div class="u-flow">
|
5
|
-
<h3>
|
5
|
+
<h3>Brand & visual identity</h3>
|
6
6
|
<ul>
|
7
7
|
{{ libraryList('Overview', '/brand/', page.url) }}
|
8
|
-
{{ libraryList('Downloads', '/brand/downloads', page.url) }}
|
8
|
+
{{ libraryList('Downloads', '/brand/downloads/', page.url) }}
|
9
|
+
{{ libraryList('Logo', '/brand/logo/', page.url) }}
|
10
|
+
{{ libraryList('Colors', '/brand/colors/', page.url) }}
|
11
|
+
{{ libraryList('Typography', '/brand/typography/', page.url) }}
|
12
|
+
{{ libraryList('Images', '/brand/images/', page.url) }}
|
9
13
|
</ul>
|
10
|
-
<h3>Brand identity</h3>
|
14
|
+
{# <h3>Brand identity</h3>
|
11
15
|
<ul>
|
12
16
|
{{ libraryList('Our brand identity', '/brand/identity/', page.url) }}
|
13
17
|
{{ libraryList('Brand strategy', '/brand/identity/strategy/', page.url) }}
|
14
|
-
|
15
|
-
{{ libraryList('Legal information', '/brand/identity/legal-information/', page.url) }}
|
16
|
-
</ul>
|
18
|
+
</ul> #}
|
17
19
|
</div>
|
18
|
-
|
19
|
-
<div class="u-flow">
|
20
|
-
<h3>Visual identity</h3>
|
21
|
-
<ul>
|
22
|
-
{{ libraryList('The logo', '/brand/visual/logo', page.url) }}
|
23
|
-
{{ libraryList('Brand colors', '/brand/visual/colors/', page.url) }}
|
24
|
-
{{ libraryList('Typography', '/brand/visual/typography/', page.url) }}
|
25
|
-
{{ libraryList('Images', '/brand/visual/images/', page.url) }}
|
26
20
|
{# <li>
|
27
21
|
<a>Typography</a>
|
28
22
|
<ul>
|
@@ -56,8 +50,6 @@
|
|
56
50
|
<li>
|
57
51
|
<li><a>Sector messaging</a><li>
|
58
52
|
<li><a>Brand identity overviews</a><li> #}
|
59
|
-
</ul>
|
60
|
-
</div>
|
61
53
|
|
62
54
|
{# <div class="u-flow">
|
63
55
|
<h3><a href="/brand">Applications</a></h3>
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<div class="u-flow">
|
15
15
|
<h3>Foundations</h3>
|
16
16
|
<ul class="c-library-accordion">
|
17
|
-
{{ libraryList('
|
17
|
+
{{ libraryList('Color', '/components/colour/', page.url) }}
|
18
18
|
{{ libraryList('Space', '/components/space/', page.url) }}
|
19
19
|
<li>
|
20
20
|
{{ libraryLink('Grid', '/components/grid/', page.url) }}
|
@@ -2,10 +2,11 @@
|
|
2
2
|
{%- from "components/icon/macro.njk" import icon -%}
|
3
3
|
|
4
4
|
<div class="u-flow">
|
5
|
-
<h3>
|
5
|
+
<h3>Tone of voice</h3>
|
6
6
|
<ul>
|
7
7
|
{{ libraryList('Our words matter', '/content/', page.url) }}
|
8
8
|
{{ libraryList('Elevator pitch', '/content/elevator-pitch/', page.url) }}
|
9
|
+
{{ libraryList('Boilerplate', '/content/boilerplate/', page.url) }}
|
9
10
|
{{ libraryList('Big ideas for a better world', '/content/big-ideas/', page.url) }}
|
10
11
|
</ul>
|
11
12
|
</div>
|
package/src/_redirects
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
/brand/identity/ /brand 301
|
2
|
+
/brand/identity/boilerplate /content/boilerplate 301
|
3
|
+
/brand/identity/strategy /brand 301
|
4
|
+
/brand/visual /brand 301
|
5
|
+
/brand/visual/colors /brand/colors 301
|
6
|
+
/brand/visual/images /brand/images 301
|
7
|
+
/brand/visual/logo /brand/logo 301
|
8
|
+
/brand/visual/typography /brand/typography 301
|
@@ -131,12 +131,12 @@
|
|
131
131
|
&__logo {
|
132
132
|
display: flex;
|
133
133
|
align-items: center;
|
134
|
-
|
134
|
+
justify-content: center;
|
135
135
|
max-width: 15%;
|
136
136
|
min-width: 100px;
|
137
137
|
|
138
|
-
@media only screen and (min-width:
|
139
|
-
|
138
|
+
@media only screen and (min-width:650px) {
|
139
|
+
justify-content: flex-start;
|
140
140
|
}
|
141
141
|
|
142
142
|
&-name {
|
@@ -13,7 +13,9 @@ status: 'In production'
|
|
13
13
|
<div class="u-flow--l">
|
14
14
|
|
15
15
|
{{ markdown({
|
16
|
-
content: "Our color palette is built around our primary color, MP Petrol. We’ve included just enough tints and shades to provide useful options for designers.
|
16
|
+
content: "Our color palette is built around our primary color, MP Petrol. We’ve included just enough tints and shades to provide useful options for designers.
|
17
|
+
|
18
|
+
Step 0 is the 'default' shade for each color."
|
17
19
|
}) }}
|
18
20
|
|
19
21
|
<div class="u-wrap--content">
|
@@ -27,7 +29,7 @@ status: 'In production'
|
|
27
29
|
|
28
30
|
{% set colors = [
|
29
31
|
{
|
30
|
-
name: '
|
32
|
+
name: 'MP Petrol',
|
31
33
|
key: 'Petrol',
|
32
34
|
steps: [
|
33
35
|
{
|
@@ -58,7 +60,7 @@ status: 'In production'
|
|
58
60
|
]
|
59
61
|
},
|
60
62
|
{
|
61
|
-
name: '
|
63
|
+
name: 'MP Blue',
|
62
64
|
key: 'Blue',
|
63
65
|
steps: [
|
64
66
|
{
|
@@ -89,7 +91,7 @@ status: 'In production'
|
|
89
91
|
]
|
90
92
|
},
|
91
93
|
{
|
92
|
-
name: '
|
94
|
+
name: 'MP Green',
|
93
95
|
key: 'Green',
|
94
96
|
steps: [
|
95
97
|
{
|
@@ -120,77 +122,88 @@ status: 'In production'
|
|
120
122
|
]
|
121
123
|
},
|
122
124
|
{
|
123
|
-
name: '
|
125
|
+
name: 'MP Rubine',
|
124
126
|
key: 'Red',
|
125
127
|
steps: [
|
126
128
|
{
|
127
129
|
name: 0,
|
128
130
|
hex: 'ce0058',
|
129
|
-
cmyk: '14
|
131
|
+
cmyk: '14.100.50.2'
|
130
132
|
}
|
131
133
|
]
|
132
134
|
},
|
133
135
|
{
|
134
|
-
name: '
|
135
|
-
key: '
|
136
|
+
name: 'MP Charcoal',
|
137
|
+
key: 'Grey',
|
136
138
|
steps: [
|
137
139
|
|
138
140
|
{
|
139
141
|
name: "-1",
|
140
|
-
hex: '
|
141
|
-
cmyk: '
|
142
|
+
hex: '252525',
|
143
|
+
cmyk: '00.00.00.95'
|
142
144
|
},
|
143
145
|
{
|
144
146
|
name: 0,
|
145
|
-
hex: '
|
146
|
-
cmyk: '
|
147
|
+
hex: '333333',
|
148
|
+
cmyk: '00.00.00.91'
|
147
149
|
},
|
148
150
|
{
|
149
151
|
name: 1,
|
150
|
-
hex: '
|
151
|
-
cmyk: '
|
152
|
+
hex: '6c6c6c',
|
153
|
+
cmyk: '00.00.00.70'
|
152
154
|
},
|
153
155
|
{
|
154
156
|
name: 2,
|
155
|
-
hex: '
|
156
|
-
cmyk: '
|
157
|
+
hex: 'cecece',
|
158
|
+
cmyk: '00.00.00.22'
|
157
159
|
},
|
158
160
|
{
|
159
161
|
name: 3,
|
160
|
-
hex: '
|
161
|
-
cmyk: '00.
|
162
|
+
hex: 'efefef',
|
163
|
+
cmyk: '00.00.00.08'
|
162
164
|
}
|
163
165
|
]
|
164
166
|
},
|
165
167
|
{
|
166
|
-
name: '
|
167
|
-
key: '
|
168
|
+
name: 'MP Utility Gold',
|
169
|
+
key: 'Utility-Orange',
|
168
170
|
steps: [
|
169
171
|
|
170
172
|
{
|
171
173
|
name: "-1",
|
172
|
-
hex: '
|
173
|
-
cmyk: '
|
174
|
+
hex: 'AE7809',
|
175
|
+
cmyk: '29.51.100.10'
|
174
176
|
},
|
175
177
|
{
|
176
178
|
name: 0,
|
177
|
-
hex: '
|
178
|
-
cmyk: '
|
179
|
+
hex: 'F2A60D',
|
180
|
+
cmyk: '04.38.100.00'
|
179
181
|
},
|
180
182
|
{
|
181
183
|
name: 1,
|
182
|
-
hex: '
|
183
|
-
cmyk: '
|
184
|
+
hex: 'F6BF51',
|
185
|
+
cmyk: '03.26.79.00'
|
184
186
|
},
|
185
187
|
{
|
186
188
|
name: 2,
|
187
|
-
hex: '
|
188
|
-
cmyk: '
|
189
|
+
hex: 'FCEAC5',
|
190
|
+
cmyk: '01.07.25.00'
|
189
191
|
},
|
190
192
|
{
|
191
193
|
name: 3,
|
192
|
-
hex: '
|
193
|
-
cmyk: '00.
|
194
|
+
hex: 'FEF8EC',
|
195
|
+
cmyk: '00.02.06.00'
|
196
|
+
}
|
197
|
+
]
|
198
|
+
},
|
199
|
+
{
|
200
|
+
name: 'MP Utility Blue',
|
201
|
+
key: 'Utility-Blue',
|
202
|
+
steps: [
|
203
|
+
{
|
204
|
+
name: 0,
|
205
|
+
hex: '006daf',
|
206
|
+
cmyk: '86.48.3.5'
|
194
207
|
}
|
195
208
|
]
|
196
209
|
}
|
@@ -225,22 +238,27 @@ status: 'In production'
|
|
225
238
|
{{ markdown({
|
226
239
|
content: "# When to use color
|
227
240
|
|
228
|
-
The color palette works best when it's used in a balanced way; too much of a strong color can make a design feel crowded or busy. Instead, try to keep your designs to mainly white backgrounds, with
|
241
|
+
The color palette works best when it's used in a balanced way; too much of a strong color can make a design feel crowded or busy. Instead, try to keep your designs to mainly white backgrounds, with Charcoal text, and splashes of color to highlight important elements.
|
229
242
|
|
230
|
-
**Petrol** is our primary color - it represents Malvern Panalytical's spirit and personality.
|
243
|
+
**Petrol** is our primary color - it represents Malvern Panalytical's spirit and personality. Petrol, together with **Blue**, are the colors you will use most often in your designs.
|
231
244
|
|
232
245
|
**Green** is reserved for _calls to action_ - the single most important action that we want a reader or viewer to take next. On a web page for example, this would be the \"buy now\" button.
|
233
246
|
|
234
247
|
**Rubine** is reserved for important notices or warnings. It's such an eye-catching color that it must be used sparingly.
|
235
248
|
|
249
|
+
**Charcoal** is mainly used for text, but can also be used for other elements.
|
250
|
+
|
236
251
|
**Utility Gold** is intended for notices which are less urgent than Rubine. It can also be used sparingly as an accent color, to contrast against Petrol and Blue.
|
237
252
|
|
238
|
-
**
|
253
|
+
For interactive designs we also have **Utility Blue**, which is used for hyperlinks. Note: Utility Blue is not generally intended for printed materials.
|
239
254
|
|
240
255
|
## Tints and shades
|
241
256
|
Each color is provided in _steps_. Step 0 is the \"default\" for each color. If you need a colored background, consider using step 2 or 3, as step 0 or 1 will often be too overpowering.
|
242
257
|
|
243
|
-
Using Petrol step 3 as a background color (instead of grey) can be a nice way to introduce a bit of our personality into a design.
|
258
|
+
Using Petrol step 3 as a background color (instead of grey) can be a nice way to introduce a bit of our personality into a design.
|
259
|
+
|
260
|
+
## Why so many blues?
|
261
|
+
Petrol and Blue are part of our brand, but neither is suitable for hyperlinks in web or software environments: Blue doesn't provide enough contrast for legibility, and we didn't want to overuse Petrol. We added Utility Blue to fill this gap."
|
244
262
|
}) }}
|
245
263
|
|
246
264
|
{{ alert({
|
File without changes
|
package/src/brand/index.njk
CHANGED
@@ -21,15 +21,6 @@ To strengthen Malvern Panalytical’s market position, we must ensure consistent
|
|
21
21
|
content: content
|
22
22
|
}) }}
|
23
23
|
|
24
|
-
<br>
|
25
|
-
|
26
|
-
{{ twi({
|
27
|
-
link: '/static/pdf/PN12558_Physical_branding_v23.pdf',
|
28
|
-
label: 'Physical brand quick-start guide',
|
29
|
-
classes: 'u-link',
|
30
|
-
icon: 'file'
|
31
|
-
}) }}
|
32
|
-
|
33
24
|
<div class="o-grid o-grid--of-three-late">
|
34
25
|
{{ card({
|
35
26
|
theme: {
|
@@ -38,14 +29,14 @@ To strengthen Malvern Panalytical’s market position, we must ensure consistent
|
|
38
29
|
border: true
|
39
30
|
},
|
40
31
|
header: {
|
41
|
-
title: '
|
32
|
+
title: 'Visual identity'
|
42
33
|
},
|
43
34
|
body: {
|
44
|
-
content: '<p>
|
35
|
+
content: '<p>The visual marks and styles that encapsulate our brand such as logo, colour and typography.</p>'
|
45
36
|
},
|
46
37
|
footer: {
|
47
38
|
cta: {
|
48
|
-
link: '/brand/
|
39
|
+
link: '/brand/logo',
|
49
40
|
label: 'Read more'
|
50
41
|
}
|
51
42
|
}
|
@@ -58,14 +49,14 @@ To strengthen Malvern Panalytical’s market position, we must ensure consistent
|
|
58
49
|
border: true
|
59
50
|
},
|
60
51
|
header: {
|
61
|
-
title: '
|
52
|
+
title: 'Downloads'
|
62
53
|
},
|
63
54
|
body: {
|
64
|
-
content: '<p>
|
55
|
+
content: '<p>Download our brand guidelines PDF, our logo, and more.</p>'
|
65
56
|
},
|
66
57
|
footer: {
|
67
58
|
cta: {
|
68
|
-
link: '/brand/
|
59
|
+
link: '/brand/downloads',
|
69
60
|
label: 'Read more'
|
70
61
|
}
|
71
62
|
}
|
@@ -9,20 +9,25 @@ status: 'Ready'
|
|
9
9
|
|
10
10
|
<a href="/static/zip/MP_logo.zip" class="mp c-twi u-link c-twi--left"><span>Download: Malvern Panalytical logo</span><svg role="img" aria-hidden="true" focusable="false" class="mp c-icon c-icon--file"><use xlink:href="/static/svg/sprite.svg#file"></use></svg></a>
|
11
11
|
|
12
|
-
The Malvern Panalytical logo is available in
|
12
|
+
The Malvern Panalytical logo is available in three formats:
|
13
13
|
|
14
14
|
- Standard, with the text alongside the 'X' brandmark;
|
15
|
-
- Stacked, with the X and the text centered
|
15
|
+
- Stacked, with the X and the text centered;
|
16
|
+
- Simple, for use at small sizes (when the fine details of the regular logo become obscured).
|
16
17
|
|
17
|
-
<div class="o-grid o-grid--of-
|
18
|
+
<div class="o-grid o-grid--of-three">
|
18
19
|
<figure style="width:320px">
|
19
|
-
<figcaption>Standard
|
20
|
-
<img src="/static/svg/logo.svg" alt="Malvern Panalytical logo, horizontal format">
|
20
|
+
<figcaption>Standard</figcaption>
|
21
|
+
<img src="/static/svg/logo.svg" alt="Malvern Panalytical logo, horizontal format" class="u-margin-top-m">
|
21
22
|
</figure>
|
22
23
|
<figure style="width:200px">
|
23
|
-
<figcaption>Stacked
|
24
|
+
<figcaption>Stacked</figcaption>
|
24
25
|
<img src="/static/svg/logo-stacked.svg" alt="Malvern Panalytical logo, stacked format">
|
25
26
|
</figure>
|
27
|
+
<figure style="width:100px">
|
28
|
+
<figcaption>Simple</figcaption>
|
29
|
+
<img src="/static/svg/logo-simple.svg" alt="Malvern Panalytical logo, stacked format" class="u-margin-top-s">
|
30
|
+
</figure>
|
26
31
|
</div>
|
27
32
|
|
28
33
|
## Spacing
|
@@ -15,9 +15,14 @@ Our brand font is [Inter](https://rsms.me/inter). This typeface has been selecte
|
|
15
15
|
- Comprehensive weight and style options
|
16
16
|
- Understated authority
|
17
17
|
|
18
|
+
Find more information about Inter at [https://rsms.me/inter](https://rsms.me/inter)
|
19
|
+
|
18
20
|
<a class="mp c-button c-button--inline" href="https://github.com/rsms/inter/releases/download/v3.19/Inter-3.19.zip" download>Download Inter font</a>
|
19
21
|
|
20
|
-
|
22
|
+
<br>
|
23
|
+
|
24
|
+
#### Google Fonts
|
25
|
+
[Inter is also available from Google Fonts](https://fonts.google.com/specimen/Inter).
|
21
26
|
|
22
27
|
---
|
23
28
|
|
package/src/checklist.md
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
---
|
2
|
+
title: Franklin compatibility checklist
|
3
|
+
layout: content-page
|
4
|
+
sidebar: components
|
5
|
+
---
|
6
|
+
|
7
|
+
We use a variety of digital marketing platforms, each with different styling abilities. We created this design system to bring these platforms together under a single look and feel, but unfortunately not all of them are able to follow the guidelines to the letter.
|
8
|
+
|
9
|
+
When evaluating a new platform, we should aim to ensure they are capable of following the Franklin styles as closely as possible.
|
10
|
+
|
11
|
+
Platforms can be categorized into three groups:
|
12
|
+
|
13
|
+
1. Full design system users
|
14
|
+
2. Medium users
|
15
|
+
3. Basic users
|
16
|
+
|
17
|
+
With 1 being the most customizable and 3 the least. More customization allows closer alignment with Franklin.
|
18
|
+
|
19
|
+
## Checklist
|
20
|
+
To qualify as a **Medium** user, a platform must be able to:
|
21
|
+
|
22
|
+
<div>
|
23
|
+
<input type="checkbox" class="c-checkbox" name="inter-font" id="inter-font" value="" />
|
24
|
+
<label for="inter-font">Use the Inter font, either installed in the project or linked via Google Fonts</label>
|
25
|
+
</div>
|
26
|
+
<div>
|
27
|
+
<input type="checkbox" class="c-checkbox" name="html" id="html" value="" />
|
28
|
+
<label for="html">Build bespoke HTML components following Franklin examples</label>
|
29
|
+
</div>
|
30
|
+
<div>
|
31
|
+
<input type="checkbox" class="c-checkbox" name="css" id="css" value="" />
|
32
|
+
<label for="css">Write custom CSS & JS to identically replicate Franklin</label>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
Additionally, they can be considered **Full** users if they can:
|
36
|
+
|
37
|
+
<div>
|
38
|
+
<input type="checkbox" class="c-checkbox" name="cdn" id="cdn" value="" />
|
39
|
+
<label for="cdn">Consume Franklin's CSS and JavaScript via CDN links</label>
|
40
|
+
</div>
|
41
|
+
<div>
|
42
|
+
<input type="checkbox" class="c-checkbox" name="interface" id="interface" value="" />
|
43
|
+
<label for="interface">Style all elements of the interface</label>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
If the platform can’t qualify as a Medium user, they are a **Basic** user. Typically, with Basic platforms there is no ability to write custom HTML, CSS, or JS. Visual customization is limited to e.g. changing colors and picking from predefined templates.
|
47
|
+
|
48
|
+
### Example questions
|
49
|
+
Could the platform incorporate our main header navigation by using the HTML defined at: <https://brand.malvernpanalytical.com/components/header/#component-code>?
|
50
|
+
How about tabs, as defined at: <https://brand.malvernpanalytical.com/components/tabs/#component-code>?
|
51
|
+
|
52
|
+
### Examples of each type
|
53
|
+
Full:
|
54
|
+
- Malvern Panalytical website
|
55
|
+
- Materials Talks blog
|
56
|
+
- Careers website
|
57
|
+
|
58
|
+
Medium:
|
59
|
+
- Bizzabo events pages
|
60
|
+
- OneWelcome login screen
|
61
|
+
|
62
|
+
Basic:
|
63
|
+
- Salesforce customer portal
|
64
|
+
|
65
|
+
### Notes
|
66
|
+
More detailed instructions on consuming Franklin’s CSS and JS can be found at <https://brand.malvernpanalytical.com/components/installation>.
|
67
|
+
|
68
|
+
Example HTML for nearly every component is available at <https://brand.malvernpanalytical.com/components>.
|
69
|
+
|
70
|
+
Documentation is currently a bit lacking for Medium users – e.g. there’s no simple way to supply compiled CSS for their reference, and the uncompiled Sass is likely overcomplicated for their needs. I’m happy to talk through everything they need, but we should aim to document this more thoroughly.
|
@@ -25,7 +25,7 @@ A limited set of color tints and shades are available for element backgrounds, b
|
|
25
25
|
|
26
26
|
{% set colors = [
|
27
27
|
{
|
28
|
-
name: '
|
28
|
+
name: 'MP Petrol',
|
29
29
|
key: 'Petrol',
|
30
30
|
steps: [
|
31
31
|
{
|
@@ -61,7 +61,7 @@ A limited set of color tints and shades are available for element backgrounds, b
|
|
61
61
|
]
|
62
62
|
},
|
63
63
|
{
|
64
|
-
name: '
|
64
|
+
name: 'MP Blue',
|
65
65
|
key: 'Blue',
|
66
66
|
steps: [
|
67
67
|
{
|
@@ -97,7 +97,7 @@ A limited set of color tints and shades are available for element backgrounds, b
|
|
97
97
|
]
|
98
98
|
},
|
99
99
|
{
|
100
|
-
name: '
|
100
|
+
name: 'MP Green',
|
101
101
|
key: 'Green',
|
102
102
|
steps: [
|
103
103
|
{
|
@@ -133,7 +133,7 @@ A limited set of color tints and shades are available for element backgrounds, b
|
|
133
133
|
]
|
134
134
|
},
|
135
135
|
{
|
136
|
-
name: '
|
136
|
+
name: 'MP Rubine',
|
137
137
|
key: 'Red',
|
138
138
|
steps: [
|
139
139
|
{
|
@@ -169,7 +169,7 @@ A limited set of color tints and shades are available for element backgrounds, b
|
|
169
169
|
]
|
170
170
|
},
|
171
171
|
{
|
172
|
-
name: '
|
172
|
+
name: 'MP Charcoal',
|
173
173
|
key: 'Grey',
|
174
174
|
steps: [
|
175
175
|
|
@@ -206,7 +206,7 @@ A limited set of color tints and shades are available for element backgrounds, b
|
|
206
206
|
]
|
207
207
|
},
|
208
208
|
{
|
209
|
-
name: '
|
209
|
+
name: 'MP Utility Blue',
|
210
210
|
key: 'Utility blue',
|
211
211
|
steps: [
|
212
212
|
{
|
@@ -242,7 +242,7 @@ A limited set of color tints and shades are available for element backgrounds, b
|
|
242
242
|
]
|
243
243
|
},
|
244
244
|
{
|
245
|
-
name: '
|
245
|
+
name: 'MP Utility Gold',
|
246
246
|
key: 'Utility orange',
|
247
247
|
steps: [
|
248
248
|
{
|