No description
  • CSS 64%
  • Python 36%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-08 16:34:25 +01:00
src A long default stays inside the configuration table; the skin requires theme 2026-11-08 16:23:44 +01:00
.gitignore fix: ship the compiled translations, so a released feature is actually translated 2026-07-30 18:15:09 +02:00
COPYING License under LGPL-3.0-or-later 2026-10-11 11:48:15 +02:00
COPYING.LESSER License under LGPL-3.0-or-later 2026-10-11 11:48:15 +02:00
MANIFEST.in fix: ship the compiled translations, so a released feature is actually translated 2026-07-30 18:15:09 +02:00
pyproject.toml chore: release splent_io/splent_feature_skin_store to v0.4.1 2026-11-08 16:34:25 +01:00
README.md fix: one account entry in the header, a store-style login, and nothing overflows a phone 2026-10-09 18:40:59 +02:00

splent_feature_skin_store

Storefront skin for the SPLENT marketplace product: an App Store × PyPI look built on the splent.io brand (light UI, ink navy headings, brand blue, sparing amber accents).

A skin in SPLENT is a light feature that layers aesthetics on top of the brand-agnostic theme: it sets the design tokens and registers one stylesheet that cascades last. All markup lives in the content features (marketplace, configurator); this feature only styles it.

What it provides

  • THEME_TOKENS (STORE_TOKENS): the splent.io palette shared with the landing page and docs — brand #1a73b2, ink #0a0f1a, amber #e9b71f, Inter type.
  • skin_store.css (asset order 200): storefront chrome — hero, search, cards, detail sheet, terminal snippets, configurator states, collapsible SPL rows.
  • One account entry at the far right of the public header (layout.nav.end hook). Anonymous visitors get "Log in". Signed-in readers get an "Account" menu built from what the product installs: My account, API tokens (when apikeys is installed), Admin panel (only for a role the admin feature lets into its dashboard) and Log out. It takes over auth's own header link, so there is never a second one, and follows auth's "Log in link in the header" setting (AUTH_NAV_LOGIN, or Settings > Access). Soft against products without auth.
  • A store look for auth's sign-in page when the product renders it in the public shell (AUTH_LOGIN_LAYOUT = "public_base.html" in the product's [tool.splent.config]): a centred card, store buttons and alerts.
  • Suppression of the CMS admin toolbar, which belongs to wp-admin-style products and not a public storefront (framework hook-override seam plus a CSS belt).

Usage

Select it in a product derived from marketplace_spl (optional feature skin_store), or install it directly:

splent feature:install splent-io/splent_feature_skin_store

Tests

splent feature:test skin_store