Skip to content

Board Appearance and Panels

github-actions[bot] edited this page Oct 15, 2026 · 8 revisions

Board appearance and panels

Site-wide theme

Every board shows its own look. A board page (/<username> or /<username>/<slug>) displays that board’s saved theme family, light/dark mode, background, pattern, radius, and spacing, for its owner and for every visitor. Board Settings changes preview on the page instantly.

Home sets the app theme. Home uses the signed-in user’s saved Home appearance, and the other app pages (Settings, Insights, Sign In, and a profile without a public board) use that same saved Home appearance. Signed-out visitors see Berry on app pages.

SiteThemeService decides which look is active: a page holds its own look while open (a board’s appearance, or Home’s live preview) and releases it on leave; only the page that set the look can release it. Home and boards share the same appearance controls and atmosphere renderer.

SiteThemeService resolves the session and main-board preference; SiteNavigationComponent contains the common bottom bar, Account, Search, and About panels. Dedicated application pages use AppPageShellComponent; board pages project their board settings into the same navigation.

Board settings

Open the board-name button in the bottom toolbar. Theme, background color, pattern/intensity, light mode, widget radius, and widget spacing save automatically. Board name and URL save on blur or Enter. Reset to default also saves automatically; there are no settings Save/Cancel buttons. Failed saves keep the draft and offer Retry saving; successful-save feedback disappears automatically.

Six themes: Berry, Aero, Aqua, Omakase, Kiwi, and Valencia. Theme ids match the lowercase names (berry, aero, aqua, omakase, kiwi, valencia), as do their stylesheets in frontend/src/themes/<id>.css. Valencia, named after the classic 2012 Instagram filter, uses 2012 Instagram-inspired blue enamel chrome, silver photo panels, and charcoal camera controls. The Light switch controls light/dark mode independently. Nine background colors blend into the wallpaper, with darker tinting in dark mode. Patterns are None, Stars, Snow, Meteor, Rainfall, Sakura, Wave, Lava, and Bokeh. Clicking a selected animated pattern cycles its light/medium/heavy intensity; a ring around the selected pattern fills a third, two thirds, or all the way to show the level.

  • Stars draws on one canvas (star-atmosphere). Light boards get shimmering pearl stars; dark boards get a night sky with a Milky Way, soft bright stars, and shooting stars. Some stars, and the Milky Way, take the current theme's signature colors. It follows the theme and light/dark mode the page is showing.
  • Lava is a WebGL shader (lava-atmosphere). Light uses Berry's dock colors with a pearl glow, Medium the classic RGB look, and Heavy shades of the board color; blob size and warp drift slowly.

Values for both were tuned in the Pattern Lab prototype and live in star-sky.ts and lava-looks.ts. Visitors see saved appearance; writes remain owner/admin only.

The theme picker uses five previews in one row. Theme, color, and pattern labels reflect the hovered choice, then return to the selection. Reset to default is part of the shared appearance controls. Board switcher and red Delete board remain board-only tools. The switcher selects boards and sets the main board inside Board Settings. Switcher and delete-confirmation views keep the panel height and bottom action row, with their content centered.

Layout and panels

The footer keeps the brand's cyan Home, blue Search, and purple Account dots. Hover labels are removed. Home Settings, Account, Board Settings, Search, and About share a theme-specific panel surface. Toolbar settings and Search use a 12px gap from the footer; About centers in the viewport. Shared responsive tokens control panel width and padding. Content-specific dimensions remain explicit.

  • Sidebar: centered avatar placeholder, owner's display name, @username, placeholder Likes/Followers/Following, description, and optional website/social link. Edit/Save/Cancel live here only, with Save left and Cancel right. Empty links are hidden outside editing; the edit placeholder is “Link in bio.”
  • Search: bottom-left input, results above it, display name/@username left and Likes right. Likes are currently placeholders, not live social data.
  • Account: @username heading, transparent notification area with an empty state, then Insights, My Board, and Settings. Settings replaces the notification content with centered Settings and Sign Out buttons while retaining the action row and panel height. No board list here; notifications are a placeholder.
  • About: click BlueBerry at bottom right. Viewport-centered compact themed panel with abstract circular icon, Apple Garamond-first BlueBerry wordmark, Version 26.1, and disabled Contact/Legal placeholders. Apple Garamond is not bundled; serif fallbacks apply where unavailable.

CSS animations pause when the page is hidden. Meteor's canvas loop and the widget scroll-bounce animation also stop, then resume without catching up the hidden interval. Reduced motion gives Meteor a static frame with no idle rendering loop. Third-party embeds retain their own playback behavior.

Implementation: shared panel material in frontend/src/themes/panels.css plus each theme stylesheet; visibility lifecycle in frontend/src/app/services/page-activity.service.ts.

Fixed widget footprints

Saved layouts use whole-cell footprints: 1×1, 2×1, 3×1, 4×1, 1×2, 2×2, and 3×3. Grid cells are square; content scrolls or truncates inside its tile instead of growing the row. Four-column grids preserve the footprint when the viewport changes. Feed packing never changes widget dimensions.

Home widgets always show an owner avatar at the bottom-left. Hover/focus scales only that card subtly (1.025×), revealing name/@username next to the avatar and time with “ago” at the top-right. Heart, comment, and more icons stack vertically at the bottom-right; more is a report/hide placeholder. Owner details and controls use insets of 8, 10, 12, 16, and 20px for Corner levels 1–5, keeping square corners tight and round corners clear. Feed widget body text and link actions share this horizontal inset; title and media spacing remain unchanged. Action phrases and counts are absent; icons are placeholders. Neighbors never shrink or move, and grid slots/saved footprints remain unchanged. Touch devices show details without hover. Missing photos use a neutral avatar. User-board widgets do not have this treatment.

Editing

Edit in the left sidebar loads a consistent board/widget snapshot with its revision. Save submits the owner's display name, description, website, and widgets through PUT /api/board/{slug}/editor in one transaction. The display name belongs to the user; the description and website belong to the board. A stale revision returns HTTP 409 and retains drafts. Cancel and reopen the editor to load the latest version. Navigation and browser reload warn about unsaved changes.

Board Settings uses a separate automatic-save flow for board name, URL, and appearance. The board switcher in that panel changes boards and sets the main board after server acceptance. Existing writes advance the board revision.

Deletion requires owner/admin access and confirmation. The last board and main board are protected. Remove or replace the main selection before deleting that board. Archived route mappings do not block deletion. Failure keeps drafts; deleting the active board redirects to the main board or home fallback.

Styling ownership

  • themes/panels.css: shared panel surface, toolbar layout, content alignment, and action rows. Compact dialogs retain content-specific sizes.
  • themes/buttons.css: the common button foundation and hover/pressed behavior for both buttons and links, including icon sizing. Theme files provide interaction material tokens.
  • themes/controls.css: shared picker/danger tokens, browser-specific range geometry, input spacing, and quiet focus. Range material tokens live in the theme files; Berry retains its native slider.
  • themes/forms.css: shared authentication and settings form rows, sections, and status messages.
  • themes/surfaces.css: square-grid sizing shared by Home and Board; packing and editing remain local.
  • themes/chrome.css: shared toolbar, signature navigation dots, wordmark, and theme transition behavior.
  • themes/theme-previews.css: all five picker preview palettes; the appearance component owns preview geometry.
  • Theme files supply materials and intentional visual differences. Component styles own content-specific layouts. Account styles belong to SiteNavigation, rather than importing a Board page stylesheet.

All toolbar panels and compact dialogs use PanelBehaviorDirective for dismissal. Internal views preserve height and Escape returns to their main view before closing; busy confirmations stay open. Search uses ToolbarPanelAnchor for footer positioning and resize observation; About centers through CSS and fits short viewports. Avoid appending corrective rules: update the owning rule or theme token.

Frontend component boundaries

BoardPageComponent coordinates loading, draft state, permissions, and transactional saves. Its visible features live in BoardProfileComponent (profile fields and edit actions), BoardSettingsComponent (settings, switcher, confirmation, and footer tools), and WidgetEditorComponent (the shared new/existing widget form). Inputs and outputs keep these views separate from persistence.

IconComponent owns common navigation, action, reaction, and pattern SVGs. Labels belong to the surrounding button; the SVG is decorative. Unique artwork remains local. appearance-values.ts shares paper-color normalization, night tinting, and foreground contrast between Board and the site theme.

Routes use loadComponent so page code is fetched on demand. Board aliases retain their existing ordering and unsaved-edit guards.

Responsive layout and browser icons

themes/responsive.css owns viewport gutters, panel dimensions, touch targets, and proportional square-grid spacing. Four grid columns remain intact on phones. Touch inputs use 16px text to avoid focus zoom; signature navigation dots keep their artwork size inside larger targets. Short panels can scroll when the viewport cannot fit their controls. Aqua title insets follow the shared panel padding.

All browser icons live in frontend/public/favicons/. PNGs render the Apple Color Emoji 🍱 glyph directly; ICO contains 16px and 32px variants. The HTML uses absolute, versioned icon URLs so nested routes and stale icon caches do not point to the old artwork. Touch and manifest icons use the same bento artwork.

Valencia (originally released as Mustache) is enabled for boards and Home. V42 renamed the original theme ids (default → berry, frutiger-aero → aero, omahakase → omakase, lofi → valencia) in saved boards and Home appearances. The API (AppearanceRules.normalizeThemeFamily) and the frontend (normalizeThemeId) still accept the old ids and convert them, so stale tabs and cached data keep working. Its sixth preview remains on the same row; the preview grid follows the theme count. Its visual reference is the 2012 Instagram interface.

Corner, Gap, and active navigation icons

Corner offers five fixed levels: 6, 12, 24, 36, and 48px; the original first three levels are preserved. Gap retains 8, 16, and 24px. Both sliders show themed marks beneath their steps and save on release, so a continuous drag can cross intermediate levels without an in-flight save disabling the thumb. V36 expands board and Home corner validation/storage to five levels.

While Search or Account is open, only its navigation icon is visible; the other colored orb buttons remain available. Closing the panel restores normal hover/focus icon behavior.

  • Corner and Gap preview live while dragging; persistence runs on release so snapping through steps does not interrupt the drag.
  • Appearance toggles appear in this order: Blur, Gloss, Light, Motion. Blur and Light work today; Gloss and Motion are disabled placeholders.

Clone this wiki locally