Skip to content

Commit

Permalink
fix: use currentcolor instead of initial to format html
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Jan 31, 2021
1 parent d736d60 commit 53182bc
Show file tree
Hide file tree
Showing 22 changed files with 157 additions and 157 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ test('format simple message, with light theme', () => {
expect(string).toBe('%crecord.key%c %c01:00:00%c → test');
expect(args).toEqual([
'color: #808080',
'color: initial',
'color: currentcolor',
'color: gray; font-weight: bold',
'color: initial; font-weight: normal',
'color: currentcolor; font-weight: normal',
]);
});

Expand All @@ -52,8 +52,8 @@ test('format simple message, with dark theme', () => {
expect(string).toBe('%crecord.key%c %c01:00:00%c → test');
expect(args).toEqual([
'color: #808080',
'color: initial',
'color: currentcolor',
'color: lightgray; font-weight: bold',
'color: initial; font-weight: normal',
'color: currentcolor; font-weight: normal',
]);
});
26 changes: 13 additions & 13 deletions packages/nightingale-formatter/dist/index-browser-dev.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions packages/nightingale-formatter/dist/index-browser-dev.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions packages/nightingale-formatter/dist/index-browser.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions packages/nightingale-formatter/dist/index-browser.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading

0 comments on commit 53182bc

Please sign in to comment.