Sidecap

Sidecap

Basic example

<div role="dialog" aria-modal="true" tabindex="-1" class="sidecap">
    123
</div>

@use "~/src/styles/app.scss" as app;
@use "@nulllogic/scssleon/scss/mixins.scss" as mixins;
@use "@nulllogic/scssleon/scss/functions.scss" as functions;

$sidecap: functions.get-theme(app.$theme, 'components.sidecap');

@include mixins.generate-component(
    $sidecap,
    "sidecap",
    app.$config,
    app.$theme
);