1 line
3.4 KiB
JavaScript
1 line
3.4 KiB
JavaScript
import{_ as t,c as o,a0 as a,o as r}from"./chunks/framework.P9qPzDnn.js";const u=JSON.parse('{"title":"Function: getNotifyStyle()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/notifications/functions/getNotifyStyle.md","filePath":"api/game/notifications/functions/getNotifyStyle.md","lastUpdated":null}'),n={name:"api/game/notifications/functions/getNotifyStyle.md"};function i(c,e,s,l,d,h){return r(),o("div",null,e[0]||(e[0]=[a('<p><a href="./../../../">Profectus</a> / <a href="./../">game/notifications</a> / getNotifyStyle</p><h1 id="function-getnotifystyle" tabindex="-1">Function: getNotifyStyle() <a class="header-anchor" href="#function-getnotifystyle" aria-label="Permalink to "Function: getNotifyStyle()""></a></h1><blockquote><p><strong>getNotifyStyle</strong>(<code>color</code>, <code>strength</code>): <code>object</code></p></blockquote><p>Gives a <a href="https://vuejs.org/api/utility-types.html#cssproperties" target="_blank" rel="noreferrer">CSSProperties</a> object that makes an object glow, to bring focus to it. Default values are for a "soft" white notif effect.</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="color" tabindex="-1">color <a class="header-anchor" href="#color" aria-label="Permalink to "color""></a></h3><p><code>string</code> = <code>"white"</code></p><p>The color of the glow effect.</p><h3 id="strength" tabindex="-1">strength <a class="header-anchor" href="#strength" aria-label="Permalink to "strength""></a></h3><p><code>string</code> = <code>"8px"</code></p><p>The strength of the glow effect - affects its spread.</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h2><p><code>object</code></p><h3 id="bordercolor" tabindex="-1">borderColor <a class="header-anchor" href="#bordercolor" aria-label="Permalink to "borderColor""></a></h3><blockquote><p><strong>borderColor</strong>: <code>"rgba(0, 0, 0, 0.125)"</code> = <code>"rgba(0, 0, 0, 0.125)"</code></p></blockquote><h3 id="boxshadow" tabindex="-1">boxShadow <a class="header-anchor" href="#boxshadow" aria-label="Permalink to "boxShadow""></a></h3><blockquote><p><strong>boxShadow</strong>: `-4px -4px 4px rgba(0, 0, 0, 0.25) inset, 0 0 ${string} ${string}`</p></blockquote><h3 id="transform" tabindex="-1">transform <a class="header-anchor" href="#transform" aria-label="Permalink to "transform""></a></h3><blockquote><p><strong>transform</strong>: <code>"scale(1.05, 1.05)"</code> = <code>"scale(1.05, 1.05)"</code></p></blockquote><h3 id="zindex" tabindex="-1">zIndex <a class="header-anchor" href="#zindex" aria-label="Permalink to "zIndex""></a></h3><blockquote><p><strong>zIndex</strong>: <code>number</code> = <code>1</code></p></blockquote><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to "Defined in""></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/notifications.ts#L16" target="_blank" rel="noreferrer">profectus/src/game/notifications.ts:16</a></p>',23)]))}const p=t(n,[["render",i]]);export{u as __pageData,p as default};
|