Skip to content

Commit

Permalink
Small improvements to decorations (#483)
Browse files Browse the repository at this point in the history
* Add 'hair space' (U+200A) after decoration text

* Fix decoration color for 'unknown' tests
  • Loading branch information
rfgamaral authored and connectdotz committed Jul 13, 2019
1 parent 5136778 commit 8aad805
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Bug-fixes within the same version aren't needed
## Master
* Fix regex to detect the pluralized message 'snapshots failed' and show the 'Would you like to update your Snapshots' dialog - shruda
* Add 'hair space' (U+200A) after decoration text - [@rfgamaral](https://github.com/rfgamaral)
* Fix decoration color for 'unknown' tests - [@rfgamaral](https://github.com/rfgamaral)
-->

Expand Down
20 changes: 10 additions & 10 deletions src/decorations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ export function failingItName() {
light: {
before: {
color: '#FF564B',
contentText: '●',
contentText: '●',
},
},
dark: {
before: {
color: '#AD322D',
contentText: '●',
contentText: '●',
},
},
rangeBehavior: DecorationRangeBehavior.ClosedClosed,
Expand All @@ -27,13 +27,13 @@ export function skipItName() {
light: {
before: {
color: '#fed37f',
contentText: '○',
contentText: '○',
},
},
dark: {
before: {
color: '#fed37f',
contentText: '○',
contentText: '○',
},
},
rangeBehavior: DecorationRangeBehavior.ClosedClosed,
Expand All @@ -47,13 +47,13 @@ export function passingItName() {
light: {
before: {
color: '#3BB26B',
contentText: '●',
contentText: '●',
},
},
dark: {
before: {
color: '#2F8F51',
contentText: '●',
contentText: '●',
},
},
rangeBehavior: DecorationRangeBehavior.ClosedClosed,
Expand All @@ -66,14 +66,14 @@ export function notRanItName() {
overviewRulerLane: OverviewRulerLane.Left,
dark: {
before: {
color: '#3BB26B',
contentText: '○',
color: '#9C9C9C',
contentText: '○',
},
},
light: {
before: {
color: '#2F8F51',
contentText: '○',
color: '#7C7C7C',
contentText: '○',
},
},
rangeBehavior: DecorationRangeBehavior.ClosedClosed,
Expand Down

0 comments on commit 8aad805

Please sign in to comment.