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