Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(VCalendar): remove background for week view mode #19681

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

SonTT19
Copy link
Contributor

@SonTT19 SonTT19 commented Apr 24, 2024

Description

fixes #18988

Markup:

<template>
  <v-app theme="dark">
    <v-container>
      <v-calendar v-model="msg" :events="events" view-mode="week"></v-calendar>
    </v-container>
  </v-app>
</template>

<script setup>
  import { ref } from 'vue'

  const events = [
    {
      title: 'First',
      start: new Date('2024-01-22T02:00:00Z'),
      end: new Date('2024-01-22T04:30:00Z'),
      color: 'blue',
    },
    {
      title: 'Second',
      start: new Date('2024-01-23T05:30:00Z'),
      end: new Date('2024-01-23T08:30:00Z'),
      color: 'red',
    },
    {
      title: 'Third',
      start: new Date('2024-01-23T08:30:00Z'),
      end: new Date('2024-01-23T09:30:00Z'),
      color: 'green',
    },
    {
      title: 'Fourth',
      start: new Date('2024-01-24T02:01:00Z'),
      end: new Date('2024-01-24T04:01:00Z'),
      color: 'green',
    },
  ]

  const msg = ref([new Date('2024-01-23T14:30:00Z')])
</script>

@johnleider johnleider added this to the v3.5.x milestone Apr 24, 2024
@johnleider johnleider added T: bug Functionality that does not work as intended/expected C: VCalendar VCalendar labels Apr 24, 2024
@johnleider johnleider merged commit 1ce2879 into master Apr 24, 2024
19 checks passed
@johnleider johnleider deleted the fix/18988-v-calendar-dark-theme-week-view-mode branch April 24, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VCalendar VCalendar T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report][3.4.9] V-Calendar: Dark theme on week view-mode doesnt render
2 participants