(core) Improve highlighting of previewed formula

Summary:
Also improves highlighting of columns when the "Click to insert"
tooltip is shown, and improves highlighting of transforming columns.

Test Plan: Manual.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D3962
This commit is contained in:
George Gevoian
2023-07-20 14:18:32 -04:00
parent 5a703a1972
commit beffd02c41
12 changed files with 74 additions and 33 deletions

View File

@@ -132,6 +132,8 @@ export const ThemeColors = t.iface([], {
"card-list-form-border": "string",
"card-list-blocks-border": "string",
"selection": "string",
"selection-darker": "string",
"selection-darkest": "string",
"selection-opaque-fg": "string",
"selection-opaque-bg": "string",
"selection-opaque-dark-bg": "string",

View File

@@ -168,6 +168,8 @@ export interface ThemeColors {
/* Selection */
'selection': string;
'selection-darker': string;
'selection-darkest': string;
'selection-opaque-fg': string;
'selection-opaque-bg': string;
'selection-opaque-dark-bg': string;

View File

@@ -147,6 +147,8 @@ export const GristDark: ThemeColors = {
/* Selection */
'selection': 'rgba(22,179,120,0.15)',
'selection-darker': 'rgba(22,179,120,0.25)',
'selection-darkest': 'rgba(22,179,120,0.35)',
'selection-opaque-fg': 'white',
'selection-opaque-bg': '#2F4748',
'selection-opaque-dark-bg': '#253E3E',

View File

@@ -147,6 +147,8 @@ export const GristLight: ThemeColors = {
/* Selection */
'selection': 'rgba(22,179,120,0.15)',
'selection-darker': 'rgba(22,179,120,0.25)',
'selection-darkest': 'rgba(22,179,120,0.35)',
'selection-opaque-fg': 'black',
'selection-opaque-bg': '#DCF4EB',
'selection-opaque-dark-bg': '#D6EEE5',