illixion / vscode-vibrancy-continued

Enable Acrylic/Glass effect for your VS Code.
MIT License
544 stars 31 forks source link

[Bug]: vscode_vibrancy.imports not works #33

Closed Rey-Wang closed 1 year ago

Rey-Wang commented 1 year ago

Is there an existing issue for this?

Current Behavior

I override some style in a custom css file, but not works

.monaco-list.settings-toc-tree .monaco-list-row.selected,
.monaco-list.settings-toc-tree .monaco-list-row.focused,
.monaco-list .monaco-list-row.selected,
.monaco-list.settings-toc-tree:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) {
  background: #528bff69 !important;
}
image

configuration:

  "vscode_vibrancy.imports": [
    "/Users/reywang/Documents/workHelpers/plugin-config/vscode_vibrancy_custom.css"
  ]

Expected Behavior

image

background color should be red

Steps To Reproduce

No response

Environment

- OS: MacOS Monterey 12.4
- VSCode: Version: 1.72.2 (Universal)
- Extension:Vibrancy Continued v1.1.7

Anything else?

No response

illixion commented 1 year ago

Thanks for the report, found the issue to have been caused by CSP, just pushed an update that should fix it. Feel free to reopen if you still encounter this issue.

Rey-Wang commented 1 year ago

@illixion which version would contain this fix?

Rey-Wang commented 1 year ago

@illixion for v1.1.8, still not works for me, should I reopen this issue? seems like it could not resolve the path image

illixion commented 1 year ago

Yes, v1.1.8 is the updated version. This error means that the extension couldn't read the file contents of your CSS file, make sure that the path is correct and is accessible. Also, make sure that VSCode is allowed to access the Documents folder through macOS privacy settings.