PapirusDevelopmentTeam / papirus-icon-theme

Pixel perfect icon theme for Linux
https://git.io/papirus-icon-theme
GNU General Public License v3.0
6.65k stars 423 forks source link

How to create new folder icons and folder colors #1934

Closed maxtron95 closed 5 years ago

maxtron95 commented 5 years ago

Just a question for the developers. I was wondering how do you create a new folder icon and convert them to all color variations? I also wanted to know how could you add a new folder color into the theme as well. I am asking this because there is no steps in the work folder that explains how to make folder icons or convert them.

SmartFinn commented 5 years ago

Hi, @creepertron95

I was wondering how do you create a new folder icon and convert them to all color variations?

cd tools/work
# create an icon with "folder-blue-" prefix
./new-icon.sh places folder-blue-FOLDER_NAME
# do make changes in the icons but don't run convert.sh after that
# copy the icons into the theme
./put-into-theme.sh
# and then run the script that generates icons with other colors
../build_color_folders.sh
# Done!
# Go to the root of the repo and then add files to a commit
cd ../..
git add Papirus Papirus-Dark ePapirus

I also wanted to know how could you add a new folder color into the theme as well.

New colors should be added directly to array in build_color_folders.sh script.

But what is the color? The new color will be approved if it is an accent color using in one of the popular GTK themes. It because we have too much the folder colors.

maxtron95 commented 5 years ago

The new color I wanted to add is papirus-nordic from issue #1870

SmartFinn commented 5 years ago

@creepertron95

The new color is papirus-nordic from issue #1870

Wait with that. I've planned to create a separate user-side script with tons of presets that adapt Papirus icon theme to popular GTK/KDE themes including the folder colors.

maxtron95 commented 5 years ago

Could I try other issues that involves making new types of folders?

941, #1209, #1369, and #1481.

SmartFinn commented 5 years ago

@creepertron95 sure, you can try.

maxtron95 commented 5 years ago

@SmartFinn When I looked at the 16x16 folder, I found that the folder icons there don't have a color prefix on them. Would those be affected by the build color folders script or should those be instead be converted to the variations of papirus-icon-theme? Examples: https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/blob/master/Papirus/16x16/places/folder-activities.svg and https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/blob/master/Papirus/16x16/places/folder-download.svg

SmartFinn commented 5 years ago

@creepertron95 build_color_folders.sh script removes the color prefix from monochrome icons and copies the icons to child themes.