mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Add dark mode for comments
Summary: Also fixes the CSS for the page/workspace input so that it's always readable in dark mode. Test Plan: Tested manually. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D3682
This commit is contained in:
@@ -218,7 +218,7 @@ export const GristDark: ThemeColors = {
|
||||
'right-panel-tab-hover-bg': 'rgba(111,111,117,0.6)',
|
||||
'right-panel-tab-selected-fg': '#FFFFFF',
|
||||
'right-panel-tab-selected-bg': '#1DA270',
|
||||
'right-panel-tab-close-button-hover-bg': '#157A54',
|
||||
'right-panel-tab-button-hover-bg': '#157A54',
|
||||
'right-panel-subtab-fg': '#1DA270',
|
||||
'right-panel-subtab-selected-fg': '#EFEFEF',
|
||||
'right-panel-subtab-selected-underline': '#1DA270',
|
||||
@@ -400,4 +400,13 @@ export const GristDark: ThemeColors = {
|
||||
'chart-legend-bg': '#32323F80',
|
||||
'chart-x-axis': '#A4A4A4',
|
||||
'chart-y-axis': '#A4A4A4',
|
||||
|
||||
/* Comments */
|
||||
'comments-popup-header-bg': '#262633',
|
||||
'comments-popup-body-bg': '#32323F',
|
||||
'comments-popup-border': '#69697D',
|
||||
'comments-user-name-fg': '#DFDFDF',
|
||||
'comments-panel-topic-bg': '#32323F',
|
||||
'comments-panel-topic-border': '#555563',
|
||||
'comments-panel-resolved-topic-bg': '#262634',
|
||||
};
|
||||
|
||||
@@ -218,7 +218,7 @@ export const GristLight: ThemeColors = {
|
||||
'right-panel-tab-hover-bg': 'rgba(217,217,217,0.6)',
|
||||
'right-panel-tab-selected-fg': '#FFFFFF',
|
||||
'right-panel-tab-selected-bg': '#16B378',
|
||||
'right-panel-tab-close-button-hover-bg': '#009058',
|
||||
'right-panel-tab-button-hover-bg': '#009058',
|
||||
'right-panel-subtab-fg': '#16B378',
|
||||
'right-panel-subtab-selected-fg': '#262633',
|
||||
'right-panel-subtab-selected-underline': '#16B378',
|
||||
@@ -400,4 +400,13 @@ export const GristLight: ThemeColors = {
|
||||
'chart-legend-bg': '#FFFFFF80',
|
||||
'chart-x-axis': '#444',
|
||||
'chart-y-axis': '#444',
|
||||
|
||||
/* Comments */
|
||||
'comments-popup-header-bg': '#F7F7F7',
|
||||
'comments-popup-body-bg': 'white',
|
||||
'comments-popup-border': '#D9D9D9',
|
||||
'comments-user-name-fg': '#494949',
|
||||
'comments-panel-topic-bg': 'white',
|
||||
'comments-panel-topic-border': '#ccc',
|
||||
'comments-panel-resolved-topic-bg': '#F0F0F0',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user