Compare commits

...

26 Commits

Author SHA1 Message Date
spooky
20291d1423 fix: pop quick launcher hover text color for dark themes 2022-12-12 08:39:54 +05:30
Soumik
2f7fe319f3 fix: quick launcher hover text color for dark themes 2022-12-12 04:31:56 +05:30
Isabel
5de6830cdb docs: new screenshot! 2022-12-10 22:54:28 -08:00
Himanshu
fd36189601 docs(README): reword 'thanks to' section 2022-12-11 12:21:25 +05:30
Pranav Santhosh
f523cb1881 fix: rework zipping of files, better build CI
Thanks to @npv12 for this PR!
2022-12-11 10:39:45 +05:30
rubyowo
35597b98d7 feat: add build CI 2022-12-10 20:07:34 +05:30
Pranav Santhosh
17aaa5b36c feat: use ctp python lib instead of hardcoded colors (#55) 2022-12-08 21:06:51 +05:30
Konosuke Sakai
34ac795d4e docs: fix license badge (#56) 2022-12-08 08:36:40 +01:00
spooky
498d5ec118 chore: update readme to reflect usage of script 2022-12-07 20:21:33 +05:30
Pranav
3bd1013faf chore: update readme to reflect usage of script
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2022-12-07 20:17:37 +05:30
Pranav Santhosh
b0e49b42a6 feat: add python script for automation 2022-12-07 20:12:01 +05:30
spooky
ddf996b0a4 feat: update gtk for Gnome 43 2022-12-03 13:46:02 +05:30
Himanshu
daec77ea08 chore: remove Releases 2022-12-03 13:44:14 +05:30
Himanshu
a72fecbf21 feat: add latte zips 2022-12-03 10:52:27 +05:30
Himanshu
1133a6742a feat: add frappe zips 2022-12-03 10:43:09 +05:30
Himanshu
7f9b3c9c74 feat: add macchiato zips 2022-12-03 10:34:44 +05:30
Himanshu
8d796e1a9e feat: add mocha zips 2022-12-03 10:23:02 +05:30
Himanshu
60fad0b58e feat: add initial updates for gtk theme 2022-11-29 16:03:52 +05:30
Isabel
445ccb76b4 docs: flatpak instructions
Flatpack instructions
2022-10-25 16:35:41 -07:00
Kieran Klukas
64fa9c9241 Merge pull request #2 from kcoderhtml/kcoderhtml-patch-2
Added link to It's Foss flatpack tutorial
2022-10-25 19:19:02 -04:00
Kieran Klukas
34a3225259 Added link to It's Foss flatpack tutorial
Also fixed Flatpack list numbers
2022-10-25 19:18:52 -04:00
Kieran Klukas
6c08cce899 Merge pull request #1 from kcoderhtml/kcoderhtml-patch-1
Added Flatpack commands and instructions
2022-10-25 19:16:32 -04:00
Kieran Klukas
386f2ea47e Added Flatpack commands and instructions 2022-10-25 19:14:03 -04:00
winston
96b24a19dc chore: update .editorconfig 2022-09-27 02:41:54 +02:00
Himanshu
ac513b975a docs: fix wrong AUR package links. (#38)
Co-authored-by: ignassew <szpiren@gmail.com>
2022-09-24 18:25:13 +02:00
Himanshu
fc336313a8 docs: add AUR packages (#33) 2022-09-02 17:46:40 +02:00
10084 changed files with 552 additions and 233948 deletions

View File

@@ -4,17 +4,31 @@
root = true
[*]
end_of_line = lf
charset = utf-8
indent_size = 2
indent_style = space
end_of_line = lf
insert_final_newline = true
indent_style = tabs
indent_size = 4
trim_trailing_whitespace = true
[*.txt]
# go
[*.go]
indent_style = tab
indent_size = 4
[*.{diff,md}]
# python
[*.{ini,py,py.tpl,rst}]
indent_size = 4
# rust
[*.rs]
indent_size = 4
# documentation, utils
[*.{md,mdx,diff}]
trim_trailing_whitespace = false
# windows shell scripts
[*.{cmd,bat,ps1}]
end_of_line = crlf

28
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: "GTK theme release"
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Generate themes
run: python ./install.py all -a all --zip
- name: Add zips to release
uses: softprops/action-gh-release@v1
with:
files: ./releases/*.zip

5
.gitignore vendored
View File

@@ -1,2 +1,7 @@
pkgs/
*-temp.scss
__pycache__
venv/
# Releases folder
releases

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "colloid"]
path = colloid
url = https://github.com/vinceliuice/Colloid-gtk-theme.git

View File

@@ -12,7 +12,7 @@
</p>
<p align="center">
<img src="https://raw.githubusercontent.com/catppuccin/gtk/main/assets/demo2.png"/>
<img src="assets/res.webp"/>
</p>
# About
@@ -30,20 +30,80 @@ This GTK theme is based on the [Colloid](https://github.com/vinceliuice/Colloid-
### Installation
1. Download and extract the **Catppuccin-Flavour.zip** file. or **Catppuccin-Flavour-Color.zip** file.
[From Release](https://github.com/sadrach-cl/catppuccin-gtk/releases/) or you can install the theme from the [AUR](https://aur.archlinux.org/packages/catppuccin-gtk-theme)
[From Release](https://github.com/sadrach-cl/catppuccin-gtk/releases/) or you can install the theme from the [AUR](#for-arch-linux-users)
2. Move the theme folder to **".themes"** in your home directory. **(~/.themes)** (Skip this step if you are using the AUR package)
3. Select **"Catppuccin-Flavour** or **Catppuccin-Flavour-Color"** via your desktop specific tweaks application (**gnome-tweaks** on Gnome3+).
## Development
### For Flatpak users
** WIP **
1. To give your Flatpaks access to your themes folder run:
```bash
sudo flatpak override --filesystem=$HOME/.themes
```
2. To set the theme for all Flatpaks, replace `##theme##` with the name of the theme you want to use and run this command:
```bash
sudo flatpak override --env=GTK_THEME=##theme##
```
3. For a more in depth tutorial see Hamza Algohary's tutorial on [It's Foss](https://itsfoss.com/flatpak-app-apply-theme/)
### For Arch Linux users
We have 4 AUR packages for all the 4 flavours of the theme:
- [Latte](https://aur.archlinux.org/packages/catppuccin-gtk-theme-latte)
- [Frappe](https://aur.archlinux.org/packages/catppuccin-gtk-theme-frappe)
- [Macchiato](https://aur.archlinux.org/packages/catppuccin-gtk-theme-macchiato)
- [Mocha](https://aur.archlinux.org/packages/catppuccin-gtk-theme-mocha)
With your favourite AUR helper, install them:
```bash
yay -S catppuccin-gtk-theme-mocha catppuccin-gtk-theme-macchiato catppuccin-gtk-theme-frappe catppuccin-gtk-theme-latte
```
## Development
**Note**: Ensure that you have atleast python version 3.10 installed
Clone the repository using
```bash
git clone --recurse-submodules git@github.com:catppuccin/gtk.git
virtualenv -p python3 venv # to be created only once and only if you need a virtual env
source venv/bin/activate
pip install -r requirements.txt
```
To check out the install script, run
```bash
python install.py --help
```
You can install any theme like the following example
```bash
python install.py mocha -a sky --tweaks rimless -d ~/.themes
```
You can build all possible variations of the theme possible using the following command and it will output it to releases folder in the root of the repo.
```bash
python build.py
```
A few important notes to keep in mind
* `recolor.py` handles all changes that needs to be done to colloid to ensure it generated catppuccin colors. If vinceliuice changes anything in his theme in future, that is where you must change
* `var.py` includes all different variables that you can tinker around as per your personal requirements.
* `create_theme.py` consists of a wrapper that will recolor the colloid theme, install it as per the args provided and rename it accordingly.
## 💝 Thanks to
- [sadrach-cl](https://github.com/sadrach-cl)
**Current maintainers**
- [npv12](https://github.com/npv12)
- [ghostx31](https://github.com/ghostx31)
- [Syndrizzle](https://github.com/Syndrizzle)
**Contributions**
- [rubyowo](https://github.com/rubyowo) - for working on the build and CI script
**Previous maintainer(s)**
- [sadrach-cl](https://github.com/sadrach-cl)
&nbsp;
<p align="center"><img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true" /></p>
<p align="center">Copyright &copy; 2021-present <a href="https://github.com/catppuccin" target="_blank">Catppuccin Org</a>
<p align="center"><a href="https://github.com/catppuccin/catppuccin/blob/main/LICENSE"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a></p>
<p align="center"><a href="https://github.com/catppuccin/gtk/blob/main/LICENSE"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=GPLv3&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a></p>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/res.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

@@ -1,42 +0,0 @@
#! /usr/bin/env bash
# Check command availability
function has_command() {
command -v $1 > /dev/null
}
if [ ! "$(which sassc 2> /dev/null)" ]; then
echo sassc needs to be installed to generate the css.
if has_command zypper; then
sudo zypper in sassc
elif has_command apt; then
sudo apt install sassc
elif has_command dnf; then
sudo dnf install -y sassc
elif has_command yum; then
sudo yum install sassc
elif has_command pacman; then
sudo pacman -S --noconfirm sassc
fi
fi
SASSC_OPT="-M -t expanded"
_COLOR_VARIANTS=('' '-Light' '-Dark')
if [ ! -z "${COLOR_VARIANTS:-}" ]; then
IFS=', ' read -r -a _COLOR_VARIANTS <<< "${COLOR_VARIANTS:-}"
fi
cp -rf src/sass/_tweaks.scss src/sass/_tweaks-temp.scss
cp -rf src/sass/gnome-shell/_common.scss src/sass/gnome-shell/_common-temp.scss
for color in "${_COLOR_VARIANTS[@]}"; do
sassc $SASSC_OPT src/main/gtk-3.0/gtk${color}.{scss,css}
echo "==> Generating the 3.0 gtk${color}.css..."
sassc $SASSC_OPT src/main/gtk-4.0/gtk${color}.{scss,css}
echo "==> Generating the 4.0 gtk${color}.css..."
sassc $SASSC_OPT src/main/gnome-shell/gnome-shell${color}.{scss,css}
echo "==> Generating the gnome-shell${color}.css..."
sassc $SASSC_OPT src/main/cinnamon/cinnamon${color}.{scss,css}
echo "==> Generating the cinnamon${color}.css..."
done

View File

@@ -1,55 +0,0 @@
#! /usr/bin/env bash
ROOT_UID=0
DEST_DIR=
# Destination directory
if [ "$UID" -eq "$ROOT_UID" ]; then
DEST_DIR="/usr/share/themes"
else
DEST_DIR="$HOME/.themes"
fi
THEME_NAME=Colloid
THEME_VARIANTS=('' '-purple' '-pink' '-red' '-orange' '-yellow' '-green' '-teal' '-grey')
COLOR_VARIANTS=('' '-light' '-dark')
SIZE_VARIANTS=('' '-compact')
TYPE_VARIANTS=('' '-nord' '-dracula')
SCREEN_VARIANTS=('' '-hdpi' '-xhdpi')
clean() {
local dest=${1}
local name=${2}
local theme=${3}
local color=${4}
local size=${5}
local type=${6}
local screen=${7}
local THEME_DIR=${dest}/${name}${theme}${color}${size}${type}${screen}
if [[ ${theme} == '' && ${color} == '' && ${size} == '' && ${type} == '' ]]; then
cleantheme='none'
elif [[ -d ${THEME_DIR} ]]; then
rm -rf ${THEME_DIR}
echo -e "Find: ${THEME_DIR} ! removing it ..."
fi
}
clean_theme() {
for theme in "${themes[@]-${THEME_VARIANTS[@]}}"; do
for color in "${colors[@]-${COLOR_VARIANTS[@]}}"; do
for size in "${sizes[@]-${SIZE_VARIANTS[@]}}"; do
for type in "${types[@]-${TYPE_VARIANTS[@]}}"; do
for screen in "${screens[@]-${SCREEN_VARIANTS[@]}}"; do
clean "${dest:-${DEST_DIR}}" "${name:-${THEME_NAME}}" "${theme}" "${color}" "${size}" "${type}" "${screen}"
done
done
done
done
done
}
clean_theme
exit 0

1
colloid Submodule

Submodule colloid added at 5b08fdbf1c

275
gtkrc.sh
View File

@@ -1,275 +0,0 @@
make_gtkrc() {
local dest="${1}"
local name="${2}"
local theme="${3}"
local color="${4}"
local size="${5}"
local ctype="${6}"
local window="${7}"
[[ "${color}" == '-Light' ]] && local ELSE_LIGHT="${color}"
[[ "${color}" == '-Dark' ]] && local ELSE_DARK="${color}"
local GTKRC_DIR="${SRC_DIR}/main/gtk-2.0"
local THEME_DIR="${1}/${2}${3}${4}${5}${6}"
if [[ "${color}" != '-Dark' ]]; then
case "$theme" in
'')
theme_color='#b4befe'
;;
-Purple)
theme_color='#ca9ee6'
;;
-Pink)
theme_color='#f4b8e4'
;;
-Red)
theme_color='#e78284'
;;
-Orange)
theme_color='#ef9f76'
;;
-Yellow)
theme_color='#e5c890'
;;
-Green)
theme_color='#a6d189'
;;
-Teal)
theme_color='#babbf1'
;;
-Grey)
theme_color='#7c7f93'
;;
esac
if [[ "$ctype" == '-Nord' ]]; then
case "$theme" in
'')
theme_color='#5e81ac'
;;
-Purple)
theme_color='#b57daa'
;;
-Pink)
theme_color='#cd7092'
;;
-Red)
theme_color='#c35b65'
;;
-Orange)
theme_color='#d0846c'
;;
-Yellow)
theme_color='#e4b558'
;;
-Green)
theme_color='#82ac5d'
;;
-Teal)
theme_color='#83b9b8'
;;
-Grey)
theme_color='#3a4150'
;;
esac
fi
if [[ "$ctype" == '-Dracula' ]]; then
case "$theme" in
'')
theme_color='#a679ec'
;;
-Purple)
theme_color='#a679ec'
;;
-Pink)
theme_color='#f04cab'
;;
-Red)
theme_color='#f44d4d'
;;
-Orange)
theme_color='#f8a854'
;;
-Yellow)
theme_color='#e8f467'
;;
-Green)
theme_color='#4be772'
;;
-Teal)
theme_color='#20eed9'
;;
-Grey)
theme_color='#3c3f51'
;;
esac
fi
else
case "$theme" in
'')
theme_color='#b4befe'
;;
-Purple)
theme_color='#ca9ee6'
;;
-Pink)
theme_color='#f4b8e4'
;;
-Red)
theme_color='#e78284'
;;
-Orange)
theme_color='#ef9f76'
;;
-Yellow)
theme_color='#e5c890'
;;
-Green)
theme_color='#a6d189'
;;
-Teal)
theme_color='#81c8be'
;;
-Grey)
theme_color='#7c7f93'
;;
esac
if [[ "$ctype" == '-Nord' ]]; then
case "$theme" in
'')
theme_color='#89a3c2'
;;
-Purple)
theme_color='#c89dbf'
;;
-Pink)
theme_color='#dc98b1'
;;
-Red)
theme_color='#d4878f'
;;
-Orange)
theme_color='#dca493'
;;
-Yellow)
theme_color='#eac985'
;;
-Green)
theme_color='#a0c082'
;;
-Teal)
theme_color='#83b9b8'
;;
-Grey)
theme_color='#d9dce3'
;;
esac
fi
if [[ "$ctype" == '-Dracula' ]]; then
case "$theme" in
'')
theme_color='#bd93f9'
;;
-Purple)
theme_color='#bd93f9'
;;
-Pink)
theme_color='#ff79c6'
;;
-Red)
theme_color='#ff5555'
;;
-Orange)
theme_color='#ffb86c'
;;
-Yellow)
theme_color='#f1fa8c'
;;
-Green)
theme_color='#50fa7b'
;;
-Teal)
theme_color='#50fae9'
;;
-Grey)
theme_color='#d9dae3'
;;
esac
fi
fi
if [[ "$blackness" == 'true' ]]; then
case "$ctype" in
'')
background_light='#eff1f5'
background_dark='#232634'
background_darker='#11111b'
background_alt='#212121'
titlebar_light='#dce0e8'
titlebar_dark='#232634'
;;
-Nord)
background_light='#f8fafc'
background_dark='#0d0e11'
background_darker='#0f1115'
background_alt='#1c1f26'
titlebar_light='#f0f1f4'
titlebar_dark='#020203'
;;
-Dracula)
background_light='#f9f9fb'
background_dark='#0d0d11'
background_darker='#0f1015'
background_alt='#1c1e26'
titlebar_light='#f0f1f4'
titlebar_dark='#020203'
;;
esac
else
case "$ctype" in
'')
background_light='#eff1f5'
background_dark='#232634'
background_darker='#11111b'
background_alt='#464646'
titlebar_light='#dce0e8'
titlebar_dark='#232634'
;;
-Nord)
background_light='#f8fafc'
background_dark='#242932'
background_darker='#333a47'
background_alt='#3a4150'
titlebar_light='#f0f1f4'
titlebar_dark='#1e222a'
;;
-Dracula)
background_light='#f9f9fb'
background_dark='#242632'
background_darker='#343746'
background_alt='#3c3f51'
titlebar_light='#f0f1f4'
titlebar_dark='#1f2029'
;;
esac
fi
cp -r "${GTKRC_DIR}/gtkrc${ELSE_DARK:-}-default" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "s/#FFFFFF/${background_light}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "s/#2C2C2C/${background_dark}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "s/#464646/${background_alt}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
if [[ "${color}" == '-Dark' ]]; then
sed -i "s/#5b9bf8/${theme_color}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "s/#3C3C3C/${background_darker}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "s/#242424/${titlebar_dark}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
else
sed -i "s/#3c84f7/${theme_color}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "s/#F2F2F2/${titlebar_light}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
fi
}

91
install.py Normal file
View File

@@ -0,0 +1,91 @@
"""
Main script to clone, recolor and install the theme.
Run this from the root of the repo.
Usage:
python install.py [options]
"""
import argparse
from scripts.ctp_colors import ctp_colors, get_all_accent
from scripts.create_theme import create_theme
from scripts.var import theme_name, tmp_dir
parser = argparse.ArgumentParser(description="Catppuccin theme")
parser.add_argument("flavor",
metavar="theme flavor",
type=str,
nargs="+",
choices=["mocha", "frappe", "macchiato", "latte", "all"],
help="Flavor of the theme to apply. Can be frappe, mocha, macchiato, latte")
parser.add_argument("--name", "-n",
metavar="theme name",
type=str,
default=theme_name,
dest="name",
help="Name of the theme to apply. Defaults to Catppuccin")
parser.add_argument("--dest", "-d",
metavar="destination",
type=str,
default=tmp_dir,
dest="dest",
help="Destination of the files. defaults to releases folder inside the root")
parser.add_argument("--accent", "-a",
metavar="Accent of the theme",
type=str,
nargs="+",
default=["blue"],
dest="accent",
choices=["rosewater", "flamingo", "pink", "mauve", "red", "maroon", "peach",
"yellow", "green", "teal", "sky", "sapphire", "blue", "lavender", "all"],
help="Accent of the theme. Can include 'rosewater', 'flamingo', 'pink', 'mauve', 'red', 'maroon', \
'peach', 'yellow', 'green', 'teal', 'sky', 'sapphire', 'blue', 'lavender'")
parser.add_argument("--size", "-s",
metavar="Size of the theme",
type=str,
default="standard",
dest="size",
choices=["standard", "compact"],
help="Size variant of the theme. Can be standard or compact")
parser.add_argument("--tweaks",
metavar="Colloid specific tweaks",
type=str,
default=[],
nargs="+",
dest="tweaks",
choices=["black", "rimless", "normal"],
help="Some specifc tweaks. like black, rimless, normal buttons")
parser.add_argument("-l", "--link",
help="Link advaita themes to our catppuccin theme",
type=bool,
default=False,
action=argparse.BooleanOptionalAction,
dest="link")
parser.add_argument("--zip",
help="Zip catppuccin theme",
type=bool,
default=False,
action=argparse.BooleanOptionalAction,
dest="zip")
args = parser.parse_args()
if "all" in args.flavor:
flavors = ctp_colors.keys()
else:
flavors = args.flavor
if "all" in args.accent:
accents = get_all_accent().keys()
else:
accents = args.accent
filename = create_theme(flavors, accents, args.dest,
args.link, args.name, args.size, args.tweaks, args.zip)

View File

@@ -1,517 +0,0 @@
#! /usr/bin/env bash
set -Eeo pipefail
REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
SRC_DIR="${REPO_DIR}/src"
source "${REPO_DIR}/gtkrc.sh"
ROOT_UID=0
DEST_DIR=
ctype=
window=
# Destination directory
if [ "$UID" -eq "$ROOT_UID" ]; then
DEST_DIR="/usr/share/themes"
else
DEST_DIR="$HOME/.themes"
fi
SASSC_OPT="-M -t expanded"
THEME_NAME=Catppuccin
THEME_VARIANTS=('' '-Purple' '-Pink' '-Red' '-Orange' '-Yellow' '-Green' '-Teal' '-Grey')
COLOR_VARIANTS=('' '-Light' '-Dark')
SIZE_VARIANTS=('' '-Compact')
if [[ "$(command -v gnome-shell)" ]]; then
gnome-shell --version
SHELL_VERSION="$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -1)"
if [[ "${SHELL_VERSION:-}" -ge "42" ]]; then
GS_VERSION="42-0"
elif [[ "${SHELL_VERSION:-}" -ge "40" ]]; then
GS_VERSION="40-0"
else
GS_VERSION="3-28"
fi
else
echo "'gnome-shell' not found, using styles for last gnome-shell version available."
GS_VERSION="42-0"
fi
usage() {
cat << EOF
Usage: $0 [OPTION]...
OPTIONS:
-d, --dest DIR Specify destination directory (Default: $DEST_DIR)
-n, --name NAME Specify theme name (Default: $THEME_NAME)
-t, --theme VARIANT Specify theme color variant(s) [default|purple|pink|red|orange|yellow|green|teal|grey|all] (Default: blue)
-c, --color VARIANT Specify color variant(s) [standard|light|dark] (Default: All variants))
-s, --size VARIANT Specify size variant [standard|compact] (Default: standard variant)
--tweaks Specify versions for tweaks [nord|dracula|black|rimless|normal] (only nord and dracula can not mix use with!)
1. nord: Nord ColorScheme version
2. dracula Dracula ColorScheme version
3. black: Blackness color version
4. rimless: Remove the 1px border about windows and menus
5. normal: Normal windows button style (titlebuttons: max/min/close)
-h, --help Show help
EOF
}
install() {
local dest="${1}"
local name="${2}"
local theme="${3}"
local color="${4}"
local size="${5}"
local ctype="${6}"
local window="${7}"
[[ "${color}" == '-Light' ]] && local ELSE_LIGHT="${color}"
[[ "${color}" == '-Dark' ]] && local ELSE_DARK="${color}"
local THEME_DIR="${1}/${2}${3}${4}${5}${6}"
[[ -d "${THEME_DIR}" ]] && rm -rf "${THEME_DIR}"
echo "Installing '${THEME_DIR}'..."
theme_tweaks
mkdir -p "${THEME_DIR}"
echo "[Desktop Entry]" >> "${THEME_DIR}/index.theme"
echo "Type=X-GNOME-Metatheme" >> "${THEME_DIR}/index.theme"
echo "Name=${2}${3}${4}${5}${6}" >> "${THEME_DIR}/index.theme"
echo "Comment=An Flat Gtk+ theme based on Elegant Design" >> "${THEME_DIR}/index.theme"
echo "Encoding=UTF-8" >> "${THEME_DIR}/index.theme"
echo "" >> "${THEME_DIR}/index.theme"
echo "[X-GNOME-Metatheme]" >> "${THEME_DIR}/index.theme"
echo "GtkTheme=${2}${3}${4}${5}${6}" >> "${THEME_DIR}/index.theme"
echo "MetacityTheme=${2}${3}${4}${5}${6}" >> "${THEME_DIR}/index.theme"
echo "IconTheme=Tela-circle${ELSE_DARK:-}" >> "${THEME_DIR}/index.theme"
echo "CursorTheme=${2}-cursors" >> "${THEME_DIR}/index.theme"
echo "ButtonLayout=close,minimize,maximize:menu" >> "${THEME_DIR}/index.theme"
mkdir -p "${THEME_DIR}/gnome-shell"
cp -r "${SRC_DIR}/main/gnome-shell/pad-osd.css" "${THEME_DIR}/gnome-shell"
sassc $SASSC_OPT "${SRC_DIR}/main/gnome-shell/gnome-shell${color}.scss" "${THEME_DIR}/gnome-shell/gnome-shell.css"
cp -r "${SRC_DIR}/assets/gnome-shell/common-assets" "${THEME_DIR}/gnome-shell/assets"
cp -r "${SRC_DIR}/assets/gnome-shell/assets${ELSE_DARK:-}/"*.svg "${THEME_DIR}/gnome-shell/assets"
cp -r "${SRC_DIR}/assets/gnome-shell/theme${theme}${ctype}/"*.svg "${THEME_DIR}/gnome-shell/assets"
cd "${THEME_DIR}/gnome-shell"
ln -s assets/no-events.svg no-events.svg
ln -s assets/process-working.svg process-working.svg
ln -s assets/no-notifications.svg no-notifications.svg
mkdir -p "${THEME_DIR}/gtk-2.0"
# cp -r "${SRC_DIR}/main/gtk-2.0/gtkrc${theme}${ELSE_DARK:-}${ctype}" "${THEME_DIR}/gtk-2.0/gtkrc"
cp -r "${SRC_DIR}/main/gtk-2.0/common/"*'.rc' "${THEME_DIR}/gtk-2.0"
cp -r "${SRC_DIR}/assets/gtk-2.0/assets-common${ELSE_DARK:-}" "${THEME_DIR}/gtk-2.0/assets"
cp -r "${SRC_DIR}/assets/gtk-2.0/assets${theme}${ELSE_DARK:-}${ctype}/"*"png" "${THEME_DIR}/gtk-2.0/assets"
mkdir -p "${THEME_DIR}/gtk-3.0"
cp -r "${SRC_DIR}/assets/gtk/assets${theme}${ctype}" "${THEME_DIR}/gtk-3.0/assets"
cp -r "${SRC_DIR}/assets/gtk/scalable" "${THEME_DIR}/gtk-3.0/assets"
cp -r "${SRC_DIR}/assets/gtk/thumbnails/thumbnail${theme}${ctype}${ELSE_DARK:-}.png" "${THEME_DIR}/gtk-3.0/thumbnail.png"
sassc $SASSC_OPT "${SRC_DIR}/main/gtk-3.0/gtk${color}.scss" "${THEME_DIR}/gtk-3.0/gtk.css"
sassc $SASSC_OPT "${SRC_DIR}/main/gtk-3.0/gtk-Dark.scss" "${THEME_DIR}/gtk-3.0/gtk-dark.css"
mkdir -p "${THEME_DIR}/gtk-4.0"
cp -r "${SRC_DIR}/assets/gtk/assets${theme}${ctype}" "${THEME_DIR}/gtk-4.0/assets"
cp -r "${SRC_DIR}/assets/gtk/scalable" "${THEME_DIR}/gtk-4.0/assets"
cp -r "${SRC_DIR}/assets/gtk/thumbnails/thumbnail${theme}${ctype}${ELSE_DARK:-}.png" "${THEME_DIR}/gtk-4.0/thumbnail.png"
sassc $SASSC_OPT "${SRC_DIR}/main/gtk-4.0/gtk${color}.scss" "${THEME_DIR}/gtk-4.0/gtk.css"
sassc $SASSC_OPT "${SRC_DIR}/main/gtk-4.0/gtk-Dark.scss" "${THEME_DIR}/gtk-4.0/gtk-dark.css"
# link gtk4.0 for libadwaita
mkdir -p "${HOME}/.config/gtk-4.0"
rm -rf "${HOME}/.config/gtk-4.0/"{assets,gtk.css,gtk-dark.css}
ln -sf "${THEME_DIR}/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets"
ln -sf "${THEME_DIR}/gtk-4.0/gtk.css" "${HOME}/.config/gtk-4.0/gtk.css"
ln -sf "${THEME_DIR}/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css"
mkdir -p "${THEME_DIR}/cinnamon"
cp -r "${SRC_DIR}/assets/cinnamon/common-assets" "${THEME_DIR}/cinnamon/assets"
cp -r "${SRC_DIR}/assets/cinnamon/assets${ELSE_DARK:-}/"*'.svg' "${THEME_DIR}/cinnamon/assets"
cp -r "${SRC_DIR}/assets/cinnamon/theme${theme}${ctype}/"*'.svg' "${THEME_DIR}/cinnamon/assets"
sassc $SASSC_OPT "${SRC_DIR}/main/cinnamon/cinnamon${color}.scss" "${THEME_DIR}/cinnamon/cinnamon.css"
cp -r "${SRC_DIR}/assets/cinnamon/thumbnails/thumbnail${theme}${ctype}${color}.png" "${THEME_DIR}/cinnamon/thumbnail.png"
mkdir -p "${THEME_DIR}/metacity-1"
cp -r "${SRC_DIR}/main/metacity-1/metacity-theme-3${window}.xml" "${THEME_DIR}/metacity-1/metacity-theme-3.xml"
cp -r "${SRC_DIR}/assets/metacity-1/assets${window}" "${THEME_DIR}/metacity-1/assets"
cp -r "${SRC_DIR}/assets/metacity-1/thumbnail${ELSE_DARK:-}.png" "${THEME_DIR}/metacity-1/thumbnail.png"
cd "${THEME_DIR}/metacity-1" && ln -s metacity-theme-3.xml metacity-theme-1.xml && ln -s metacity-theme-3.xml metacity-theme-2.xml
mkdir -p "${THEME_DIR}/xfwm4"
cp -r "${SRC_DIR}/assets/xfwm4/assets${ELSE_LIGHT:-}${ctype}${window}/"*.png "${THEME_DIR}/xfwm4"
cp -r "${SRC_DIR}/main/xfwm4/themerc${ELSE_LIGHT:-}" "${THEME_DIR}/xfwm4/themerc"
mkdir -p "${THEME_DIR}-hdpi/xfwm4"
cp -r "${SRC_DIR}/assets/xfwm4/assets${ELSE_LIGHT:-}${ctype}${window}-hdpi/"*.png "${THEME_DIR}-hdpi/xfwm4"
cp -r "${SRC_DIR}/main/xfwm4/themerc${ELSE_LIGHT:-}" "${THEME_DIR}-hdpi/xfwm4/themerc"
sed -i "s/button_offset=6/button_offset=9/" "${THEME_DIR}-hdpi/xfwm4/themerc"
mkdir -p "${THEME_DIR}-xhdpi/xfwm4"
cp -r "${SRC_DIR}/assets/xfwm4/assets${ELSE_LIGHT:-}${ctype}${window}-xhdpi/"*.png "${THEME_DIR}-xhdpi/xfwm4"
cp -r "${SRC_DIR}/main/xfwm4/themerc${ELSE_LIGHT:-}" "${THEME_DIR}-xhdpi/xfwm4/themerc"
sed -i "s/button_offset=6/button_offset=12/" "${THEME_DIR}-xhdpi/xfwm4/themerc"
mkdir -p "${THEME_DIR}/plank"
if [[ "$color" == '-Light' ]]; then
cp -r "${SRC_DIR}/main/plank/theme-Light${ctype}/"* "${THEME_DIR}/plank"
else
cp -r "${SRC_DIR}/main/plank/theme-Dark${ctype}/"* "${THEME_DIR}/plank"
fi
}
themes=()
colors=()
sizes=()
while [[ $# -gt 0 ]]; do
case "${1}" in
-d|--dest)
dest="${2}"
if [[ ! -d "${dest}" ]]; then
echo "Destination directory does not exist. Let's make a new one..."
mkdir -p ${dest}
fi
shift 2
;;
-n|--name)
name="${2}"
shift 2
;;
-c|--color)
shift
for color in "${@}"; do
case "${color}" in
standard)
colors+=("${COLOR_VARIANTS[0]}")
shift
;;
light)
colors+=("${COLOR_VARIANTS[1]}")
shift
;;
dark)
colors+=("${COLOR_VARIANTS[2]}")
shift
;;
-*|--*)
break
;;
*)
echo "ERROR: Unrecognized color variant '$1'."
echo "Try '$0 --help' for more information."
exit 1
;;
esac
done
;;
-t|--theme)
accent='true'
shift
for variant in "$@"; do
case "$variant" in
default)
themes+=("${THEME_VARIANTS[0]}")
shift
;;
purple)
themes+=("${THEME_VARIANTS[1]}")
shift
;;
pink)
themes+=("${THEME_VARIANTS[2]}")
shift
;;
red)
themes+=("${THEME_VARIANTS[3]}")
shift
;;
orange)
themes+=("${THEME_VARIANTS[4]}")
shift
;;
yellow)
themes+=("${THEME_VARIANTS[5]}")
shift
;;
green)
themes+=("${THEME_VARIANTS[6]}")
shift
;;
teal)
themes+=("${THEME_VARIANTS[7]}")
shift
;;
grey)
themes+=("${THEME_VARIANTS[8]}")
shift
;;
all)
themes+=("${THEME_VARIANTS[@]}")
shift
;;
-*)
break
;;
*)
echo "ERROR: Unrecognized theme variant '$1'."
echo "Try '$0 --help' for more information."
exit 1
;;
esac
done
;;
-s|--size)
shift
for variant in "$@"; do
case "$variant" in
standard)
sizes+=("${SIZE_VARIANTS[0]}")
shift
;;
compact)
sizes+=("${SIZE_VARIANTS[1]}")
compact='true'
shift
;;
-*)
break
;;
*)
echo "ERROR: Unrecognized size variant '${1:-}'."
echo "Try '$0 --help' for more information."
exit 1
;;
esac
done
;;
--tweaks)
shift
for variant in $@; do
case "$variant" in
nord)
nord="true"
ctype="-Nord"
echo -e "Install Nord ColorScheme version! ..."
shift
;;
dracula)
dracula="true"
ctype="-Dracula"
echo -e "Install Dracula ColorScheme version! ..."
shift
;;
black)
blackness="true"
echo -e "Install Blackness version! ..."
shift
;;
rimless)
rimless="true"
echo -e "Install Rimless version! ..."
shift
;;
normal)
normal="true"
window="-Normal"
echo -e "Install Normal window button version! ..."
shift
;;
-*)
break
;;
*)
echo "ERROR: Unrecognized tweaks variant '$1'."
echo "Try '$0 --help' for more information."
exit 1
;;
esac
done
;;
-h|--help)
usage
exit 0
;;
*)
echo "ERROR: Unrecognized installation option '$1'."
echo "Try '$0 --help' for more information."
exit 1
;;
esac
done
if [[ "${#themes[@]}" -eq 0 ]] ; then
themes=("${THEME_VARIANTS[0]}")
fi
if [[ "${#colors[@]}" -eq 0 ]] ; then
colors=("${COLOR_VARIANTS[@]}")
fi
if [[ "${#sizes[@]}" -eq 0 ]] ; then
sizes=("${SIZE_VARIANTS[0]}")
fi
# Check command avalibility
function has_command() {
command -v $1 > /dev/null
}
# Install needed packages
install_package() {
if [ ! "$(which sassc 2> /dev/null)" ]; then
echo sassc needs to be installed to generate the css.
if has_command zypper; then
sudo zypper in sassc
elif has_command apt-get; then
sudo apt-get install sassc
elif has_command dnf; then
sudo dnf install sassc
elif has_command dnf; then
sudo dnf install sassc
elif has_command pacman; then
sudo pacman -S --noconfirm sassc
fi
fi
}
tweaks_temp() {
cp -rf ${SRC_DIR}/sass/_tweaks.scss ${SRC_DIR}/sass/_tweaks-temp.scss
}
compact_size() {
sed -i "/\$compact:/s/false/true/" ${SRC_DIR}/sass/_tweaks-temp.scss
}
nord_color() {
sed -i "/\@import/s/color-palette-default/color-palette-nord/" ${SRC_DIR}/sass/_tweaks-temp.scss
sed -i "/\$colorscheme:/s/default/nord/" ${SRC_DIR}/sass/_tweaks-temp.scss
}
dracula_color() {
sed -i "/\@import/s/color-palette-default/color-palette-dracula/" ${SRC_DIR}/sass/_tweaks-temp.scss
sed -i "/\$colorscheme:/s/default/dracula/" ${SRC_DIR}/sass/_tweaks-temp.scss
}
blackness_color() {
sed -i "/\$blackness:/s/false/true/" ${SRC_DIR}/sass/_tweaks-temp.scss
}
border_rimless() {
sed -i "/\$rimless:/s/false/true/" ${SRC_DIR}/sass/_tweaks-temp.scss
}
normal_winbutton() {
sed -i "/\$window_button:/s/mac/normal/" ${SRC_DIR}/sass/_tweaks-temp.scss
}
gnome_shell_version() {
cp -rf ${SRC_DIR}/sass/gnome-shell/_common.scss ${SRC_DIR}/sass/gnome-shell/_common-temp.scss
sed -i "/\widgets/s/40-0/${GS_VERSION}/" ${SRC_DIR}/sass/gnome-shell/_common-temp.scss
if [[ "${GS_VERSION}" == '3-28' ]]; then
sed -i "/\extensions/s/40-0/${GS_VERSION}/" ${SRC_DIR}/sass/gnome-shell/_common-temp.scss
fi
}
theme_color() {
if [[ "$theme" != '' ]]; then
case "$theme" in
-Purple)
theme_color='purple'
;;
-Pink)
theme_color='pink'
;;
-Red)
theme_color='red'
;;
-Orange)
theme_color='orange'
;;
-Yellow)
theme_color='yellow'
;;
-Green)
theme_color='green'
;;
-Teal)
theme_color='teal'
;;
-Grey)
theme_color='grey'
;;
esac
tweaks_temp
sed -i "/\$theme:/s/default/${theme_color}/" ${SRC_DIR}/sass/_tweaks-temp.scss
fi
}
theme_tweaks() {
if [[ "$accent" = "true" ]] ; then
theme_color
fi
if [[ "$compact" = "true" ]] ; then
compact_size
fi
if [[ "$nord" = "true" ]] ; then
nord_color
fi
if [[ "$dracula" = "true" ]] ; then
dracula_color
fi
if [[ "$blackness" = "true" ]] ; then
blackness_color
fi
if [[ "$rimless" = "true" ]] ; then
border_rimless
fi
if [[ "$normal" = "true" ]] ; then
normal_winbutton
fi
}
install_theme() {
for theme in "${themes[@]}"; do
for color in "${colors[@]}"; do
for size in "${sizes[@]}"; do
install "${dest:-$DEST_DIR}" "${_name:-$THEME_NAME}" "$theme" "$color" "$size" "$ctype" "$window"
make_gtkrc "${dest:-$DEST_DIR}" "${_name:-$THEME_NAME}" "$theme" "$color" "$size" "$ctype" "$window"
done
done
done
if [[ "$DESKTOP_SESSION" == 'xfce' ]]; then
sed -i "s|.*menu-opacity=.*|menu-opacity=95|" "$HOME/.config/xfce4/panel/whiskermenu"*".rc"
fi
}
./clean-old-theme.sh
install_package && tweaks_temp && gnome_shell_version && install_theme
echo
echo Done.

1
requirements.txt Normal file
View File

@@ -0,0 +1 @@
catppuccin>=1.1.1

84
scripts/create_theme.py Normal file
View File

@@ -0,0 +1,84 @@
import os
import shutil
import subprocess
from typing import List
from scripts.ctp_colors import ctp_colors
from scripts.recolor import recolor
from scripts.utils import zip_multiple_folders
from scripts.var import def_color_map, theme_name, tmp_dir, work_dir
def create_theme(types: List[str], accents: List[str], dest: str = tmp_dir, link: bool = False,
name: str = theme_name, size: str = "standard", tweaks=[], zip = False) -> None:
try:
os.makedirs(dest) # Create our destination directory
except FileExistsError:
pass
for type in types:
for accent in accents:
# Recolor colloid wrt our selection like mocha. latte
print(type, accent)
recolor(ctp_colors[type], accent)
theme_style: str = "light" if type == "latte" else "dark"
install_cmd: str = f"./install.sh -c {theme_style} -s {size} -n {name} -d {dest} -t {def_color_map[accent]}"
if tweaks:
install_cmd += f" --tweaks {' '.join([tweak for tweak in tweaks])}"
os.chdir(work_dir)
# Install the theme globally for you
subprocess.call(install_cmd, shell=True)
# reset colloid repo to original state
subprocess.call("git reset --hard HEAD", shell=True)
try:
# Rename colloid generated files as per catppuccin
new_filename = dest + \
f"/{theme_name}-{type.capitalize()}-{size.capitalize()}-{accent.capitalize()}-{theme_style.title()}"
filename = f"{theme_name}"
if def_color_map[accent] != 'default':
filename += f"-{def_color_map[accent].capitalize()}"
filename += f"-{theme_style.capitalize()}"
if size == 'compact':
filename += '-Compact'
try:
shutil.rmtree(new_filename + '-hdpi')
shutil.rmtree(new_filename + '-xhdpi')
shutil.rmtree(new_filename)
except:
pass
os.rename(dest + "/" + filename + '-hdpi',
new_filename + '-hdpi')
os.rename(dest + "/" + filename + '-xhdpi',
new_filename + '-xhdpi')
os.rename(dest + "/" + filename, new_filename)
print("Successfully renamed file")
except Exception as e:
print("Failed to rename the files due to:", e)
if link:
try:
# Attempte relinking all the libadvaita files
subprocess.call(
'rm -rf "${HOME}/.config/gtk-4.0/"{assets,gtk.css,gtk-dark.css}', shell=True)
HOME = os.path.expanduser('~')
try:
os.makedirs(f"{HOME}/.config/gtk-4.0")
except FileExistsError:
pass
os.symlink(f"{new_filename}/gtk-4.0/assets",
f"{HOME}/.config/gtk-4.0/assets")
os.symlink(f"{new_filename}/gtk-4.0/gtk.css",
f"{HOME}/.config/gtk-4.0/gtk.css")
os.symlink(f"{new_filename}/gtk-4.0/gtk-dark.css",
f"{HOME}/.config/gtk-4.0/gtk-dark.css")
print("Successfully created symlinks for libadvaita")
except Exception as e:
print("Failed to link due to :", e)
if zip:
foldernames = [new_filename, new_filename + '-xhdpi', new_filename + '-hdpi']
zip_multiple_folders(foldernames, new_filename + ".zip", not link)

16
scripts/ctp_colors.py Normal file
View File

@@ -0,0 +1,16 @@
from catppuccin import Flavour
ctp_colors = {
"latte": Flavour.latte(),
"mocha": Flavour.mocha(),
"frappe": Flavour.frappe(),
"macchiato": Flavour.macchiato()
}
def get_all_accent():
accent = {}
for key, value in Flavour.latte().__dict__.items():
if key not in ['white', 'black', 'text', 'subtext0', 'subtext1', 'overlay0', 'overlay1', 'overlay2', 'surface0', 'surface1', 'surface2', 'base', 'mantle', 'crust']:
accent[key] = value
return accent

141
scripts/recolor.py Normal file
View File

@@ -0,0 +1,141 @@
from catppuccin import Flavour
from .utils import replacetext
from .var import (def_accent_dark, def_accent_light, def_color_map, src_dir,
theme_name, work_dir)
def recolor_accent(flavor, file: str, accent: str = "blue"):
"""
Recolors the accent color in a file.
flavor:
The flavor to recolor to. Like mocha, frappe, latte, etc.
file:
The file to modify
accent:
The accent color to replace. Defaults to Blue
"""
print(f"Recoloring accent for {file}...")
# Recolor as per accent for light. Hard code it as latte
for key, value in Flavour.latte().__dict__.items():
if key == accent:
replacetext(
file, def_accent_light[def_color_map[accent]], value.hex)
# Recolor as per base for dark theme.
for key, value in flavor.__dict__.items():
if key == accent:
replacetext(
file, def_accent_dark[def_color_map[accent]], value.hex)
def recolor(flavor, accent: str):
"""
Recolor the theme. currently hard code it frappe
"""
print("Recoloring to suit catppuccin theme")
replacetext(f"{work_dir}/install.sh", "Colloid", theme_name)
print("MOD: Gtkrc.sh")
# Recolor as per accent for dark
recolor_accent(flavor, f"{work_dir}/gtkrc.sh", accent)
replacetext(f"{work_dir}/gtkrc.sh", "background_light='#FFFFFF'",
f"background_light='#{Flavour.latte().base.hex}'") # use latte_base for background_light
replacetext(f"{work_dir}/gtkrc.sh", "background_dark='#0F0F0F'",
f"background_dark='#{flavor.base.hex}'")
replacetext(f"{work_dir}/gtkrc.sh", "background_darker='#121212'",
f"background_darker='#{flavor.mantle.hex}'")
replacetext(f"{work_dir}/gtkrc.sh",
"background_alt='#212121'", f"background_alt='#{flavor.crust.hex}'")
replacetext(f"{work_dir}/gtkrc.sh", "titlebar_light='#F2F2F2'",
f"titlebar_light='#{Flavour.latte().crust.hex}'") # use latte_crust for titlebar_light
replacetext(f"{work_dir}/gtkrc.sh", "titlebar_dark='#030303'",
f"titlebar_dark='#{flavor.crust.hex}'")
replacetext(f"{work_dir}/gtkrc.sh", "background_dark='#2C2C2C'",
f"background_dark='#{flavor.base.hex}'")
replacetext(f"{work_dir}/gtkrc.sh", "background_darker='#3C3C3C'",
f"background_darker='#{flavor.mantle.hex}'")
replacetext(f"{work_dir}/gtkrc.sh",
"background_alt='#464646'", f"background_alt='#{flavor.crust.hex}'")
replacetext(f"{work_dir}/gtkrc.sh",
"titlebar_light='#F2F2F2'", f"titlebar_light='#{Flavour.latte().crust.hex}'")
replacetext(f"{work_dir}/gtkrc.sh",
"titlebar_dark='#242424'", f"titlebar_dark='#{flavor.crust.hex}'")
print("Mod SASS Color_Palette_default")
recolor_accent(
flavor, f"{src_dir}/sass/_color-palette-default.scss", accent)
# Greys
if flavor == Flavour.latte(): # Hardcode till someone smarter than me comes along
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-050: #FAFAFA", f"grey-050: #{flavor.crust.hex}")
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-100: #F2F2F2", f"grey-100: #{flavor.mantle.hex}")
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-150: #EEEEEE", f"grey-150: #{flavor.base.hex}")
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-200: #DDDDDD", f"grey-200: #{flavor.surface0.hex}") # Surface 0 Late
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-250: #CCCCCC", f"grey-250: #{flavor.surface1.hex}") # D = Surface 1 Late
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-650: #3C3C3C", f"grey-650: #{Flavour.mocha().surface0.hex}") # H $surface $tooltip
replacetext(f"{src_dir}/sass/_color-palette-default.scss", "grey-700: #2C2C2C",
f"grey-700: #{Flavour.mocha().base.hex}") # G $background; $base; titlebar-backdrop; $popover
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-750: #242424", f"grey-750: #{Flavour.mocha().crust.hex}") # F $base-alt
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-800: #212121", f"grey-800: #{Flavour.mocha().crust.hex}") # E $panel-solid;p
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-850: #121212", f"grey-850: #{Flavour.mocha().surface1.hex}") # H Darknes
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-900: #0F0F0F", f"grey-900: #{Flavour.mocha().base.hex}") # G Darknes
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-950: #030303", f"grey-950: #{Flavour.mocha().crust.hex}") # F Darknes
else:
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-050: #FAFAFA", f"grey-050: #{flavor.overlay2.hex}")
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-100: #F2F2F2", f"grey-100: #{flavor.overlay1.hex}")
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-150: #EEEEEE", f"grey-150: #{flavor.overlay0.hex}")
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-200: #DDDDDD", f"grey-200: #{flavor.surface2.hex}") # Surface 0 Late
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-250: #CCCCCC", f"grey-250: #{flavor.surface1.hex}") # D = Surface 1 Late
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-650: #3C3C3C", f"grey-650: #{flavor.surface0.hex}") # H $surface $tooltip
replacetext(f"{src_dir}/sass/_color-palette-default.scss", "grey-700: #2C2C2C",
f"grey-700: #{flavor.base.hex}") # G $background; $base; titlebar-backdrop; $popover
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-750: #242424", f"grey-750: #{flavor.crust.hex}") # F $base-alt
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-800: #212121", f"grey-800: #{flavor.crust.hex}") # E $panel-solid;p
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-850: #121212", f"grey-850: #{flavor.surface1.hex}") # H Darknes
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-900: #0F0F0F", f"grey-900: #{flavor.base.hex}") # G Darknes
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"grey-950: #030303", f"grey-950: #{flavor.crust.hex}") # F Darknes
# Buttons
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"button-close: #fd5f51", f"button-close: #{flavor.red.hex}")
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"button-max: #38c76a", f"button-max: #{flavor.green.hex}")
replacetext(f"{src_dir}/sass/_color-palette-default.scss",
"button-min: #fdbe04", f"button-min: #{flavor.yellow.hex}")
print("Mod Accent Cinnamon")
recolor_accent(flavor, f"{src_dir}/assets/cinnamon/make-assets.sh", accent)
print("Mod Accent Gnome shell")
recolor_accent(
flavor, f"{src_dir}/assets/gnome-shell/make-assets.sh", accent)
print("Mod Accent GTK")
recolor_accent(flavor, f"{src_dir}/assets/gtk/make-assets.sh", accent)
print("Mod Accent GTK 2.0")
recolor_accent(flavor, f"{src_dir}/assets/gtk-2.0/make-assets.sh", accent)

47
scripts/utils.py Normal file
View File

@@ -0,0 +1,47 @@
import os
import re
import shutil
import zipfile
def replacetext(file_name: str, search_text: str, replace_text: str) -> None:
"""
Helper function to replace the color in the file.
Can be used to replace any text in the file.
Args:
file_name (str): The file to replace the text in.
search_text (str): The text to be replaced.
replace_text (str): The text to replace with.
Returns:
None
"""
with open(file_name, 'r+') as f:
file = f.read()
file = re.sub(search_text, replace_text, file)
f.seek(0)
f.write(file)
f.truncate()
def zipdir(path, ziph):
"""
Takes in a oath of a directory and zips it in a ziph.
Util to zip a directory.
Thanks https://stackoverflow.com/questions/46229764/python-zip-multiple-directories-into-one-zip-file
"""
for root, _, files in os.walk(path):
for file in files:
ziph.write(os.path.join(root, file),
os.path.relpath(os.path.join(root, file),
os.path.join(path, '..')))
def zip_multiple_folders(dir_list, zip_name, remove = True):
zipf = zipfile.ZipFile(zip_name, 'w', zipfile.ZIP_DEFLATED)
for dir in dir_list:
zipdir(dir, zipf)
if remove:
shutil.rmtree(dir)
zipf.close()

50
scripts/var.py Normal file
View File

@@ -0,0 +1,50 @@
import os
repo_dir = os.getcwd()
work_dir = f"{repo_dir}/colloid"
src_dir = f"{work_dir}/src"
tmp_dir = f"{repo_dir}/releases"
theme_name = "Catppuccin"
# Map catppuccin colors to colloid ones
# These are mostly unused except for resources for lower gtk versions.
# These assets are in png format and I am not really interested right now to recolor them using opencv
# Maybe someone more motivated can follow through
def_color_map = {
'rosewater': 'pink',
'flamingo': 'pink',
'pink': 'pink',
'mauve': 'purple',
'red': 'red',
'maroon': 'red',
'peach': 'orange',
'yellow': 'yellow',
'green': 'green',
'teal': 'teal',
'sky': 'teal',
'sapphire': 'default',
'blue': 'default',
'lavender': 'default'}
def_accent_light = {
'default': '3c84f7',
'purple': 'AB47BC',
'pink': 'EC407A',
'red': 'E53935',
'orange': 'F57C00',
'yellow': 'FBC02D',
'green': '4CAF50',
'teal': '009688'
}
def_accent_dark = {
'default': '5b9bf8',
'purple': 'BA68C8',
'pink': 'F06292',
'red': 'F44336',
'orange': 'FB8C00',
'yellow': 'FFD600',
'green': '66BB6A',
'teal': '4DB6AC'
}

View File

@@ -1,56 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
viewBox="0 0 16 16"
version="1.1"
id="svg4"
sodipodi:docname="calendar-arrow-left.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="704"
id="namedview6"
showgrid="false"
inkscape:zoom="29.5"
inkscape:cx="13.680381"
inkscape:cy="6.1418434"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4" />
<path
d="M10 3v10L5 8z"
fill="#000000"
opacity="0.54"
id="path2"
style="fill:#e6e6e6" />
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -1,56 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
viewBox="0 0 16 16"
version="1.1"
id="svg4"
sodipodi:docname="calendar-arrow-right.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="704"
id="namedview6"
showgrid="false"
inkscape:zoom="14.75"
inkscape:cx="8"
inkscape:cy="8"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4" />
<path
d="M6 3v10l5-5z"
fill="#000000"
opacity="0.54"
id="path2"
style="fill:#e6e6e6" />
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="12" r="10" fill="#ffffff" opacity=".12"/>
</svg>

Before

Width:  |  Height:  |  Size: 168 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="12" r="10" fill="#ffffff" opacity=".12"/>
</svg>

Before

Width:  |  Height:  |  Size: 168 B

View File

@@ -1,4 +0,0 @@
<svg width="40" height="20" version="1.1" xmlns="http://www.w3.org/2000/svg">
<rect transform="scale(-1,1)" x="-40" y="-.019988" width="40" height="20" rx="10" ry="10" fill="#ffffff" opacity=".35" stroke-width="0" style="paint-order:stroke fill markers"/>
<circle cx="9.98" cy="9.98" r="8.98" fill="#ffffff" stroke-width="0" style="paint-order:stroke fill markers"/>
</svg>

Before

Width:  |  Height:  |  Size: 376 B

View File

@@ -1,6 +0,0 @@
<svg width="400" height="120" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0 -932.36)">
<rect x="10" y="942.36" width="380" height="160" rx="18" ry="18" fill="#4d4d4d" stroke-width="0"/>
<path class="ColorScheme-Text" d="m200 964.36c-4.4183 0-8 3.5817-8 8h-16v4h48v-4h-16c0-4.4183-3.5817-8-8-8zm0 4c2.2091 1e-5 4 1.7909 4 4h-8c1e-5 -2.2091 1.7909-4 4-4zm-20 12v32c0 4.4321 3.5679 8.0001 8 8.0001h24c4.4321 0 8-3.568 8-8.0001v-32h-38zm4 4h32v28c0 2.2161-1.7839 4.0001-4 4.0001h-24c-2.2161 0-4-1.784-4-4.0001z" fill="#ececec"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 573 B

View File

@@ -1,56 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
viewBox="0 0 16 16"
version="1.1"
id="svg4"
sodipodi:docname="calendar-arrow-left.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="704"
id="namedview6"
showgrid="false"
inkscape:zoom="29.5"
inkscape:cx="13.680381"
inkscape:cy="6.1418434"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4" />
<path
d="M10 3v10L5 8z"
fill="#000000"
opacity="0.54"
id="path2"
style="fill:#e6e6e6" />
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -1,56 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
viewBox="0 0 16 16"
version="1.1"
id="svg4"
sodipodi:docname="calendar-arrow-right.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="704"
id="namedview6"
showgrid="false"
inkscape:zoom="14.75"
inkscape:cx="8"
inkscape:cy="8"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4" />
<path
d="M6 3v10l5-5z"
fill="#000000"
opacity="0.54"
id="path2"
style="fill:#e6e6e6" />
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" fill="#000000" opacity=".54" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m12 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#dfdfdf"/>
</svg>

Before

Width:  |  Height:  |  Size: 291 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" fill="#000000" opacity=".54" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m12 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#dfdfdf"/>
</svg>

Before

Width:  |  Height:  |  Size: 291 B

View File

@@ -1,4 +0,0 @@
<svg width="40" height="20" version="1.1" xmlns="http://www.w3.org/2000/svg">
<path d="m10 0c-5.54 0-10 4.46-10 10s4.46 10 10 10h20c5.54 0 10-4.46 10-10s-4.46-10-10-10zm0 1h20c4.986 0 9 4.014 9 9s-4.014 9-9 9h-20c-4.986 0-9-4.014-9-9s4.014-9 9-9z" fill="#ffffff" opacity=".5" stroke-width="0" style="paint-order:stroke fill markers"/>
<circle transform="scale(-1,1)" cx="-10" cy="10" r="5" fill="#ffffff" opacity=".5" stroke-width="0" style="paint-order:stroke fill markers"/>
</svg>

Before

Width:  |  Height:  |  Size: 486 B

View File

@@ -1,6 +0,0 @@
<svg width="400" height="120" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0 -932.36)">
<rect x="10" y="942.36" width="380" height="160" rx="18" ry="18" fill="#4d4d4d" stroke-width="0"/>
<path class="ColorScheme-Text" d="m200 964.36c-4.4183 0-8 3.5817-8 8h-16v4h48v-4h-16c0-4.4183-3.5817-8-8-8zm0 4c2.2091 1e-5 4 1.7909 4 4h-8c1e-5 -2.2091 1.7909-4 4-4zm-20 12v32c0 4.4321 3.5679 8.0001 8 8.0001h24c4.4321 0 8-3.568 8-8.0001v-32h-38zm4 4h32v28c0 2.2161-1.7839 4.0001-4 4.0001h-24c-2.2161 0-4-1.784-4-4.0001z" fill="#ececec"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 573 B

View File

@@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path d="M10 3v10L5 8z" fill="#000000" opacity="0.54"/>
</svg>

Before

Width:  |  Height:  |  Size: 149 B

View File

@@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path d="M6 3v10l5-5z" fill="#000000" opacity="0.54"/>
</svg>

Before

Width:  |  Height:  |  Size: 148 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="12" r="10" fill="#000000" opacity=".12"/>
</svg>

Before

Width:  |  Height:  |  Size: 168 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="12" r="10" fill="#000000" opacity=".12"/>
</svg>

Before

Width:  |  Height:  |  Size: 168 B

View File

@@ -1,4 +0,0 @@
<svg width="40" height="20" version="1.1" xmlns="http://www.w3.org/2000/svg">
<rect transform="scale(-1,1)" x="-40" y="-.019988" width="40" height="20" rx="10" ry="10" fill="#000000" opacity=".35" stroke-width="0" style="paint-order:stroke fill markers"/>
<circle cx="9.98" cy="9.98" r="8.98" fill="#ffffff" stroke-width="0" style="paint-order:stroke fill markers"/>
</svg>

Before

Width:  |  Height:  |  Size: 376 B

View File

@@ -1,6 +0,0 @@
<svg width="400" height="120" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0 -932.36)">
<rect x="10" y="942.36" width="380" height="160" rx="18" ry="18" fill="#ffffff" stroke-width="0"/>
<path class="ColorScheme-Text" d="m200 964.36c-4.4183 0-8 3.5817-8 8h-16v4h48v-4h-16c0-4.4183-3.5817-8-8-8zm0 4c2.2091 1e-5 4 1.7909 4 4h-8c1e-5 -2.2091 1.7909-4 4-4zm-20 12v32c0 4.4321 3.5679 8.0001 8 8.0001h24c4.4321 0 8-3.568 8-8.0001v-32h-38zm4 4h32v28c0 2.2161-1.7839 4.0001-4 4.0001h-24c-2.2161 0-4-1.784-4-4.0001z" fill="#4d4d4d"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 573 B

View File

@@ -1,112 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="35"
height="200"
id="svg2"
version="1.1"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="add-workspace-hover.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4"
inkscape:cx="-81.038405"
inkscape:cy="108.58132"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:window-width="1366"
inkscape:window-height="709"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
showguides="false"
inkscape:guide-bbox="true"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:bbox-nodes="true">
<inkscape:grid
type="xygrid"
id="grid3040"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
<sodipodi:guide
orientation="0,1"
position="20,100"
id="guide3893"
inkscape:locked="false" />
<sodipodi:guide
orientation="1,0"
position="18,190"
id="guide3895"
inkscape:locked="false" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-852.36218)">
<path
id="rect4694"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.5;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 7,857.36218 28,0 0,190.00002 -28,0 c -1.108,0 -2,-0.892 -2,-2 L 5,859.36218 c 0,-1.108 0.892,-2 2,-2 z"
inkscape:connector-curvature="0"
sodipodi:nodetypes="sccssss" />
<g
transform="translate(0,-0.9999969)"
id="g3917-7"
style="fill:#eceff1;fill-opacity:1;opacity:0.5;stroke:none;stroke-opacity:1" />
<path
id="rect4804"
transform="translate(0,852.36218)"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 18,94 c -0.554,0 -1,0.446 -1,1 l 0,4 -4,0 c -0.554,0 -1,0.446 -1,1 0,0.554 0.446,1 1,1 l 4,0 0,4 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 l 0,-4 4,0 c 0.554,0 1,-0.446 1,-1 0,-0.554 -0.446,-1 -1,-1 l -4,0 0,-4 c 0,-0.554 -0.446,-1 -1,-1 z m 8,6 a 8,8 0 0 1 -8,8 8,8 0 0 1 -8,-8 8,8 0 0 1 8,-8 8,8 0 0 1 8,8 z" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -1,113 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="35"
height="200"
id="svg2"
version="1.1"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="add-workspace.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4"
inkscape:cx="-28.526103"
inkscape:cy="75.41215"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:window-width="1366"
inkscape:window-height="709"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
showguides="false"
inkscape:guide-bbox="true"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:bbox-nodes="true"
inkscape:document-rotation="0">
<inkscape:grid
type="xygrid"
id="grid3040"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
<sodipodi:guide
orientation="0,1"
position="20,100"
id="guide3893"
inkscape:locked="false" />
<sodipodi:guide
orientation="1,0"
position="18,190"
id="guide3895"
inkscape:locked="false" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-852.36218)">
<path
id="rect4694"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.35;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 7,857.36218 28,0 0,190.00002 -28,0 c -1.108,0 -2,-0.892 -2,-2 L 5,859.36218 c 0,-1.108 0.892,-2 2,-2 z"
inkscape:connector-curvature="0"
sodipodi:nodetypes="sccssss" />
<g
transform="translate(0,-0.9999969)"
id="g3917-7"
style="fill:#eceff1;fill-opacity:1;opacity:0.5;stroke:none;stroke-opacity:1" />
<path
id="rect4804"
transform="translate(0,852.36218)"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.87;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 18,94 c -0.554,0 -1,0.446 -1,1 l 0,4 -4,0 c -0.554,0 -1,0.446 -1,1 0,0.554 0.446,1 1,1 l 4,0 0,4 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 l 0,-4 4,0 c 0.554,0 1,-0.446 1,-1 0,-0.554 -0.446,-1 -1,-1 l -4,0 0,-4 c 0,-0.554 -0.446,-1 -1,-1 z m 8,6 a 8,8 0 0 1 -8,8 8,8 0 0 1 -8,-8 8,8 0 0 1 8,-8 8,8 0 0 1 8,8 z" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -1,10 +0,0 @@
<svg id="Foreground" width="26" height="26" enable-background="new 0 0 16 16" version="1.0" viewBox="0 0 18.909 18.909" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="filter839" x="-.048" y="-.048" width="1.096" height="1.096" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="0.32"/>
</filter>
</defs>
<circle cx="9.4545" cy="10.182" r="8" fill="#000000" filter="url(#filter839)" opacity=".1" stroke-width="0"/>
<circle cx="9.4545" cy="9.4545" r="8" fill="#d8354a" stroke-width="0"/>
<path d="m6.1115 5.7478c-0.092952 1e-7 -0.18588 0.035309-0.2571 0.10653-0.14245 0.14245-0.14245 0.37175 0 0.5142l3.0852 3.0866-3.0852 3.0852c-0.14245 0.14245-0.14245 0.37175 0 0.5142 0.14245 0.14245 0.37317 0.14245 0.51562 0l3.0852-3.0852 3.0852 3.0852c0.14245 0.14245 0.37175 0.14245 0.5142 0 0.14245-0.14245 0.14245-0.37175 0-0.5142l-3.0852-3.0852 3.0852-3.0866c0.14245-0.14245 0.14245-0.37175 0-0.5142-0.14245-0.14245-0.37175-0.14245-0.5142 0l-3.0852 3.0852-3.0852-3.0852c-0.071224-0.071224-0.16557-0.10653-0.25852-0.10653z" fill="#ffffff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.3606" style="paint-order:markers stroke fill"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -1,10 +0,0 @@
<svg id="Foreground" width="26" height="26" enable-background="new 0 0 16 16" version="1.0" viewBox="0 0 18.909 18.909" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="filter839" x="-.048" y="-.048" width="1.096" height="1.096" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="0.32"/>
</filter>
</defs>
<circle cx="9.4545" cy="10.182" r="8" fill="#000000" filter="url(#filter839)" opacity=".1" stroke-width="0"/>
<circle cx="9.4545" cy="9.4545" r="8" fill="#ff7a80" stroke-width="0"/>
<path d="m6.1115 5.7478c-0.092952 1e-7 -0.18588 0.035309-0.2571 0.10653-0.14245 0.14245-0.14245 0.37175 0 0.5142l3.0852 3.0866-3.0852 3.0852c-0.14245 0.14245-0.14245 0.37175 0 0.5142 0.14245 0.14245 0.37317 0.14245 0.51562 0l3.0852-3.0852 3.0852 3.0852c0.14245 0.14245 0.37175 0.14245 0.5142 0 0.14245-0.14245 0.14245-0.37175 0-0.5142l-3.0852-3.0852 3.0852-3.0866c0.14245-0.14245 0.14245-0.37175 0-0.5142-0.14245-0.14245-0.37175-0.14245-0.5142 0l-3.0852 3.0852-3.0852-3.0852c-0.071224-0.071224-0.16557-0.10653-0.25852-0.10653z" fill="#ffffff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.3606" style="paint-order:markers stroke fill"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -1,10 +0,0 @@
<svg id="Foreground" width="26" height="26" enable-background="new 0 0 16 16" version="1.0" viewBox="0 0 18.909 18.909" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="filter879" x="-.048" y="-.048" width="1.096" height="1.096" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="0.32"/>
</filter>
</defs>
<circle cx="9.4545" cy="10.182" r="8" fill="#000000" filter="url(#filter879)" opacity=".1" stroke-width="0"/>
<circle cx="9.4545" cy="9.4545" r="8" fill="#f75a61" stroke-width="0"/>
<path d="m6.1115 5.7478c-0.092952 1e-7 -0.18588 0.035309-0.2571 0.10653-0.14245 0.14245-0.14245 0.37175 0 0.5142l3.0852 3.0866-3.0852 3.0852c-0.14245 0.14245-0.14245 0.37175 0 0.5142 0.14245 0.14245 0.37317 0.14245 0.51562 0l3.0852-3.0852 3.0852 3.0852c0.14245 0.14245 0.37175 0.14245 0.5142 0 0.14245-0.14245 0.14245-0.37175 0-0.5142l-3.0852-3.0852 3.0852-3.0866c0.14245-0.14245 0.14245-0.37175 0-0.5142-0.14245-0.14245-0.37175-0.14245-0.5142 0l-3.0852 3.0852-3.0852-3.0852c-0.071224-0.071224-0.16557-0.10653-0.25852-0.10653z" fill="#ffffff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.3606" style="paint-order:markers stroke fill"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -1,138 +0,0 @@
#! /usr/bin/env bash
for theme in '' '-Purple' '-Pink' '-Red' '-Orange' '-Yellow' '-Green' '-Teal' '-Grey'; do
for type in '' '-Nord' '-Dracula'; do
case "$theme" in
'')
theme_color_dark='#1e66f5'
theme_color_light='#8caaee'
;;
-Purple)
theme_color_dark='#8839ef'
theme_color_light='#ca9ee6'
;;
-Pink)
theme_color_dark='#ea76cb'
theme_color_light='#f4b8e4'
;;
-Red)
theme_color_dark='#d20f39'
theme_color_light='#e78284'
;;
-Orange)
theme_color_dark='#fe640b'
theme_color_light='#ef9f76'
;;
-Yellow)
theme_color_dark='#df8e1d'
theme_color_light='#e5c890'
;;
-Green)
theme_color_dark='#40a02b'
theme_color_light='#a6d189'
;;
-Teal)
theme_color_dark='#179299'
theme_color_light='#81c8be'
;;
-Grey)
theme_color_dark='#45475a'
theme_color_light='#ccd0da'
;;
esac
if [[ "$type" == '-Nord' ]]; then
case "$theme" in
'')
theme_color_dark='#5e81ac'
theme_color_light='#89a3c2'
;;
-Purple)
theme_color_dark='#b57daa'
theme_color_light='#c89dbf'
;;
-Pink)
theme_color_dark='#cd7092'
theme_color_light='#dc98b1'
;;
-Red)
theme_color_dark='#c35b65'
theme_color_light='#d4878f'
;;
-Orange)
theme_color_dark='#d0846c'
theme_color_light='#dca493'
;;
-Yellow)
theme_color_dark='#e4b558'
theme_color_light='#eac985'
;;
-Green)
theme_color_dark='#82ac5d'
theme_color_light='#a0c082'
;;
-Teal)
theme_color_dark='#63a6a5'
theme_color_light='#83b9b8'
;;
-Grey)
theme_color_dark='#3a4150'
theme_color_light='#d9dce3'
;;
esac
fi
if [[ "$type" == '-Dracula' ]]; then
case "$theme" in
'')
theme_color_dark='#a679ec'
theme_color_light='#bd93f9'
;;
-Purple)
theme_color_dark='#a679ec'
theme_color_light='#bd93f9'
;;
-Pink)
theme_color_dark='#f04cab'
theme_color_light='#ff79c6'
;;
-Red)
theme_color_dark='#f44d4d'
theme_color_light='#ff5555'
;;
-Orange)
theme_color_dark='#f8a854'
theme_color_light='#ffb86c'
;;
-Yellow)
theme_color_dark='#e8f467'
theme_color_light='#f1fa8c'
;;
-Green)
theme_color_dark='#4be772'
theme_color_light='#50fa7b'
;;
-Teal)
theme_color_dark='#20eed9'
theme_color_light='#50fae9'
;;
-Grey)
theme_color_dark='#3c3f51'
theme_color_light='#d9dae3'
;;
esac
fi
if [[ "$type" != '' ]]; then
cp -rf "theme" "theme${theme}${type}"
sed -i "s/#3c84f7/${theme_color_dark}/g" "theme${theme}${type}"/*.svg
sed -i "s/#5b9bf8/${theme_color_light}/g" "theme${theme}${type}"/*.svg
elif [[ "$theme" != '' ]]; then
cp -rf "theme" "theme${theme}"
sed -i "s/#3c84f7/${theme_color_dark}/g" "theme${theme}"/*.svg
sed -i "s/#5b9bf8/${theme_color_light}/g" "theme${theme}"/*.svg
fi
done
done
echo -e "DONE!"

View File

@@ -1,6 +0,0 @@
<svg width="35" height="200" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0 -852.36)" shape-rendering="auto">
<path d="m7 857.36h28v190h-28c-1.108 0-2-0.892-2-2v-186c0-1.108 0.892-2 2-2z" color="#000000" color-rendering="auto" fill="#a679ec" image-rendering="auto" solid-color="#000000" style="isolation:auto;mix-blend-mode:normal"/>
<path transform="translate(0 852.36)" d="m18 94c-0.554 0-1 0.446-1 1v4h-4c-0.554 0-1 0.446-1 1s0.446 1 1 1h4v4c0 0.554 0.446 1 1 1s1-0.446 1-1v-4h4c0.554 0 1-0.446 1-1s-0.446-1-1-1h-4v-4c0-0.554-0.446-1-1-1zm8 6a8 8 0 0 1-8 8 8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8z" color="#000000" color-rendering="auto" fill="#ffffff" image-rendering="auto" solid-color="#000000" style="isolation:auto;mix-blend-mode:normal"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 797 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m12 2a10 10 0 0 0-10 10 10 10 0 0 0 10 10 10 10 0 0 0 10-10 10 10 0 0 0-10-10zm5.6289 5.9629v0.0019532c0.12781-4e-6 0.25558 0.04855 0.35352 0.14648 0.19587 0.19587 0.19587 0.51116 0 0.70703l-7.0723 7.0723c-0.02449 0.02449-0.050325 0.046133-0.078125 0.064453-0.02772 0.01839-0.055857 0.032682-0.085937 0.044922-0.03009 0.01224-0.06225 0.019271-0.09375 0.025391-0.03149 0.0061-0.063743 0.011718-0.095703 0.011718-0.03195 0-0.06226-0.005518-0.09375-0.011718-0.03149-0.0061-0.06367-0.013151-0.09375-0.025391-0.03009-0.01224-0.058188-0.026562-0.085938-0.044922-0.01389-0.0092-0.027866-0.02051-0.041015-0.03125-0.013121-0.01071-0.026823-0.022916-0.039063-0.035156l-4.1855-4.1875c-0.19587-0.19587-0.19587-0.51116 0-0.70703 0.19587-0.19587 0.51116-0.19587 0.70703 0l3.832 3.834 6.7188-6.7188c0.09793-0.09793 0.22571-0.14648 0.35352-0.14648z" fill="#bd93f9"/>
</svg>

Before

Width:  |  Height:  |  Size: 966 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m12 2a10 10 0 0 0-10 10 10 10 0 0 0 10 10 10 10 0 0 0 10-10 10 10 0 0 0-10-10zm5.6289 5.9629v0.0019532c0.12781-4e-6 0.25558 0.04855 0.35352 0.14648 0.19587 0.19587 0.19587 0.51116 0 0.70703l-7.0723 7.0723c-0.02449 0.02449-0.050325 0.046133-0.078125 0.064453-0.02772 0.01839-0.055857 0.032682-0.085937 0.044922-0.03009 0.01224-0.06225 0.019271-0.09375 0.025391-0.03149 0.0061-0.063743 0.011718-0.095703 0.011718-0.03195 0-0.06226-0.005518-0.09375-0.011718-0.03149-0.0061-0.06367-0.013151-0.09375-0.025391-0.03009-0.01224-0.058188-0.026562-0.085938-0.044922-0.01389-0.0092-0.027866-0.02051-0.041015-0.03125-0.013121-0.01071-0.026823-0.022916-0.039063-0.035156l-4.1855-4.1875c-0.19587-0.19587-0.19587-0.51116 0-0.70703 0.19587-0.19587 0.51116-0.19587 0.70703 0l3.832 3.834 6.7188-6.7188c0.09793-0.09793 0.22571-0.14648 0.35352-0.14648z" fill="#a679ec"/>
</svg>

Before

Width:  |  Height:  |  Size: 966 B

View File

@@ -1,5 +0,0 @@
<svg width="104" height="104" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0 -948.36)">
<circle id="corner-ripple" cx="52" cy="1000.4" r="48" fill="#a679ec" opacity=".25"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 218 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m12 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 8c1.1046 0 2 0.89543 2 2s-0.89543 2-2 2-2-0.89543-2-2 0.89543-2 2-2z" fill="#bd93f9"/>
</svg>

Before

Width:  |  Height:  |  Size: 275 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m12 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 8c1.1046 0 2 0.89543 2 2s-0.89543 2-2 2-2-0.89543-2-2 0.89543-2 2-2z" fill="#a679ec"/>
</svg>

Before

Width:  |  Height:  |  Size: 275 B

View File

@@ -1,6 +0,0 @@
<svg width="35" height="200" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0 -852.36)" shape-rendering="auto">
<path d="m7 857.36h28v190h-28c-1.108 0-2-0.892-2-2v-186c0-1.108 0.892-2 2-2z" color="#000000" color-rendering="auto" fill="#3c84f7" image-rendering="auto" solid-color="#000000" style="isolation:auto;mix-blend-mode:normal"/>
<path transform="translate(0 852.36)" d="m18 94c-0.554 0-1 0.446-1 1v4h-4c-0.554 0-1 0.446-1 1s0.446 1 1 1h4v4c0 0.554 0.446 1 1 1s1-0.446 1-1v-4h4c0.554 0 1-0.446 1-1s-0.446-1-1-1h-4v-4c0-0.554-0.446-1-1-1zm8 6a8 8 0 0 1-8 8 8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8z" color="#000000" color-rendering="auto" fill="#ffffff" image-rendering="auto" solid-color="#000000" style="isolation:auto;mix-blend-mode:normal"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 797 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m12 2a10 10 0 0 0-10 10 10 10 0 0 0 10 10 10 10 0 0 0 10-10 10 10 0 0 0-10-10zm5.6289 5.9629v0.0019532c0.12781-4e-6 0.25558 0.04855 0.35352 0.14648 0.19587 0.19587 0.19587 0.51116 0 0.70703l-7.0723 7.0723c-0.02449 0.02449-0.050325 0.046133-0.078125 0.064453-0.02772 0.01839-0.055857 0.032682-0.085937 0.044922-0.03009 0.01224-0.06225 0.019271-0.09375 0.025391-0.03149 0.0061-0.063743 0.011718-0.095703 0.011718-0.03195 0-0.06226-0.005518-0.09375-0.011718-0.03149-0.0061-0.06367-0.013151-0.09375-0.025391-0.03009-0.01224-0.058188-0.026562-0.085938-0.044922-0.01389-0.0092-0.027866-0.02051-0.041015-0.03125-0.013121-0.01071-0.026823-0.022916-0.039063-0.035156l-4.1855-4.1875c-0.19587-0.19587-0.19587-0.51116 0-0.70703 0.19587-0.19587 0.51116-0.19587 0.70703 0l3.832 3.834 6.7188-6.7188c0.09793-0.09793 0.22571-0.14648 0.35352-0.14648z" fill="#5b9bf8"/>
</svg>

Before

Width:  |  Height:  |  Size: 966 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m12 2a10 10 0 0 0-10 10 10 10 0 0 0 10 10 10 10 0 0 0 10-10 10 10 0 0 0-10-10zm5.6289 5.9629v0.0019532c0.12781-4e-6 0.25558 0.04855 0.35352 0.14648 0.19587 0.19587 0.19587 0.51116 0 0.70703l-7.0723 7.0723c-0.02449 0.02449-0.050325 0.046133-0.078125 0.064453-0.02772 0.01839-0.055857 0.032682-0.085937 0.044922-0.03009 0.01224-0.06225 0.019271-0.09375 0.025391-0.03149 0.0061-0.063743 0.011718-0.095703 0.011718-0.03195 0-0.06226-0.005518-0.09375-0.011718-0.03149-0.0061-0.06367-0.013151-0.09375-0.025391-0.03009-0.01224-0.058188-0.026562-0.085938-0.044922-0.01389-0.0092-0.027866-0.02051-0.041015-0.03125-0.013121-0.01071-0.026823-0.022916-0.039063-0.035156l-4.1855-4.1875c-0.19587-0.19587-0.19587-0.51116 0-0.70703 0.19587-0.19587 0.51116-0.19587 0.70703 0l3.832 3.834 6.7188-6.7188c0.09793-0.09793 0.22571-0.14648 0.35352-0.14648z" fill="#3c84f7"/>
</svg>

Before

Width:  |  Height:  |  Size: 966 B

View File

@@ -1,5 +0,0 @@
<svg width="104" height="104" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0 -948.36)">
<circle id="corner-ripple" cx="52" cy="1000.4" r="48" fill="#3c84f7" opacity=".25"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 218 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m12 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 8c1.1046 0 2 0.89543 2 2s-0.89543 2-2 2-2-0.89543-2-2 0.89543-2 2-2z" fill="#5b9bf8"/>
</svg>

Before

Width:  |  Height:  |  Size: 275 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m12 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 8c1.1046 0 2 0.89543 2 2s-0.89543 2-2 2-2-0.89543-2-2 0.89543-2 2-2z" fill="#3c84f7"/>
</svg>

Before

Width:  |  Height:  |  Size: 275 B

View File

@@ -1,4 +0,0 @@
<svg width="40" height="20" version="1.1" xmlns="http://www.w3.org/2000/svg">
<rect transform="scale(-1,1)" x="-40" y="-.019988" width="40" height="20" rx="10" ry="10" fill="#5b9bf8" stroke-width="0" style="paint-order:stroke fill markers"/>
<circle cx="30" cy="9.98" r="8.98" fill="#ffffff" stroke-width="0" style="paint-order:stroke fill markers"/>
</svg>

Before

Width:  |  Height:  |  Size: 360 B

View File

@@ -1,4 +0,0 @@
<svg width="40" height="20" version="1.1" xmlns="http://www.w3.org/2000/svg">
<rect transform="scale(-1,1)" x="-40" y="-.019988" width="40" height="20" rx="10" ry="10" fill="#3c84f7" stroke-width="0" style="paint-order:stroke fill markers"/>
<circle cx="30" cy="9.98" r="8.98" fill="#ffffff" stroke-width="0" style="paint-order:stroke fill markers"/>
</svg>

Before

Width:  |  Height:  |  Size: 360 B

View File

@@ -1,4 +0,0 @@
<svg width="40" height="20" version="1.1" xmlns="http://www.w3.org/2000/svg">
<rect transform="scale(-1,1)" x="-40" y="-.019988" width="40" height="20" rx="10" ry="10" fill="#bd93f9" stroke-width="0" style="paint-order:stroke fill markers"/>
<circle cx="30" cy="9.98" r="8.98" fill="#ffffff" stroke-width="0" style="paint-order:stroke fill markers"/>
</svg>

Before

Width:  |  Height:  |  Size: 360 B

View File

@@ -1,4 +0,0 @@
<svg width="40" height="20" version="1.1" xmlns="http://www.w3.org/2000/svg">
<rect transform="scale(-1,1)" x="-40" y="-.019988" width="40" height="20" rx="10" ry="10" fill="#a679ec" stroke-width="0" style="paint-order:stroke fill markers"/>
<circle cx="30" cy="9.98" r="8.98" fill="#ffffff" stroke-width="0" style="paint-order:stroke fill markers"/>
</svg>

Before

Width:  |  Height:  |  Size: 360 B

View File

@@ -1,6 +0,0 @@
<svg width="35" height="200" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0 -852.36)" shape-rendering="auto">
<path d="m7 857.36h28v190h-28c-1.108 0-2-0.892-2-2v-186c0-1.108 0.892-2 2-2z" color="#000000" color-rendering="auto" fill="#4be772" image-rendering="auto" solid-color="#000000" style="isolation:auto;mix-blend-mode:normal"/>
<path transform="translate(0 852.36)" d="m18 94c-0.554 0-1 0.446-1 1v4h-4c-0.554 0-1 0.446-1 1s0.446 1 1 1h4v4c0 0.554 0.446 1 1 1s1-0.446 1-1v-4h4c0.554 0 1-0.446 1-1s-0.446-1-1-1h-4v-4c0-0.554-0.446-1-1-1zm8 6a8 8 0 0 1-8 8 8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8z" color="#000000" color-rendering="auto" fill="#ffffff" image-rendering="auto" solid-color="#000000" style="isolation:auto;mix-blend-mode:normal"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 797 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m12 2a10 10 0 0 0-10 10 10 10 0 0 0 10 10 10 10 0 0 0 10-10 10 10 0 0 0-10-10zm5.6289 5.9629v0.0019532c0.12781-4e-6 0.25558 0.04855 0.35352 0.14648 0.19587 0.19587 0.19587 0.51116 0 0.70703l-7.0723 7.0723c-0.02449 0.02449-0.050325 0.046133-0.078125 0.064453-0.02772 0.01839-0.055857 0.032682-0.085937 0.044922-0.03009 0.01224-0.06225 0.019271-0.09375 0.025391-0.03149 0.0061-0.063743 0.011718-0.095703 0.011718-0.03195 0-0.06226-0.005518-0.09375-0.011718-0.03149-0.0061-0.06367-0.013151-0.09375-0.025391-0.03009-0.01224-0.058188-0.026562-0.085938-0.044922-0.01389-0.0092-0.027866-0.02051-0.041015-0.03125-0.013121-0.01071-0.026823-0.022916-0.039063-0.035156l-4.1855-4.1875c-0.19587-0.19587-0.19587-0.51116 0-0.70703 0.19587-0.19587 0.51116-0.19587 0.70703 0l3.832 3.834 6.7188-6.7188c0.09793-0.09793 0.22571-0.14648 0.35352-0.14648z" fill="#50fa7b"/>
</svg>

Before

Width:  |  Height:  |  Size: 966 B

View File

@@ -1,3 +0,0 @@
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m12 2a10 10 0 0 0-10 10 10 10 0 0 0 10 10 10 10 0 0 0 10-10 10 10 0 0 0-10-10zm5.6289 5.9629v0.0019532c0.12781-4e-6 0.25558 0.04855 0.35352 0.14648 0.19587 0.19587 0.19587 0.51116 0 0.70703l-7.0723 7.0723c-0.02449 0.02449-0.050325 0.046133-0.078125 0.064453-0.02772 0.01839-0.055857 0.032682-0.085937 0.044922-0.03009 0.01224-0.06225 0.019271-0.09375 0.025391-0.03149 0.0061-0.063743 0.011718-0.095703 0.011718-0.03195 0-0.06226-0.005518-0.09375-0.011718-0.03149-0.0061-0.06367-0.013151-0.09375-0.025391-0.03009-0.01224-0.058188-0.026562-0.085938-0.044922-0.01389-0.0092-0.027866-0.02051-0.041015-0.03125-0.013121-0.01071-0.026823-0.022916-0.039063-0.035156l-4.1855-4.1875c-0.19587-0.19587-0.19587-0.51116 0-0.70703 0.19587-0.19587 0.51116-0.19587 0.70703 0l3.832 3.834 6.7188-6.7188c0.09793-0.09793 0.22571-0.14648 0.35352-0.14648z" fill="#4be772"/>
</svg>

Before

Width:  |  Height:  |  Size: 966 B

View File

@@ -1,5 +0,0 @@
<svg width="104" height="104" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0 -948.36)">
<circle id="corner-ripple" cx="52" cy="1000.4" r="48" fill="#4be772" opacity=".25"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 218 B

Some files were not shown because too many files have changed in this diff Show More