Skip to content

Commit

Permalink
fix(theme-tasks): consider the case then border-radius value might be…
Browse files Browse the repository at this point in the history
… a variable
  • Loading branch information
antonio-ortega committed Jul 19, 2023
1 parent 9e81fd4 commit e4d6d1a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ function quad(v, m) {
}

function quad_radius(v) {
if (v.startsWith('var')) {
return v;
}

var m = v.trim().split(/\s+/);

// 1px 2px 3px 4px => 1px 2px 4px 3px
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ function quad(v, m) {
}

function quad_radius(v) {
if (v.startsWith('var')) {
return v;
}

var m = v.trim().split(/\s+/);

// 1px 2px 3px 4px => 1px 2px 4px 3px
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ function quad(v, m) {
}

function quad_radius(v) {
if (v.startsWith('var')) {
return v;
}

var m = v.trim().split(/\s+/);

// 1px 2px 3px 4px => 1px 2px 4px 3px
Expand Down

0 comments on commit e4d6d1a

Please sign in to comment.