Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions docs/assets/brand/checksums.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
262bdf7d2028fd50c95876ff1ffebe83c44ac75b8476f7ab399e106adf56e6e4 apple-touch-icon.png
22bbfcdf8fd518251f5d8ecc8aa8b4398a4e795d2eb3b087af5221f90c0f6b7b favicon.ico
db727c53441d059a57d3de4b1201a3681b71b57b9e1854d32881617caa57d236 favicon.svg
db727c53441d059a57d3de4b1201a3681b71b57b9e1854d32881617caa57d236 glyph-color.svg
c75fd1518d1ffc58577638d29f94552d3609872cc64a2e0e22256dcf7c24fcdc glyph-dark.svg
25e0af113d565f4980e523dbcb0086c1b0a79193d730aee99c8ac954d0720ee3 glyph-monochrome.svg
0d68b20d404b13618b97170d700f07d60e78a072db6e9553df964b7b0a85593f glyph-reversed.svg
d6f2107b861a03997bf3f4b23d87d282b972a58a78660843db75869c41da064f icons/icon-16.png
262bdf7d2028fd50c95876ff1ffebe83c44ac75b8476f7ab399e106adf56e6e4 icons/icon-180.png
d081aea386a44ee0e40aad3ea335e82440879e64b5346a1e7344cc9011336ccd icons/icon-192.png
97d8ab1c024a3df324a05b603a8891de5e7101238958c92fe24242b5e80ae26c icons/icon-32.png
d41d334a9e0f942326e6f8a81195fca4c0da71f318c3a8ae885c46ec3bae9b48 icons/icon-48.png
1e88a9916f0563942bdba0856fff5f5b64b0d61482f19c0723f7c39e949d2eff icons/icon-512.png
513474611e05d422c63b15d0de3561435fc6b23b135ba1f7831c75bd7e634b5a lockup-endorsed.svg
ae09943668238698560691c3d0eca99d15a495452bfb08e8cd57df0d9bb1fada lockup.svg
acbec711dc70cca6dacffa56778be2ba89b7b198ebcba188f3b9cc8da1082b66 maskable-192.png
9b82ead82da584464a6563c41b85a4a3b36da8f47e382ab15d3885f3223cdc68 maskable-512.png
96fb0eebc5da137e1a99bc3f58ef6f568f13eede79778f0e0a1b56ab143a304b og.png
d081aea386a44ee0e40aad3ea335e82440879e64b5346a1e7344cc9011336ccd pwa-192.png
1e88a9916f0563942bdba0856fff5f5b64b0d61482f19c0723f7c39e949d2eff pwa-512.png
7abcef4d8a4a2d58cba15cec977d86a46ff96970700b9cce2ca47f67814ee76f readme-header.png
56d46296c69749fe7cf18c72ff16411534eebe3fee84369b4033c80449140f30 apple-touch-icon.png
2e2f07ad236cb667d55c2217e906fdaefde1a7733cad0409f7c865257f1790f5 favicon.ico
c37aff9f978c72c9ee2b87ef48da4fef3ce93b8f52e6ad50356270a29d27f876 favicon.svg
c37aff9f978c72c9ee2b87ef48da4fef3ce93b8f52e6ad50356270a29d27f876 glyph-color.svg
e087117892202f18863919374b8da9a8f4422925af2e76fa918102b9d99a9525 glyph-dark.svg
10c78e2905e386688200120c36f5c5ef4f2c6b823c0ec571422c50b5d359cdf7 glyph-monochrome.svg
66ccdf0c912e78bacabeaffdb941e08babb31a22e9841428e01f30e4093fea99 glyph-reversed.svg
b1b8739763db921221e6a7b35afc0ce3047487cfb937541aefed747d0bffa9b0 icons/icon-16.png
56d46296c69749fe7cf18c72ff16411534eebe3fee84369b4033c80449140f30 icons/icon-180.png
e5ea817f5b006dcfb423879682bae2e77d2fb7d75a0509d92b0ace5e01ee0dd3 icons/icon-192.png
4d2dc43b4d9bc30391084af332c748512aae63023402132e84100fb77befc193 icons/icon-32.png
4168d4066dd101d3b17e70541ff641b6dfedf5302807efeb6dc69c8d079da444 icons/icon-48.png
b7971a12dc9a81283376c89f39ee8c5bd376bab75f107b88ff0918b6d369eae9 icons/icon-512.png
4484a6e4758a977c61069a6e9801a98312f4f9659039c733f6c6c2d22b78acc0 lockup-endorsed.svg
7a9f296a5813dbf19f976596e1249b2aec8351f36a807065e8aa931c3e8dac4d lockup.svg
4634d883db167993fd013b1c4ecf3fd7e7ae1535045f3c960ab31b80f4559e72 maskable-192.png
03eca669bd62cfc1b1c7b946ae80fcebc6497bee86417749c8fa7e0f0b39f540 maskable-512.png
6b6acc88be7d462a090680e39762a5fcf6af7b93e1e9ea223352894e51f6f1ed og.png
e5ea817f5b006dcfb423879682bae2e77d2fb7d75a0509d92b0ace5e01ee0dd3 pwa-192.png
b7971a12dc9a81283376c89f39ee8c5bd376bab75f107b88ff0918b6d369eae9 pwa-512.png
0866d21631c3670c8d0175f12041ad2c0efb7f05b81574a8de416fffdcb9ca4e readme-header.png
27a520d8daf6752076ac90d52b611034af0d2e29a8167e3e1ef7d4f0246b52e9 wordmark.svg
2 changes: 1 addition & 1 deletion docs/assets/brand/project-lockup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/assets/brand/project-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/brand/readme-header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 13 additions & 13 deletions scripts/check-brand-assets.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,28 @@ const normalizedTextHash = async (file) => createHash('sha256')
.digest('hex')

const assets = {
'docs/assets/brand/project-mark.svg': 'db727c53441d059a57d3de4b1201a3681b71b57b9e1854d32881617caa57d236',
'docs/assets/brand/project-lockup.svg': '513474611e05d422c63b15d0de3561435fc6b23b135ba1f7831c75bd7e634b5a',
'docs/assets/brand/readme-header.png': '7abcef4d8a4a2d58cba15cec977d86a46ff96970700b9cce2ca47f67814ee76f',
'site/favicon.svg': 'db727c53441d059a57d3de4b1201a3681b71b57b9e1854d32881617caa57d236',
'site/favicon.ico': '22bbfcdf8fd518251f5d8ecc8aa8b4398a4e795d2eb3b087af5221f90c0f6b7b',
'site/apple-touch-icon.png': '262bdf7d2028fd50c95876ff1ffebe83c44ac75b8476f7ab399e106adf56e6e4',
'site/og.png': '96fb0eebc5da137e1a99bc3f58ef6f568f13eede79778f0e0a1b56ab143a304b',
'site/project-mark-color.svg': 'db727c53441d059a57d3de4b1201a3681b71b57b9e1854d32881617caa57d236',
'site/project-mark-reversed.svg': '0d68b20d404b13618b97170d700f07d60e78a072db6e9553df964b7b0a85593f',
'docs/assets/brand/project-mark.svg': 'c37aff9f978c72c9ee2b87ef48da4fef3ce93b8f52e6ad50356270a29d27f876',
'docs/assets/brand/project-lockup.svg': '4484a6e4758a977c61069a6e9801a98312f4f9659039c733f6c6c2d22b78acc0',
'docs/assets/brand/readme-header.png': '0866d21631c3670c8d0175f12041ad2c0efb7f05b81574a8de416fffdcb9ca4e',
'site/favicon.svg': 'c37aff9f978c72c9ee2b87ef48da4fef3ce93b8f52e6ad50356270a29d27f876',
'site/favicon.ico': '2e2f07ad236cb667d55c2217e906fdaefde1a7733cad0409f7c865257f1790f5',
'site/apple-touch-icon.png': '56d46296c69749fe7cf18c72ff16411534eebe3fee84369b4033c80449140f30',
'site/og.png': '6b6acc88be7d462a090680e39762a5fcf6af7b93e1e9ea223352894e51f6f1ed',
'site/project-mark-color.svg': 'c37aff9f978c72c9ee2b87ef48da4fef3ce93b8f52e6ad50356270a29d27f876',
'site/project-mark-reversed.svg': '66ccdf0c912e78bacabeaffdb941e08babb31a22e9841428e01f30e4093fea99',
}

for (const [file, expected] of Object.entries(assets)) {
assert.equal(await hash(file), expected, `${file} must be the approved O04 asset`)
}

const checksumFile = 'docs/assets/brand/checksums.txt'
assert.equal(await normalizedTextHash(checksumFile), '82b477d3da36c335e5c189ea0af1626d164eeaa43e061997fb846d09e7ed685d', 'vendored O04 checksums.txt must remain exact across line-ending policies')
assert.equal(await normalizedTextHash(checksumFile), 'b8cab1b4a7565c9753652e3330e980b0fa97f76b13c01f0944acd78c3996e24a', 'vendored O04 checksums.txt must remain exact across line-ending policies')
const checksums = await read(checksumFile)
for (const [asset, expected] of Object.entries({
'glyph-color.svg': 'db727c53441d059a57d3de4b1201a3681b71b57b9e1854d32881617caa57d236',
'lockup-endorsed.svg': '513474611e05d422c63b15d0de3561435fc6b23b135ba1f7831c75bd7e634b5a',
'readme-header.png': '7abcef4d8a4a2d58cba15cec977d86a46ff96970700b9cce2ca47f67814ee76f',
'glyph-color.svg': 'c37aff9f978c72c9ee2b87ef48da4fef3ce93b8f52e6ad50356270a29d27f876',
'lockup-endorsed.svg': '4484a6e4758a977c61069a6e9801a98312f4f9659039c733f6c6c2d22b78acc0',
'readme-header.png': '0866d21631c3670c8d0175f12041ad2c0efb7f05b81574a8de416fffdcb9ca4e',
})) {
assert.match(checksums, new RegExp(`${expected} ${asset}`), `checksums.txt must declare ${asset}`)
}
Expand Down
Binary file modified site/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion site/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion site/project-lockup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion site/project-mark-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion site/project-mark-reversed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.