mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Desktop: Fixed color of published note on Light theme
This commit is contained in:
parent
74273cd570
commit
21706fa00a
@ -110,7 +110,7 @@ function NoteListItem(props: NoteListItemProps, ref: any) {
|
|||||||
|
|
||||||
let listItemTitleStyle = Object.assign({}, props.style.listItemTitle);
|
let listItemTitleStyle = Object.assign({}, props.style.listItemTitle);
|
||||||
listItemTitleStyle.paddingLeft = !item.is_todo ? hPadding : 4;
|
listItemTitleStyle.paddingLeft = !item.is_todo ? hPadding : 4;
|
||||||
if (item.is_shared) listItemTitleStyle.color = theme.colorWarn2;
|
if (item.is_shared) listItemTitleStyle.color = theme.colorWarn3;
|
||||||
if (item.is_todo && !!item.todo_completed) listItemTitleStyle = Object.assign(listItemTitleStyle, props.style.listItemTitleCompleted);
|
if (item.is_todo && !!item.todo_completed) listItemTitleStyle = Object.assign(listItemTitleStyle, props.style.listItemTitleCompleted);
|
||||||
|
|
||||||
const displayTitle = Note.displayTitle(item);
|
const displayTitle = Note.displayTitle(item);
|
||||||
|
@ -29,6 +29,7 @@ const theme: Theme = {
|
|||||||
selectedColor2: '#013F74',
|
selectedColor2: '#013F74',
|
||||||
colorError2: '#ff6c6c',
|
colorError2: '#ff6c6c',
|
||||||
colorWarn2: '#ffcb81',
|
colorWarn2: '#ffcb81',
|
||||||
|
colorWarn3: '#ffcb81',
|
||||||
|
|
||||||
// Color scheme "3" is used for the config screens for example/
|
// Color scheme "3" is used for the config screens for example/
|
||||||
// It's dark text over gray background.
|
// It's dark text over gray background.
|
||||||
|
@ -26,6 +26,7 @@ const theme: Theme = {
|
|||||||
selectedColor2: '#131313',
|
selectedColor2: '#131313',
|
||||||
colorError2: '#ff6c6c',
|
colorError2: '#ff6c6c',
|
||||||
colorWarn2: '#ffcb81',
|
colorWarn2: '#ffcb81',
|
||||||
|
colorWarn3: '#ff7626',
|
||||||
|
|
||||||
// Color scheme "3" is used for the config screens for example/
|
// Color scheme "3" is used for the config screens for example/
|
||||||
// It's dark text over gray background.
|
// It's dark text over gray background.
|
||||||
|
@ -27,7 +27,8 @@ export interface Theme {
|
|||||||
color2: string;
|
color2: string;
|
||||||
selectedColor2: string;
|
selectedColor2: string;
|
||||||
colorError2: string;
|
colorError2: string;
|
||||||
colorWarn2: string;
|
colorWarn2: string; // On a darker background (eg. sidebar)
|
||||||
|
colorWarn3: string; // On a lighter background (eg. note list)
|
||||||
|
|
||||||
// Color scheme "3" is used for the config screens for example/
|
// Color scheme "3" is used for the config screens for example/
|
||||||
// It's dark text over gray background.
|
// It's dark text over gray background.
|
||||||
|
Loading…
Reference in New Issue
Block a user