Support CryptPad themes for flatpickr (light and dark)

This commit is contained in:
yflory 2021-03-16 15:29:35 +01:00
parent dbce0fe429
commit c4b27ec0dd
3 changed files with 14 additions and 0 deletions

View File

@ -414,3 +414,7 @@
@cp_whiteboard-board-border: @cryptpad_color_grey_800;
@cp_whiteboard-bg: @cp_app-bg;
@cp_whiteboard-fg: @cryptpad_text_col;
// Flatpickr
@cp_flatpickr-bg: @cp_app-bg;

View File

@ -414,3 +414,6 @@
@cp_whiteboard-board-border: @cryptpad_color_grey_600;
@cp_whiteboard-bg: @cp_app-bg;
@cp_whiteboard-fg: @cryptpad_text_col;
// Flatpickr
@cp_flatpickr-bg: @cp_app-bg;

View File

@ -279,4 +279,11 @@
color: @cp_drive-infobox-fg;
}
}
// Flatpickr
body {
.flatpickr-calendar {
background: @cp_flatpickr-bg;
}
}
}