accomadesc 0.2.35 → 0.2.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -314,12 +314,12 @@ export class OccupationState {
314
314
  occupationStyle = (d, highlightWeekend = false, maxDate) => {
315
315
  const valid = validDay(d);
316
316
  if (!valid) {
317
- return 'background-color: var(--occuplan-invalid-days-bg-color);';
317
+ return 'background-color: var(--occuplan-invalid-days-bg-color); color: var(--occuplan-invalid-days-font-color);';
318
318
  }
319
319
  const day = luxon.utc(d.year, d.month, d.day);
320
320
  const outOfScope = day >= maxDate;
321
321
  if (outOfScope) {
322
- return 'background-color: var(--occuplan-invalid-days-bg-color);';
322
+ return 'background-color: var(--occuplan-invalid-days-bg-color); color: var(--occuplan-invalid-days-font-color);';
323
323
  }
324
324
  const o = this.fullOccupation(day);
325
325
  const oStarts = this.startingOccupation(day);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "accomadesc",
3
- "version": "0.2.35",
3
+ "version": "0.2.36",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",