Skip to main content

Interface: DecorationStyle

Defined in: Extensions/ExtensionApiDtos.ts:124

Properties

afterIcon?

optional afterIcon?: string

Defined in: Extensions/ExtensionApiDtos.ts:145


background?

optional background?: ColorValue

Defined in: Extensions/ExtensionApiDtos.ts:132


beforeIcon?

optional beforeIcon?: string

Defined in: Extensions/ExtensionApiDtos.ts:144

Icon ID from the host's icon set or from contributes.icons.


border?

optional border?: object

Defined in: Extensions/ExtensionApiDtos.ts:134

color

color: ColorValue

radius?

optional radius?: number

style

style: "solid" | "dotted" | "dashed"

width

width: number


cssClass?

optional cssClass?: string

Defined in: Extensions/ExtensionApiDtos.ts:151

CSS class name from a stylesheet contributed via contributes.styles. The host scopes the stylesheet to the rendered verse area only — the extension's CSS cannot leak into the rest of the app.


fontStyle?

optional fontStyle?: "normal" | "italic"

Defined in: Extensions/ExtensionApiDtos.ts:141


fontWeight?

optional fontWeight?: 200 | 100 | 500 | "normal" | "bold" | 300 | 400 | 600 | 700 | 800 | 900

Defined in: Extensions/ExtensionApiDtos.ts:140


foreground?

optional foreground?: ColorValue

Defined in: Extensions/ExtensionApiDtos.ts:133


opacity?

optional opacity?: number

Defined in: Extensions/ExtensionApiDtos.ts:153

0..1.


textDecoration?

optional textDecoration?: "none" | "line-through" | "overline"

Defined in: Extensions/ExtensionApiDtos.ts:142


underline?

optional underline?: object

Defined in: Extensions/ExtensionApiDtos.ts:125

color?

optional color?: ColorValue

offset?

optional offset?: number

Pixels below baseline. Useful for stacking multiple underlines.

style?

optional style?: "solid" | "wavy" | "dotted" | "dashed" | "double"

thickness?

optional thickness?: "medium" | "thin" | "thick"