Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdubois committed Oct 14, 2016
2 parents 781c208 + 6cf1c4b commit cb221b8
Show file tree
Hide file tree
Showing 6,326 changed files with 247,054 additions and 108 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
46 changes: 42 additions & 4 deletions 1-change-color.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@
# THESE CODES MUST BE CHANGED
# THESE CODES MUST BE CHANGED
# THESE CODES MUST BE CHANGED
# This is crimson red.
# This is crimson red. #fd424d

#original light version is #9ab87c
personallightcolour=fd424d

#original dark version is #8fa876
personaldarkcolour=fd424d

personaldarkcolour=FD424D
personallightcolour=FD424D

# THESE CODES MUST BE CHANGED
# THESE CODES MUST BE CHANGED
Expand All @@ -56,9 +60,11 @@ echo "Wait for it ...."
## DO NOT CHANGE THESE LINES



#original light version is #9ab87c
oldcolour1=9ab87c
#original dark version is #8fa876
oldcolour2=8fa876
#other colour variations in svg
oldcolour3=779559
oldcolour4=9abe76
oldcolour5=9ab87d
Expand All @@ -68,6 +74,7 @@ oldcolour7=81a65b

newcolour1=$personallightcolour
newcolour2=$personaldarkcolour

newcolour3=$personaldarkcolour
newcolour4=$personallightcolour
newcolour5=$personallightcolour
Expand All @@ -83,6 +90,37 @@ find src -name "*.*" -type f -exec sed -i 's/'$oldcolour5'/'$newcolour5'/g' {}
find src -name "*.*" -type f -exec sed -i 's/'$oldcolour6'/'$newcolour6'/g' {} \;
find src -name "*.*" -type f -exec sed -i 's/'$oldcolour7'/'$newcolour7'/g' {} \;


#Rubberband Solution for now

#border
oldcolour1=76905b
find src -type f -exec sed -i 's/'$oldcolour1'/'$newcolour1'/g' {} \;

#background of rubberband is in rgba
#from hex to decimal
redhex=${newcolour1:0:2}
greenhex=${newcolour1:2:2}
bluehex=${newcolour1:4:2}

reddec=$((16#$redhex))
greendec=$((16#$greenhex))
bluedec=$((16#$bluehex))

rgbacolour="$reddec, $greendec, $bluedec"

#old rgba colour of background rubberband
oldcolour1="118, 144, 91"
newcolour1=$rgbacolour

#gtk-dark rubberband
find src -type f -exec sed -i "s/$oldcolour1/$newcolour1/g" {} \;

#gtk + gtk-darker rubberband
oldcolour1="129, 166, 91"
find src -type f -exec sed -i "s/$oldcolour1/$newcolour1/g" {} \;


echo "All css files but also svg files will be affected"
echo "PNG'S will not be altered with this script"
echo
Expand Down
2 changes: 1 addition & 1 deletion 4-moving-the-themes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "Your name will be added after 'Mint-Y', 'Mint-Y-Dark' or 'Mint-Y-Darker'."
echo "For example if you type Sun you will get"
echo "E.g. Mint-Y-Sun, Mint-Y-Darker-Sun, Mint-Y-Dark-Sun"

read -p "How should we name this new theme? First letter is a capital letter : " choice
read -p "How should we name this new theme? First letter is a capital letter (no space but '-') : " choice

echo "Renaming the folders"

Expand Down
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,22 @@ All themes are sorted alphabetically.



# This is the Mint-Y-Havelock theme.

## Mint-Y-Dark-Havelock

![Screenshots](http://i.imgur.com/TOYWMRB.jpg)



# This is the Mint-Y-Hibiscus theme.

## Mint-Y-Dark-Hibiscus

![Screenshots](http://i.imgur.com/31PANoq.jpg)




# This is the Mint-Y-Lightning theme.

Expand All @@ -179,6 +195,14 @@ All themes are sorted alphabetically.



# This is the Mint-Y-Moka theme.

## Mint-Y-Dark-MOka

![Screenshots](http://i.imgur.com/UgRHgxo.jpg)




# This is the Mint-Y-Matrix theme.

Expand Down Expand Up @@ -243,6 +267,13 @@ Started with Sardi Ghost Flexible script to change the colour, then conky aureol



# This is the Mint-Y-Watusi theme.

## Mint-Y-Dark-Watusi

![Screenshots](http://i.imgur.com/nZsWOAQ.jpg)


# Installation

##0. Get the source
Expand Down
4 changes: 2 additions & 2 deletions themes/Mint-Y-Arch/gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
text-shadow: none; }

.rubberband, GtkTreeView.view.rubberband, .content-view.rubberband {
border: 1px solid #2790c5;
background-color: rgba(39, 144, 197, 0.2); }
border: 1px solid #1793D1;
background-color: rgba(23, 147, 209, 0.2); }

.label.separator, .popover .label.separator, .sidebar .label.view.separator {
color: #4a4a4a; }
Expand Down
4 changes: 2 additions & 2 deletions themes/Mint-Y-Dark-Arch/gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
text-shadow: none; }

.rubberband, GtkTreeView.view.rubberband, .content-view.rubberband {
border: 1px solid #76905b;
background-color: rgba(118, 144, 91, 0.2); }
border: 1px solid #1793D1;
background-color: rgba(23, 147, 209, 0.2); }

.label.separator, .popover .label.separator, .sidebar .label.view.separator {
color: #DADADA; }
Expand Down
4 changes: 2 additions & 2 deletions themes/Mint-Y-Dark-Fire/gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
text-shadow: none; }

.rubberband, GtkTreeView.view.rubberband, .content-view.rubberband {
border: 1px solid #76905b;
background-color: rgba(118, 144, 91, 0.2); }
border: 1px solid #B41919;
background-color: rgba(180, 25, 25, 0.2); }

.label.separator, .popover .label.separator, .sidebar .label.view.separator {
color: #DADADA; }
Expand Down
Loading

0 comments on commit cb221b8

Please sign in to comment.