Style update for tekst component

This commit is contained in:
Kuba Orlik 2025-03-03 21:47:28 +01:00
parent bb64b20312
commit 7914874e48
2 changed files with 8 additions and 1 deletions

View File

@ -2,6 +2,13 @@
font-family: var(--font-long-text);
font-size: 16px;
line-height: 24px;
padding: 16px;
&.tekst--color-transparent {
background-color: transparent;
color: var(--color-brand-text-fg);
padding: 0;
}
&.tekst--color-normal {
background-color: var(--color-brand-text-bg);

View File

@ -8,7 +8,7 @@ import type {
import { Component, ComponentArguments } from "@sealcode/jdd";
const component_arguments = {
color: new ComponentArguments.Enum(["normal", "accent", "accent2"]),
color: new ComponentArguments.Enum(["transparent", "normal", "accent", "accent2"]),
content: new ComponentArguments.Markdown(),
} as const;