# PluginLayers

<pre class="nacara-api__signature nacara-api__signature--hanging"><code><span class="tok-keyword">module</span> <span class="tok-type">PluginLayers</span></code></pre>

| | |
|---|---|
| Assembly | `Partas.Nacara.Theme.Contracts` |
| Attributes | `[<RequireQualifiedAccess>]` |

Style layers plugins offered the theme.

A plugin with styling of its own puts it here and the theme bundles it, in one of the theme's
own layers or after them. A theme that never reads these is within its rights: an offer, not a
rule.

## Functions and values

<div class="nacara-api__entry" id="all">
<a class="nacara-api__anchor"
                           href="#all"
                           aria-label="Link to all"
                           data-pagefind-ignore></a>
<details class="nacara-api__member">
<summary>
<pre class="nacara-api__signature nacara-api__signature--hanging"><code><span class="tok-function">all</span> <span class="tok-punctuation">()</span> <span class="tok-punctuation">:</span> <a class="tok-type" href="/Partas.Nacara.Plugins/reference/partas-nacara-theme-contracts/partas-nacara-theme/stylelayer/">StyleLayer</a> <span class="tok-type">list</span></code></pre>
</summary>
<div class="nacara-api__body">

Everything plugins offered, in the order they offered it.


</div>
</details>
</div>

<div class="nacara-api__entry" id="offer">
<a class="nacara-api__anchor"
                           href="#offer"
                           aria-label="Link to offer"
                           data-pagefind-ignore></a>
<details class="nacara-api__member">
<summary>
<pre class="nacara-api__signature nacara-api__signature--hanging"><code><span class="tok-function">offer</span> <span class="tok-punctuation">(</span><span class="tok-parameter">layer</span><span class="tok-punctuation">:</span> <a class="tok-type" href="/Partas.Nacara.Plugins/reference/partas-nacara-theme-contracts/partas-nacara-theme/stylelayer/">StyleLayer</a><span class="tok-punctuation">)</span> <span class="tok-punctuation">:</span> <span class="tok-type">unit</span></code></pre>
</summary>
<div class="nacara-api__body">

Offer the theme a layer of your own.

| Parameter | |
|---|---|
| `layer` | What it is called and what it holds. The name is yours to choose; a name the theme already uses replaces nothing, so choose one it does not. |


</div>
</details>
</div>
