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

Add background css property to allow gradients #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Kunamatata
Copy link

Description

This PR allows using CSS gradients without touching any of the javascript files or extension code.
By adding background: var(--container-background-color); to style.css we enable users to do the following in their settings.json

Example:

{
  "codesnap.backgroundColor": "linear-gradient(62deg, #8EC5FC, #E0C3FC)"
}

@Kunamatata
Copy link
Author

Kunamatata commented Aug 15, 2022

@kufii I've created my own fork of this project, but if you want to merge this in, this extension will have support for gradients.

An upgrade in the future might be to allow the user to set those colors in the web view panel.

@ygorduraes
Copy link

I would love to have this option

@MinskLeo
Copy link

Also like this, would really appreciate if this will be added

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

Successfully merging this pull request may close these issues.

3 participants