Metadata-Version: 2.4
Name: splent_feature_skin_store
Version: 0.3.0
Requires-Python: >=3.13
Description-Content-Type: text/markdown

# 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:

```bash
splent feature:install splent-io/splent_feature_skin_store
```

## Tests

```bash
splent feature:test skin_store
```
