8000 [Feature] Background image · Issue #54 · antoniandre/vue-cal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Feature] Background image #54

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

Closed
1 of 2 tasks
cesar-lizurey opened this issue May 1, 2025 · 2 comments
Closed
1 of 2 tasks

[Feature] Background image #54

cesar-lizurey opened this issue May 1, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@cesar-lizurey
Copy link

Feature Title

Add background image option

Feature Description

It would be great to be able to add a background image in the calendar.

For the moment I use this:

<style scoped>
:deep(.vuecal__body) {
  position: relative;
  z-index: 1;
}

:deep(.vuecal__body)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/MY_IMAGE.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
</style>

Use Case

If you have several calendars and you want to know quickly which one you're looking at.

Additional Context

  • I can help implement this feature
  • This feature is critical to my project

Alternative Solutions

<style scoped>
:deep(.vuecal__body) {
  position: relative;
  z-index: 1;
}

:deep(.vuecal__body)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/MY_IMAGE.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
</style>
@cesar-lizurey cesar-lizurey added the enhancement New feature or request label May 1, 2025
@antoniandre
Copy link
Owner

Hi @cesar-lizurey,
Thanks for your suggestion.
While I can see how this could be useful in some scenarios, we’ve decided not to include it in the core of Vue Cal. In line with our philosophy to keep the library lean, focused, and maintainable over time, this kind of functionality is best kept as an external extension, and used externally exactly how you did it.

You can read more about our approach here: https://antoniandre.github.io/vue-cal/#github-and-notes

Thanks again for your input — it’s always appreciated.

@cesar-lizurey
Copy link
Author

OK I completely understand ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants
0