Galaxy Shell / docs
Docs / Interface and features

Ninja

docs/themes/ninja.md · Edit on GitHub ↗

On this page

Ninja

Doc status: current contract. Index page of the Ninja window theme, experimental. Checked 2026-11-13.

Ninja is the third window theme (uiTheme ninja), experimental until the owner accepts it: sober and industrial, floating islands of smoked glass over the blur of the compositor, corners cut at 45 degrees with a ring of accent color along the cut, one fixed palette and four photo ambiances of the wallpaper (window themes, and the plan in theme packs, section 6).

Parts

  • Palette: Grafite #1C1F24 surfaces on Fumaça #0E1116, Marfim #EAE7DD text, coral #FF7B72 for actions and amber #F2B84B for attention; the light mode keeps the geometry on #F7F5EF surfaces over #ECE9E1 with #1C1F24 text. The main accent (focus, selection, active) is the profile color, mint #4FE3C2 when none was chosen. The core writes the neutrals, --theme-accent-1..3, --theme-on-accent and the accent roles (themePaletteCSS of core/profile-color.js); a Matugen palette is not applied.

  • Top bar: three islands, each as wide as its content (workspaces and metrics; date, clock and notifications; tray, actions and status), in a 52 px bar strip. Every contextual action keeps its label and its key in its tooltip and accessible name.

  • Bottom bar: two islands (owner, 2026-11-13), the workspace tabs and the controls, both parallelograms whose ends slant by half their height; the tabs are parallelograms too, the active one filled with the main accent, and the controls end in two hatch stripes. On a compositor with capabilities.bottomBarAlphaGlass the glass follows the alpha of the bar (bottomIslands of core/ui-themes.js), so it shows only under the islands; an older one blurs the rectangle of the bar, gap included.

  • Frame part (ui/frame.jsx, host/panel-base.css): the cut, the ring, the title tab and the "///" hatch. The cut tokens are 0 in host/theme.css, so the same part is a plain box in Office and Galaxy, and the protected surfaces pin them.

  • Compositor (native/smithay/themes/ninja): the Fusuma switch, a flat slide of 160 ms with a 2 px line in the accent on the leading edge of the arriving workspace; the Shunshin close of 280 ms (the window sinks, lunges at the viewer split in two color ghosts with focus lines, is cut at 130 ms, and leaves a diagonal slash and four to six streaks in the accent with an edge in the text color). A close that starts within a third of a second of another draws no marks. The owner chose Shunshin over Issen and Zanzo after seeing it in the nested session (2026-11-13).

  • Wallpaper neoedo (host/wallpaper-neoedo.js): the photograph of the ambiance chosen in Settings and saved per theme in uiThemeAmbiance (Urbana, Shinjuku Gyoen by day; Natureza, Fuji over Chigasaki; Noturna, Tokyo Tower with rain; Hirosaki, cherry blossoms at night with petals), still under reduced motion. The files and their credits are in vendor/interface/host/wallpapers/ninja/ (ATTRIBUTION.md).

  • Application windows (visual_style, window shape chamfer): the compositor cuts the top-right corner by 14 px and the bottom-left one by 22 px, and draws a 2 px ring along the cut, from the accent of the application (mint or the profile color, coral or amber, stable per application) to the edge tone on the focused window, the edge tone alone on the others. The title tab and the hatch need custom window frames, a separate change.

Not yet in the theme

  • The display face (step 5c, after the owner approves a file).