Style update for tekst component
This commit is contained in:
parent
bb64b20312
commit
7914874e48
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user