mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Enable the 'none' option in ColorSelect for cell and header text styles
Test Plan: Added a test case Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D4120
This commit is contained in:
@@ -54,6 +54,7 @@ export class CellStyle extends Disposable {
|
||||
textColor: new ColorOption({
|
||||
color: headerTextColor,
|
||||
defaultColor: theme.tableHeaderFg.toString(),
|
||||
allowsNone: true,
|
||||
noneText: 'default',
|
||||
}),
|
||||
fillColor: new ColorOption({
|
||||
@@ -109,6 +110,7 @@ export class CellStyle extends Disposable {
|
||||
textColor: new ColorOption({
|
||||
color: textColor,
|
||||
defaultColor: this._defaultTextColor,
|
||||
allowsNone: true,
|
||||
noneText: 'default',
|
||||
}),
|
||||
fillColor: new ColorOption({
|
||||
|
||||
Reference in New Issue
Block a user