Hi, well I just want a pitch black theme and I've been changing some values but now when I right click on any icon or when I click in another window the icon of the file turns black and with the black background the icon disappears completely.
that really bothers me, is there any documentation of how those css works?
I been messing with the css of the themes, but I don't know what I'm doing
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
I been messing with the css of the themes, but I don't know what I'm doing
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: I been messing with the css of the themes, but I don't know what I'm doing
You shouldn't do that. At least you should make a backup of those CSS files. I'm guessing you are referring to something like
Generally speaking CSS is fairly complicated. If you don't already know some CSS yourself, you'd end up breaking a lot of things if you try to get the results you want by trial and error.
I'd suggest looking through the custom themes available in Themes/Add-remove. There are some darker themes there.
/usr/share/themes/Mint-Y/cinnamon/cinnamon.css
Generally speaking CSS is fairly complicated. If you don't already know some CSS yourself, you'd end up breaking a lot of things if you try to get the results you want by trial and error.
I'd suggest looking through the custom themes available in Themes/Add-remove. There are some darker themes there.
-
- Level 5
- Posts: 558
- Joined: Sat Jan 02, 2021 4:44 pm
Re: I been messing with the css of the themes, but I don't know what I'm doing
I hacked away at a couple of themes recently and found that the majority of the success I had was from trial and error and looking through existing themes because I haven't been able to find a decent CSS reference or documentation page, either. Wasn't a very pleasant experience, but I eventually got the look I (mostly) wanted.
Not sure, but these might help you:
https://developer.gnome.org/gtk3/stable/theming.html
https://wiki.gnome.org/action/show/Proj ... FInspector
(from https://askubuntu.com/questions/68976/h ... nome-shell)
https://www.dedoimedo.com/computers/lin ... theme.html
Not sure, but these might help you:
https://developer.gnome.org/gtk3/stable/theming.html
https://wiki.gnome.org/action/show/Proj ... FInspector
(from https://askubuntu.com/questions/68976/h ... nome-shell)
https://www.dedoimedo.com/computers/lin ... theme.html
Re: I been messing with the css of the themes, but I don't know what I'm doing
I'm editing a copy of one of the default themes so the default is untouched, I know CSS but its hard to know what I'm editing just by the names and classes of the elements.spamegg wrote: ⤴Thu Apr 22, 2021 2:46 pm You shouldn't do that. At least you should make a backup of those CSS files. I'm guessing you are referring to something like/usr/share/themes/Mint-Y/cinnamon/cinnamon.css
Generally speaking CSS is fairly complicated. If you don't already know some CSS yourself, you'd end up breaking a lot of things if you try to get the results you want by trial and error.
I'd suggest looking through the custom themes available in Themes/Add-remove. There are some darker themes there.
Yes I know that there are dark themes but the ones that look good form me doesn't change the controls or the windows(I mean I don't get any new windows/controls to choose when I download the themes ) and they only change the panel.
Last edited by adry on Thu Apr 22, 2021 8:51 pm, edited 2 times in total.
Re: I been messing with the css of the themes, but I don't know what I'm doing
Hey thanks!!! I will check those links.newlyminted7 wrote: ⤴Thu Apr 22, 2021 3:00 pm I hacked away at a couple of themes recently and found that the majority of the success I had was from trial and error and looking through existing themes because I haven't been able to find a decent CSS reference or documentation page, either. Wasn't a very pleasant experience, but I eventually got the look I (mostly) wanted.
Not sure, but these might help you:
https://developer.gnome.org/gtk3/stable/theming.html
https://wiki.gnome.org/action/show/Proj ... FInspector
(from https://askubuntu.com/questions/68976/h ... nome-shell)
https://www.dedoimedo.com/computers/lin ... theme.html
-
- Level 5
- Posts: 558
- Joined: Sat Jan 02, 2021 4:44 pm
Re: I been messing with the css of the themes, but I don't know what I'm doing
You're welcome. Good luck, some of those themes are huge and complex, but it can be done.
And, not sure if you're interested, but I wrote a small shell script to toggle between a dark theme and a light theme (for day and night). I have it set up as a button in my Panel (via the Command Launcher applet) which just calls the shell script to toggle the theme.
And, not sure if you're interested, but I wrote a small shell script to toggle between a dark theme and a light theme (for day and night). I have it set up as a button in my Panel (via the Command Launcher applet) which just calls the shell script to toggle the theme.
Code: Select all
#!/bin/bash
# Get current theme
theme=$(gsettings get org.cinnamon.desktop.wm.preferences theme)
#echo "Current theme is $theme"
if [ $theme = "'Mint-Y'" ]; then
#echo "Setting evening theme..."
# Window borders:
gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y-Dark"
# Icons:
gsettings set org.gnome.desktop.interface icon-theme "Mint-Y-Dark-Aqua"
# Controls:
gsettings set org.cinnamon.desktop.interface gtk-theme "Arc-Dark"
# Mouse pointer:
#settings set org.cinnamon.desktop.interface cursor-theme 'DMZ-Black'
# Desktop:
gsettings set org.cinnamon.theme name "Arc-Dark"
# Wallpaper:
gsettings set org.cinnamon.desktop.background picture-uri 'file:///usr/share/backgrounds/linuxmint-ulyssa/echerkasski_countryside.jpg'
else
#echo "Setting daytime theme"
# Window borders:
gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y"
# Icons:
gsettings set org.gnome.desktop.interface icon-theme "Mint-Y-Aqua"
# Controls:
gsettings set org.cinnamon.desktop.interface gtk-theme "Mint-Y-Aqua"
# Mouse pointer:
#settings set org.cinnamon.desktop.interface cursor-theme 'DMZ-Black'
# Desktop:
gsettings set org.cinnamon.theme name "Mint-X-Aqua"
# Wallpaper:
gsettings set org.cinnamon.desktop.background picture-uri 'file:///usr/share/backgrounds/linuxmint-ulyana/aandrews_tree.jpg'
fi