Usage

Serve or consume /v1/css/starthds.css, optional theme CSS, and /v1/js/starthds.js. Versioned public assets return wildcard CORS and correct MIME headers.

Public assets

Use dependency-free CSS and ES modules directly from stable versioned URLs.

<link rel="stylesheet" href="/v1/css/starthds.css">
<script type="module" src="/v1/js/starthds.js"></script>

Consumers can self-host the same files or reference them from the StartHDS host.

Recommended order

<link rel="stylesheet" href="/v1/css/starthds.css">
<link rel="stylesheet" href="/v1/css/themes/equiask.css">
<link rel="stylesheet" href="/assets/app-local.css">
<script type="module" src="/v1/js/starthds.js"></script>

Local CSS should define variables after StartHDS, preferably inside a wrapper such as .my-product-theme.

Cross-origin contract

CSS uses Content-Type: text/css; charset=utf-8; JS uses Content-Type: application/javascript; charset=utf-8; public assets use Access-Control-Allow-Origin: *.