Skip to content

Commit 745d1e5

Browse files
authored
feat: assets CDN links (#582)
* feat: assets CDN links * chore: mention that using our CDN is okay * feat: add a basic backdrop for themed images
1 parent bcbba59 commit 745d1e5

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

src/content/docs/misc/assets.md

+31-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,26 @@ description: The official PaperMC and Velocity logomarks and the terms under whi
44
slug: misc/assets
55
---
66

7+
<style>
8+
:root[data-theme="dark"] {
9+
--image-backdrop-light: var(--sl-color-white);
10+
}
11+
:root[data-theme="light"] {
12+
--image-backdrop-dark: var(--sl-color-white);
13+
}
14+
table td {
15+
vertical-align: middle;
16+
}
17+
table img {
18+
width: 12rem !important;
19+
}
20+
</style>
21+
722
This page provides the official PaperMC and Velocity logomarks and the terms under which you may use them.
823

24+
Images on this page are available through our CDN, and using the provided URLs is encouraged (but not necessary)
25+
when referencing these assets in your projects, as long as you adhere to the usage guidelines outlined below.
26+
927
:::caution
1028

1129
The logomarks are subject to their own separate licensing terms and do not inherit any from the
@@ -34,7 +52,13 @@ You may not:
3452
- Sell the PaperMC logomark on its own or as part of other products without explicit permission.
3553
- Alter the transparency of any elements within the PaperMC logomark.
3654

37-
<span style="display: flex; width: min(100%, 24rem);">![PaperMC logomark](https://assets.papermc.io/brand/papermc_logo.min.svg)</span>
55+
| Image | URL |
56+
|----------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|
57+
| <div style="background-color: var(--image-backdrop-light);">![](https://assets.papermc.io/brand/papermc_combination_mark_dark.min.svg)</div> | `https://assets.papermc.io/brand/papermc_combination_mark_dark.min.svg` |
58+
| <div style="background-color: var(--image-backdrop-dark);">![](https://assets.papermc.io/brand/papermc_combination_mark_light.min.svg)</div> | `https://assets.papermc.io/brand/papermc_combination_mark_light.min.svg` |
59+
| ![](https://assets.papermc.io/brand/papermc_logo.min.svg) | `https://assets.papermc.io/brand/papermc_logo.min.svg` |
60+
| ![](https://assets.papermc.io/brand/papermc_logo.256.png) | `https://assets.papermc.io/brand/papermc_logo.256.png` |
61+
| ![](https://assets.papermc.io/brand/papermc_logo.512.png) | `https://assets.papermc.io/brand/papermc_logo.512.png` |
3862

3963
## Velocity
4064

@@ -46,4 +70,9 @@ endorses some product or service. For instance, you may advertise a plugin as be
4670
compatible with Velocity, but you may not make the Velocity logo prominent in that
4771
advertising.
4872

49-
<span style="display: flex; width: min(100%, 24rem);">![Velocity logomark](https://assets.papermc.io/brand/velocity_logo_blue.min.svg)</span>
73+
| Image | URL |
74+
|-----------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|
75+
| ![](https://assets.papermc.io/brand/velocity_combination_mark_blue.min.svg) | `https://assets.papermc.io/brand/velocity_combination_mark_blue.min.svg` |
76+
| <div style="background-color: var(--image-backdrop-dark);">![](https://assets.papermc.io/brand/velocity_combination_mark_white.min.svg)</div> | `https://assets.papermc.io/brand/velocity_combination_mark_white.min.svg` |
77+
| ![](https://assets.papermc.io/brand/velocity_logo_blue.min.svg) | `https://assets.papermc.io/brand/velocity_logo_blue.min.svg` |
78+
| <div style="background-color: var(--image-backdrop-dark);">![](https://assets.papermc.io/brand/velocity_logo_white.min.svg)</div> | `https://assets.papermc.io/brand/velocity_logo_white.min.svg` |

0 commit comments

Comments
 (0)