PluginProbe
OpenStation: Desktop Windows, Dock & Virtual Desktops for WP Admin / 1.1.1
OpenStation: Desktop Windows, Dock & Virtual Desktops for WP Admin v1.1.1
1.1.10 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.1 1.0.0 0.9.8 0.9.7 0.9.6 0.9.4 0.9.5 0.9.3 0.9.2 0.9.1 0.9.0 0.8.9 0.8.8 0.8.7 All 34 releases
desktop-mode / includes / desktop-themes / bootstrap.php

bootstrap.php in OpenStation: Desktop Windows, Dock & Virtual Desktops for WP Admin 1.1.1, at includes/desktop-themes/bootstrap.php

39 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * OpenStation — Desktop Themes module bootstrap.
4 *
5 * A **desktop theme** reskins the whole shell at once: every
6 * `--os-*` design token, the title-bar / dock / desktop
7 * textures, the window frame + per-corner images, and a complete
8 * iconset (including the window control glyphs). Themes arrive as a
9 * ZIP containing a `theme.json` manifest plus images — never CSS,
10 * never JS. PHP validates the manifest and *compiles* a stylesheet
11 * of custom-property declarations from it, so nothing an author
12 * writes is ever executed or echoed into a `<style>` verbatim.
13 *
14 * Deliberately named "desktop theme" everywhere
15 * (`openstation_desktop_theme*`, `serverDesktopThemes`,
16 * `src/desktop-themes/`) — never bare "theme" — because the plugin
17 * already has per-window "window themes"
18 * (`includes/window-chrome.php`) and the two are different features.
19 *
20 * Library is site-wide; upload is gated on `manage_options`
21 * (filterable); activation is per-user via the `desktopTheme` key in
22 * the existing `desktop_mode_os_settings` user meta.
23 *
24 * @package OpenStation
25 */
26
27 defined( 'ABSPATH' ) || exit;
28
29 require_once OPENSTATION_DIR . 'includes/desktop-themes/store.php';
30 require_once OPENSTATION_DIR . 'includes/desktop-themes/manifest.php';
31 require_once OPENSTATION_DIR . 'includes/desktop-themes/compile.php';
32 require_once OPENSTATION_DIR . 'includes/desktop-themes/install.php';
33 require_once OPENSTATION_DIR . 'includes/desktop-themes/registry.php';
34 require_once OPENSTATION_DIR . 'includes/desktop-themes/rest.php';
35 require_once OPENSTATION_DIR . 'includes/desktop-themes/assets.php';
36 require_once OPENSTATION_DIR . 'includes/desktop-themes/wallpapers.php';
37 // After registry.php — it registers through that file's public API.
38 require_once OPENSTATION_DIR . 'includes/desktop-themes/builtin.php';
39