Skip to content
Developer Portal

YOUR EDITOR. YOUR STYLE.

Build an ALTARA theme.

Write CSS for the real app surfaces. Keep your source files on your computer, test your package in ALTARA, then share a version with the community.

01 / SOURCE

Two files to make your theme.

Extract the source kit and open it in your code editor. Change metadata.json for the name, version and description; change theme.css for the appearance. The kit includes the same local validator ALTARA uses, its license notices and a ready-to-import example. No package installation is needed; the command tool needs Node.js 22 or later.

metadata.json

{
  "format": "altara-theme",
  "apiVersion": 2,
  "name": "My ALTARA theme",
  "author": "Your display name",
  "version": "1.0.0",
  "description": "Soft surfaces and my own accent."
}

theme.css

:root {
  --my-accent: #a9ccff;
  --my-surface: rgba(24, 33, 44, .72);
}
.app {
  --altara-accent: var(--my-accent);
  --ui-primary-bg: var(--my-accent);
  --altara-widget-accent: var(--my-accent);
  --altara-widget-surface: var(--my-surface);
  --altara-widget-input: #141d29;
  --altara-widget-text: #edf4ff;
  --altara-widget-muted: #afbfce;
  --altara-widget-radius: 18px;
  --altara-widget-spacing: 16px;
  --altara-widget-blur: 12px;
}
[data-theme-slot="widget-card"] {
  background-color: var(--my-surface);
  border: 1px solid rgba(210, 230, 255, .16);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}
@media (prefers-reduced-transparency: reduce) {
  [data-theme-slot="widget-card"] {
    background-color: #18212c;
    backdrop-filter: none;
  }
}

The author field is a display label. When you publish, the website uses the owner of your signed-in project as the verified creator.

02 / APPEARANCE

Style what the app actually supports.

Use ordinary CSS, custom properties, local font stacks, spacing, sizes, borders and materials for the appearance. API 2 also supports a native-region plan for the whole app shell: choose a side rail, horizontal server header, profile placement or a mirrored arrangement. Apply transparency to backgrounds so text and icons stay readable. A design inspired by another app changes ALTARA's presentation; it does not create that app's features or promise identical behavior.

What you want to changeStart here
Colors and typography.app, --altara-accent, --altara-text, --altara-text-muted
App panels and structure.app, .panel.left, .panel.mid, .panel.right
Server navigation and folders.leftDockGroups, #leftGroupsRail, .groupOrbFolderStack
Your profile and audio controls#meProfileCard, .meControls; keep #voiceMiniDockSlot reachable
Widget cards and spacing[data-theme-slot="widget-card"], widget-title, widget-grid
Conversation surfaces.dmHeader, .dmComposer, #dmMain, #botDmMain
Native Home compositionhome-hero, home-servers, home-messages, home-focus

Use the full attribute selector for each slot, for example [data-theme-slot="home-focus"]. Home slots appear when the corresponding native presentation is active.

Arrange seven native regions.

Requires ALTARA 0.1.157 or later. Put these four custom properties together in one :root rule. New examples use API 2; the same CSS-only contract works in supported API 1 packages within their size limits. ALTARA validates the complete plan and its own bridge places the existing regions. You choose their positions, rectangular spans and tracks; the app keeps the original nodes, actions, data, keyboard controls, server folders, drag/drop and voice state.

:root {
  --altara-shell-layout: regions-v1;
  --altara-shell-areas:
    "search servers profile"
    "navigation main context"
    "voice main context";
  --altara-shell-columns: navigation content context;
  --altara-shell-rows: header content voice;
}

@media (min-width: 800px) and (max-width: 1199px) {
  :root {
    --altara-shell-layout: regions-v1;
    --altara-shell-areas:
      "search servers profile"
      "navigation main context"
      "voice main context";
    --altara-shell-columns: 220px content 220px;
    --altara-shell-rows: header content voice;
  }
}

/* Keep base colors usable on clients without this capability. */
.app[data-altara-shell-layout="regions-v1"] #leftGroupsRail {
  gap: 8px;
}
RegionWhat stays native
serversServer rail, folders, creation and navigation
searchSearch control
navigationFriends, DMs or server channels
mainHome, conversation or selected main view
contextActive friends, members or the current side panel
profileYour profile, status, audio and settings controls
voiceVoice mini dock when a call is active

Every plan must contain all seven names, with each forming a rectangle. Include an unconditional base plan and at most 16 complete plans in total. Use 1–6 rows and columns, matching the track counts to the quoted matrix; . may mark an empty cell. Tracks accept the semantic tokens rail navigation content context controls header voice auto, pixels from 40px to 640px, or fractions from 0.25fr to 4fr. Prefer semantic tracks where native sidebar preferences and resizing should determine the size. No var(), calc() or internal host variables in these four fields.

ALTARA enforces usable region minima, including during native resizing: at least 240 × 240px for main, 220 × 64px for profile and 72 × 72px for servers. A small pixel or fraction request cannot shrink them below those limits. The host can enlarge constrained tracks, use its compact arrangement or scroll when the available space cannot fit the requested composition.

A width @media override must contain another complete four-property :root plan, for example inside @media (min-width: 1280px). Width conditions accept pixel values from 0 to 16384. At 760px and below, ALTARA uses a host-owned compact arrangement instead of the desktop matrix. Native collapse, drawer and context visibility remain authoritative; a plan cannot force an inactive panel or call to appear. Authentication, protected settings and sensitive decisions can temporarily return to the native composition. Window controls retain their reserved space.

The host can also choose its compact arrangement if a desktop plan and the current sidebar preferences leave too little usable room. The complete 800–1199px variant above requests 220px side regions instead. Test such variants with real content; a valid matrix is not proof that every size fits.

Use .app[data-altara-shell-layout="regions-v1"] to gate structural decoration; the host owns that marker and the effective --altara-native-shell-active state. Do not set them yourself, reparent nodes, use display: contents, or recreate the shell with fixed/absolute overlays. Older clients keep the normal layout and your ordinary color/surface styling. The official builder rejects invalid plans before writing; if a plan cannot be used at runtime, the host keeps or restores its own composition.

The source kit contains three original examples under examples/community-themes/shell-regions: a Discord-inspired lateral rail, a Root-inspired horizontal header and a mirrored custom plan. They illustrate composition, not copied assets or replacement product features. The JSON layout field described below remains a separate choice of native Home presenter.

Themes cannot supply arbitrary HTML, run JavaScript, add product features or replace native actions. Isolated widget contents and protected native decisions keep their own boundaries. Test the built package with normal and reduced motion; the host suspends native panel entry animations while a community theme is active, but author-created transforms and filters still need care.

For styling changes, prefer the native widget columns. If you change their count, set --widgets-cols to the same whole number (1–12) as grid-template-columns, including at each responsive breakpoint. ALTARA uses that count when placing and resizing cards. Preserve the user's saved order, sizes and widget data; do not clear them to make a theme fit.

.widgetsGrid { --widgets-cols: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr)); }

Define --altara-widget-* values once on .app to give native and community widgets a common palette, controls, typography and material. New supported widgets inherit that appearance; you do not write a rule for every widget. Changing the theme updates styling in place and preserves widget actions and data.

Standard HTML adapts automatically, including installed fixed HTML releases with older SDKs. Widget creators mark custom surfaces with data-altara-widget-role or use the shared altara.appearance API once for canvas charts and custom components. Images and arbitrary graphics keep their content. Live external development widgets need the current SDK.

Leave layout out to keep the normal Home. API 2 can request "layout": "dashboard" or "layout": "glass-home" in the metadata. This field selects only existing native Home presentations with real app data and actions; it is not a general shell-placement API. CSS can arrange existing regions and Home slots responsively while preserving the user's saved widget records.

For glass, start with translucent backgrounds and backdrop-filter: blur(12px). API 2 also supports theme-filter(liquid-glass), ALTARA's fixed native material. Include reduced transparency and motion alternatives; appearance varies with the background and browser.

API 2 accepts validated embedded PNG, JPEG or WebP images. Reference an asset with theme-asset(asset-name); external image and font URLs are blocked. Use local font stacks such as "Segoe UI", system-ui, sans-serif.

03 / PACKAGE

Build a portable theme file.

From the extracted kit folder, run these commands. The tool validates before writing and prints the package version, size and SHA-256. It refuses to overwrite an existing output: use a new filename after edits.

node scripts/theme-package.mjs --build metadata.json theme.css my-theme-1.0.0.altara-theme.json
node scripts/theme-package.mjs --check my-theme-1.0.0.altara-theme.json

The result is a single UTF-8 .altara-theme.json file containing your metadata, CSS and optional embedded assets. Do not upload the source ZIP. You can also edit the ready-made JSON starter directly; uploading a JSON package to My theme projects validates it without needing the command tool.

04 / TEST

Import first. Activate when ready.

  1. In ALTARA, open Settings → Appearance → Community themes → Import theme.
  2. Select the built .altara-theme.json. It is validated and added to your local library; importing does not activate it.
  3. Choose Activate on its card. On desktop you can also copy packages into the account's theme folder shown in Appearance.
  4. Check Home, human and bot chats, menus, long names, narrow windows, keyboard focus and accessibility preferences.

Deactivate from Appearance to return to the base appearance. If your CSS makes navigation unusable, Ctrl+Alt+Shift+T removes the active styling independently of the layout. Keep an editable source copy outside the theme folder.

The browser app keeps a browser-local library; it does not read your desktop folder. Imported copies stay on your device and do not change when a creator publishes a newer release.

The isolated preview uses fictional navigation, profile and conversation data. It does not exercise your account or prove that startup animations, calls, folders and every window size work. Before publishing, test the built package in ALTARA:

  • Start the app with normal motion and again with reduced motion; check both the initial and settled layout. Keep the real bootstrap and its body classes. A fixture forced into a motion-off state does not cover normal startup.
  • Reopen the app and Appearance, deactivate and reactivate, resize the window and collapse or expand both sidebars. Check every authored breakpoint and the native compact fallback at 760px and below. Exercise actual sidebar resizing and saved preferences, long names, menus, keyboard focus, desktop window controls and the complete composer.
  • Check the server rail with no memberships, during loading and when memberships arrive after startup. Keep native navigation and creation controls reachable; exercise drag/drop, folders, reverse/RTL flows and tooltips.
  • Check Home, human and bot chats, server channels and an active voice mini dock. Verify that deactivation and Ctrl+Alt+Shift+T restore the base composition without changing messages or widget records.

Protected native dialogs temporarily restore the native appearance so theme styling cannot change the decision you are making. Test those decisions in the app as well.

05 / COMMUNITY

A private draft becomes a public release.

  1. Open My theme projects and sign in with your normal ALTARA account. No ALTARA+ is required.
  2. Upload the built JSON package. Check its validation result and use Preview package; the preview uses fictional data in an isolated frame.
  3. Choose Save private draft; only your account can edit it.
  4. Choose Publish version…. Select Free or One-time purchase; for a paid theme, enter the EUR price and complete Set up Stripe seller account if shown. Add a presentation image and release notes, review the version, price and your publishing rights, then choose Publish version.
  5. The listing appears in Themes. Free packages can be downloaded. A paid package is delivered only to its creator or an account with access; other visitors see the listing and screenshots.

For an update, edit the source, increase version, build a new file and use Replace draft package in the same project. Publishing creates a new immutable release; an earlier version's bytes do not change. Downloads and activation remain separate choices.

If publication or the catalogue is unavailable, keep your local files and retry later. A failed upload or publication must not be treated as a successful release.

Publish a paid theme without a public copy.

Keep your complete CSS, images, JSON package and source repository on your computer or in private storage. Upload the finished .altara-theme.json directly to ALTARA. A free version or working demo is not required. Public screenshots and listing details explain what buyers receive.

Do not upload the paid package to a public GitHub repository, Pages site, release or preview. Deleting a public file later does not remove repository history, old deployments, caches or copies. Sharing your ALTARA listing does not transfer a purchase to another account.

Paid theme sales require enabled ALTARA payments and a verified Stripe seller account in a supported country. Use your real country in the seller setup. An existing eligible ALTARA seller account is reused. Review the supported-country list and status in the portal; free publication does not require Stripe.

The buyer signs in, checks the price and purchase notices, and completes Stripe Checkout. A confirmed purchase gives that account access to the same theme project and its later published versions. Buying does not install or apply CSS. On the listing, choose Install, then Open ALTARA. In Settings → Appearance → Community themes, choose Activate on the installed theme. The creator can install their own paid theme without buying it.

Paid account themes retain their project and purchase binding. They are not automatically exported to the editable theme folder, and the normal library export and edit controls do not detach them into local files. The browser must receive CSS and images to render a theme, so an authorised buyer can still copy delivered content. ALTARA does not promise copy-proof browser DRM.

Keep the project. Publish a new version.

For an update, edit the source, increase version, build a new complete JSON file and replace the private draft in the existing project. Include useful release notes and review the price before publishing. Each release keeps its own immutable bytes and price. Updating a GitHub file alone does not publish an ALTARA release.

Existing buyers do not pay again for later versions of the same project. A separate project or another creator does not inherit the purchase. Account-library users review the new version and explicitly accept the update; their current version remains selected until they choose otherwise. A free local file copy does not update automatically.

For an account theme, open Settings → Appearance → Community themes → My account themes and choose Review v… on its card. Read the notes, use Preview update, tick the update confirmation and choose Accept update. Keep current version leaves your installed version in place. When accepted in ALTARA, an active theme stays active; an inactive theme remains inactive. For a local file, import the newer package and activate it separately.

Free themes also offer Install when signed in, for an installation linked to your account. Download theme followed by Import theme creates a local copy instead; importing alone does not create the account installation used for ratings and account updates.

People with an eligible account installation can rate the project from 1 to 5 stars. Open Details, rating & updates on its Appearance card, choose stars under Your rating and choose Save rating. They can later edit or remove their own rating. Creators cannot rate their own themes. Ratings are not a safety certification or a substitute for checking compatibility.

Know the fees and refund process before selling.

ALTARA takes a 5% commission. Stripe processing fees are separate and paid by the creator; a confirmed sale does not mean an instant payout to a bank. See the verified account's Stripe balance and payout schedule for availability.

Buyers can submit withdrawal within 14 days worldwide, including after installing or applying a theme. Applicable rights for faults, non-conformity or other remedies can be raised later. ALTARA does not monitor how long someone uses a theme to automatically reject a request.

In Buyer requests, the creator reviews the case and explicitly confirms the exact new amount with Approve and refund. ALTARA asks Stripe to return it to the original payment method and return the proportional ALTARA commission. Stripe's original processing fees may remain payable by the creator. A queued instruction or approval is not a completed refund; follow the recorded status and contact support if it needs verification instead of creating another refund.

A confirmed partial refund keeps theme access. A confirmed full refund ends paid access when no other valid purchase grants it, and the app deactivates the paid theme when it verifies that restriction. The library record is kept. Offline copies cannot be recalled instantly.

Read the complete theme withdrawal and refund policy →

06 / BOUNDARIES

Presentation belongs to the theme. Behavior belongs to ALTARA.

Themes cannot execute JavaScript, supply arbitrary HTML, add product actions, read messages or credentials, access Electron or grant permissions. Authentication, settings, confirmations, recording indicators and recovery stay under ALTARA's control. Styling may pause while sensitive native surfaces are open.

  • API 1 and 2 are supported. CSS is limited to 96 KiB. API 1 packages are limited to 128 KiB; API 2 to 1.5 MiB.
  • Images: static PNG/JPEG/WebP only; up to 512 KiB each, 1 MiB combined, 4096 px per side and 12 megapixels. SVG, GIF and animated images are rejected.
  • @import, @font-face, external URLs, generated text, arbitrary keyframes and animations are blocked. Transitions must have explicit durations up to two seconds.
  • Use :root only for custom properties. ALTARA parses and scopes accepted CSS; do not package already-compiled scoped CSS.

Read the complete package contract ↗ for all stable slots, native tokens, image rules, compatibility and examples.

07 / INSTALL WITH CARE

Validation reduces risk. It does not guarantee safety.

ALTARA themes are presentation packages: CSS, supported native layout options and validated embedded images. The importer rejects JavaScript, arbitrary HTML, external resource URLs and remote font imports. The preview is isolated and cannot run theme scripts. These protections limit what a package can do; they are not an antivirus scan or proof that a creator is trustworthy.

A theme can still make ordinary screens misleading or unreadable, hide controls or slow the app with costly visual effects. Bugs in the validator, ALTARA or the browser's image and rendering code also remain possible. Native authentication, settings, confirmations and recovery are protected from community styling, but no community package should be described as risk-free. Appearing in the catalogue is not a security certification.

  • Install a free or paid theme with your account, or download and import a free .altara-theme.json version. A theme does not require an .exe, shell script, browser extension or separate installer.
  • Do not provide passwords or account tokens, grant administrator access, disable antivirus or run terminal commands to activate a downloaded theme. Creators building their own source kit use the documented build tool; installing a finished theme does not need it.
  • Check the creator, description and screenshots, and preview before activating. Keep ALTARA and your browser updated. Review a new version before choosing to install it.
  • If the interface becomes suspicious or unusable, deactivate the theme in Settings → Appearance, or press Ctrl+Alt+Shift+T. If local storage fails, this shortcut removes styling for the current session; the saved selection may return on restart.
  • Report suspicious listings through Report on the theme's detail page. Reporting is separate from deactivating your local copy.

Widgets have a separate execution and permission model. A theme changing a widget's appearance does not grant new permissions; do not assume an executable community widget has the same restrictions as a CSS-only theme.