Skip to content

Commit bc0609d

Browse files
authored
Add --task-border property (#837)
1 parent de1e705 commit bc0609d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/mgt-components/src/components/mgt-tasks-base/mgt-tasks-base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ $task-border-completed: var(--task-complete-border, 2px dotted inherit);
150150
margin: var(--task-margin, 0 0 18px 0);
151151
padding: var(--task-padding, 0 0 0 0);
152152
background-color: $background-color;
153+
border: set-var(border, $theme-default, $tasks);
153154

154155
.TaskContent {
155156
display: flex;

packages/mgt-components/src/components/mgt-tasks-base/mgt-tasks-base.theme.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ $button__color--cancel: var(--task-new-cancel-button-color, set-var(color__sub1,
1414
$detail__color: var(--task-detail-color, set-var(color__sub2, $theme-default, $common));
1515

1616
$tasks: (
17+
border: (
18+
_var: --task-border,
19+
light: 2px solid $background-color__sub3--light,
20+
dark: 2px solid $background-color__sub3--dark
21+
),
1722
border--completed: (
1823
_var: --task-complete-border,
1924
light: 2px dotted $background-color__sub3--light,

0 commit comments

Comments
 (0)