/tg/ Station 13 - Modules - Types

modular_aphelion/modules/meridian_ui/code/art_stylesheet.dm

/datum/asset/simple/art_stylesheetArt too big for tgui's bundle, which every window loads and the lobby inlines: textures and fonts sent as asset files, with a stylesheet written when the asset registers that names them by the URLs the asset transport gives them. Each texture becomes a custom property on scope, property_prefix and its file's name without the extension, and each font a face. A page loads the stylesheet as soon as it hears of it (loadMappings).
/datum/asset/simple/art_stylesheet/meridian_foundryFoundry's art, for every Foundry window and the lobby (--mt-<file name> on the theme): the forge markings room's cave, steel, wear and hide, its torches, its title and label faces, and the theme's own smoke (a portrait's arrival) and running text face.
/proc/meridian_theme_artReturns the art asset a MeridianOS theme draws with outside tgui's bundle, or null for a theme whose art is all in it.
/proc/deliver_meridian_theme_artHands a client its MeridianOS theme's art: the files first, waiting for them to arrive, then their stylesheet to its open windows and its lobby, which load it as they hear of it. For the lobby as it starts and for a theme picked while windows are open; a window that opens later gets the art with its other assets (/datum/tgui/send_assets()).