# Workshop art Everything here follows the Blax CI from https://www.blax.at/ui-ci and matches Blax Slaves' art, so the mods read as one label: Blax black `#050805`, Blax green `#19C63C`, logo gray `#CDCDCD`, Geist for headings, Inter for body text, Rajdhani only for the "Blax Gaming" wordmark. The fonts are the woff2 files blax.at self-hosts (SIL Open Font License); icons are lucide (ISC license, fetched from `https://api.iconify.design/lucide/.svg`). | File | Renders | |---|---| | `preview.html` | `About/Preview.png`, 1280x720 (keep it under 1 MB) | | `icon.html` + `icon.svg` | `About/ModIcon.png`, 256x256, transparent | | `header.html` | the Workshop section headers in `docs/art/steam/`, 1270x150 (Steam shows them at half size) | | `oss-banner.html` | `docs/art/blax-oss-banner.png` from `docs/art/blax-oss-banner.svg`, 1600x254 | | `blax-monogram.svg`, `monogram-centered.svg` | the Blax monogram, used by the preview and the headers | | `fonts/` | `geist.woff2`, `inter.woff2`, `rajdhani-700.woff2` | The preview has Slaves' layout: wordmark top left, "Blax Castes" with "for RimWorld 1.7" and a two-line lede on the left, four feature rows on the right (policy bundles, set on join, members follow, caste column). The icon is the Blax monogram with a green "layers" badge, so it stands apart from Blax Slaves' plain monogram in the mod list. The badge glyph is 72 px wide at 256 px, so it still reads at the 32 px RimWorld draws mod icons at in the mod settings list. ## Render Run from this folder in PowerShell. The separate profile folder keeps the headless run away from an open Edge window and from other renders running at the same time, and `| Out-Null` waits for each screenshot. ```powershell $edge = 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe' $here = (Get-Location).Path -replace '\\','/' $edgeData = "$env:TEMP\blax-art-edge-castes" & $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1280,720 --screenshot="$PWD\..\..\About\Preview.png" "file:///$here/preview.html" | Out-Null & $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=2000 --window-size=256,256 --default-background-color=00000000 --screenshot="$PWD\..\..\About\ModIcon.png" "file:///$here/icon.html" | Out-Null & $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1600,254 --screenshot="$PWD\..\..\docs\art\blax-oss-banner.png" "file:///$here/oss-banner.html" | Out-Null ``` `header.html` takes the title (`t`), subtitle (`s`) and lucide icon name (`i`) as query parameters; the icon has to be in the `icons` map inside the file. | PNG | `t` | `s` | `i` | |---|---|---|---| | `castes.png` | Castes | Policies, schedule and work in one bundle | `layers` | | `joins.png` | Join defaults | The right caste the moment a pawn joins | `user-plus` | | `assign.png` | Caste column | In the Assign, Schedule and Work tabs | `table-2` | | `planned.png` | Planned | Coming in later releases | `milestone` | | `replaces.png` | Replaces | Mods and options you no longer need | `replace` | | `compatibility.png` | Compatibility | Plays well with these | `puzzle` | ```powershell $headers = @( @('castes', 't=Castes&s=Policies%2C%20schedule%20and%20work%20in%20one%20bundle&i=layers'), @('joins', 't=Join%20defaults&s=The%20right%20caste%20the%20moment%20a%20pawn%20joins&i=user-plus'), @('assign', 't=Caste%20column&s=In%20the%20Assign%2C%20Schedule%20and%20Work%20tabs&i=table-2'), @('planned', 't=Planned&s=Coming%20in%20later%20releases&i=milestone'), @('replaces', 't=Replaces&s=Mods%20and%20options%20you%20no%20longer%20need&i=replace'), @('compatibility', 't=Compatibility&s=Plays%20well%20with%20these&i=puzzle') ) foreach ($h in $headers) { & $edge --headless=new --disable-gpu --hide-scrollbars --user-data-dir="$edgeData" --virtual-time-budget=3000 --window-size=1270,150 --screenshot="$PWD\..\..\docs\art\steam\$($h[0]).png" "file:///$here/header.html?$($h[1])" | Out-Null } ``` Check the size and pixel dimensions afterwards: ```powershell Add-Type -AssemblyName System.Drawing Get-ChildItem ..\..\About\*.png, ..\..\docs\art\*.png, ..\..\docs\art\steam\*.png | ForEach-Object { $img = [System.Drawing.Image]::FromFile($_.FullName); "{0} {1}x{2} {3} bytes" -f $_.Name, $img.Width, $img.Height, $_.Length; $img.Dispose() } ``` ## CDN The Workshop description (`docs/workshop-description.txt`) loads its images from the Blax CDN, `https://cdn.blax.at/blax-gaming/castes/.png`, and the shared banner from `https://cdn.blax.at/blax-gaming/blax-oss-banner.png`. Steam requests description images cross-origin, and only the CDN answers with `Access-Control-Allow-Origin`; Forgejo's raw URLs show as broken images. After re-rendering, copy the PNGs in `docs/art/steam/` to `blax-gaming/castes/` on the CDN; the upload steps are in Blax's internal infrastructure docs. The banner is the same file Blax Slaves uses and is already there.