Skip to content

Commit

Permalink
Update src/plugins/blocks/utils.js
Browse files Browse the repository at this point in the history
Co-authored-by: Raphael Wegmueller <github@rofe.com>
  • Loading branch information
dylandepass and rofe authored Dec 22, 2023
1 parent 3b59cc0 commit c4192c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/blocks/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export function getPreferedForegroundColor(blockName) {
}

return getComputedStyle(document.documentElement)
.getPropertyValue('--sk-block-table-foreground-color') || defaultBackgroundColor;
.getPropertyValue('--sk-block-table-foreground-color') || defaultForegroundColor;

Check failure on line 132 in src/plugins/blocks/utils.js

View workflow job for this annotation

GitHub Actions / test

'defaultForegroundColor' is not defined

Check failure on line 132 in src/plugins/blocks/utils.js

View workflow job for this annotation

GitHub Actions / test

'defaultForegroundColor' is not defined
}

export function normalizeBlockName(name) {
Expand Down

0 comments on commit c4192c9

Please sign in to comment.