Change default list colors
This commit is contained in:
@@ -312,8 +312,8 @@ const Places = function (
|
|||||||
|
|
||||||
async initDefaults(): Promise<void> {
|
async initDefaults(): Promise<void> {
|
||||||
const defaults = [
|
const defaults = [
|
||||||
{ id: 'to-go', title: 'Want to go', color: '#ff00ff' }, // Magenta
|
{ id: 'to-go', title: 'Want to go', color: '#2e9e4f' }, // Green
|
||||||
{ id: 'to-do', title: 'To do', color: '#008000' }, // Green
|
{ id: 'to-do', title: 'To do', color: '#2a7fff' }, // Blue
|
||||||
];
|
];
|
||||||
|
|
||||||
for (const def of defaults) {
|
for (const def of defaults) {
|
||||||
|
|||||||
@@ -363,7 +363,7 @@ describe('Places Module', () => {
|
|||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
title: 'Want to go',
|
title: 'Want to go',
|
||||||
id: 'to-go',
|
id: 'to-go',
|
||||||
color: '#ff00ff',
|
color: '#2e9e4f',
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
@@ -380,7 +380,7 @@ describe('Places Module', () => {
|
|||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
title: 'To do',
|
title: 'To do',
|
||||||
id: 'to-do',
|
id: 'to-do',
|
||||||
color: '#008000',
|
color: '#2a7fff',
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user