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

[feature request] white shadow for light mode + automatic switching #46

Open
quantenzitrone opened this issue Apr 23, 2022 · 2 comments

Comments

@quantenzitrone
Copy link

quantenzitrone commented Apr 23, 2022

Cinnamon version: Cinnamon 5.2.7

White Shadow
When using a light desktop theme (dark icons to go on a light background), the shadow makes the icons harder to see.
A white shadow would bring the same feature, as the normal shadow, to light themes.

Automatic Switching
When switching back and forth from light and dark mode themes, automatic switching of the shadow color would heavily reduce the time needed for switching.
This is especially annoying if theme switching is a two click action with, for example, this applet, or even more so if the computer is configured to switch automatically at specific times.

Steps to reproduce
Use any light desktop theme like Mint-Y (not Mint-Y-Dark).

@quantenzitrone
Copy link
Author

Sorry, I now read your comment on the last issue.

Furthermore, I was able to solve it by copying Mint-Y-Blue and Mint-Y-Dark-Blue from /usr/share/themes to ~/.local/share/themes and modifying the cinnamon.css there. My panel has always a gradient from black/white to transparent now.

For anyone that wants to do the same:
I changed this bit in Mint-Y-Blue:

.panel-top, .panel-bottom, .panel-left, .panel-right {
  color: #ffffff;
  border: none;
  background-color: rgba(242, 242, 244, 0.99);
  font-size: 1em;
  padding: 0px; }

to this:

.panel-top, .panel-bottom, .panel-left, .panel-right {
  color: #ffffff;
  border: none;
  background-gradient-direction: vertical;
  background-gradient-start: rgba(255,255,255,0.4);
  background-gradient-end: transparent;
  font-size: 1em;
  padding: 0px; }

similarly for the cinnamon.css in Mint-Y-Dark-Blue

@quantenzitrone
Copy link
Author

Honestly, the white shadow is really ugly with most wallpapers. haha

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

No branches or pull requests

1 participant