Skip to content

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.

@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.

2 participants