use hexColorValue in borders and underlines

This commit is contained in:
Tom Hunkapiller
2021-05-24 08:42:34 +03:00
parent ee105cdb83
commit 097c6a5962
16 changed files with 59 additions and 52 deletions

View File

@ -37,7 +37,7 @@ const paragraph = new Paragraph({
new TextRun("This is a simple demo"),
new DeletedTextRun({
text: "with a deletion.",
color: "red",
color: "ff0000",
bold: true,
size: 24,
id: 0,

View File

@ -183,7 +183,7 @@ const cell = new TableCell({
top: {
style: BorderStyle.DASH_DOT_STROKED,
size: 1,
color: "red",
color: "ff0000",
},
bottom: {
style: BorderStyle.THICK_THIN_MEDIUM_GAP,
@ -205,7 +205,7 @@ const cell = new TableCell({
left: {
style: BorderStyle.DOT_DOT_DASH,
size: 3,
color: "green",
color: "00FF00",
},
right: {
style: BorderStyle.DOT_DOT_DASH,