Source
<div style="padding: 1.25rem"><oss-cta></oss-cta></div>
Copy {name} to clipboard
Copy
Copied
Copy failed
html code
OSS call to action, at the foot of the page. Locked: its copy and actions are fixed, and it takes no slots. The one setting is the heading level. Closes the page body, above the footer: the cta hook places it last. The Allons-y Studio name is signed in the signature face, Yellowtail, which oss-head declares. Its actions are norn-link-buttons, colored by setting the global accent tokens on oss-cta. The one place Allons-y Studio's contact address appears. The mark is inlined from the org's assets by scripts/inline-svg.js.
<div style="padding: 1.25rem"><oss-cta></oss-cta></div>
Copy {name} to clipboard
Copy
Copied
Copy failed
html code
<div style="display: grid; gap: 1.5rem">
<div style="display: grid; gap: 0.5rem">
<p><code>level = 2</code></p>
<div>
<oss-cta :@level="2"></oss-cta>
</div>
</div>
<div style="display: grid; gap: 0.5rem">
<p><code>level = 3</code></p>
<div>
<oss-cta :@level="3"></oss-cta>
</div>
</div>
<div style="display: grid; gap: 0.5rem">
<p><code>level = 4</code></p>
<div>
<oss-cta :@level="4"></oss-cta>
</div>
</div>
</div>
Copy {name} to clipboard
Copy
Copied
Copy failed
html code
Write them with the @ prefix, and :@ for an expression.
| Name | Type | Description |
|---|---|---|
@level |
number |
The heading level, to fit the page outline. Any other value gives the default. One of 2, 3, or 4. Falls back to 2. |
The global tokens from tokens.json the component reads. Set one in a project's tokens.css to change it everywhere.
Type a value to try it in every example above. Reset puts the default back.
| Token | Type | Default | Override |
|---|---|---|---|
--norn-ui-accentThe brand color, shared by every component. |
<color> |
#2346d4 |
|
--norn-ui-border-radiusCorner radius. |
<length> |
6px |
|
--norn-space-sSmall spacing step. |
<length> |
0.75rem |
|
--norn-space-mMedium spacing step. |
<length> |
1.25rem |
|
--norn-space-lLarge spacing step. |
<length> |
2rem |
|
--norn-space-xlExtra large spacing step. |
<length> |
4rem |