feat: add warning link button variant

This commit is contained in:
gitea_admin committed 2026-09-08 09:52:44 +02:00
1 parent fd738423b2
commit 7b733e53d7
2 files changed
+11

No files matched your search

+4
View File
@@ -26,6 +26,10 @@
<button class="sg-interaction-element sg-button sg-button--active" type="button" data-component="button" data-component-state="active"> <button class="sg-interaction-element sg-button sg-button--active" type="button" data-component="button" data-component-state="active">
Link-Button aktiv Link-Button aktiv
</button> </button>
<button class="sg-interaction-element sg-button sg-button--warning" type="button" data-component="button" data-component-variant="warning">
Link Button Warning
</button>
</div> </div>
</section> </section>
@@ -139,6 +139,13 @@
color: var(--text-control-default); color: var(--text-control-default);
} }
.sg-button--warning {
--surface-button-warning: var(--color-signal-red);
--text-button-warning: var(--color-font-light);
background: var(--surface-button-warning);
color: var(--text-button-warning);
}
.sg-button--process { .sg-button--process {
background: var(--surface-button-process); background: var(--surface-button-process);
color: var(--text-button-process); color: var(--text-button-process);