change text color and remove unused consts

This commit is contained in:
Julien Fastré 2022-05-20 20:44:55 +02:00
parent 461fc1c41f
commit a349089f3d
4 changed files with 1 additions and 7 deletions

View File

@ -22,6 +22,7 @@ export default {
style() {
return {
backgroundColor: this.$store.getters.getUserData(this.user).mainColor,
color: 'black',
};
},
rangeShow: {

View File

@ -1,7 +1,4 @@
const USER_CALENDAR_SHOW_RANGES = 'ranges';
const USER_CALENDAR_SHOW_EVENTS = 'events';
const COLORS = [ /* from https://colorbrewer2.org/#type=qualitative&scheme=Set3&n=12 */
'#8dd3c7',
'#ffffb3',
@ -18,7 +15,5 @@ const COLORS = [ /* from https://colorbrewer2.org/#type=qualitative&scheme=Set3&
];
export {
USER_CALENDAR_SHOW_RANGES,
USER_CALENDAR_SHOW_EVENTS,
COLORS,
};

View File

@ -1,4 +1,3 @@
import {USER_CALENDAR_SHOW_RANGES, USER_CALENDAR_SHOW_EVENTS} from './../const';
import {calendarRangeToFullCalendarEvent} from './utils';
export default {

View File

@ -7,7 +7,6 @@ import actions from './actions';
import mutations from './mutations';
import { mapEntity } from './utils';
import { whoami } from '../api';
import { USER_CALENDAR_SHOW_RANGES }from './../const';
import {
getLocations, getLocationTypeByDefaultFor,