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() { style() {
return { return {
backgroundColor: this.$store.getters.getUserData(this.user).mainColor, backgroundColor: this.$store.getters.getUserData(this.user).mainColor,
color: 'black',
}; };
}, },
rangeShow: { 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 */ const COLORS = [ /* from https://colorbrewer2.org/#type=qualitative&scheme=Set3&n=12 */
'#8dd3c7', '#8dd3c7',
'#ffffb3', '#ffffb3',
@ -18,7 +15,5 @@ const COLORS = [ /* from https://colorbrewer2.org/#type=qualitative&scheme=Set3&
]; ];
export { export {
USER_CALENDAR_SHOW_RANGES,
USER_CALENDAR_SHOW_EVENTS,
COLORS, COLORS,
}; };

View File

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

View File

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