salla-storefront-ui
Make a Salla app's STOREFRONT (the store) UI native — shopper-facing pages on the Twilight theme. Build from native `<salla-*>` web components driven by the Storefront JS SDK, inherit Twilight CSS tokens, use Salla Icons (`sicon-*`), match the page's spacing, write Arabic-first/RTL, and verify with a LIVE screenshot on an installed demo store (`url`). Use when a snippet draws visible UI. Injection recipe → salla-snippets. Embedded/dashboard UI → salla-embedded-ui.
How do I install this agent skill?
npx skills add https://github.com/sallaapp/salla-partners-agent-kit --skill salla-storefront-uiIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides comprehensive guidelines for building native user interfaces for Salla storefronts using the Twilight theme framework. It emphasizes the use of official web components, theme tokens, and Arabic-first design. All referenced external resources are official vendor documentation.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Salla Storefront UI
Native look-and-feel for the storefront (the store — shopper-facing pages, Twilight theme). This skill owns native styling only; it injects nothing itself — the storefront-snippet injection recipe lives in salla-snippets. "It renders" is not the bar.
Embedded/dashboard UI is a different design system → salla-embedded-ui.
Build it native
- Prefer native UI Components — build visible UI from Twilight
<salla-*>web components (e.g.salla-button,salla-modal,salla-rating-stars,salla-products-slider) driven by the Storefront JS SDK, rather than hand-rolled HTML; they inherit theme tokens, RTL, and locale automatically. Component families + the storefront-snippet injection recipe → salla-snippets. UI Components docs: https://docs.salla.dev/422688m0.md. - Inherit theme tokens — style from Twilight CSS variables:
--color-primary,--color-text,--font-main, and the spacing/radius vars. Use literal fonts, colors, borders, and shadows only as fallbacks. - Salla Icons — use
sicon-*classes. Twilight themes inject the Twilight SDK into every storefront page and load the Salla Icons font, so it is available without bundling it yourself. - Match the product page — adopt the surrounding spacing/density and insert next to the relevant element, inline in the layout.
- RTL + locale — most stores are Arabic/RTL. Honor
dir/lang, mirror the layout, and write copy Arabic-first.
Docs: theme https://docs.salla.dev/421877m0.md · Twilight JS SDK (theme engine injects the SDK; themes load Salla Icons) https://docs.salla.dev/422610m0.md · CSS variables https://docs.salla.dev/421945m0.md · Salla Icons https://docs.salla.dev/422550m0.md · single product page https://docs.salla.dev/422561m0.md
Gate: "UI built from Twilight <salla-*> components + sicon-* icons inheriting theme tokens (literals only as fallback), Arabic-first/RTL — not hand-rolled HTML with hardcoded colors?"
Verify LIVE (required)
Code that runs is not proof it looks right. Before "done":
- Install the app on a demo store —
salla_apps action=demo_stores, open a store'sinstall_url, then the storefronturl. - Screenshot the storefront page (snippet) you built.
- Check: Twilight
<salla-*>components +sicon-*icons, theme tokens inherited, spacing matches the page, RTL correct, light + dark both OK, no overflow/clipping.
Gate: "Captured a live screenshot of the storefront UI I built in an installed demo store, used Twilight components + Salla Icons + theme tokens, and confirmed native styling + RTL — not just that the code executed?"
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/sallaapp/salla-partners-agent-kit/salla-storefront-ui">View salla-storefront-ui on skillZs</a>