diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml deleted file mode 100644 index 33002a75..00000000 --- a/.forgejo/workflows/build.yml +++ /dev/null @@ -1,59 +0,0 @@ -# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json -name: Build/Publish XBPS - -on: [push] - -jobs: - build-and-publish: - runs-on: docker - container: git.snaile.de/snailed/xbps-builder:2024.0520.2027@sha256:19295b8f229fffa436956f35c6f0ce266adbe11e5a44edbe24d9e0ed29edabd6 - env: - LICENSE: "GPL-3.0" - SHORT_DESCRIPTION: "Tokyonight GTK Theme" - MAINTAINER: "Luca Bilke " - NAME: "tokyonight-theme" - ARCH: "x86_64" - steps: - - name: Checkout - uses: https://code.forgejo.org/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - with: - submodules: true - - - name: Generate tag and package name - run: | - set -xeu - MAJOR=$(date +%Y) - MINOR=$(date +%m%d) - PATCH=$(date +%H%M) - echo "PACKAGE_NAME=${{ env.NAME }}-${MAJOR}.${MINOR}.${PATCH}_1" >> $GITHUB_ENV - - - name: Build - run: | - set -xeu - mkdir -p pkg/usr/share/themes - oomox-gtk-theme/change_color.sh -t pkg/usr/share/themes -o tokyonight -d true ./tokyonight - - - name: Create package - run : | - set -xeu - export XBPS_TARGET_ARCH=${{ env.ARCH }} - mkdir /target - cd /target || exit 1 - xbps-create -A ${{ env.ARCH }} \ - -H "${{ github.server_url }}/${{ github.repository }}" \ - -l "${{ env.LICENSE }}" \ - -n "${{ env.PACKAGE_NAME }}" \ - -m "${{ env.MAINTAINER }}" \ - -s "${{ env.SHORT_DESCRIPTION }}" \ - "${GITHUB_WORKSPACE}/pkg" - - - name: Push Package - run: | - set -xeu - curl -so "/target/${{ env.ARCH }}-repodata" "https://xbps.snaile.de/${{ env.ARCH }}-repodata" - xbps-rindex --add "/target/${{ env.PACKAGE_NAME }}.${{ env.ARCH }}.xbps" - echo '${{ secrets.XBPS_SIGNING_KEY }}' >/tmp/privkey.pem - XBPS_PASSPHRASE=${{ secrets.XBPS_SIGNING_PASSPHRASE }} xbps-rindex --privkey /tmp/privkey.pem --sign-pkg --signedby "${{ env.MAINTAINER }}" "/target/${{ env.PACKAGE_NAME }}.${{ env.ARCH }}.xbps" - rm /tmp/privkey.pem - ls -lAH /target - find /target -type f -exec sh -c 'curl -X PUT --digest -u "${{ vars.XBPS_WEBDAV_USER }}:${{ secrets.XBPS_WEBDAV_KEY }}" -T "${1}" "https://xbps.snaile.de/$(basename $1)"' find-shell {} \; diff --git a/Tokyonight-dark/Makefile b/Tokyonight-dark/Makefile new file mode 100755 index 00000000..3c174a1e --- /dev/null +++ b/Tokyonight-dark/Makefile @@ -0,0 +1,106 @@ +SASS=sassc +SASSFLAGS= -I +GLIB_COMPILE_RESOURCES=glib-compile-resources + +RES_DIR=gtk-3.0 +SCSS_DIR=$(RES_DIR)/scss +DIST_DIR=$(RES_DIR)/dist +# +RES_DIR320=gtk-3.20 +SCSS_DIR320=$(RES_DIR320)/scss +DIST_DIR320=$(RES_DIR320)/dist +# +RES_DIR_CINNAMON=cinnamon +SCSS_DIR_CINNAMON=$(RES_DIR_CINNAMON)/scss +DIST_DIR_CINNAMON=$(RES_DIR_CINNAMON) + +# GTK3 ######################################################################## + +$(DIST_DIR): + mkdir -p "$@" + +$(DIST_DIR)/gtk.css: $(DIST_DIR) + $(SASS) $(SASSFLAGS) "$(SCSS_DIR)" "$(SCSS_DIR)/gtk.scss" "$@" + +$(DIST_DIR)/gtk-dark.css: $(DIST_DIR)/gtk.css +ifneq ("$(wildcard $(SCSS_DIR)/gtk-dark.scss)","") + $(SASS) $(SASSFLAGS) "$(SCSS_DIR)" "$(SCSS_DIR)/gtk-dark.scss" "$@" +else + cp "$(DIST_DIR)/gtk.css" "$@" +endif + +css_gtk3: $(DIST_DIR)/gtk.css $(DIST_DIR)/gtk-dark.css +.PHONY: css_gtk3 + +$(RES_DIR)/gtk.gresource: css_gtk3 + $(GLIB_COMPILE_RESOURCES) --sourcedir="$(RES_DIR)" "$@.xml" + +gresource_gtk3: $(RES_DIR)/gtk.gresource +.PHONY: gresource_gtk3 + +clean_gtk3: + rm -rf "$(DIST_DIR)" + rm -f "$(RES_DIR)/gtk.gresource" +.PHONY: clean_gtk3 + +gtk3: + $(MAKE) clean_gtk3 + $(MAKE) gresource_gtk3 +.PHONY: gtk3 + +# GTK3.20+ #################################################################### + +$(DIST_DIR320): + mkdir -p "$@" + +$(DIST_DIR320)/gtk.css: $(DIST_DIR320) + $(SASS) $(SASSFLAGS) "$(SCSS_DIR320)" "$(SCSS_DIR320)/gtk.scss" "$@" + +$(DIST_DIR320)/gtk-dark.css: $(DIST_DIR320)/gtk.css +ifneq ("$(wildcard $(SCSS_DIR320)/gtk-dark.scss)","") + $(SASS) $(SASSFLAGS) "$(SCSS_DIR320)" "$(SCSS_DIR320)/gtk-dark.scss" "$@" +else + cp "$(DIST_DIR320)/gtk.css" "$@" +endif + +css_gtk320: $(DIST_DIR320)/gtk-dark.css $(DIST_DIR320)/gtk.css +.PHONY: css_gtk320 + +$(RES_DIR320)/gtk.gresource: css_gtk320 + $(GLIB_COMPILE_RESOURCES) --sourcedir="$(RES_DIR320)" "$@.xml" + +gresource_gtk320: $(RES_DIR320)/gtk.gresource +.PHONY: gresource_gtk320 + +clean_gtk320: + rm -rf "$(DIST_DIR320)" + rm -f "$(RES_DIR320)/gtk.gresource" +.PHONY: clean_gtk320 + +gtk320: + $(MAKE) clean_gtk320 + $(MAKE) gresource_gtk320 +.PHONY: gtk320 + +# Cinnamon #################################################################### + +$(DIST_DIR_CINNAMON): + mkdir -p "$@" + +$(DIST_DIR_CINNAMON)/cinnamon.css: $(DIST_DIR_CINNAMON) + $(SASS) $(SASSFLAGS) "$(SCSS_DIR_CINNAMON)" "$(SCSS_DIR_CINNAMON)/cinnamon.scss" "$@" + +css_cinnamon: $(DIST_DIR_CINNAMON)/cinnamon.css +.PHONY: css_cinnamon + +# Common ###################################################################### + +clean: clean_gtk3 clean_gtk320 +.PHONY: clean + +all: gtk3 gtk320 css_cinnamon +.PHONY: all + +.DEFAULT_GOAL := all + +# vim: set ts=4 sw=4 tw=0 noet : diff --git a/Tokyonight-dark/assets/all-assets.svg b/Tokyonight-dark/assets/all-assets.svg new file mode 100644 index 00000000..6b2b9d79 --- /dev/null +++ b/Tokyonight-dark/assets/all-assets.svg @@ -0,0 +1,4456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tokyonight-dark/assets/all-assets.txt b/Tokyonight-dark/assets/all-assets.txt new file mode 100644 index 00000000..6e738e3f --- /dev/null +++ b/Tokyonight-dark/assets/all-assets.txt @@ -0,0 +1,38 @@ +checkbox-checked-dark +checkbox-checked-insensitive-dark +checkbox-checked-insensitive +checkbox-checked +checkbox-mixed-dark +checkbox-mixed-insensitive-dark +checkbox-mixed-insensitive +checkbox-mixed +checkbox-unchecked-dark +checkbox-unchecked-insensitive-dark +checkbox-unchecked-insensitive +checkbox-unchecked +grid-selection-checked-dark +grid-selection-checked +grid-selection-unchecked-dark +grid-selection-unchecked +menuitem-checkbox-checked-hover +menuitem-checkbox-checked-insensitive +menuitem-checkbox-checked +menuitem-checkbox-mixed-hover +menuitem-checkbox-mixed-insensitive +menuitem-checkbox-mixed +menuitem-radio-checked-hover +menuitem-radio-checked-insensitive +menuitem-radio-checked +pane-handle +radio-checked-dark +radio-checked-insensitive-dark +radio-checked-insensitive +radio-checked +radio-mixed-dark +radio-mixed-insensitive-dark +radio-mixed-insensitive +radio-mixed +radio-unchecked-dark +radio-unchecked-insensitive-dark +radio-unchecked-insensitive +radio-unchecked diff --git a/Tokyonight-dark/assets/change_dpi.sh b/Tokyonight-dark/assets/change_dpi.sh new file mode 100755 index 00000000..0c03497a --- /dev/null +++ b/Tokyonight-dark/assets/change_dpi.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +for f in "$@"; do + rsvg-convert -d 300 -p 300 -f svg "$f" -o "${f}.bak" ; mv "${f}.bak" "$f" +done diff --git a/Tokyonight-dark/assets/checkbox-checked-insensitive.svg b/Tokyonight-dark/assets/checkbox-checked-insensitive.svg new file mode 100644 index 00000000..b9946fd9 --- /dev/null +++ b/Tokyonight-dark/assets/checkbox-checked-insensitive.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/checkbox-checked.svg b/Tokyonight-dark/assets/checkbox-checked.svg new file mode 100644 index 00000000..23b5d12e --- /dev/null +++ b/Tokyonight-dark/assets/checkbox-checked.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/checkbox-mixed-insensitive.svg b/Tokyonight-dark/assets/checkbox-mixed-insensitive.svg new file mode 100644 index 00000000..1c3f8ab0 --- /dev/null +++ b/Tokyonight-dark/assets/checkbox-mixed-insensitive.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/checkbox-mixed.svg b/Tokyonight-dark/assets/checkbox-mixed.svg new file mode 100644 index 00000000..affdc0c8 --- /dev/null +++ b/Tokyonight-dark/assets/checkbox-mixed.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/grid-selection-checked.svg b/Tokyonight-dark/assets/grid-selection-checked.svg new file mode 100644 index 00000000..41d985f7 --- /dev/null +++ b/Tokyonight-dark/assets/grid-selection-checked.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/assets/grid-selection-unchecked.svg b/Tokyonight-dark/assets/grid-selection-unchecked.svg new file mode 100644 index 00000000..c13126ef --- /dev/null +++ b/Tokyonight-dark/assets/grid-selection-unchecked.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-checkbox-checked-hover.svg b/Tokyonight-dark/assets/menuitem-checkbox-checked-hover.svg new file mode 100644 index 00000000..3e4ba483 --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-checkbox-checked-hover.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-checkbox-checked-insensitive.svg b/Tokyonight-dark/assets/menuitem-checkbox-checked-insensitive.svg new file mode 100644 index 00000000..1867e490 --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-checkbox-checked-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-checkbox-checked.svg b/Tokyonight-dark/assets/menuitem-checkbox-checked.svg new file mode 100644 index 00000000..88f032f5 --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-checkbox-checked.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-checkbox-mixed-hover.svg b/Tokyonight-dark/assets/menuitem-checkbox-mixed-hover.svg new file mode 100644 index 00000000..d7b554e2 --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-checkbox-mixed-hover.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-checkbox-mixed-insensitive.svg b/Tokyonight-dark/assets/menuitem-checkbox-mixed-insensitive.svg new file mode 100644 index 00000000..cea2f5f7 --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-checkbox-mixed-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-checkbox-mixed-selected.svg b/Tokyonight-dark/assets/menuitem-checkbox-mixed-selected.svg new file mode 100644 index 00000000..09bad506 --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-checkbox-mixed-selected.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-checkbox-mixed.svg b/Tokyonight-dark/assets/menuitem-checkbox-mixed.svg new file mode 100644 index 00000000..a94aa6f9 --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-checkbox-mixed.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-checkbox-unchecked.svg b/Tokyonight-dark/assets/menuitem-checkbox-unchecked.svg new file mode 100644 index 00000000..9060a2ad --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-checkbox-unchecked.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-radio-checked-hover.svg b/Tokyonight-dark/assets/menuitem-radio-checked-hover.svg new file mode 100644 index 00000000..095ce7a2 --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-radio-checked-hover.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-radio-checked-insensitive.svg b/Tokyonight-dark/assets/menuitem-radio-checked-insensitive.svg new file mode 100644 index 00000000..add73e55 --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-radio-checked-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-radio-checked.svg b/Tokyonight-dark/assets/menuitem-radio-checked.svg new file mode 100644 index 00000000..9bbc0880 --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-radio-checked.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-radio-mixed-hover.svg b/Tokyonight-dark/assets/menuitem-radio-mixed-hover.svg new file mode 100644 index 00000000..cace04af --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-radio-mixed-hover.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-radio-mixed-insensitive.svg b/Tokyonight-dark/assets/menuitem-radio-mixed-insensitive.svg new file mode 100644 index 00000000..686c9e0f --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-radio-mixed-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-radio-mixed-selected.svg b/Tokyonight-dark/assets/menuitem-radio-mixed-selected.svg new file mode 100644 index 00000000..eae0cc1c --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-radio-mixed-selected.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-radio-mixed.svg b/Tokyonight-dark/assets/menuitem-radio-mixed.svg new file mode 100644 index 00000000..29437a92 --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-radio-mixed.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/assets/menuitem-radio-unchecked.svg b/Tokyonight-dark/assets/menuitem-radio-unchecked.svg new file mode 100644 index 00000000..1565c400 --- /dev/null +++ b/Tokyonight-dark/assets/menuitem-radio-unchecked.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/pane-handle-vertical.svg b/Tokyonight-dark/assets/pane-handle-vertical.svg new file mode 100644 index 00000000..61d5c24b --- /dev/null +++ b/Tokyonight-dark/assets/pane-handle-vertical.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tokyonight-dark/assets/pane-handle.png b/Tokyonight-dark/assets/pane-handle.png new file mode 100644 index 00000000..e67a9dc5 Binary files /dev/null and b/Tokyonight-dark/assets/pane-handle.png differ diff --git a/Tokyonight-dark/assets/pane-handle.svg b/Tokyonight-dark/assets/pane-handle.svg new file mode 100644 index 00000000..43b322cd --- /dev/null +++ b/Tokyonight-dark/assets/pane-handle.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tokyonight-dark/assets/pane-handle@2.png b/Tokyonight-dark/assets/pane-handle@2.png new file mode 100644 index 00000000..8a2cd077 Binary files /dev/null and b/Tokyonight-dark/assets/pane-handle@2.png differ diff --git a/Tokyonight-dark/assets/radio-checked-insensitive.svg b/Tokyonight-dark/assets/radio-checked-insensitive.svg new file mode 100644 index 00000000..ed9f4371 --- /dev/null +++ b/Tokyonight-dark/assets/radio-checked-insensitive.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/radio-checked.svg b/Tokyonight-dark/assets/radio-checked.svg new file mode 100644 index 00000000..423852b6 --- /dev/null +++ b/Tokyonight-dark/assets/radio-checked.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/radio-mixed-insensitive.svg b/Tokyonight-dark/assets/radio-mixed-insensitive.svg new file mode 100644 index 00000000..1c3f8ab0 --- /dev/null +++ b/Tokyonight-dark/assets/radio-mixed-insensitive.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/radio-mixed.svg b/Tokyonight-dark/assets/radio-mixed.svg new file mode 100644 index 00000000..affdc0c8 --- /dev/null +++ b/Tokyonight-dark/assets/radio-mixed.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/radio-selected-insensitive.svg b/Tokyonight-dark/assets/radio-selected-insensitive.svg new file mode 100644 index 00000000..ed9f4371 --- /dev/null +++ b/Tokyonight-dark/assets/radio-selected-insensitive.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/radio-selected.svg b/Tokyonight-dark/assets/radio-selected.svg new file mode 100644 index 00000000..423852b6 --- /dev/null +++ b/Tokyonight-dark/assets/radio-selected.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/radio-unselected-insensitive.svg b/Tokyonight-dark/assets/radio-unselected-insensitive.svg new file mode 100644 index 00000000..63c9bb89 --- /dev/null +++ b/Tokyonight-dark/assets/radio-unselected-insensitive.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/radio-unselected.svg b/Tokyonight-dark/assets/radio-unselected.svg new file mode 100644 index 00000000..3a7956fb --- /dev/null +++ b/Tokyonight-dark/assets/radio-unselected.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/assets/sed.sh b/Tokyonight-dark/assets/sed.sh new file mode 100755 index 00000000..7e48cbcf --- /dev/null +++ b/Tokyonight-dark/assets/sed.sh @@ -0,0 +1,9 @@ +#!/bin/sh +sed -i \ + -e 's/#1f2335/rgb(0%,0%,0%)/g' \ + -e 's/#a9b1d6/rgb(100%,100%,100%)/g' \ + -e 's/#24283b/rgb(50%,0%,0%)/g' \ + -e 's/#7aa2f7/rgb(0%,50%,0%)/g' \ + -e 's/#292e42/rgb(50%,0%,50%)/g' \ + -e 's/#c0caf5/rgb(0%,0%,50%)/g' \ + "$@" diff --git a/Tokyonight-dark/assets/unsed.sh b/Tokyonight-dark/assets/unsed.sh new file mode 100755 index 00000000..a501c8b7 --- /dev/null +++ b/Tokyonight-dark/assets/unsed.sh @@ -0,0 +1,11 @@ +#!/bin/sh +sed -i \ + -e 's/rgb(0%,0%,0%)/#1f2335/g' \ + -e 's/rgb(100%,100%,100%)/#a9b1d6/g' \ + -e 's/rgb(50%,0%,0%)/#24283b/g' \ + -e 's/rgb(0%,50%,0%)/#7aa2f7/g' \ + -e 's/rgb(0%,50.196078%,0%)/#7aa2f7/g' \ + -e 's/rgb(50%,0%,50%)/#292e42/g' \ + -e 's/rgb(50.196078%,0%,50.196078%)/#292e42/g' \ + -e 's/rgb(0%,0%,50%)/#c0caf5/g' \ + "$@" diff --git a/Tokyonight-dark/cinnamon/assets/add-workspace-hover.png b/Tokyonight-dark/cinnamon/assets/add-workspace-hover.png new file mode 100644 index 00000000..bd7f7793 Binary files /dev/null and b/Tokyonight-dark/cinnamon/assets/add-workspace-hover.png differ diff --git a/Tokyonight-dark/cinnamon/assets/add-workspace.png b/Tokyonight-dark/cinnamon/assets/add-workspace.png new file mode 100644 index 00000000..40ac9af2 Binary files /dev/null and b/Tokyonight-dark/cinnamon/assets/add-workspace.png differ diff --git a/Tokyonight-dark/cinnamon/assets/calendar-arrow-left.svg b/Tokyonight-dark/cinnamon/assets/calendar-arrow-left.svg new file mode 100644 index 00000000..461c93df --- /dev/null +++ b/Tokyonight-dark/cinnamon/assets/calendar-arrow-left.svg @@ -0,0 +1,82 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/Tokyonight-dark/cinnamon/assets/calendar-arrow-right.svg b/Tokyonight-dark/cinnamon/assets/calendar-arrow-right.svg new file mode 100644 index 00000000..e4e44e79 --- /dev/null +++ b/Tokyonight-dark/cinnamon/assets/calendar-arrow-right.svg @@ -0,0 +1,82 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/Tokyonight-dark/cinnamon/assets/checkbox-off.svg b/Tokyonight-dark/cinnamon/assets/checkbox-off.svg new file mode 100644 index 00000000..e13a7f3e --- /dev/null +++ b/Tokyonight-dark/cinnamon/assets/checkbox-off.svg @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/Tokyonight-dark/cinnamon/assets/checkbox.svg b/Tokyonight-dark/cinnamon/assets/checkbox.svg new file mode 100644 index 00000000..13f7ccf8 --- /dev/null +++ b/Tokyonight-dark/cinnamon/assets/checkbox.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/Tokyonight-dark/cinnamon/assets/close-window.svg b/Tokyonight-dark/cinnamon/assets/close-window.svg new file mode 100644 index 00000000..fb874612 --- /dev/null +++ b/Tokyonight-dark/cinnamon/assets/close-window.svg @@ -0,0 +1,152 @@ + + + +image/svg+xml + + diff --git a/Tokyonight-dark/cinnamon/assets/corner-ripple.png b/Tokyonight-dark/cinnamon/assets/corner-ripple.png new file mode 100644 index 00000000..35d95ffe Binary files /dev/null and b/Tokyonight-dark/cinnamon/assets/corner-ripple.png differ diff --git a/Tokyonight-dark/cinnamon/assets/radiobutton-off.svg b/Tokyonight-dark/cinnamon/assets/radiobutton-off.svg new file mode 100644 index 00000000..a23ff5a7 --- /dev/null +++ b/Tokyonight-dark/cinnamon/assets/radiobutton-off.svg @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/Tokyonight-dark/cinnamon/assets/radiobutton.svg b/Tokyonight-dark/cinnamon/assets/radiobutton.svg new file mode 100644 index 00000000..4bec372f --- /dev/null +++ b/Tokyonight-dark/cinnamon/assets/radiobutton.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/Tokyonight-dark/cinnamon/assets/toggle-off-intl.svg b/Tokyonight-dark/cinnamon/assets/toggle-off-intl.svg new file mode 100644 index 00000000..f1861048 --- /dev/null +++ b/Tokyonight-dark/cinnamon/assets/toggle-off-intl.svg @@ -0,0 +1,951 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tokyonight-dark/cinnamon/assets/toggle-off-us.svg b/Tokyonight-dark/cinnamon/assets/toggle-off-us.svg new file mode 100644 index 00000000..f1861048 --- /dev/null +++ b/Tokyonight-dark/cinnamon/assets/toggle-off-us.svg @@ -0,0 +1,951 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tokyonight-dark/cinnamon/assets/toggle-on-intl.svg b/Tokyonight-dark/cinnamon/assets/toggle-on-intl.svg new file mode 100644 index 00000000..5ad02afa --- /dev/null +++ b/Tokyonight-dark/cinnamon/assets/toggle-on-intl.svg @@ -0,0 +1,1537 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tokyonight-dark/cinnamon/assets/toggle-on-us.svg b/Tokyonight-dark/cinnamon/assets/toggle-on-us.svg new file mode 100644 index 00000000..5ad02afa --- /dev/null +++ b/Tokyonight-dark/cinnamon/assets/toggle-on-us.svg @@ -0,0 +1,1537 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tokyonight-dark/cinnamon/assets/trash-icon.png b/Tokyonight-dark/cinnamon/assets/trash-icon.png new file mode 100644 index 00000000..270fe2ef Binary files /dev/null and b/Tokyonight-dark/cinnamon/assets/trash-icon.png differ diff --git a/Tokyonight-dark/cinnamon/scss/_extends.scss b/Tokyonight-dark/cinnamon/scss/_extends.scss new file mode 100644 index 00000000..9a78c30f --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/_extends.scss @@ -0,0 +1,372 @@ +// extend-elements + +// to bottom +%bg-grad-to-bottom { + background-gradient-direction: vertical; + background-gradient-start: $dark_bg_grad; + background-gradient-end: $light_bg_grad; +} + +// hover to bottom +%hover-bg-grad-to-bottom { + background-gradient-direction: vertical; + background-gradient-start: $dark_hover_bg_grad; + background-gradient-end: $light_hover_bg_grad; +} + +// button to top +%button-bg-grad-to-top { + background-gradient-direction: vertical; + background-gradient-start: $light_button_bg_grad; + background-gradient-end: $dark_button_bg_grad; +} + +// hover button to top +%hover-button-bg-grad-to-top { + background-gradient-direction: vertical; + background-gradient-start: $light_hover_button_bg_grad; + background-gradient-end: $dark_hover_button_bg_grad; +} + +// to top +%bg-grad-to-top { + background-gradient-direction: vertical; + background-gradient-start: $light_bg_grad; + background-gradient-end: $dark_bg_grad; +} + +// hover to top +%hover-bg-grad-to-top { + background-gradient-direction: vertical; + background-gradient-start: $light_hover_bg_grad; + background-gradient-end: $dark_hover_bg_grad; +} + +// selected to bottom +%selected-bg-grad-to-bottom { + background-gradient-direction: vertical; + background-gradient-start: $dark_selected_bg_grad; + background-gradient-end: $light_selected_bg_grad; +} + +// selected to top +%selected-bg-grad-to-top { + background-gradient-direction: vertical; + background-gradient-start: $light_selected_bg_grad; + background-gradient-end: $dark_selected_bg_grad; +} + +// hover selected to bottom +%hover-selected-grad-to-bottom { + background-gradient-direction: vertical; + background-gradient-start: $dark_hover_selected_grad; + background-gradient-end: $light_hover_selected_grad; +} + +// hover selected to top +%hover-selected-grad-to-top { + background-gradient-direction: vertical; + background-gradient-start: $light_hover_selected_grad; + background-gradient-end: $dark_hover_selected_grad; +} + +// to right +%bg-grad-to-right { + background-gradient-direction: horizontal; + background-gradient-start: $dark_bg_grad; + background-gradient-end: $light_bg_grad; +} + +// to left +%bg-grad-to-left { + background-gradient-direction: horizontal; + background-gradient-start: $light_bg_grad; + background-gradient-end: $dark_bg_grad; +} + +// hover to right +%hover-bg-grad-to-right { + background-gradient-direction: horizontal; + background-gradient-start: $dark_hover_bg_grad; + background-gradient-end: $light_hover_bg_grad; +} + +// hover to left +%hover-bg-grad-to-left { + background-gradient-direction: horizontal; + background-gradient-start: $light_hover_bg_grad; + background-gradient-end: $dark_hover_bg_grad; +} + +// selected to right +%selected-bg-grad-to-right { + background-gradient-direction: horizontal; + background-gradient-start: $dark_selected_bg_grad; + background-gradient-end: $light_selected_bg_grad; +} + +// selected to left +%selected-bg-grad-to-left { + background-gradient-direction: horizontal; + background-gradient-start: $light_selected_bg_grad; + background-gradient-end: $dark_selected_bg_grad; +} + +// hover selected to right +%hover-selected-grad-to-right { + background-gradient-direction: horizontal; + background-gradient-start: $dark_hover_selected_grad; + background-gradient-end: $light_hover_selected_grad; +} + +// hover selected to left +%hover-selected-grad-to-left { + background-gradient-direction: horizontal; + background-gradient-start: $light_hover_selected_grad; + background-gradient-end: $dark_hover_selected_grad; +} + +// tooltip to top +%tooltip-bg-grad-to-top { + background-gradient-direction: vertical; + background-gradient-start: $light_tooltip_bg_grad; + background-gradient-end: $dark_tooltip_bg_grad; +} + +// used in selectors +// .osd-window, .info-osd, .workspace-osd +%osd-shared { + @extend %bg-grad-to-bottom; + + border: 1px solid $exterior_border; + border-radius: $roundness; + color: $dark_fg_color; +} + +// used in selectors +// .slider, .sound-player .slider, .popup-slider-menu-item +%slider-shared { + height: 1.2em; + min-width: 15em; + color: $button_bg_color; + -slider-height: 2px; + -slider-background-color: $scrollbar_bg_color; + -slider-border-color: $interior_border; + -slider-active-background-color: $scrollbar_slider_hover_color; + -slider-active-border-color: $selected_border; + -slider-border-width: 1px; + -slider-border-radius: $roundness; + -slider-handle-radius: 8px; + -slider-handle-border-color: $button_border; +} + +// used in selectors +// .separator, .popup-seperator-menu-item +%separator-shared { + -gradient-height: 3px; + -gradient-start: $selected_bg_color; + -gradient-end: $dark_bg_color; + -margin-horizontal: 4px; + height: 1em; +} + +// used in selectors +// #menu-search-entry, .run-dialog-entry, #notification StEntry +%dialog-entry { + @extend %tooltip-bg-grad-to-top; + + padding: $spacing_plus2; + border-radius: $roundness; + color: $tooltip_fg_color; + border: 1px solid $interior_border; + selection-background-color: $selected_bg_color; + selected-color: $selected_fg_color; + caret-color: $primary_caret_color; + caret-size: 0.1em; + width: 250px; + height: 1.5em; + transition-duration: 150; +} + +// used in selectors +// .desklet-with-borders, .desklet-with-borders-and-header, .desklet-header, .photoframe-box +%desklet-shared { + @extend %bg-grad-to-right; + + color: $dark_fg_color; + padding: 8px; + border: 1px solid $exterior_border; +} + +// used in selectors +// .calendar-change-month-back, .calendar-change-month-forward +%calendar-shared { + width: 16px; + height: 16px; + border-radius: $roundness; + transition-duration: 150; +} + +// used in selectors +// .notification-button, .notification-icon-button, .modal-dialog-button, .sound-player-overlay StButton, .keyboard-key +%shared-button { + @extend %button-bg-grad-to-top; + + border: 1px solid $button_border; + border-radius: $roundness; + text-align: center; + color: $button_fg_color; + transition-duration: 150; +} + +// used in selectors +// .notification-button:hover, .notification-icon-button:hover, .modal-dialog-button:hover, .sound-player-overlay StButton:hover, .keyboard-key:hover +%shared-button-hover { + @extend %hover-button-bg-grad-to-top; + + border: 1px solid $selected_border; +} + +// used in selectors +// .notification-button:active, .notification-icon-button:active, .modal-dialog-button:active, .modal-dialog-button:pressed, .sound-player-overlay StButton:active, .keyboard-key:active +%shared-button-active { + @extend %selected-bg-grad-to-bottom; + + color: $selected_fg_color; +} + +// used in selectors +// .menu .popup-combo-menu +%shared-menu { + @extend %bg-grad-to-right; + + padding: 8px; + border: 1px solid $exterior_border; + border-radius: $roundness; + color: $dark_fg_color; +} + +// used in selectors +// .menu-application-button-label, .menu-category-button-label +%menu-button-label-shared { + &:ltr { + padding-left: 4px; + } + &:rtl { + padding-right: 4px; + } +} + +// used in selectors +// .popup-menu-item, .popup-combobox-item, .menu-favorites-button, .menu-places-button, .menu-category-button, .menu-category-button-greyed, .menu-category-button-selected +%menu-buttons-shared { + //min-height: 22px; //setting a min height accross the board for all menu types (menu entries with an application icon are hardcoded to this min-height) causes display issues in cinnamon :-( + padding: $spacing_plus2; +} + +// used in selectors +// .show-processes-dialog-subject, .mount-question-dialog-subject +%shared-dialogs-subject { + font-weight: bold; + color: $dark_fg_color; + padding-top: 10px; + padding-left: 17px; + padding-bottom: 6px; +} + +// used in selectors +// .show-processes-dialog-subject:rtl, .mount-question-dialog-subject:rtl +%shared-dialogs-subject-rtl { + padding-left: 0; + padding-right: 17px; +} + +// used in selectors +// .show-processes-dialog-description, .mount-question-dialog-description +%shared-dialogs-description { + color: $dark_fg_color; + padding-left: 17px; + width: 28em; +} + +// used in selectors +// .menu-applications-inner-box StScrollView, .starkmenu-favorites-box .menu-context-menu +%menu-context-shared { + @extend %bg-grad-to-bottom; + + padding: 8px; + margin: 8px 0; + border-radius: $roundness; + border: 1px solid $interior_border; + StIcon { + &:ltr { + padding-right: 4px; + } + &:rtl { + padding-left: 4px; + } + } +} + +// used in selectors +// .panel-top .window-list-item-box:active, .panel-top .window-list-item-box:checked, .panel-top .window-list-item-box:focus +%panel-top-shared { + @extend %selected-bg-grad-to-top; + + color: $selected_fg_color; +} + +// used in selectors +// .panel-bottom .windows-list-item-box:active, .panel-bottom .window-list-item-box:checked, .panel-bottom .window-list-item-box:focus +%panel-bottom-shared { + @extend %selected-bg-grad-to-bottom; + + color: $selected_fg_color; +} + +// used in selectors +// .panel-left .window-list-item-box:active, .panel-left .window-list-item-box:checked, .panel-left .window-list-item-box:focus +%panel-left-shared { + @extend %selected-bg-grad-to-left; + + color: $selected_fg_color; +} + +// used in selectors +// .panel-right .windows-list-item-box:active, .panel-right .window-list-item-box:checked, .panel-right .window-list-item-box:focus +%panel-right-shared { + @extend %selected-bg-grad-to-right; + + color: $selected_fg_color; +} + +// used in selectors +// .check-box StBin, .check-box:focus StBin +%check-box-shared { + width: 16px; + height: 16px; + background-image: url(assets/checkbox-off.svg); +} + +// used in selectors +// .radiobutton StBin, .radiobutton:focus StBin +%radiobutton-shared { + width: 16px; + height: 16px; + background-image: url(assets/radiobutton-off.svg); + border-radius: $roundness; +} + +// used in selectors +// .tile-preview, .tile-hud +%tile-shared { + background-color: $dark_bg_color_trans; + border: 2px solid $exterior_border; +} + +// used in selectors +// .tile-preview.snap, .tile-hud.snap +%tile-shared-snap { + background-color: $dark_bg_color_trans; + border: 2px solid $selected_border; +} diff --git a/Tokyonight-dark/cinnamon/scss/_global.scss b/Tokyonight-dark/cinnamon/scss/_global.scss new file mode 100644 index 00000000..cc78aa74 --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/_global.scss @@ -0,0 +1,84 @@ +// scss-lint:disable ColorVariable + +// main colors used in theme +// %CINNAMON_OPACITY% < 1 will result in most cinnamon surfaces being transparent +$button_bg_color: #%BTN_BG%; +$button_fg_color: #%BTN_FG%; +$selected_bg_color: #%SEL_BG%; +$selected_fg_color: #%SEL_FG%; +$tooltip_bg_color: #%BG%; +$tooltip_fg_color: #%FG%; +$dark_bg_color: fade-out(#%HDR_BG%, 1 - %CINNAMON_OPACITY%); +$dark_fg_color: #%HDR_FG%; + +// an always transparent color used for expo & scale views and the lightbox effect when cinnamon is showing an OSD. +$dark_bg_color_trans: fade-out(#%HDR_BG%, 1 - (%CINNAMON_OPACITY% / 2)); + +// used to calculate gradients for gradient values > 0 +$lighten_amount: 1 + (%GRADIENT% / 2); +$darken_amount: 1 - (%GRADIENT% / 2); + +// main background surface gradient start and end colors +$light_bg_grad: if($lighten_amount > 1, lighten($dark_bg_color, ($lighten_amount - 1) * lightness($dark_bg_color)), $dark_bg_color); +$dark_bg_grad: if($darken_amount < 1, darken($dark_bg_color, (1 - $darken_amount) * lightness($dark_bg_color)), $dark_bg_color); + +// hovered background surface gradient start and end colors - used for window list +$hover_bg_color: lighten($dark_bg_color, .05 * lightness($dark_bg_color)); +$light_hover_bg_grad: if($lighten_amount > 1, lighten($hover_bg_color, ($lighten_amount - 1) * lightness($hover_bg_color)), $hover_bg_color); +$dark_hover_bg_grad: if($darken_amount < 1, darken($hover_bg_color, (1 - $darken_amount) * lightness($hover_bg_color)), $hover_bg_color); + +// selected background surface gradient start and end colors - used for window list & buttons +$light_selected_bg_grad: if($lighten_amount > 1, lighten($selected_bg_color, ($lighten_amount - 1) * lightness($selected_bg_color)), $selected_bg_color); +$dark_selected_bg_grad: if($darken_amount < 1, darken($selected_bg_color, (1 - $darken_amount) * lightness($selected_bg_color)), $selected_bg_color); + +// hovered selected background surface gradient start and end colors - used for window list +$hover_selected_color: lighten($selected_bg_color, .05 * lightness($selected_bg_color)); +$light_hover_selected_grad: if($lighten_amount > 1, lighten($hover_selected_color, ($lighten_amount - 1) * lightness($hover_selected_color)), $hover_selected_color); +$dark_hover_selected_grad: if($darken_amount < 1, darken($hover_selected_color, (1 - $darken_amount) * lightness($hover_selected_color)), $hover_selected_color); + +// button background surface gradient start and end colors - used for buttons +$light_button_bg_grad: if($lighten_amount > 1, lighten($button_bg_color, ($lighten_amount - 1) * lightness($button_bg_color)), $button_bg_color); +$dark_button_bg_grad: if($darken_amount < 1, darken($button_bg_color, (1 - $darken_amount) * lightness($button_bg_color)), $button_bg_color); + +// hovered button background surface gradient start and end colors - used for buttons +$hover_button_bg: lighten($button_bg_color, .05 * lightness($button_bg_color)); +$light_hover_button_bg_grad: if($lighten_amount > 1, lighten($hover_button_bg, ($lighten_amount - 1) * lightness($hover_button_bg)), $hover_button_bg); +$dark_hover_button_bg_grad: if($darken_amount < 1, darken($hover_button_bg, (1 - $darken_amount) * lightness($hover_button_bg)), $hover_button_bg); + +// tooltip background surface gradient start and end colors - used for tooltips +$light_tooltip_bg_grad: if($lighten_amount > 1, lighten($tooltip_bg_color, ($lighten_amount - 1) * lightness($tooltip_bg_color)), $tooltip_bg_color); +$dark_tooltip_bg_grad: if($darken_amount < 1, darken($tooltip_bg_color, (1 - $darken_amount) * lightness($tooltip_bg_color)), $tooltip_bg_color); + +// borders used throughout theme buttons also use selected_borders_color +$selected_border: mix($dark_bg_color, $selected_bg_color, if(lightness($dark_bg_color) < 50%, 18%, 10%)); +$border_strength: if(lightness($dark_fg_color) > 50, .1, .2); +$interior_border: fade-out($dark_fg_color, 0.88 - $border_strength); +$exterior_border: mix($dark_bg_color, $dark_fg_color, (30 + ($border_strength * 100))); + +// decoration for buttons +$button_border_strength: if(lightness($button_fg_color) > 50, .1, .2); +$button_border: fade-out($button_fg_color, 0.88 - $button_border_strength); + +// scrollbar colors +$scrollbar_bg_color: darken($dark_bg_color, 5%); +$scrollbar_slider_color: mix($dark_bg_color, $dark_fg_color, 20%); +$scrollbar_slider_hover_color: mix($dark_bg_color, $selected_bg_color, 20%); + +// caret colors for dialog entrys +$primary_caret_color: #%CARET1_FG%; + +// other colors used in the theme +$link_color: #%TERMINAL_COLOR4%; +$success_color: #%TERMINAL_COLOR10%; +$warning_color: #%TERMINAL_COLOR11%; +$error_color: #%TERMINAL_COLOR9%; +$info_fg_color: #%TERMINAL_BACKGROUND%; +$info_bg_color: #%TERMINAL_COLOR12%; + +// used for border-radius throughout theme +$roundness: %ROUNDNESS%px; + +// used for buttons, entrys, panel spacing, and menu item spacing. +$spacing: %SPACING%px; +$spacing_plus2: (%SPACING% + 2) + px; + diff --git a/Tokyonight-dark/cinnamon/scss/cinnamon.scss b/Tokyonight-dark/cinnamon/scss/cinnamon.scss new file mode 100644 index 00000000..0d1f522e --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/cinnamon.scss @@ -0,0 +1,14 @@ +@import "_global"; +@import "_extends"; + +@import "sections/_stage"; +@import "sections/_menu"; +@import "sections/_panel"; +@import "sections/_calendar"; +@import "sections/_accessibility"; +@import "sections/_notifications"; +@import "sections/_dialogs"; +@import "sections/_desklets"; +@import "sections/_alt-tab"; +@import "sections/_overview"; +@import "sections/_tile-hud"; diff --git a/Tokyonight-dark/cinnamon/scss/sections/_accessibility.scss b/Tokyonight-dark/cinnamon/scss/sections/_accessibility.scss new file mode 100644 index 00000000..265978ec --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/sections/_accessibility.scss @@ -0,0 +1,46 @@ +// on screen keyboard +#keyboard { + background-color: $dark_bg_color_trans; +} +.keyboard-key { + @extend %shared-button; + + &:grayed { + color: $selected_fg_color; + border-color: $selected_fg_color; + } + &:checked { + border-color: $selected_border; + } + &:hover { + @extend %shared-button-hover; + } + &:active { + @extend %shared-button-active; + } +} +.keyboard-layout { + spacing: 8px; + padding: 8px; +} +.keyboard-row { + spacing: 16px; +} +.keyboard-subkeys { + color: $dark_fg_color; + padding: 4px; + -arrow-border-radius: $roundness; + -arrow-background-color: $dark_bg_color; + -arrow-border-width: 1px; + -arrow-border-color: $dark_fg_color; + -arrow-base: 16px; + -arrow-rise: 8px; + -boxpointer-gap: 4px; +} +// desktop zoom feature +.magnifier-zoom-region { + border: 3px solid $exterior_border; + &.full-screen { + border-width: 0; + } +} diff --git a/Tokyonight-dark/cinnamon/scss/sections/_alt-tab.scss b/Tokyonight-dark/cinnamon/scss/sections/_alt-tab.scss new file mode 100644 index 00000000..06e57e16 --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/sections/_alt-tab.scss @@ -0,0 +1,66 @@ +// non 3D alt-tab options +#altTabPopup { + padding: 8px; + spacing: 16px; +} +.switcher-list { + @extend %bg-grad-to-bottom; + + border-radius: $roundness; + border: 1px solid $exterior_border; + padding: 16px; + color: $dark_fg_color; + .item-box { + padding: 8px; + border-radius: $roundness; + &:selected { + @extend %selected-bg-grad-to-bottom; + + color: $selected_fg_color; + } + } + .thumbnail-box { + padding: 2px; + spacing: 4px; + color: $dark_fg_color; + } + .thumbnail { + min-width: 20em; + } + .separator { + width: 1px; + background-color: $selected_bg_color; + } +} +.switcher-list-item-container { + spacing: 8px; +} +.thumbnail-scroll-gradient-left { + background-gradient-direction: horizontal; + background-gradient-start: rgba(51, 51, 51, 1.0); + background-gradient-end: rgba(51, 51, 51, 0); + border-radius: $roundness; + border-radius-topright: 0; + border-radius-bottomright: 0; + width: 60px; +} +.thumbnail-scroll-gradient-right { + background-gradient-direction: horizontal; + background-gradient-start: rgba(51, 51, 51, 0); + background-gradient-end: rgba(51, 51, 51, 1.0); + border-radius: $roundness; + border-radius-topleft: 0; + border-radius-bottomleft: 0; + width: 60px; +} +.switcher-arrow { + border-color: rgba(0,0,0,0); + color: $dark_fg_color; + &:highlighted { + border-color: rgba(0,0,0,0); + color: $selected_fg_color; + } +} +.switcher-preview-backdrop { + background-color: rgba(25,25,25,0.65); +} diff --git a/Tokyonight-dark/cinnamon/scss/sections/_calendar.scss b/Tokyonight-dark/cinnamon/scss/sections/_calendar.scss new file mode 100644 index 00000000..1bf695c1 --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/sections/_calendar.scss @@ -0,0 +1,120 @@ +// the calendar displayed by the calendar applet is a heavily modified menu and inherits from the .menu selectosr +// indivudual elements within the menu can be themed seperately with these selectors +.calendar { + padding: 1em 1.75em; + spacing-rows: 1px; + spacing-columns: 5px; +} +// also covers the year label +.calendar-month-label { + color: $dark_fg_color; + font-size: 0.8em; + padding: 5px 10px; + border-radius: $roundness; + font-weight: bold; + text-align: center; +} +.calendar-change-month-back { + @extend %calendar-shared; + + border: 1px solid transparent; + background-image: url(assets/calendar-arrow-left.svg); + &:rtl { + background-image: url(assets/calendar-arrow-right.svg); + } + &:hover { + border: 1px solid $selected_bg_color; + } + &:active { + background-color: $selected_bg_color; + } +} +.calendar-change-month-forward { + @extend %calendar-shared; + + border: 1px solid transparent; + background-image: url(assets/calendar-arrow-right.svg); + &:rtl { + background-image: url(assets/calendar-arrow-left.svg); + } + &:hover { + border: 1px solid $selected_bg_color; + } + &:active { + background-color: $selected_bg_color; + } +} +.datemenu-date-label { + padding: 1em 1.75em; + color: $dark_fg_color; + font-weight: bold; + text-align: center; +} +.calendar-day-base { + font-size: 0.8em; + text-align: center; + width: 2.4em; + height: 1.8em; + border-radius: $roundness; + &:active { + background-color: $selected_bg_color; + } + &:hover { + } +} +.calendar-day-heading { + color: $dark_fg_color; + padding-top: 0.9em; +} +.calendar-week-number { + color: $dark_fg_color; + font-weight: bold; + padding-top: 0.6em; +} +.calendar-day { + &:ltr { + color: $dark_fg_color; + padding: 2px; + } + &:rtl { + color: $dark_fg_color; + padding: 3px; + } +} +.calendar-day-top { + &:ltr { + } + &:rtl { + } +} +.calendar-day-left { + &:ltr { + } + &:rtl { + } +} +.calendar-work-day { +} +.calendar-nonwork-day { + font-weight: bold; +} +// this is always is an active state +.calendar-today { + @extend %selected-bg-grad-to-bottom; + + font-weight: bold; + &:active { + color: $selected_fg_color; + } +} +.calendar-other-month-day { + font-style: italic; +} +// this is always is an active state +.calendar-day-with-events { + background-color: $selected_bg_color; + font-weight: bold; + &:active { + color: $selected_fg_color; + } +} diff --git a/Tokyonight-dark/cinnamon/scss/sections/_desklets.scss b/Tokyonight-dark/cinnamon/scss/sections/_desklets.scss new file mode 100644 index 00000000..74f88664 --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/sections/_desklets.scss @@ -0,0 +1,65 @@ +// desklets - the base .desklet selector is for 'undecorated' desklets however some subtle background themeing is desirable +// to maintain visibility irrespctive of wallpaper and to allow for the highlighting scheme to work +.desklet { + font-size: 0.9em; + padding: 8px; + color: $dark_fg_color; + border-radius: $roundness; + background-color: $dark_bg_color_trans; + &:highlight { + background-color: $selected_bg_color; + } +} +// these do not inherit from .desklet +.desklet-with-borders { + @extend %desklet-shared; + + font-size: 0.9em; + border-radius: $roundness; + &:highlight { + background-color: $selected_bg_color; + } +} +.desklet-with-borders-and-header { + @extend %desklet-shared; + + font-size: 0.9em; + border-radius-bottomleft: $roundness; + border-radius-bottomright: $roundness; + &:highlight { + background-color: $selected_bg_color; + } +} +.desklet-header { + @extend %desklet-shared; + + font-size: 1.2em; + border-radius-topleft: $roundness; + border-radius-topright: $roundness; + &:highlight { + background-color: $selected_bg_color; + } +} +.photoframe-box { + @extend %desklet-shared; + + border-radius: $roundness; + &:highlight { + background-color: $selected_bg_color; + } +} +.desklet-drag-placeholder { + border: 2px solid $selected_bg_color; + background-color: $dark_bg_color_trans; + border-radius: $roundness; +} +.launcher { + padding: 1px; + transition-duration: 150; + .icon-box { + padding-top: 2px; + } +} +// inherits font characteristics from .desklet-header +.clock-desklet-label { +} diff --git a/Tokyonight-dark/cinnamon/scss/sections/_dialogs.scss b/Tokyonight-dark/cinnamon/scss/sections/_dialogs.scss new file mode 100644 index 00000000..9f1ee3f6 --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/sections/_dialogs.scss @@ -0,0 +1,201 @@ +// on screen messages and input boxes +.modal-dialog { + @extend %bg-grad-to-right; + + border: 1px solid $exterior_border; + border-radius: $roundness; + color: $dark_fg_color; + padding: 16px 20px; +} +.modal-dialog-button-box { + spacing: 16px; +} +.modal-dialog-button { + @extend %shared-button; + + min-width: 5em; + min-height: 1em; + padding: $spacing_plus2; + &:hover { + @extend %shared-button-hover; + } + &:focus { + color: $selected_fg_color; + } + &:active { + @extend %shared-button-active; + } + &:pressed { + @extend %shared-button-active; + } + &:disabled { + color: rgb(60, 60, 60); + } +} +// run dialog (ALT-F2) +.run-dialog-label { + color: $dark_fg_color; + padding-bottom: 10px; +} +.run-dialog-error-label { + color: $selected_bg_color; +} +.run-dialog-error-box { + padding-top: 15px; + spacing: 5px; +} +.run-dialog-completion-box { + padding-left: 15px; +} +.run-dialog-entry { + @extend %dialog-entry; + + &:focus { + border: 1px solid $selected_border; + } +} +.run-dialog { + border-radius: $roundness; + padding: 16px 20px; +} +// removable media dialogs +.cinnamon-mount-operation-icon { + icon-size: 4.8em; +} +.mount-password-reask { + color: $warning_color; +} +.show-processes-dialog { + spacing: 24px; +} +.mount-question-dialog { + spacing: 24px; +} +.show-processes-dialog-subject { + @extend %shared-dialogs-subject; + + &:rtl { + @extend %shared-dialogs-subject-rtl; + } +} +.mount-question-dialog-subject { + @extend %shared-dialogs-subject; + + &:rtl { + @extend %shared-dialogs-subject-rtl; + } +} +.show-processes-dialog-description { + @extend %shared-dialogs-description; + + &:rtl { + padding-right: 17px; + } +} +.mount-question-dialog-description { + @extend %shared-dialogs-description; + + &:rtl { + padding-right: 17px; + } +} +.show-processes-dialog-app-list { + max-height: 200px; + padding-top: 24px; + padding-left: 49px; + padding-right: 32px; + &:rtl { + padding-right: 49px; + padding-left: 32px; + } +} +.show-processes-dialog-app-list-item { + color: $dark_fg_color; + &:hover { + color: $dark_fg_color; + } + &:ltr { + padding-right: 1em; + } + &:rtl { + padding-left: 1em; + } +} +.show-processes-dialog-app-list-item-icon { + &:ltr { + padding-right: 17px; + } + &:rtl { + padding-left: 17px; + } +} +.show-processes-dialog-app-list-item-name { +} +// displayed when media keys are pressed. +.osd-window { + @extend %osd-shared; + + spacing: 1em; + padding: 16px; + .level { + height: 0.7em; + border-radius: 0.3em; + background-color: $scrollbar_bg_color; + } + .level-bar { + border-radius: 0.3em; + background-color: $scrollbar_slider_hover_color; + } +} +.info-osd, .workspace-osd, .overview-empty-placeholder { + @extend %osd-shared; + + font-size: 1.5em; + text-align: center; + padding: 8px 10px; +} +// this is an full screen overlay that is displayed with any cinnamon OSD or modal dialog which needs to always be semi transparent +.lightbox { + background-color: $dark_bg_color_trans; +} +// applet 'about' OSDs - inherits from modal dialogs +.about-content { + min-width: 250px; + min-height: 150px; + spacing: 8px; + padding-bottom: 16px; +} +.about-title { + font-size: 1.4em; + font-weight: bold; +} +.about-uuid { + font-size: 0.8em; +} +.about-icon { + padding-right: 20px; +} +.about-scrollBox { + border: 1px solid $exterior_border; + border-radius: $roundness; +} +.about-scrollBox-innerBox { + padding: 1.2em; + spacing: 1.2em; +} +.about-description { + padding-top: 4px; +} +.about-version { + padding-left: 7px; +} +// dialog box for the cinnamon debug utility +#LookingGlassDialog { + @extend %bg-grad-to-bottom; + + spacing: 4px; + padding: 8px; + border: 1px solid $exterior_border; + border-radius: $roundness; + color: $dark_fg_color; +} diff --git a/Tokyonight-dark/cinnamon/scss/sections/_menu.scss b/Tokyonight-dark/cinnamon/scss/sections/_menu.scss new file mode 100644 index 00000000..c4e45be8 --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/sections/_menu.scss @@ -0,0 +1,238 @@ +.menu { + @extend %shared-menu; + + min-width: 100px; + margin: 4px; +} +// scale view right click menu +.popup-combo-menu { + @extend %shared-menu; +} +.popup-menu-arrow { + icon-size: 1.14em; +} +// applet submenus +// the margin here causes the 'bounce' on opening the sub menu +// does StScrollBar need to be here? No as long as it isnt themed differently to staging +.popup-sub-menu { + @extend %bg-grad-to-bottom; + + border: 1px solid $interior_border; + border-radius: $roundness; + padding: 8px; +} +.popup-menu-content { + padding: 0; +} +// individual menu entries are themed here +.popup-menu-item { + @extend %menu-buttons-shared; + + color: $dark_fg_color; + spacing: .5em; + &:active { + background-color: $selected_bg_color; + border-radius: $roundness; + color: $selected_fg_color; + } + &:insensitive { + font-style: italic; + } +} +.popup-combobox-item { + @extend %menu-buttons-shared; +} +// sliders and separators in menus +.popup-separator-menu-item { + @extend %separator-shared; + + -gradient-direction: horizontal; +} +.popup-slider-menu-item { + @extend %slider-shared; +} +.popup-device-menu-item { + spacing: .5em; +} +.popup-inactive-menu-item { + font-style: italic; + color: $dark_fg_color; +} +.popup-subtitle-menu-item { + font-weight: bold; + font-size: 1em; +} +.popup-menu-icon { + icon-size: 1.14em; +} +.popup-menu-item-dot { +} +.popup-submenu-menu-item:open { +} +.popup-alternating-menu-item:alternate { + font-weight: bold; +} +// toggles in menus +.toggle-switch { + width: 64px; + height: 22px; +} +.toggle-switch-us { + background-image: url(assets/toggle-off-us.svg); + &:checked { + background-image: url(assets/toggle-on-us.svg); + } +} +.toggle-switch-intl { + background-image: url(assets/toggle-off-intl.svg); + &:checked { + background-image: url(assets/toggle-on-intl.svg); + } +} +.nm-menu-item-icons { + spacing: .5em; + icon-size: 1.14em; +} +// all the remaining code is for the main menu applet +.menu-favorites-box { + @extend %bg-grad-to-right; + + padding: 0.8em; + border: 1px solid $interior_border; + border-radius: $roundness; + transition-duration: 150; + spacing: 1em; +} +// This is for the stock menu in Cinnamon 4.0.2 and later - adds more vfade to the scrollable favorites box and fakes a seperator from the system buttons with a bottom border. +.menu-favorites-scrollbox { + padding-bottom: 1em; + border-bottom: 1px solid; + border-color: $interior_border; + &.vfade { + -st-vfade-offset: 136px; + } +} +.menu-favorites-button { + @extend %menu-buttons-shared; + + &:hover { + background-color: $selected_bg_color; + border-radius: $roundness; + color: $selected_fg_color; + } +} +.menu-categories-box { + padding: 0.8em; +} +.menu-applications-inner-box { + @extend %bg-grad-to-right; + + padding: 0.8em; + border-radius: $roundness; + border: 1px solid $interior_border; + StScrollView { + @extend %menu-context-shared; + } +} +.menu-applications-outer-box { + @extend %bg-grad-to-right; + + padding: 0.8em; + border: 1px solid $interior_border; + border-radius: $roundness; +} +.menu-application-button { + @extend %menu-buttons-shared; + + &:highlighted { + font-weight: bold; + } +} +.menu-application-button-selected { + @extend %menu-buttons-shared; + + background-color: $selected_bg_color; + border-radius: $roundness; + color: $selected_fg_color; + &:highlighted { + font-weight: bold; + } +} +.menu-application-button-label { + @extend %menu-button-label-shared; +} +.menu-category-button { + @extend %menu-buttons-shared; +} +.menu-category-button-greyed { + @extend %menu-buttons-shared; + + color: $dark_fg_color; + font-style: italic; +} +.menu-category-button-selected { + @extend %menu-buttons-shared; + + background-color: $selected_bg_color; + border-radius: $roundness; + color: $selected_fg_color; + &:hover { + } +} +.menu-category-button-label { + @extend %menu-button-label-shared; +} +// in the stock menu app descriptions are shown at the base of the menu +.menu-selected-app-box { + padding: 2px 8px; + text-align: right; + &:rtl { + text-align: left; + } +} +.menu-selected-app-title { + font-weight: bold; + font-size: 0.8em; +} +.menu-selected-app-description { + max-width: 150px; + font-size: 0.8em; +} +// the menus search box +.menu-search-box { + &:ltr { + padding-left: 30px; + padding-bottom: 5px; + padding-top: 5px; + } + &:rtl { + padding-right: 30px; + padding-bottom: 5px; + padding-top: 5px; + } +} +#menu-search-entry { + @extend %dialog-entry; + + margin-bottom: 0.5em; + &:focus { + border: 1px solid $selected_border; + } + &:hover { + } +} +.menu-search-entry-icon { + icon-size: 1em; + color: $tooltip_fg_color; +} +// new styleclasses for the Cinnamon 4.0.0 stock menu - note this menu was dropped in Cinnamon 4.0.1 but retain styling in case it's revived. +.menu-top-box { + spacing: 10px; } +.menu-systembuttons-box { + padding-bottom: 12px; + padding-top: 12px; + margin-bottom: 0.5em; } +// cinnVIIstark menu right click favourites context menu +.starkmenu-favorites-box .menu-context-menu, .menu-context-menu { + @extend %menu-context-shared; +} diff --git a/Tokyonight-dark/cinnamon/scss/sections/_notifications.scss b/Tokyonight-dark/cinnamon/scss/sections/_notifications.scss new file mode 100644 index 00000000..9bd5097e --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/sections/_notifications.scss @@ -0,0 +1,91 @@ +// notification system +#notification { + @extend %bg-grad-to-right; + + border-radius: $roundness; + border: 1px solid $exterior_border; + padding: 8px; + spacing-rows: 5px; + spacing-columns: 10px; + margin-from-right-edge-of-screen: 20px; + width: 34em; + color: $dark_fg_color; + &.multi-line-notification { + padding-bottom: 8px; + color: $dark_fg_color; + } + StEntry { + @extend %dialog-entry; + + &:focus { + border: 1px solid $selected_border; + } + } + .url-highlighter { + link-color: $link_color; + } +} +.notification-with-image { + min-height: 159px; + color: $dark_fg_color; +} +#notification-scrollview { + max-height: 10em; + > { + .top-shadow { + height: 1em; + } + .bottom-shadow { + height: 1em; + } + } + &:ltr > StScrollBar { + padding-left: 6px; + } + &:rtl > StScrollBar { + padding-right: 6px; + } +} +#notification-body { + spacing: 4px; +} +#notification-actions { + spacing: 8px; +} +.notification-button { + @extend %shared-button; + + border-radius: $roundness; + min-width: 5em; + min-height: 1em; + padding: $spacing_plus2; + &:hover { + @extend %shared-button-hover; + } + &:focus { + color: $selected_fg_color; + } + &:active { + @extend %shared-button-active; + } +} +.notification-icon-button { + @extend %shared-button; + + border-radius: $roundness; + min-width: 2em; + min-height: 2em; + padding: $spacing_plus2; + &:hover { + @extend %shared-button-hover; + } + &:focus { + color: $selected_fg_color; + } + &:active { + @extend %shared-button-active; + } + > StIcon { + icon-size: 1.5em; + } +} diff --git a/Tokyonight-dark/cinnamon/scss/sections/_overview.scss b/Tokyonight-dark/cinnamon/scss/sections/_overview.scss new file mode 100644 index 00000000..c87d5d0d --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/sections/_overview.scss @@ -0,0 +1,119 @@ +// scale and expo views +#overview { + spacing: 12px; +} +.workspace-thumbnails { + spacing: 14px; +} +.workspace-add-button { + background-image: url(assets/add-workspace.png); + height: 200px; + width: 35px; + border-radius-topleft: 10px; + border-radius-bottomleft: 10px; + transition-duration: 150; + background-color: $info_bg_color; + border-top: 1px solid; + border-left: 1px solid; + border-bottom: 1px solid; + border-color: $button_border; + &:hover { + background-image: url(assets/add-workspace-hover.png); + border-color: $selected_border; + } + &:active { + background-image: url(assets/add-workspace.png); + border-color: $selected_border; + background-color: $success_color; + } +} +.workspace-close-button { + background-image: url(assets/close-window.svg); + height: 32px; + width: 32px; + -cinnamon-close-overlap: 20px; +} +// this always looks better semi transparent +.workspace-overview-background-shade { + background-color: $dark_bg_color_trans; +} +.window-caption { + @extend %bg-grad-to-bottom; + + padding: 4px 6px; + border: 1px solid $exterior_border; + border-radius: $roundness; + color: $dark_fg_color; + -cinnamon-caption-spacing: 4px; + &:focus, &#selected { + @extend %selected-bg-grad-to-bottom; + + color: $selected_fg_color; + border: 1px solid $selected_border; + } +} +.window-border { + border: 1px solid $selected_border; +} +.window-close { + background-image: url(assets/close-window.svg); + height: 32px; + width: 32px; + -cinnamon-close-overlap: 20px; + &:rtl { + -st-background-image-shadow: 2px 2px 6px rgba(0,0,0,0.5); + } +} +.window-close-area { + background-image: url(assets/trash-icon.png); + background-size: 100px; + background-color: $dark_bg_color_trans; + border: 1px solid $exterior_border; + border-bottom-width: 0; + border-radius: 20px 20px 0 0; + height: 120px; + width: 400px; +} +.expo-background { + @extend %bg-grad-to-bottom; +} +.expo-workspace-thumbnail-frame { + border: 1px solid $exterior_border; + &#active { + border: 1px solid $selected_border; + } +} +.expo-workspaces-name-entry { + @extend %bg-grad-to-bottom; + + padding: 4px 6px; + height: 1.5em; + border: 1px solid $exterior_border; + border-radius: $roundness; + selected-color: $selected_fg_color; + selection-background-color: $selected_bg_color; + color: $dark_fg_color; + text-align: center; + &#selected { + @extend %selected-bg-grad-to-bottom; + + color: $selected_fg_color; + selected-color: $dark_fg_color; + selection-background-color: $selected_bg_color; + border: 1px solid $selected_border; + } + &:focus { + border: 1px solid $selected_border; + } + &:hover { + border: 1px solid $selected_border; + } +} +// hot corners animation +.ripple-box { + width: 104px; + height: 104px; + background-image: url(assets/corner-ripple.png); + background-color: $selected_bg_color; + border-radius: 52px; +} diff --git a/Tokyonight-dark/cinnamon/scss/sections/_panel.scss b/Tokyonight-dark/cinnamon/scss/sections/_panel.scss new file mode 100644 index 00000000..f1743f54 --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/sections/_panel.scss @@ -0,0 +1,573 @@ +// panels can be on any side of the screen +// some panel item theming is specific to panel orientation and is included in this section +// each panel is also split into three zones +// dnd is for panel edit mode +// dummy is for adding or moving panels +#panel { + color: $dark_fg_color; + height: 2.5em; + width: 3.2em; + &:highlight { + background-color: $selected_bg_color; + } +} +.panel-dummy { + background-color: rgba(255, 0, 0, 0.6); + &:entered { + background-color: rgba(0, 255, 0, 0.6); + } +} +.panelLeft { + spacing: 4px; + &:dnd { + background-color: rgba(255, 0, 0, 0.6); + } + &:ltr { + padding-right: 4px; + } + &:rtl { + padding-left: 4px; + } + &.vertical { + padding: 0; + &:dnd { + } + } +} +.panelCenter { + spacing: 4px; + &:dnd { + background-color: rgba(0, 255, 0, 0.6); + } + &.vertical { + padding-left: 0; + padding-right: 0; + &:dnd { + } + } +} +.panelRight { + spacing: 4px; + &:dnd { + background-color: rgba(0, 0, 255, 0.6); + } + &:ltr { + padding-left: 0; + spacing: 0; + } + &:rtl { + padding-right: 0; + spacing: 0; + } + &.vertical { + padding: 0; + &:dnd { + } + } +} +// panel borders must be defined with a border-top color or other color definition that encompasses border-top +// panels do not support different colors of borders on different edges +// due to a bug in cinnamons placing of panel items on a bordered panel small margins are used to ensure that bordered panel objects +// do not overlap the panel border +.panel-top { + @extend %bg-grad-to-bottom; + + box-shadow: 0 -1px 0 0 $exterior_border inset; + .window-list-item-box { + @extend %bg-grad-to-top; + margin-bottom: 1px; + &:hover { + @extend %hover-bg-grad-to-top; + } + &:active, &:checked, &:focus, &:running { + @extend %panel-top-shared; + + &:hover { + @extend %hover-selected-grad-to-top; + } + } + } + .grouped-window-list-item-box { + &:active, &:checked { + box-shadow: 0 2px 0 0 $dark_fg_color inset; + } + &:hover { + box-shadow: 0 2px 0 0 $selected_border inset; + } + &:focus { + box-shadow: 0 4px 0 0 $selected_border inset; + } + } + .workspace-switcher, .workspace-graph { + padding: 1px $spacing; + } + .panel-launchers .launcher:hover { + box-shadow: 0 2px 0 0 $selected_border inset; + } + .applet-separator { + padding: 3px $spacing; + } +} +.panel-bottom { + @extend %bg-grad-to-top; + + box-shadow: 0 1px 0 0 $exterior_border inset; + .window-list-item-box { + @extend %bg-grad-to-bottom; + margin-top: 1px; + + &:hover { + @extend %hover-bg-grad-to-bottom; + } + &:active, &:checked, &:focus, &:running { + @extend %panel-bottom-shared; + + &:hover { + @extend %hover-selected-grad-to-bottom; + } + } + } + .grouped-window-list-item-box { + &:active, &:checked { + box-shadow: 0 -2px 0 0 $dark_fg_color inset; + } + &:hover { + box-shadow: 0 -2px 0 0 $selected_border inset; + } + &:focus { + box-shadow: 0 -4px 0 0 $selected_border inset; + } + } + .workspace-switcher, .workspace-graph { + padding: 1px $spacing; + } + .panel-launchers .launcher:hover { + box-shadow: 0 -2px 0 0 $selected_border inset; + } + .applet-separator { + padding: 3px $spacing; + } +} +.panel-left { + @extend %bg-grad-to-right; + + box-shadow: -1px 0 0 0 $exterior_border inset; + .window-list-item-box { + margin-right: 1px; + @extend %bg-grad-to-left; + + &:hover { + @extend %hover-bg-grad-to-left; + } + &:active, &:checked, &:focus, &:running { + @extend %panel-left-shared; + + &:hover { + @extend %hover-selected-grad-to-left; + } + } + } + .grouped-window-list-item-box { + &:active, &:checked { + box-shadow: 2px 0 0 0 $dark_fg_color inset; + } + &:hover { + box-shadow: 2px 0 0 0 $selected_border inset; + } + &:focus { + box-shadow: 4px 0 0 0 $selected_border inset; + } + } + .workspace-switcher, .workspace-graph { + padding: $spacing 1px; + } + .panel-launchers .launcher:hover { + box-shadow: 2px 0 0 0 $selected_border inset; + } + .applet-separator { + padding: $spacing 3px; + } +} +.panel-right { + @extend %bg-grad-to-left; + + box-shadow: 1px 0 0 0 $exterior_border inset; + .window-list-item-box { + margin-left: 1px; + @extend %bg-grad-to-right; + + &:hover { + @extend %hover-bg-grad-to-right; + } + &:active, &:checked, &:focus, &:running { + @extend %panel-right-shared; + + &:hover { + @extend %hover-selected-grad-to-right; + } + } + } + .grouped-window-list-item-box { + &:active, &:checked { + box-shadow: -2px 0 0 0 $dark_fg_color inset; + } + &:hover { + box-shadow: -2px 0 0 0 $selected_border inset; + } + &:focus { + box-shadow: -4px 0 0 0 $selected_border inset; + } + } + .workspace-switcher, .workspace-graph { + padding: $spacing 1px; + } + .panel-launchers .launcher:hover { + box-shadow: -2px 0 0 0 $selected_border inset; + } + .applet-separator { + padding: $spacing 3px; + } +} +// a non feature - not worth themeing +.panel-corner { + &:active { + } + &:overview { + } + &:focus { + } +} +// remaining code is for panel items starting with the generic applets +.applet-separator-line { + width: 2px; + background: $selected_bg_color; +} +.applet-separator-line-vertical { + border-color: $selected_bg_color; + border-bottom: 2px solid; +} +.applet-spacer:highlight { + background-color: $selected_bg_color; +} +.applet-box { + color: $dark_fg_color; + transition-duration: 150; + border-radius: $roundness; + padding: 0 $spacing; + &.vertical { + padding: $spacing 0; + } + &:checked { + color: $selected_bg_color; + .applet-label { + color: $selected_bg_color; + } + } + &:hover { + color: $selected_bg_color; + .applet-label { + color: $selected_bg_color; + } + } + &:highlight { + background-color: $selected_bg_color; + color: $selected_fg_color; + .applet-label { + color: $selected_fg_color; + } + } +} +.applet-label { + font-weight: bold; + color: $dark_fg_color; + padding-left: 3px; +} +// icon-size set to 22 to match hard-coded menu icon size - applet-icon style is used for search provider results in menu +.applet-icon { + color: $dark_fg_color; + padding: 0; + spacing: 0; + icon-size: 22px; +} +// used by power applet to warn of low battery +.system-status-icon { + icon-size: 1.14em; + padding: 0; + spacing: 0; + &.warning { + color: $warning_color; + } + &.error { + color: $error_color; + } +} +// keyboard layout applet +.panel-status-button { + -natural-hpadding: 4px; + -minimum-hpadding: 4px; + font-weight: bold; + color: $dark_fg_color; + &:hover { + color: $selected_bg_color; + } +} +// user applet specific themeing +.user-box { + padding: 0.4em 1.3em; + spacing: 10px; +} +.user-icon { + padding: 4px; + border: none; +} +.user-label { + color: $dark_fg_color; + font-weight: bold; + font-size: 1em; +} +// the window list applet. Some third party applets inherit some of this theming. +.window-list-box { + spacing: $spacing; + padding: 1px 3px; + font-size: 0.9em; + border-radius: $roundness; + &.vertical { + spacing: $spacing; + padding: 3px 1px; + } + &:highlight { + background-color: $selected_bg_color; + } + #appMenuIcon { + } +} +// progress was added with cinnamon 3.6 and allows compatible applications to use the window list as a progress bar +.window-list-item { + &-box { + border: 1px solid $interior_border; + border-radius: $roundness; + transition-duration: 150; + &:hover { + border: 1px solid $selected_border; + } + &.top StLabel, &.bottom StLabel { + padding-left: 3px; + } + .progress { + background-color: $success_color; + border: 1px solid $selected_border; + border-radius: $roundness; + color: $info_fg_color; + } + #appMenuIcon { + padding-right: 0.2em; + } + } + &-demands-attention { + background-color: $info_bg_color; + color: $info_fg_color; + } +} +// cinnamon 3.8 will support an improved window-list-thumbnail preview which now has it's own selector +.window-list-preview { + @extend %bg-grad-to-right; + + border-radius: $roundness; + border: 1px solid $exterior_border; + padding: 6px 12px; + spacing: $spacing; + color: $dark_fg_color; +} +// Cinnamon 4.0 has a new grouped window list applet with it's own selectors. +// Initial theme support is defined here. + +.grouped-window-list { + &-thumbnail-label { + padding-left: 3px; + } + &-number-label { + z-index: 99; + font-size: 0.8em; + color: $dark_fg_color; + } + // May need to revise depending on upstream GWL developments + &-button-label { + padding: 0; + } + &-badge { + border-radius: 256px; + background-color: $dark_bg_color; + } + &-thumbnail-alert { + background: $warning_color; + } + &-item-box { + transition-duration: 150; + spacing: 1em; + background-color: rgba(0, 0, 0, 0.01); + &:hover, &:focus, { + color: $selected_bg_color; + } + &:focus { + font-weight: bold; + } + .progress { + background-color: $success_color; + } + } + &-demands-attention { + background-color: $info_bg_color; + color: $info_fg_color; + } + &-thumbnail-menu { + @extend %bg-grad-to-right; + + border-radius: $roundness; + padding: 10px 15px; + spacing: $spacing; + color: $dark_fg_color; + .item-box { + padding: 8px; + border-radius: $roundness; + border: 1px solid $interior_border; + &:outlined { + border: 1px solid $selected_border; + } + &:selected { + background-color: $selected_bg_color; + border: 1px solid $selected_border; + color: $selected_fg_color; + } + } + .thumbnail-box { + padding: 2px; + spacing: $spacing; + } + .thumbnail { + width: 256px; + } + .separator { + width: 1px; + background: $selected_bg_color; + } + } +} +// the sound player applet +.sound-player { + StButton { + @extend %shared-button; + + min-width: 2em; + min-height: 2em; + padding: $spacing_plus2; + color: $button_fg_color; + border-radius: $roundness; + &:small { + min-width: 1.5em; + min-height: 1.5em; + padding: $spacing; + StIcon { + icon-size: 1em; + } + } + StIcon { + icon-size: 1.5em; + } + &:hover { + @extend %shared-button-hover; + } + &:focus { + color: $selected_fg_color; + } + &:active { + @extend %shared-button-active; + } + } + .slider { + @extend %slider-shared; + height: 4px; + } + StBoxLayout { + spacing: 0.5em; + } + > StBoxLayout { + padding: 5px; + } +} +.sound-player-generic-coverart { + background: rgba(0,0,0,0.2); +} +.sound-player-overlay { + @extend %bg-grad-to-bottom; + + min-width: 300px; + padding: 12px 16px; + spacing: 0.5em; + color: $dark_fg_color; +} +// workspace switcher applet simple button view +.workspace-button { + width: 2em; + height: 1em; + color: $dark_fg_color; + border: 1px solid $interior_border; + margin: 2px; + transition-duration: 150; + &.vertical { + height: 1.5em; + } + &:outlined { + background-color: $selected_bg_color; + color: $selected_fg_color; + border-color: $selected_border; + } +} +// workspace switcher applet graph view +.workspace-graph { + .workspace { + @extend %bg-grad-to-bottom; + + border: 1px solid $interior_border; + &:active { + @extend %selected-bg-grad-to-bottom; + + border: 1px solid $interior_border; + .windows { + -active-window-background: rgba(255, 255, 255, 0.8); + -active-window-border: rgba(0, 0, 0, 0.9); + -inactive-window-background: rgba(140, 140, 140, 0.8); + -inactive-window-border: rgba(0, 0, 0, 0.7); + } + } + .windows { + -active-window-background: rgba(140, 140, 140, 0.8); + -active-window-border: rgba(0, 0, 0, 0.7); + -inactive-window-background: rgba(140, 140, 140, 0.8); + -inactive-window-border: rgba(0, 0, 0, 0.7); + } + } +} +// most panel launcher themeing is orientation specific +.panel-launchers { + padding: 0 $spacing; + spacing: $spacing; + .launcher { + background-color:rgba(0, 0, 0, 0.01); + } + &.vertical { + padding: $spacing 0; + } +} +.notification-applet-padding { + padding: .5em 1em; +} +.notification-applet-container { + max-height: 100px; +} +.systray { + spacing: $spacing; +} +.flashspot { + background-color: $selected_bg_color; +} + diff --git a/Tokyonight-dark/cinnamon/scss/sections/_stage.scss b/Tokyonight-dark/cinnamon/scss/sections/_stage.scss new file mode 100644 index 00000000..e6944a66 --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/sections/_stage.scss @@ -0,0 +1,114 @@ +// defines font family and standard font size across the whole theme +// em is preferred for better support for text scaling +stage { + font-family: roboto, Noto Sans, sans, sans-serif; + font-size: 1em; +} +.cinnamon-link { + color: $link_color; + font-style: italic; + &:hover { + color: $selected_fg_color; + } +} +.label-shadow { + color: rgba(0,0,0,0.5); +} +// themeing for various standard elements +StScrollBar { + padding: 2px; + StButton { + &#vhandle { + background-color: $scrollbar_slider_color; + border-radius: $roundness; + &:hover { + background-color: $scrollbar_slider_hover_color; + } + } + &#hhandle { + background-color: $scrollbar_slider_color; + border-radius: $roundness; + &:hover { + background-color: $scrollbar_slider_hover_color; + } + } + } + StBin#trough { + background-color: $scrollbar_bg_color; + border-radius: $roundness; + } +} +StScrollView { + &.vfade { + -st-vfade-offset: 68px; + } + &.hfade { + -st-hfade-offset: 68px; + } + StScrollBar { + min-width: 0.8em; + min-height: 0.8em; + } +} +.separator { + @extend %separator-shared; +} +.slider { + @extend %slider-shared; +} +.check-box { + CinnamonGenericContainer { + spacing: .2em; + } + StBin { + @extend %check-box-shared; + } + &:focus { + StBin { + @extend %check-box-shared; + } + &:checked StBin { + background-image: url(assets/checkbox.svg); + } + } + StLabel { + font-weight: normal; + } + &:checked StBin { + background-image: url(assets/checkbox.svg); + } +} +.radiobutton { + CinnamonGenericContainer { + spacing: .2em; + height: 18px; + padding-top: 2px; + } + StBin { + @extend %radiobutton-shared; + } + &:focus { + StBin { + @extend %radiobutton-shared; + } + &:checked StBin { + background-image: url(assets/radiobutton.svg); + } + } + StLabel { + padding-top: 4px; + font-size: 0.8em; + box-shadow: none; + } + &:checked StBin { + background-image: url(assets/radiobutton.svg); + } +} +#Tooltip { + @extend %tooltip-bg-grad-to-top; + + padding: 5px 8px; + color: $tooltip_fg_color; + text-align: center; + border-radius: $roundness; +} diff --git a/Tokyonight-dark/cinnamon/scss/sections/_tile-hud.scss b/Tokyonight-dark/cinnamon/scss/sections/_tile-hud.scss new file mode 100644 index 00000000..35f5ed8e --- /dev/null +++ b/Tokyonight-dark/cinnamon/scss/sections/_tile-hud.scss @@ -0,0 +1,59 @@ +// on screen preview of windows tiling placement +.tile-preview { + @extend %tile-shared; + + &.snap { + @extend %tile-shared-snap; + } +} +.tile-hud { + @extend %tile-shared; + + &.snap { + @extend %tile-shared-snap; + } + &:top { + border-top-width: 0; + + border-radius: 0 0 10px 10px; + } + &:bottom { + border-bottom-width: 0; + + border-radius: $roundness $roundness 0 0; + } + &:left { + border-left-width: 0; + + border-radius: 0 10px 10px 0; + } + &:right { + border-right-width: 0; + + border-radius: 10px 0 0 10px; + } + &:top-left { + border-top-width: 0; + border-left-width: 0; + + border-radius: 0 0 10px 0; + } + &:top-right { + border-top-width: 0; + border-right-width: 0; + + border-radius: 0 0 0 10px; + } + &:bottom-left { + border-bottom-width: 0; + border-left-width: 0; + + border-radius: 0 10px 0 0; + } + &:bottom-right { + border-bottom-width: 0; + border-right-width: 0; + + border-radius: 10px 0 0 0; + } +} diff --git a/Tokyonight-dark/cinnamon/thumbnail.png b/Tokyonight-dark/cinnamon/thumbnail.png new file mode 100644 index 00000000..ac66aa16 Binary files /dev/null and b/Tokyonight-dark/cinnamon/thumbnail.png differ diff --git a/Tokyonight-dark/gtk-2.0/gtkrc b/Tokyonight-dark/gtk-2.0/gtkrc new file mode 100644 index 00000000..9576d7a8 --- /dev/null +++ b/Tokyonight-dark/gtk-2.0/gtkrc @@ -0,0 +1,894 @@ +# Oomox GTK Theme (Numix Fork) + +gtk-color-scheme = +"base_color:#292e42\nbg_color:#1f2335\ntooltip_bg_color:#1f2335\nselected_bg_color:#283457\ntext_color:#c0caf5\nfg_color:#a9b1d6\ntooltip_fg_color:#a9b1d6\nselected_fg_color:#c0caf5\nmenubar_bg_color:#24283b\nmenubar_fg_color:#a9b1d6\ntoolbar_bg_color:#1f2335\ntoolbar_fg_color:#a9b1d6\nmenu_bg_color:#24283b\nmenu_fg_color:#a9b1d6\npanel_bg_color:#1f2335\npanel_fg_color:#a9b1d6\nlink_color:#7aa2f7\nbtn_bg_color:#292e42\nbtn_fg_color:#c0caf5\ntitlebar_bg_color:#24283b\ntitlebar_fg_color:#a9b1d6\nprimary_caret_color:#3b4261\nsecondary_caret_color:#3b4261\naccent_bg_color:#7aa2f7\n" +# Default Style + +style "murrine-default" { + GtkArrow::arrow-scaling= 0.6 + + GtkWidget::cursor_color = @primary_caret_color + GtkWidget::secondary_cursor_color = @secondary_caret_color + GtkWidget::cursor_aspect_ratio = 0.04 + + GtkButton::child-displacement-x = 0 + GtkButton::child-displacement-y = 0 + + GtkButton::default-border = { 0, 0, 0, 0 } + #GtkButton::inner-border = { 2, 2, 1, 1 } + GtkButton::focus-line-width = 1 + #GtkButton::focus-padding = -4 + + GtkButtonBox::child-min-height = 26 + + GtkCheckButton::indicator-size = 16 + + # The following line hints to gecko (and possibly other appliations) + # that the entry should be drawn transparently on the canvas. + # Without this, gecko will fill in the background of the entry. + GtkEntry::honors-transparent-bg-hint = 1 + GtkEntry::state-hint = 0 + + GtkExpander::expander-size = 16 + + GtkImage::x-ayatana-indicator-dynamic = 1 + + GtkMenu::horizontal-padding = 0 + GtkMenu::vertical-padding = 0 + + GtkMenuBar::internal-padding = 0 + GtkMenuBar::window-dragging = 1 + + GtkMenuItem::arrow-scaling= 0.5 + + GtkPaned::handle-size = 1 + + GtkProgressBar::min-horizontal-bar-height = 12 + GtkProgressBar::min-vertical-bar-width = 12 + + GtkRange::trough-border = 0 + GtkRange::slider-width = 12 + GtkRange::stepper-size = 12 + GtkRange::stepper_spacing = 0 + GtkRange::trough-under-steppers = 1 + + GtkScale::slider-length = 16 + GtkScale::slider-width = 16 + GtkScale::trough-side-details = 1 + + GtkScrollbar::activate-slider = 1 + GtkScrollbar::has-backward-stepper = 0 + GtkScrollbar::has-forward-stepper = 0 + GtkScrollbar::has-secondary-backward-stepper = 0 + GtkScrollbar::has-secondary-forward-stepper = 0 + GtkScrollbar::min-slider-length = 80 + GtkScrollbar::slider-width = 12 + GtkScrollbar::trough-border = 0 + + GtkScrolledWindow::scrollbar-spacing = 0 + GtkScrolledWindow::scrollbars-within-bevel = 1 + + GtkSeparatorMenuItem::horizontal-padding = 0 + + GtkToolbar::internal-padding = 0 + + GtkTreeView::expander-size = 11 + GtkTreeView::vertical-separator = 0 + + GtkWidget::focus-line-width = 1 + # The following line prevents the Firefox tabs + # from jumping a few pixels when you create a new tab + GtkWidget::focus-padding = 0 + + GtkWidget::wide-separators = 1 + GtkWidget::separator-width = 1 + GtkWidget::separator-height = 1 + + GtkWindow::resize-grip-height = 0 + GtkWindow::resize-grip-width = 0 + + WnckTasklist::fade-overlay-rect = 0 + + GnomeHRef::link_color = @link_color + GtkHTML::link-color = @link_color + GtkIMHtmlr::hyperlink-color = @link_color + GtkIMHtml::hyperlink-color = @link_color + GtkWidget::link-color = @link_color + GtkWidget::visited-link-color = @text_color + + GtkToolbar::shadow-type = GTK_SHADOW_NONE # Makes toolbars flat and unified + GtkMenuBar::shadow-type = GTK_SHADOW_NONE # Makes menubars flat and unified + + xthickness = 1 + ythickness = 1 + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) + + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + bg[INSENSITIVE] = @bg_color + + base[NORMAL] = @base_color + base[PRELIGHT] = shade (0.95, @base_color) + base[SELECTED] = @selected_bg_color + base[ACTIVE] = @selected_bg_color + base[INSENSITIVE] = shade (0.85, @base_color) + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @base_color, @text_color) + + engine "murrine" { + animation = FALSE + arrowstyle = 1 # 0 = normal arrows, 1 = filled arrows + border_shades = { 1.0, 1.0 } # gradient to draw on border + border_colors = { mix(0.2, @fg_color, @bg_color), mix(0.2, @fg_color, @bg_color) } + colorize_scrollbar = FALSE + comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow + contrast = 0.8 # overal contrast with borders + focusstyle = 3 # 0 = none, 1 = grey dotted, 2 = colored with fill, 3 = colored glow + glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave, 3 = top curved highlight, 4 = beryl highlight + glowstyle = 0 # 0 = glow on top, 1 = glow on bottom, 2 = glow on top and bottom, 3 = glow on middle vertically, 4 = glow on middle horizontally, 5 = glow on all sides + glow_shade = 1.0 # amount of glow + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } # gradient to draw on widgets + highlight_shade = 1.0 # amount of highlight + lightborder_shade = 1.0 # amount of inset light border + lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides + listviewheaderstyle = 0 # 0 = flat, 1 = glassy, 2 = raised + listviewstyle = 0 # 0 = none, 1 = dotted, 2 = line + menubaritemstyle = 0 # 0 = menuitem look, 1 = button look + menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped + menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped + menustyle = 0 # 0 = none, 1 = vertical striped + progressbarstyle = 0 # 0 = none, 1 = diagonal striped, 2 = vertical striped + reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient + roundness = 4 # roundness of widgets + scrollbarstyle = 0 # 0 = none, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles + sliderstyle = 0 # 0 = none, 1 = handles + stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles + toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient + } +} + +style "murrine-wide" { + xthickness = 2 + ythickness = 2 +} + +style "murrine-wider" { + xthickness = 3 + ythickness = 3 +} + +style "murrine-thin" { + xthickness = 0 + ythickness = 0 +} + +# Notebook + +style "clearlooks-notebook-bg" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = shade (0.80, @bg_color) +} + +style "clearlooks-notebook" = "clearlooks-notebook-bg" { + xthickness = 2 + ythickness = 2 + + engine "clearlooks" { + radius = 0.1 + } +} + +# Various Standard Widgets + +style "murrine-button" = "murrine-wider" { + bg[NORMAL] = @btn_bg_color + bg[PRELIGHT] = shade (1.10, @btn_bg_color) + bg[SELECTED] = mix (0.5, @selected_bg_color, @bg_color) + bg[ACTIVE] = shade (0.95, @btn_bg_color) + bg[INSENSITIVE] = shade (0.75, @btn_bg_color) + #xthickness = 4 + #ythickness = 4 + + engine "murrine" { + border_colors = { mix(0.25, @btn_fg_color, @btn_bg_color), mix(0.25, @btn_fg_color, @btn_bg_color) } + roundness = 4 + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } + } +} + +style "murrine-buttonlabel" { + fg[NORMAL] = @btn_fg_color + fg[PRELIGHT] = @btn_fg_color + fg[SELECTED] = @btn_fg_color + fg[ACTIVE] = @btn_fg_color + fg[INSENSITIVE] = mix (0.4, @btn_bg_color, @btn_fg_color) + + text[NORMAL] = @btn_fg_color + text[PRELIGHT] = @btn_fg_color + text[SELECTED] = @btn_fg_color + text[ACTIVE] = @btn_fg_color + text[INSENSITIVE] = mix (0.4, @btn_bg_color, @btn_fg_color) + + engine "murrine" { + } +} + +style "murrine-scrollbar" { + bg[NORMAL] = mix (0.21, @fg_color, @bg_color) + bg[PRELIGHT] = mix (0.31, @fg_color, @bg_color) + bg[ACTIVE] = @selected_bg_color + + engine "murrine" { + roundness = 0 + contrast = 0.0 + border_shades = { 0.9, 0.9 } + trough_shades = { 0.97, 0.97 } + trough_border_shades = { 1.0, 1.0 } + } +} + +style "murrine-overlay-scrollbar" { + bg[ACTIVE] = shade (0.8, @bg_color) + bg[INSENSITIVE] = shade (0.97, @bg_color) + + base[SELECTED] = shade (0.6, @bg_color) + base[INSENSITIVE] = shade (0.85, @bg_color) +} + +style "murrine-scale" = "murrine-thin" { + bg[NORMAL] = @btn_bg_color + bg[ACTIVE] = mix(0.2, @fg_color, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[INSENSITIVE] = mix(0.95, @bg_color, @btn_bg_color) + + engine "murrine" { + roundness = 8 + #roundness = 4 + gradient_shades = { 1.08, 1.08, 1.08, 1.08 } + #border_shades = { 0.5, 0.5 } + border_colors = { mix(0.25, @btn_fg_color, @btn_bg_color), mix(0.25, @btn_fg_color, @btn_bg_color) } + #trough_shades = { 1.08, 1.08 } + trough_border_shades = { 0.8, 0.8 } + } +} + +style "murrine-progressbar" = "murrine-thin" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = mix(0.08, @bg_color, @base_color) + + fg[PRELIGHT] = @selected_fg_color + + engine "murrine" { + #roundness = 2 + roundness = 4 + border_shades = { 1.2, 1.2 } + trough_border_shades = { 0.8, 0.8 } + } +} + +style "murrine-treeview-header" = "murrine-button" { + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix(0.20, @bg_color, @fg_color) + engine "murrine" { + roundness = 0 + } +} + +style "murrine-treeview" { + engine "murrine" { + roundness = 0 + } +} + +style "murrine-frame" = "murrine-wide" { + bg[NORMAL] = mix(0.08, @fg_color, @bg_color) +} + +style "murrine-frame-title" { + fg[NORMAL] = lighter (@fg_color) +} + +style "murrine-tooltips" { + xthickness = 5 + ythickness = 5 + + bg[NORMAL] = @tooltip_bg_color + bg[SELECTED] = @tooltip_bg_color + + fg[NORMAL] = @tooltip_fg_color + + engine "murrine" { + textstyle = 0 + roundness = 2 + rgba = FALSE + } +} + +style "murrine-spinbutton" = "murrine-button" { + engine "murrine" { + } +} + +style "clearlooks-radiocheck" = "murrine-default" { + bg[SELECTED] = @base_color + bg[PRELIGHT] = @bg_color + + text[NORMAL] = @accent_bg_color + text[PRELIGHT] = @accent_bg_color + + engine "clearlooks" { + radius = 4.0 + } +} + +style "clearlooks-base-radiocheck" = "clearlooks-radiocheck" { + bg[PRELIGHT] = @bg_color +} + +style "clearlooks-radiocheck-label" = "clearlooks-radiocheck" { + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) +} + +style "murrine-entry" = "murrine-wider" { + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @text_color + text[ACTIVE] = @text_color + text[INSENSITIVE] = mix (0.5, @base_color, @text_color) + engine "murrine" { + #border_shades = { 1.15, 1.15 } + border_colors = { mix(0.22, @text_color, @base_color), mix(0.22, @text_color, @base_color) } + roundness = 4 + } +} + +style "metacity-frame" = "murrine-default" { + bg[SELECTED] = @selected_bg_color +} + +style "murrine-statusbar" { } +style "murrine-comboboxentry" = "murrine-entry" { } +style "murrine-hscale" = "murrine-scale" { } +style "murrine-vscale" = "murrine-scale" { } +style "murrine-hscrollbar" = "murrine-scrollbar" { } +style "murrine-vscrollbar" = "murrine-scrollbar" { } + +# Menus + +style "murrine-menu" = "murrine-thin" { + bg[NORMAL] = @menu_bg_color + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @menu_bg_color + bg[INSENSITIVE] = @menu_bg_color + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + text[NORMAL] = @menu_fg_color + text[PRELIGHT] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +style "murrine-menu-item" = "murrine-wider" { + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @selected_bg_color + + fg[NORMAL] = @menu_fg_color # Fix for XFCE menu text + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" { + textstyle = 0 + border_shades = { 1.2, 1.2 } + } +} + +style "murrine-separator-menu-item" = "murrine-thin" { } + +style "murrine-menubar" { + bg[NORMAL] = @menubar_bg_color + bg[PRELIGHT] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[SELECTED] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[ACTIVE] = shade (0.9, @menubar_bg_color) + bg[INSENSITIVE] = @menubar_bg_color + + fg[NORMAL] = @menubar_fg_color + fg[PRELIGHT] = shade (1.08, @menubar_fg_color) + fg[SELECTED] = shade (1.08, @menubar_fg_color) + fg[ACTIVE] = @menubar_fg_color + fg[INSENSITIVE] = mix (0.5, @menubar_bg_color, @menubar_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +style "murrine-menubaritem" { + bg[NORMAL] = @menubar_bg_color + bg[PRELIGHT] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[SELECTED] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[ACTIVE] = shade (0.9, @menubar_bg_color) + bg[INSENSITIVE] = @menubar_bg_color + + fg[NORMAL] = @menubar_fg_color + fg[PRELIGHT] = shade (1.08, @menubar_fg_color) + fg[SELECTED] = shade (1.08, @menubar_fg_color) + fg[ACTIVE] = @menubar_fg_color + fg[INSENSITIVE] = mix (0.5, @menubar_bg_color, @menubar_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +# Toolbars + +style "murrine-toolbar" = "murrine-thin" { + bg[NORMAL] = @toolbar_bg_color + bg[PRELIGHT] = shade (1.02, @toolbar_bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @toolbar_bg_color) + bg[INSENSITIVE] = @toolbar_bg_color + + fg[NORMAL] = @toolbar_fg_color + fg[PRELIGHT] = @toolbar_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @toolbar_fg_color + fg[INSENSITIVE] = mix (0.5, @toolbar_bg_color, @toolbar_fg_color) + + engine "murrine" { + } +} + +style "murrine-toolbutton" = "murrine-button" { + bg[NORMAL] = shade (1.08, @toolbar_bg_color) + bg[PRELIGHT] = shade (1.10, @toolbar_bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.95, @toolbar_bg_color) + bg[INSENSITIVE] = shade (0.85, @toolbar_bg_color) + + fg[NORMAL] = @toolbar_fg_color + fg[PRELIGHT] = @toolbar_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @toolbar_fg_color + fg[INSENSITIVE] = mix (0.5, @toolbar_bg_color, @toolbar_fg_color) + + engine "murrine" { + } +} + +style "murrine-toolbutton-label" = "murrine-toolbutton" { + fg[NORMAL] = @toolbar_fg_color + fg[PRELIGHT] = @toolbar_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @toolbar_fg_color + fg[INSENSITIVE] = mix (0.5, @toolbar_bg_color, @toolbar_fg_color) + + engine "murrine" { + } +} + +class "GtkToolbar" style "murrine-toolbar" +class "GtkHandleBox" style "murrine-toolbar" +widget_class "*Toolbar*.*Separator*" style "murrine-toolbar" + +# Panels + +style "murrine-panel" = "murrine-thin" { + xthickness = 2 + + bg[NORMAL] = @panel_bg_color + bg[PRELIGHT] = mix (0.21, @panel_fg_color, @panel_bg_color) + bg[SELECTED] = mix (0.21, @panel_fg_color, @panel_bg_color) + bg[ACTIVE] = shade (0.8, @panel_bg_color) + bg[INSENSITIVE] = @panel_bg_color + + fg[NORMAL] = @panel_fg_color + fg[PRELIGHT] = shade (1.08, @panel_fg_color) + fg[SELECTED] = shade (1.08, @panel_fg_color) + fg[ACTIVE] = @panel_fg_color + fg[INSENSITIVE] = mix (0.5, @panel_bg_color, @panel_fg_color) + + base[NORMAL] = @panel_bg_color + base[PRELIGHT] = mix (0.21, @panel_fg_color, @panel_bg_color) + base[SELECTED] = mix (0.21, @panel_fg_color, @panel_bg_color) + base[ACTIVE] = shade (0.9, @panel_bg_color) + base[INSENSITIVE] = @panel_bg_color + + text[NORMAL] = @panel_fg_color + text[PRELIGHT] = shade (1.08, @panel_fg_color) + text[SELECTED] = shade (1.08, @panel_fg_color) + text[ACTIVE] = @panel_fg_color + text[INSENSITIVE] = mix (0.5, @panel_bg_color, @panel_fg_color) + + engine "murrine" { + roundness = 0 + contrast = 0.0 + } +} + +widget "*PanelWidget*" style "murrine-panel" +widget "*PanelApplet*" style "murrine-panel" +widget "*fast-user-switch*" style "murrine-panel" +widget "*CPUFreq*Applet*" style "murrine-panel" +widget "*indicator-applet*" style "murrine-panel" +class "PanelApp*" style "murrine-panel" +class "PanelToplevel*" style "murrine-panel" +widget_class "*PanelToplevel*" style "murrine-panel" +widget_class "*notif*" style "murrine-panel" +widget_class "*Notif*" style "murrine-panel" +widget_class "*Tray*" style "murrine-panel" +widget_class "*tray*" style "murrine-panel" +widget_class "*computertemp*" style "murrine-panel" +widget_class "*Applet*Tomboy*" style "murrine-panel" +widget_class "*Applet*Netstatus*" style "murrine-panel" +widget "*gdm-user-switch-menubar*" style "murrine-panel" + +# LXPanel (code based on Lubuntu-default theme's gtkrc file) +widget "*.tclock.*" style "murrine-panel" +widget "*.taskbar.*" style "murrine-panel" +widget_class "*GtkBgbox*" style "murrine-panel" + +style "bold-panel-item" { + font_name = "Bold" + + engine "murrine" { + roundness = 0 + } +} + +widget "*Panel*MenuBar*" style "bold-panel-item" +widget "*gimmie*" style "bold-panel-item" + +# widget_class "*Mail*" style "murrine-panel" # Disabled to fix Evolution bug +# class "*Panel*" style "murrine-panel" # Disabled to fix bug + +# XFCE Styles + +style "workspace-switcher" = "murrine-panel" { + bg[ACTIVE] = @selected_bg_color + bg[SELECTED] = @selected_bg_color +} + +style "xfce-header" { + bg[NORMAL] = shade (0.9, @bg_color) + base[NORMAL] = shade (1.18, @bg_color) +} + +style "xfdesktop-windowlist" { + bg[NORMAL] = @base_color + fg[INSENSITIVE] = shade (0.95, @base_color) + text[INSENSITIVE] = shade (0.95, @base_color) +} + +style "xfdesktop-icon-view" { + XfdesktopIconView::label-alpha = 0 + XfdesktopIconView::selected-label-alpha = 60 + XfdesktopIconView::shadow-x-offset = 0 + XfdesktopIconView::shadow-y-offset = 1 + XfdesktopIconView::selected-shadow-x-offset = 0 + XfdesktopIconView::selected-shadow-y-offset = 1 + XfdesktopIconView::shadow-color = @fg_color + XfdesktopIconView::selected-shadow-color = @fg_color + XfdesktopIconView::shadow-blur-radius = 2 + XfdesktopIconView::cell-spacing = 2 + XfdesktopIconView::cell-padding = 6 + XfdesktopIconView::cell-text-width-proportion = 1.9 + + fg[NORMAL] = @bg_color + fg[ACTIVE] = @bg_color + +} + +style "xfwm-tabwin" { + Xfwm4TabwinWidget::border-width = 1 + Xfwm4TabwinWidget::border-alpha = 1.0 + Xfwm4TabwinWidget::icon-size = 64 + Xfwm4TabwinWidget::alpha = 1.0 + Xfwm4TabwinWidget::border-radius = 2 + + bg[NORMAL] = @menu_bg_color + bg[SELECTED] = @menu_bg_color + + fg[NORMAL] = @menu_fg_color + + engine "murrine" { + contrast = 0.0 + border_shades = { 0.9, 0.9 } + } +} + +style "xfwm-tabwin-button" { + font_name = "bold" + + bg[SELECTED] = @selected_bg_color +} + +style "xfsm-logout" { + bg[NORMAL] = @menu_bg_color + bg[ACTIVE] = @menu_bg_color + bg[PRELIGHT] = shade (1.1, @menu_bg_color) + bg[SELECTED] = shade (0.5, @menu_bg_color) + bg[INSENSITIVE] = shade (1.3, @menu_bg_color) + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @menu_fg_color + + text[NORMAL] = @menu_fg_color + + engine "murrine" { + } +} + +style "xfsm-logout-button" { + bg[NORMAL] = shade (1.2, @menu_bg_color) + bg[PRELIGHT] = shade (1.4, @menu_bg_color) + + engine "murrine" { + } +} + +widget "*Pager*" style "workspace-switcher" + +widget "*Xfce*Panel*" style "murrine-panel" +class "*Xfce*Panel*" style "murrine-panel" + +# Thunar Styles + +style "sidepane" { + base[NORMAL] = @bg_color + base[INSENSITIVE] = mix (0.4, shade (1.35, @selected_bg_color), shade (0.9, @base_color)) + bg[NORMAL] = @bg_color + text[NORMAL] = mix (0.9, @fg_color, @bg_color) +} + +widget_class "*ThunarShortcutsView*" style "sidepane" +widget_class "*ThunarTreeView*" style "sidepane" +widget_class "*ThunarLocationEntry*" style "murrine-entry" + +style "whiskermenu" { + bg[NORMAL] = @menu_bg_color + bg[ACTIVE] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[PRELIGHT] = @selected_bg_color + + fg[NORMAL] = @menu_fg_color + fg[ACTIVE] = @menu_fg_color + fg[PRELIGHT] = @menu_fg_color +} + +style "whiskermenu-scrollbar" = "murrine-scrollbar" { + bg[NORMAL] = mix (0.21, @fg_color, @bg_color) + bg[PRELIGHT] = mix (0.31, @fg_color, @bg_color) + bg[ACTIVE] = @selected_bg_color + + engine "murrine" { + trough_shades = { 4.97, 4.97 } + trough_border_shades = { 5.0, 5.0 } + } +} + +widget "whiskermenu-window*" style "whiskermenu" +widget "*whisker*GtkVScrollbar" style "whiskermenu-scrollbar" + +# Gtk2 Open-File Dialog + +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*" style "sidepane" +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.." style "murrine-treeview-header" + +# Google Chrome/Chromium Styles (requires 9.0.597 or newer) + +style "chromium-toolbar-button" { + engine "murrine" { + roundness = 2 + textstyle = 0 + } +} + +style "chrome-gtk-frame" { + ChromeGtkFrame::frame-color = @titlebar_bg_color + ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::frame-gradient-size = 0 + ChromeGtkFrame::frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color + ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-gradient-size = 0 + ChromeGtkFrame::incognito-frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::scrollbar-trough-color = @bg_color + ChromeGtkFrame::scrollbar-slider-normal-color = mix (0.21, @fg_color, @bg_color) + ChromeGtkFrame::scrollbar-slider-prelight-color = mix (0.31, @fg_color, @bg_color) +} + +class "ChromeGtkFrame" style "chrome-gtk-frame" + +widget_class "*Chrom*Button*" style "chromium-toolbar-button" + +# General Styles + +class "GtkWidget" style "murrine-default" + +class "GtkFrame" style "murrine-frame" +class "MetaFrames" style "metacity-frame" +class "GtkWindow" style "metacity-frame" + +class "GtkSeparator" style "murrine-wide" +class "GtkCalendar" style "murrine-wide" + +class "GtkSpinButton" style "murrine-spinbutton" + +class "GtkScale" style "murrine-scale" +class "GtkVScale" style "murrine-vscale" +class "GtkHScale" style "murrine-hscale" +class "GtkScrollbar" style "murrine-scrollbar" +class "GtkVScrollbar" style "murrine-vscrollbar" +class "GtkHScrollbar" style "murrine-hscrollbar" + +class "GtkEntry" style "murrine-entry" + +widget_class "*" style "clearlooks-notebook" +widget_class "**" style "clearlooks-notebook-bg" +widget_class "**" style "clearlooks-notebook-bg" +widget_class "**" style "clearlooks-notebook-bg" +widget_class "*.GtkNotebook.*.GtkViewport" style "clearlooks-notebook" + +widget_class "*" style "murrine-button" +widget_class "**" style "murrine-statusbar" +widget_class "*" style "murrine-progressbar" +widget_class "*" style "murrine-progressbar" + +widget_class "**" style "murrine-comboboxentry" +widget_class "**" style "murrine-comboboxentry" + +widget_class "**" style "murrine-menu" +widget_class "**" style "murrine-menu-item" +widget_class "**" style "murrine-separator-menu-item" +widget_class "*Menu*.*Sepa*" style "murrine-separator-menu-item" +widget_class "**" style "murrine-menubar" +widget_class "***" style "murrine-menubaritem" + +widget_class "*GtkToolButton*" style "murrine-toolbutton" +widget_class "*GtkToggleToolButton*" style "murrine-toolbutton" +widget_class "*GtkMenuToolButton*" style "murrine-toolbutton" +widget_class "*GtkToolbar*Button" style "murrine-toolbutton" + +widget_class "*.." style "murrine-frame-title" + +widget_class "*.*" style "murrine-treeview" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" + +widget_class "*." style "clearlooks-radiocheck" +widget_class "*.*." style "clearlooks-base-radiocheck" +widget_class "*" style "clearlooks-base-radiocheck" + +widget "gtk-tooltip*" style "murrine-tooltips" + +widget_class "**" style "murrine-overlay-scrollbar" + +# Workarounds and Non-Standard Styling + +style "text-is-fg-color-workaround" { + text[NORMAL] = @text_color + text[PRELIGHT] = @fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) +} + +widget_class "*.." style "text-is-fg-color-workaround" + +style "fg-is-text-color-workaround" { + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[ACTIVE] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[INSENSITIVE] = darker (@fg_color) +} + +widget_class "**" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" + +style "murrine-evo-new-button-workaround" { + engine "murrine" { + toolbarstyle = 0 + } +} + +widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround" + +style "inkscape-toolbar-fix" { + engine "murrine" { + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } + highlight_shade = 1.0 + } +} + +#widget "*GtkHandleBox*" style "inkscape-toolbar-fix" +#widget "*HandleBox*CommandsToolbar*" style "inkscape-toolbar-fix" +#widget "*HandleBox*SnapToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SelectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*NodeToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*TweakToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ZoomToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*StarToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*RectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*3DBoxToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ArcToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SpiralToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PencilToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PenToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*CalligraphyToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*EraserToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*LPEToolToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*DropperToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ConnectorToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PaintbucketToolbar*" style "inkscape-toolbar-fix" + +# Performance Fixes + +style "performance-fix" { + engine "murrine" { + textstyle = 0 + } +} + +widget_class "*gtkmm__GtkWindow*" style "performance-fix" # Inkscape +widget_class "*GimpDisplayShell*" style "performance-fix" # Gimp +widget_class "*GimpToolbox*" style "performance-fix" +widget_class "*GimpMenuDock*" style "performance-fix" +widget "*OOoFixed*" style "performance-fix" # Openoffice/Libreoffice +widget_class "*MozContainer*" style "performance-fix" # Firefox (Not sure if this one does anything though.) + +widget_class "*XfceHeading*" style "xfce-header" +widget_class "*XfceDesktop*" style "xfdesktop-windowlist" +widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" +widget "xfwm4-tabwin*" style "xfwm-tabwin" +widget "xfwm4-tabwin*GtkButton*" style "xfwm-tabwin-button" +widget_class "*XfsmLogoutDialog*" style "xfsm-logout" +widget_class "*XfsmLogoutDialog*GtkButton" style "xfsm-logout-button" + +# button fg workarounds: +widget_class "*.." style "murrine-buttonlabel" +widget_class "***" style:highest "murrine-buttonlabel" +widget_class "***" style:highest "clearlooks-radiocheck-label" +widget_class "**" style "murrine-buttonlabel" +widget_class "***" style "murrine-buttonlabel" +widget_class "***" style:highest "murrine-entry" +widget_class "****" style:highest "murrine-toolbutton-label" diff --git a/Tokyonight-dark/gtk-2.0/gtkrc.hidpi b/Tokyonight-dark/gtk-2.0/gtkrc.hidpi new file mode 100644 index 00000000..7facd8e7 --- /dev/null +++ b/Tokyonight-dark/gtk-2.0/gtkrc.hidpi @@ -0,0 +1,995 @@ +# Oomox GTK Theme (Numix Fork) + +gtk-color-scheme = +"base_color:#292e42\nbg_color:#1f2335\ntooltip_bg_color:#1f2335\nselected_bg_color:#283457\ntext_color:#c0caf5\nfg_color:#a9b1d6\ntooltip_fg_color:#a9b1d6\nselected_fg_color:#c0caf5\nmenubar_bg_color:#24283b\nmenubar_fg_color:#a9b1d6\ntoolbar_bg_color:#1f2335\ntoolbar_fg_color:#a9b1d6\nmenu_bg_color:#24283b\nmenu_fg_color:#a9b1d6\npanel_bg_color:#1f2335\npanel_fg_color:#a9b1d6\nlink_color:#7aa2f7\nbtn_bg_color:#292e42\nbtn_fg_color:#c0caf5\ntitlebar_bg_color:#24283b\ntitlebar_fg_color:#a9b1d6\nprimary_caret_color:#3b4261\nsecondary_caret_color:#3b4261\naccent_bg_color:#7aa2f7\n" +# Default Style + +style "murrine-default" { + GtkArrow::arrow-scaling= 1.0 + + GtkButton::child-displacement-x = 0 + GtkButton::child-displacement-y = 0 + + #GtkButton::default-border = { 0, 0, 0, 0 } + GtkButton::inner-border = { 0, 0, 1, 0 } + GtkButton::focus-line-width = 2 + #GtkButton::focus-padding = 4 + GtkButton::focus-padding = 2 + #GtkButton::interior-focus = 1 + + GtkEntry::inner-border = { 4, 4, 5, 4 } + GtkComboBox::inner-border = { 4, 4, 6, 5 } + GtkComboBoxText::inner-border = { 4, 4, 6, 5 } + + #GtkButtonBox::child-min-height = 52 + + GtkCheckButton::indicator-size = 30 + + # The following line hints to gecko (and possibly other appliations) + # that the entry should be drawn transparently on the canvas. + # Without this, gecko will fill in the background of the entry. + GtkEntry::honors-transparent-bg-hint = 1 + GtkEntry::state-hint = 0 + + GtkExpander::expander-size = 30 + + GtkImage::x-ayatana-indicator-dynamic = 1 + + GtkMenu::horizontal-padding = 2 + GtkMenu::vertical-padding = 2 + + GtkMenuBar::internal-padding = 1 + GtkMenuBar::window-dragging = 1 + + GtkMenuItem::arrow-scaling= 0.5 + + GtkPaned::handle-size = 1 + + GtkProgressBar::min-horizontal-bar-height = 14 + GtkProgressBar::min-vertical-bar-width = 14 + + GtkRange::trough-border = 0 + GtkRange::slider-width = 24 + GtkRange::stepper-size = 24 + GtkRange::stepper_spacing = 0 + GtkRange::trough-under-steppers = 1 + + GtkScale::slider-length = 30 + GtkScale::slider-width = 30 + GtkScale::trough-side-details = 1 + + GtkScrollbar::activate-slider = 1 + GtkScrollbar::has-backward-stepper = 0 + GtkScrollbar::has-forward-stepper = 0 + GtkScrollbar::has-secondary-backward-stepper = 0 + GtkScrollbar::has-secondary-forward-stepper = 0 + GtkScrollbar::min-slider-length = 160 + GtkScrollbar::slider-width = 24 + GtkScrollbar::trough-border = 0 + + GtkScrolledWindow::scrollbar-spacing = 0 + GtkScrolledWindow::scrollbars-within-bevel = 1 + + GtkSeparatorMenuItem::horizontal-padding = 0 + + GtkToolbar::internal-padding = 0 + + GtkTreeView::expander-size = 22 + GtkTreeView::vertical-separator = 0 + + GtkWidget::focus-line-width = 2 + # The following line prevents the Firefox tabs + # from jumping a few pixels when you create a new tab + GtkWidget::focus-padding = 0 + + GtkWidget::wide-separators = 1 + GtkWidget::separator-width = 2 + GtkWidget::separator-height = 2 + + GtkWindow::resize-grip-height = 2 + GtkWindow::resize-grip-width = 2 + + WnckTasklist::fade-overlay-rect = 0 + + GnomeHRef::link_color = @link_color + GtkHTML::link-color = @link_color + GtkIMHtmlr::hyperlink-color = @link_color + GtkIMHtml::hyperlink-color = @link_color + GtkWidget::link-color = @link_color + GtkWidget::visited-link-color = @text_color + + GtkToolbar::shadow-type = GTK_SHADOW_NONE # Makes toolbars flat and unified + GtkMenuBar::shadow-type = GTK_SHADOW_NONE # Makes menubars flat and unified + + xthickness = 2 + ythickness = 2 + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) + + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + bg[INSENSITIVE] = @bg_color + + base[NORMAL] = @base_color + base[PRELIGHT] = shade (0.95, @base_color) + base[SELECTED] = @selected_bg_color + base[ACTIVE] = @selected_bg_color + base[INSENSITIVE] = shade (0.85, @base_color) + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @base_color, @text_color) + + engine "murrine" { + animation = FALSE + arrowstyle = 1 # 0 = normal arrows, 1 = filled arrows + border_shades = { 1.0, 1.0 } # gradient to draw on border + border_colors = { mix(0.2, @fg_color, @bg_color), mix(0.2, @fg_color, @bg_color) } + colorize_scrollbar = FALSE + comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow + contrast = 0.8 # overal contrast with borders + focusstyle = 3 # 0 = none, 1 = grey dotted, 2 = colored with fill, 3 = colored glow + glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave, 3 = top curved highlight, 4 = beryl highlight + glowstyle = 0 # 0 = glow on top, 1 = glow on bottom, 2 = glow on top and bottom, 3 = glow on middle vertically, 4 = glow on middle horizontally, 5 = glow on all sides + glow_shade = 1.0 # amount of glow + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } # gradient to draw on widgets + highlight_shade = 1.0 # amount of highlight + lightborder_shade = 1.0 # amount of inset light border + lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides + listviewheaderstyle = 0 # 0 = flat, 1 = glassy, 2 = raised + listviewstyle = 0 # 0 = none, 1 = dotted, 2 = line + menubaritemstyle = 0 # 0 = menuitem look, 1 = button look + menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped + menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped + menustyle = 0 # 0 = none, 1 = vertical striped + progressbarstyle = 0 # 0 = none, 1 = diagonal striped, 2 = vertical striped + reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient + roundness = 8# roundness of widgets + scrollbarstyle = 0 # 0 = none, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles + sliderstyle = 0 # 0 = none, 1 = handles + stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles + toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient + } +} + +style "murrine-wide" { + xthickness = 6 + ythickness = 6 +} + +style "murrine-wider" { + xthickness = 10 + ythickness = 10 +} + +style "murrine-thin" { + xthickness = 1 + ythickness = 1 +} + +# Notebook + +style "clearlooks-notebook-bg" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = shade (0.80, @bg_color) +} + +style "clearlooks-notebook" = "clearlooks-notebook-bg" { + xthickness = 8 + ythickness = 4 + + engine "clearlooks" { + radius = 0.1 + } +} + +# Various Standard Widgets + +style "murrine-button" = "murrine-wider" { + bg[NORMAL] = @btn_bg_color + bg[PRELIGHT] = shade (1.04, @btn_bg_color) + bg[SELECTED] = mix (0.5, @selected_bg_color, @bg_color) + bg[ACTIVE] = shade (0.95, @btn_bg_color) + bg[INSENSITIVE] = shade (0.75, @btn_bg_color) + xthickness = 10 + ythickness = 10 + #xthickness = 5 + #ythickness = 5 + + engine "murrine" { + border_colors = { mix(0.25, @btn_fg_color, @btn_bg_color), mix(0.25, @btn_fg_color, @btn_bg_color) } + roundness = 8 + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } + } +} + +style "murrine-buttonlabel" { + fg[NORMAL] = @btn_fg_color + fg[PRELIGHT] = @btn_fg_color + fg[SELECTED] = @btn_fg_color + fg[ACTIVE] = @btn_fg_color + fg[INSENSITIVE] = mix (0.4, @btn_bg_color, @btn_fg_color) + + text[NORMAL] = @btn_fg_color + text[PRELIGHT] = @btn_fg_color + text[SELECTED] = @btn_fg_color + text[ACTIVE] = @btn_fg_color + text[INSENSITIVE] = @btn_fg_color + text[INSENSITIVE] = mix (0.4, @btn_bg_color, @btn_fg_color) + + engine "murrine" { + } +} + +style "murrine-comboboxtext" = "murrine-buttonlabel" { + xthickness = 10 + ythickness = 10 +} + +style "murrine-togglebutton" = "murrine-buttonlabel" { + xthickness = 10 + ythickness = 10 +} + +style "murrine-radiocheck" = "murrine-togglebutton" { + text[NORMAL] = @accent_bg_color + text[PRELIGHT] = @accent_bg_color +} + +style "murrine-scrollbar" { + bg[NORMAL] = mix (0.21, @fg_color, @bg_color) + bg[PRELIGHT] = mix (0.31, @fg_color, @bg_color) + bg[ACTIVE] = @selected_bg_color + + engine "murrine" { + roundness = 8 + contrast = 0.0 + border_shades = { 0.9, 0.9 } + trough_shades = { 0.97, 0.97 } + trough_border_shades = { 1.0, 1.0 } + } +} + +style "murrine-overlay-scrollbar" { + bg[ACTIVE] = shade (0.8, @bg_color) + bg[INSENSITIVE] = shade (0.97, @bg_color) + + base[SELECTED] = shade (0.6, @bg_color) + base[INSENSITIVE] = shade (0.85, @bg_color) +} + +style "murrine-scale" = "murrine-thin" { + bg[NORMAL] = @btn_bg_color + bg[ACTIVE] = mix(0.2, @fg_color, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[INSENSITIVE] = mix(0.95, @bg_color, @btn_bg_color) + + engine "murrine" { + roundness = 25 + #roundness = 8 + gradient_shades = { 1.08, 1.08, 1.08, 1.08 } + #border_shades = { 0.5, 0.5 } + border_colors = { mix(0.25, @btn_fg_color, @btn_bg_color), mix(0.25, @btn_fg_color, @btn_bg_color) } + #trough_shades = { 1.08, 1.08 } + trough_border_shades = { 0.8, 0.8 } + } +} + +style "murrine-progressbar" = "murrine-thin" { + bg[NORMAL] = @bg_color + bg[ACTIVE] = mix(0.08, @bg_color, @base_color) + + fg[PRELIGHT] = @selected_fg_color + + engine "murrine" { + roundness = 8 + border_shades = { 1.2, 1.2 } + trough_border_shades = { 0.8, 0.8 } + } +} + +style "murrine-treeview-header" = "murrine-button" { + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix(0.20, @bg_color, @fg_color) + engine "murrine" { + roundness = 0 + } +} + +style "murrine-treeview" { + engine "murrine" { + roundness = 0 + } +} + +style "murrine-frame" = "murrine-wide" { + bg[NORMAL] = mix(0.08, @fg_color, @bg_color) +} + +style "murrine-frame-title" { + fg[NORMAL] = lighter (@fg_color) +} + +style "murrine-tooltips" { + xthickness = 10 + ythickness = 10 + + bg[NORMAL] = @tooltip_bg_color + bg[SELECTED] = @tooltip_bg_color + + fg[NORMAL] = @tooltip_fg_color + + engine "murrine" { + textstyle = 0 + roundness = 8 + rgba = FALSE + } +} + +style "murrine-spinbutton" = "murrine-button" { + xthickness = 10 + ythickness = 10 + engine "murrine" { + } +} + +style "clearlooks-radiocheck" = "murrine-default" { + bg[SELECTED] = @base_color + bg[PRELIGHT] = @bg_color + + text[NORMAL] = @accent_bg_color + text[PRELIGHT] = @accent_bg_color + + engine "clearlooks" { + radius = 8.0 + } +} + +style "clearlooks-base-radiocheck" = "clearlooks-radiocheck" { + bg[PRELIGHT] = @bg_color +} + +style "clearlooks-radiocheck-label" = "clearlooks-radiocheck" { + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @fg_color + fg[ACTIVE] = @fg_color + fg[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) +} + +style "murrine-entry" = "murrine-wider" { + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @text_color + text[ACTIVE] = @text_color + text[INSENSITIVE] = mix (0.5, @base_color, @text_color) + + xthickness = 10 + ythickness = 10 + engine "murrine" { + #border_shades = { 1.15, 1.15 } + border_colors = { mix(0.22, @text_color, @base_color), mix(0.22, @text_color, @base_color) } + roundness = 8 + } +} + +style "metacity-frame" = "murrine-default" { + bg[SELECTED] = @selected_bg_color +} + +style "murrine-statusbar" { } +style "murrine-comboboxentry" = "murrine-entry" { } +style "murrine-hscale" = "murrine-scale" { } +style "murrine-vscale" = "murrine-scale" { } +style "murrine-hscrollbar" = "murrine-scrollbar" { } +style "murrine-vscrollbar" = "murrine-scrollbar" { } + +# Menus + +style "murrine-menu" = "murrine-thin" { + bg[NORMAL] = @menu_bg_color + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @menu_bg_color + bg[INSENSITIVE] = @menu_bg_color + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + text[NORMAL] = @menu_fg_color + text[PRELIGHT] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @selected_fg_color + text[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +style "murrine-menu-item" = "murrine-wider" { + bg[PRELIGHT] = @selected_bg_color + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = @selected_bg_color + + fg[NORMAL] = @menu_fg_color # Fix for XFCE menu text + fg[PRELIGHT] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color) + + engine "murrine" { + textstyle = 0 + border_shades = { 1.2, 1.2 } + } +} + +style "murrine-separator-menu-item" = "murrine-thin" { } + +style "murrine-menubar" { + bg[NORMAL] = @menubar_bg_color + bg[PRELIGHT] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[SELECTED] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[ACTIVE] = shade (0.9, @menubar_bg_color) + bg[INSENSITIVE] = @menubar_bg_color + + fg[NORMAL] = @menubar_fg_color + fg[PRELIGHT] = shade (1.08, @menubar_fg_color) + fg[SELECTED] = shade (1.08, @menubar_fg_color) + fg[ACTIVE] = @menubar_fg_color + fg[INSENSITIVE] = mix (0.5, @menubar_bg_color, @menubar_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +style "murrine-menubaritem" { + bg[NORMAL] = @menubar_bg_color + bg[PRELIGHT] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[SELECTED] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[ACTIVE] = shade (0.9, @menubar_bg_color) + bg[INSENSITIVE] = @menubar_bg_color + + fg[NORMAL] = @menubar_fg_color + fg[PRELIGHT] = shade (1.08, @menubar_fg_color) + fg[SELECTED] = shade (1.08, @menubar_fg_color) + fg[ACTIVE] = @menubar_fg_color + fg[INSENSITIVE] = mix (0.5, @menubar_bg_color, @menubar_fg_color) + + engine "murrine" { + roundness = 0 + } +} + +# Toolbars + +style "murrine-toolbar" = "murrine-thin" { + bg[NORMAL] = @toolbar_bg_color + bg[PRELIGHT] = shade (1.02, @toolbar_bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.9, @toolbar_bg_color) + bg[INSENSITIVE] = @toolbar_bg_color + + fg[NORMAL] = @toolbar_fg_color + fg[PRELIGHT] = @toolbar_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @toolbar_fg_color + fg[INSENSITIVE] = mix (0.5, @toolbar_bg_color, @toolbar_fg_color) + + engine "murrine" { + } +} + +style "murrine-toolbutton" = "murrine-button" { + bg[NORMAL] = shade (1.08, @toolbar_bg_color) + bg[PRELIGHT] = shade (1.10, @toolbar_bg_color) + bg[SELECTED] = @selected_bg_color + bg[ACTIVE] = shade (0.95, @toolbar_bg_color) + bg[INSENSITIVE] = shade (0.85, @toolbar_bg_color) + + fg[NORMAL] = @toolbar_fg_color + fg[PRELIGHT] = @toolbar_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @toolbar_fg_color + fg[INSENSITIVE] = mix (0.5, @toolbar_bg_color, @toolbar_fg_color) + + engine "murrine" { + } +} + +style "murrine-toolbutton-label" = "murrine-toolbutton" { + fg[NORMAL] = @toolbar_fg_color + fg[PRELIGHT] = @toolbar_fg_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @toolbar_fg_color + fg[INSENSITIVE] = mix (0.5, @toolbar_bg_color, @toolbar_fg_color) + + engine "murrine" { + } +} + +class "GtkToolbar" style "murrine-toolbar" +class "GtkHandleBox" style "murrine-toolbar" +widget_class "*Toolbar*.*Separator*" style "murrine-toolbar" + +# Panels + +style "murrine-panel" = "murrine-thin" { + xthickness = 2 + + bg[NORMAL] = @panel_bg_color + bg[PRELIGHT] = mix (0.21, @panel_fg_color, @panel_bg_color) + bg[SELECTED] = mix (0.21, @panel_fg_color, @panel_bg_color) + bg[ACTIVE] = shade (0.8, @panel_bg_color) + bg[INSENSITIVE] = @panel_bg_color + + fg[NORMAL] = @panel_fg_color + fg[PRELIGHT] = shade (1.08, @panel_fg_color) + fg[SELECTED] = shade (1.08, @panel_fg_color) + fg[ACTIVE] = @panel_fg_color + fg[INSENSITIVE] = mix (0.5, @panel_bg_color, @panel_fg_color) + + base[NORMAL] = @panel_bg_color + base[PRELIGHT] = mix (0.21, @panel_fg_color, @panel_bg_color) + base[SELECTED] = mix (0.21, @panel_fg_color, @panel_bg_color) + base[ACTIVE] = shade (0.9, @panel_bg_color) + base[INSENSITIVE] = @panel_bg_color + + text[NORMAL] = @panel_fg_color + text[PRELIGHT] = shade (1.08, @panel_fg_color) + text[SELECTED] = shade (1.08, @panel_fg_color) + text[ACTIVE] = @panel_fg_color + text[INSENSITIVE] = mix (0.5, @panel_bg_color, @panel_fg_color) + + engine "murrine" { + roundness = 0 + contrast = 0.0 + } +} + +widget "*PanelWidget*" style "murrine-panel" +widget "*PanelApplet*" style "murrine-panel" +widget "*fast-user-switch*" style "murrine-panel" +widget "*CPUFreq*Applet*" style "murrine-panel" +widget "*indicator-applet*" style "murrine-panel" +class "PanelApp*" style "murrine-panel" +class "PanelToplevel*" style "murrine-panel" +widget_class "*PanelToplevel*" style "murrine-panel" +widget_class "*notif*" style "murrine-panel" +widget_class "*Notif*" style "murrine-panel" +widget_class "*Tray*" style "murrine-panel" +widget_class "*tray*" style "murrine-panel" +widget_class "*computertemp*" style "murrine-panel" +widget_class "*Applet*Tomboy*" style "murrine-panel" +widget_class "*Applet*Netstatus*" style "murrine-panel" +widget "*gdm-user-switch-menubar*" style "murrine-panel" + +# LXPanel (code based on Lubuntu-default theme's gtkrc file) +widget "*.tclock.*" style "murrine-panel" +widget "*.taskbar.*" style "murrine-panel" +widget_class "*GtkBgbox*" style "murrine-panel" + +style "bold-panel-item" { + font_name = "Bold" + + engine "murrine" { + roundness = 0 + } +} + +widget "*Panel*MenuBar*" style "bold-panel-item" +widget "*gimmie*" style "bold-panel-item" + +# widget_class "*Mail*" style "murrine-panel" # Disabled to fix Evolution bug +# class "*Panel*" style "murrine-panel" # Disabled to fix bug + +# XFCE Styles + +style "workspace-switcher" = "murrine-panel" { + bg[ACTIVE] = @selected_bg_color + bg[SELECTED] = @selected_bg_color +} + +style "xfce-header" { + bg[NORMAL] = shade (0.9, @bg_color) + base[NORMAL] = shade (1.18, @bg_color) +} + +style "xfdesktop-windowlist" { + bg[NORMAL] = @base_color + fg[INSENSITIVE] = shade (0.95, @base_color) + text[INSENSITIVE] = shade (0.95, @base_color) +} + +style "xfdesktop-icon-view" { + XfdesktopIconView::label-alpha = 0 + XfdesktopIconView::selected-label-alpha = 60 + XfdesktopIconView::shadow-x-offset = 0 + XfdesktopIconView::shadow-y-offset = 1 + XfdesktopIconView::selected-shadow-x-offset = 0 + XfdesktopIconView::selected-shadow-y-offset = 1 + XfdesktopIconView::shadow-color = @fg_color + XfdesktopIconView::selected-shadow-color = @fg_color + XfdesktopIconView::shadow-blur-radius = 2 + XfdesktopIconView::cell-spacing = 2 + XfdesktopIconView::cell-padding = 6 + XfdesktopIconView::cell-text-width-proportion = 1.9 + + fg[NORMAL] = @bg_color + fg[ACTIVE] = @bg_color + +} + +style "xfwm-tabwin" { + Xfwm4TabwinWidget::border-width = 1 + Xfwm4TabwinWidget::border-alpha = 1.0 + Xfwm4TabwinWidget::icon-size = 64 + Xfwm4TabwinWidget::alpha = 1.0 + Xfwm4TabwinWidget::border-radius = 2 + + bg[NORMAL] = @menu_bg_color + bg[SELECTED] = @menu_bg_color + + fg[NORMAL] = @menu_fg_color + + engine "murrine" { + contrast = 0.0 + border_shades = { 0.9, 0.9 } + } +} + +style "xfwm-tabwin-button" { + font_name = "bold" + + bg[SELECTED] = @selected_bg_color +} + +style "xfsm-logout" { + bg[NORMAL] = @menu_bg_color + bg[ACTIVE] = @menu_bg_color + bg[PRELIGHT] = shade (1.1, @menu_bg_color) + bg[SELECTED] = shade (0.5, @menu_bg_color) + bg[INSENSITIVE] = shade (1.3, @menu_bg_color) + + fg[NORMAL] = @menu_fg_color + fg[PRELIGHT] = @menu_fg_color + + text[NORMAL] = @menu_fg_color + + engine "murrine" { + } +} + +style "xfsm-logout-button" { + bg[NORMAL] = shade (1.2, @menu_bg_color) + bg[PRELIGHT] = shade (1.4, @menu_bg_color) + + engine "murrine" { + } +} + +widget "*Pager*" style "workspace-switcher" + +widget "*Xfce*Panel*" style "murrine-panel" +class "*Xfce*Panel*" style "murrine-panel" + +# Thunar Styles + +style "sidepane" { + base[NORMAL] = @bg_color + base[INSENSITIVE] = mix (0.4, shade (1.35, @selected_bg_color), shade (0.9, @base_color)) + bg[NORMAL] = @bg_color + text[NORMAL] = mix (0.9, @fg_color, @bg_color) +} + +widget_class "*ThunarShortcutsView*" style "sidepane" +widget_class "*ThunarTreeView*" style "sidepane" +widget_class "*ThunarLocationEntry*" style "murrine-entry" + +style "whiskermenu" { + bg[NORMAL] = @menu_bg_color + bg[ACTIVE] = mix (0.21, @menubar_fg_color, @menubar_bg_color) + bg[PRELIGHT] = @selected_bg_color + + fg[NORMAL] = @menu_fg_color + fg[ACTIVE] = @menu_fg_color + fg[PRELIGHT] = @menu_fg_color +} + +style "whiskermenu-scrollbar" = "murrine-scrollbar" { + bg[NORMAL] = mix (0.21, @fg_color, @bg_color) + bg[PRELIGHT] = mix (0.31, @fg_color, @bg_color) + bg[ACTIVE] = @selected_bg_color + + engine "murrine" { + trough_shades = { 4.97, 4.97 } + trough_border_shades = { 5.0, 5.0 } + } +} + +widget "whiskermenu-window*" style "whiskermenu" +widget "*whisker*GtkVScrollbar" style "whiskermenu-scrollbar" + +# Gtk2 Open-File Dialog + +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*" style "sidepane" +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.." style "murrine-treeview-header" + +# Google Chrome/Chromium Styles (requires 9.0.597 or newer) + +style "chromium-toolbar-button" { + engine "murrine" { + roundness = 8 + textstyle = 0 + } +} + +style "chrome-gtk-frame" { + ChromeGtkFrame::frame-color = @titlebar_bg_color + ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::frame-gradient-size = 0 + ChromeGtkFrame::frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color + ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color + + ChromeGtkFrame::incognito-frame-gradient-size = 0 + ChromeGtkFrame::incognito-frame-gradient-color = @titlebar_bg_color + + ChromeGtkFrame::scrollbar-trough-color = @bg_color + ChromeGtkFrame::scrollbar-slider-normal-color = mix (0.21, @fg_color, @bg_color) + ChromeGtkFrame::scrollbar-slider-prelight-color = mix (0.31, @fg_color, @bg_color) +} + +class "ChromeGtkFrame" style "chrome-gtk-frame" + +widget_class "*Chrom*Button*" style "chromium-toolbar-button" + +# General Styles + +class "GtkWidget" style "murrine-default" + +class "GtkFrame" style "murrine-frame" +class "MetaFrames" style "metacity-frame" +class "GtkWindow" style "metacity-frame" + +class "GtkSeparator" style "murrine-wide" +class "GtkCalendar" style "murrine-wide" + +class "GtkSpinButton" style "murrine-spinbutton" + +class "GtkScale" style "murrine-scale" +class "GtkVScale" style "murrine-vscale" +class "GtkHScale" style "murrine-hscale" +class "GtkScrollbar" style "murrine-scrollbar" +class "GtkVScrollbar" style "murrine-vscrollbar" +class "GtkHScrollbar" style "murrine-hscrollbar" + +class "GtkEntry" style "murrine-entry" + +widget_class "*" style "clearlooks-notebook" +widget_class "**" style "clearlooks-notebook-bg" +widget_class "**" style "clearlooks-notebook-bg" +widget_class "**" style "clearlooks-notebook-bg" +widget_class "*.GtkNotebook.*.GtkViewport" style "clearlooks-notebook" + +widget_class "*" style "murrine-button" +widget_class "**" style "murrine-statusbar" +widget_class "*" style "murrine-progressbar" +widget_class "*" style "murrine-progressbar" + +widget_class "**" style "murrine-comboboxentry" +widget_class "**" style "murrine-comboboxentry" + +widget_class "**" style "murrine-menu" +widget_class "**" style "murrine-menu-item" +widget_class "**" style "murrine-separator-menu-item" +widget_class "*Menu*.*Sepa*" style "murrine-separator-menu-item" +widget_class "**" style "murrine-menubar" +widget_class "***" style "murrine-menubaritem" + +widget_class "*GtkToolButton*" style "murrine-toolbutton" +widget_class "*GtkToggleToolButton*" style "murrine-toolbutton" +widget_class "*GtkMenuToolButton*" style "murrine-toolbutton" +widget_class "*GtkToolbar*Button" style "murrine-toolbutton" + +widget_class "*.." style "murrine-frame-title" + +widget_class "*.*" style "murrine-treeview" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" +widget_class "*.." style "murrine-treeview-header" + +widget_class "*." style "clearlooks-radiocheck" +widget_class "*.*." style "clearlooks-base-radiocheck" +widget_class "*" style "clearlooks-base-radiocheck" + +widget "gtk-tooltip*" style "murrine-tooltips" + +widget_class "**" style "murrine-overlay-scrollbar" + +# Workarounds and Non-Standard Styling + +style "text-is-fg-color-workaround" { + text[NORMAL] = @text_color + text[PRELIGHT] = @fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = mix (0.5, @bg_color, @fg_color) +} + +widget_class "*.." style "text-is-fg-color-workaround" + +style "fg-is-text-color-workaround" { + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[ACTIVE] = @selected_fg_color + fg[SELECTED] = @selected_fg_color + fg[INSENSITIVE] = darker (@fg_color) +} + +widget_class "**" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" +widget_class "*" style "fg-is-text-color-workaround" + +style "murrine-evo-new-button-workaround" { + engine "murrine" { + toolbarstyle = 0 + } +} + +widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround" + +style "inkscape-toolbar-fix" { + engine "murrine" { + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } + highlight_shade = 1.0 + } +} + +#widget "*GtkHandleBox*" style "inkscape-toolbar-fix" +#widget "*HandleBox*CommandsToolbar*" style "inkscape-toolbar-fix" +#widget "*HandleBox*SnapToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SelectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*NodeToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*TweakToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ZoomToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*StarToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*RectToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*3DBoxToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ArcToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*SpiralToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PencilToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PenToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*CalligraphyToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*EraserToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*LPEToolToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*DropperToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*ConnectorToolbar*" style "inkscape-toolbar-fix" +widget "*HandleBox*PaintbucketToolbar*" style "inkscape-toolbar-fix" + + + + +style "gimp-default-style" { +# Uncommenting this line allows to set a different (smaller) font for GIMP. +# +# font_name = "sans 8" +# Enabling the following line for some reason breaks toolbox resize +# increment calculation. You can enable it to get an even smaller GUI +# but need to restart GIMP after the theme change. +# +# GtkWidget::focus-padding = 0 + GtkOptionMenu::indicator-size = { 15, 25 } + GtkOptionMenu::indicator-spacing = { 10, 8, 4, 4 } + GtkPaned::handle-size = 5 + GimpDockWindow::default-height = 600 + GimpDock::font-scale = 1.0 + GimpMenuDock::minimal-width = 400 + GimpToolPalette::tool-icon-size = large-toolbar + GimpToolPalette::button-relief = none + GimpDockbook::tab-border = 0 + GimpDockbook::tab-icon-size = button + GimpColorNotebook::tab-border = 0 + GimpColorNotebook::tab-icon-size = button + GimpDeviceEditor::handle-size = 30 + GimpDockable::content-border = 1 + GimpEditor::content-spacing = 1 + GimpEditor::button-spacing = 1 + GimpEditor::button-icon-size = button + GimpDataEditor::minimal-height = 150 + GimpFrame::label-spacing = 5 + GtkDialog::content-area-border = 2 + GtkDialog::button-spacing = 20 + GtkDialog::action-area-border = 25 + GimpUnitComboBox::appears-as-list = 0 +} + +class "GtkWidget" style "gimp-default-style" +style "gimp-tool-dialog-style" = "gimp-default-style" +{ + GtkDialog::action-area-border = 6 +} +class "GimpToolDialog" style "gimp-tool-dialog-style" +style "gimp-grid-view-style" = "gimp-default-style" +{ + bg[NORMAL] = { 1.0, 1.0, 1.0 } +} +widget "*GimpContainerGridView*GtkViewport*" style "gimp-grid-view-style" +style "gimp-dockable-style" = "gimp-default-style" +{ + GimpFrame::label-bold = 0 + GtkButton::focus-line_width = 1 + GtkButton::focus-padding = 0 +} +widget "*GimpDockable.*" style "gimp-dockable-style" +style "gimp-display-style" = "gimp-default-style" +{ + GimpRuler::font-scale = 1.0 + GimpUnitComboBox::label-scale = 1.0 + GimpScaleComboBox::label-scale = 1.0 + GtkComboBox::arrow-size = 20 + GtkButton::inner-border = { 0, 0, 0, 0 } + GtkButton::focus-line-width = 0 + GtkButton::focus-padding = 0 +} +widget "*GimpDisplayShell.*" style "gimp-display-style" +style "gimp-overlay-style" = "gimp-display-style" +{ + GtkButton::focus-line_width = 2 +} +widget_class "**" style "gimp-overlay-style" + + + + +# Performance Fixes + +style "performance-fix" { + engine "murrine" { + textstyle = 0 + } +} + +widget_class "*gtkmm__GtkWindow*" style "performance-fix" # Inkscape +widget_class "*GimpDisplayShell*" style "performance-fix" # Gimp +widget_class "*GimpToolbox*" style "performance-fix" +widget_class "*GimpMenuDock*" style "performance-fix" +widget "*OOoFixed*" style "performance-fix" # Openoffice/Libreoffice +widget_class "*MozContainer*" style "performance-fix" # Firefox (Not sure if this one does anything though.) + +widget_class "*XfceHeading*" style "xfce-header" +widget_class "*XfceDesktop*" style "xfdesktop-windowlist" +widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" +widget "xfwm4-tabwin*" style "xfwm-tabwin" +widget "xfwm4-tabwin*GtkButton*" style "xfwm-tabwin-button" +widget_class "*XfsmLogoutDialog*" style "xfsm-logout" +widget_class "*XfsmLogoutDialog*GtkButton" style "xfsm-logout-button" + + +# button fg workarounds: +widget_class "*.." style "murrine-buttonlabel" +widget_class "***" style:highest "murrine-buttonlabel" +widget_class "***" style:highest "clearlooks-radiocheck-label" +widget_class "**" style "murrine-comboboxtext" +widget_class "**" style "murrine-togglebutton" +widget_class "*." style "murrine-radiocheck" +widget_class "***" style:highest "murrine-entry" +widget_class "****" style:highest "murrine-toolbutton-label" diff --git a/Tokyonight-dark/gtk-3.0/assets/all-assets.svg b/Tokyonight-dark/gtk-3.0/assets/all-assets.svg new file mode 100644 index 00000000..6b2b9d79 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/all-assets.svg @@ -0,0 +1,4456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/all-assets.txt b/Tokyonight-dark/gtk-3.0/assets/all-assets.txt new file mode 100644 index 00000000..6e738e3f --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/all-assets.txt @@ -0,0 +1,38 @@ +checkbox-checked-dark +checkbox-checked-insensitive-dark +checkbox-checked-insensitive +checkbox-checked +checkbox-mixed-dark +checkbox-mixed-insensitive-dark +checkbox-mixed-insensitive +checkbox-mixed +checkbox-unchecked-dark +checkbox-unchecked-insensitive-dark +checkbox-unchecked-insensitive +checkbox-unchecked +grid-selection-checked-dark +grid-selection-checked +grid-selection-unchecked-dark +grid-selection-unchecked +menuitem-checkbox-checked-hover +menuitem-checkbox-checked-insensitive +menuitem-checkbox-checked +menuitem-checkbox-mixed-hover +menuitem-checkbox-mixed-insensitive +menuitem-checkbox-mixed +menuitem-radio-checked-hover +menuitem-radio-checked-insensitive +menuitem-radio-checked +pane-handle +radio-checked-dark +radio-checked-insensitive-dark +radio-checked-insensitive +radio-checked +radio-mixed-dark +radio-mixed-insensitive-dark +radio-mixed-insensitive +radio-mixed +radio-unchecked-dark +radio-unchecked-insensitive-dark +radio-unchecked-insensitive +radio-unchecked diff --git a/Tokyonight-dark/gtk-3.0/assets/change_dpi.sh b/Tokyonight-dark/gtk-3.0/assets/change_dpi.sh new file mode 100755 index 00000000..0c03497a --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/change_dpi.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +for f in "$@"; do + rsvg-convert -d 300 -p 300 -f svg "$f" -o "${f}.bak" ; mv "${f}.bak" "$f" +done diff --git a/Tokyonight-dark/gtk-3.0/assets/checkbox-checked-dark.svg b/Tokyonight-dark/gtk-3.0/assets/checkbox-checked-dark.svg new file mode 100644 index 00000000..377c8e4e --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/checkbox-checked-dark.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/checkbox-checked-insensitive-dark.svg b/Tokyonight-dark/gtk-3.0/assets/checkbox-checked-insensitive-dark.svg new file mode 100644 index 00000000..77075eb6 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/checkbox-checked-insensitive-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/checkbox-checked-insensitive.svg b/Tokyonight-dark/gtk-3.0/assets/checkbox-checked-insensitive.svg new file mode 100644 index 00000000..77075eb6 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/checkbox-checked-insensitive.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/checkbox-checked.svg b/Tokyonight-dark/gtk-3.0/assets/checkbox-checked.svg new file mode 100644 index 00000000..9f55b0a9 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/checkbox-checked.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/checkbox-mixed-dark.svg b/Tokyonight-dark/gtk-3.0/assets/checkbox-mixed-dark.svg new file mode 100644 index 00000000..4b4bd4a6 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/checkbox-mixed-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/checkbox-mixed-insensitive-dark.svg b/Tokyonight-dark/gtk-3.0/assets/checkbox-mixed-insensitive-dark.svg new file mode 100644 index 00000000..a4d6a495 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/checkbox-mixed-insensitive-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/checkbox-mixed-insensitive.svg b/Tokyonight-dark/gtk-3.0/assets/checkbox-mixed-insensitive.svg new file mode 100644 index 00000000..a4d6a495 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/checkbox-mixed-insensitive.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/checkbox-mixed.svg b/Tokyonight-dark/gtk-3.0/assets/checkbox-mixed.svg new file mode 100644 index 00000000..4b4bd4a6 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/checkbox-mixed.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/checkbox-unchecked-dark.svg b/Tokyonight-dark/gtk-3.0/assets/checkbox-unchecked-dark.svg new file mode 100644 index 00000000..2957ea3c --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/checkbox-unchecked-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/checkbox-unchecked-insensitive-dark.svg b/Tokyonight-dark/gtk-3.0/assets/checkbox-unchecked-insensitive-dark.svg new file mode 100644 index 00000000..87b7696e --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/checkbox-unchecked-insensitive-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/checkbox-unchecked-insensitive.svg b/Tokyonight-dark/gtk-3.0/assets/checkbox-unchecked-insensitive.svg new file mode 100644 index 00000000..87b7696e --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/checkbox-unchecked-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/checkbox-unchecked.svg b/Tokyonight-dark/gtk-3.0/assets/checkbox-unchecked.svg new file mode 100644 index 00000000..2957ea3c --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/checkbox-unchecked.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/grid-selection-checked-dark.svg b/Tokyonight-dark/gtk-3.0/assets/grid-selection-checked-dark.svg new file mode 100644 index 00000000..12c2ed08 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/grid-selection-checked-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/grid-selection-checked.svg b/Tokyonight-dark/gtk-3.0/assets/grid-selection-checked.svg new file mode 100644 index 00000000..12c2ed08 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/grid-selection-checked.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/grid-selection-unchecked-dark.svg b/Tokyonight-dark/gtk-3.0/assets/grid-selection-unchecked-dark.svg new file mode 100644 index 00000000..85c8b899 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/grid-selection-unchecked-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/grid-selection-unchecked.svg b/Tokyonight-dark/gtk-3.0/assets/grid-selection-unchecked.svg new file mode 100644 index 00000000..85c8b899 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/grid-selection-unchecked.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-checked-hover.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-checked-hover.svg new file mode 100644 index 00000000..a03e4327 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-checked-hover.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-checked-insensitive.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-checked-insensitive.svg new file mode 100644 index 00000000..fbbe6d5f --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-checked-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-checked.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-checked.svg new file mode 100644 index 00000000..6352b121 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-checked.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-mixed-hover.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-mixed-hover.svg new file mode 100644 index 00000000..03724c17 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-mixed-hover.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-mixed-insensitive.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-mixed-insensitive.svg new file mode 100644 index 00000000..497a3de7 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-mixed-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-mixed-selected.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-mixed-selected.svg new file mode 100644 index 00000000..e1e23888 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-mixed-selected.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-mixed.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-mixed.svg new file mode 100644 index 00000000..891799dc --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-mixed.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-unchecked.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-unchecked.svg new file mode 100644 index 00000000..ad3603ad --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-checkbox-unchecked.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-checked-hover.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-checked-hover.svg new file mode 100644 index 00000000..095ce7a2 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-checked-hover.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-checked-insensitive.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-checked-insensitive.svg new file mode 100644 index 00000000..add73e55 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-checked-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-checked.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-checked.svg new file mode 100644 index 00000000..9bbc0880 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-checked.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-mixed-hover.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-mixed-hover.svg new file mode 100644 index 00000000..77f3f9d3 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-mixed-hover.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-mixed-insensitive.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-mixed-insensitive.svg new file mode 100644 index 00000000..8a957a4b --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-mixed-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-mixed-selected.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-mixed-selected.svg new file mode 100644 index 00000000..7798088d --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-mixed-selected.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-mixed.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-mixed.svg new file mode 100644 index 00000000..35ccda01 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-mixed.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-unchecked.svg b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-unchecked.svg new file mode 100644 index 00000000..d216e7b2 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/menuitem-radio-unchecked.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/pane-handle-vertical.svg b/Tokyonight-dark/gtk-3.0/assets/pane-handle-vertical.svg new file mode 100644 index 00000000..e96e65f7 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/pane-handle-vertical.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/pane-handle.png b/Tokyonight-dark/gtk-3.0/assets/pane-handle.png new file mode 100644 index 00000000..e67a9dc5 Binary files /dev/null and b/Tokyonight-dark/gtk-3.0/assets/pane-handle.png differ diff --git a/Tokyonight-dark/gtk-3.0/assets/pane-handle.svg b/Tokyonight-dark/gtk-3.0/assets/pane-handle.svg new file mode 100644 index 00000000..dc5ba0f3 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/pane-handle.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/pane-handle@2.png b/Tokyonight-dark/gtk-3.0/assets/pane-handle@2.png new file mode 100644 index 00000000..8a2cd077 Binary files /dev/null and b/Tokyonight-dark/gtk-3.0/assets/pane-handle@2.png differ diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-checked-dark.svg b/Tokyonight-dark/gtk-3.0/assets/radio-checked-dark.svg new file mode 100644 index 00000000..0a6bb46d --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-checked-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-checked-insensitive-dark.svg b/Tokyonight-dark/gtk-3.0/assets/radio-checked-insensitive-dark.svg new file mode 100644 index 00000000..a0edab13 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-checked-insensitive-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-checked-insensitive.svg b/Tokyonight-dark/gtk-3.0/assets/radio-checked-insensitive.svg new file mode 100644 index 00000000..a0edab13 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-checked-insensitive.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-checked.svg b/Tokyonight-dark/gtk-3.0/assets/radio-checked.svg new file mode 100644 index 00000000..0a6bb46d --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-checked.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-mixed-dark.svg b/Tokyonight-dark/gtk-3.0/assets/radio-mixed-dark.svg new file mode 100644 index 00000000..9d502e5f --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-mixed-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-mixed-insensitive-dark.svg b/Tokyonight-dark/gtk-3.0/assets/radio-mixed-insensitive-dark.svg new file mode 100644 index 00000000..0bbae703 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-mixed-insensitive-dark.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-mixed-insensitive.svg b/Tokyonight-dark/gtk-3.0/assets/radio-mixed-insensitive.svg new file mode 100644 index 00000000..0bbae703 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-mixed-insensitive.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-mixed.svg b/Tokyonight-dark/gtk-3.0/assets/radio-mixed.svg new file mode 100644 index 00000000..9d502e5f --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-mixed.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-selected-insensitive.svg b/Tokyonight-dark/gtk-3.0/assets/radio-selected-insensitive.svg new file mode 100644 index 00000000..a0edab13 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-selected-insensitive.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-selected.svg b/Tokyonight-dark/gtk-3.0/assets/radio-selected.svg new file mode 100644 index 00000000..0a6bb46d --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-selected.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-unchecked-dark.svg b/Tokyonight-dark/gtk-3.0/assets/radio-unchecked-dark.svg new file mode 100644 index 00000000..02047fb7 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-unchecked-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-unchecked-insensitive-dark.svg b/Tokyonight-dark/gtk-3.0/assets/radio-unchecked-insensitive-dark.svg new file mode 100644 index 00000000..b967506b --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-unchecked-insensitive-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-unchecked-insensitive.svg b/Tokyonight-dark/gtk-3.0/assets/radio-unchecked-insensitive.svg new file mode 100644 index 00000000..b967506b --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-unchecked-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-unchecked.svg b/Tokyonight-dark/gtk-3.0/assets/radio-unchecked.svg new file mode 100644 index 00000000..02047fb7 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-unchecked.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-unselected-dark.svg b/Tokyonight-dark/gtk-3.0/assets/radio-unselected-dark.svg new file mode 100644 index 00000000..214ed944 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-unselected-dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-unselected-insensitive-dark.svg b/Tokyonight-dark/gtk-3.0/assets/radio-unselected-insensitive-dark.svg new file mode 100644 index 00000000..0fdfaf46 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-unselected-insensitive-dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-unselected-insensitive.svg b/Tokyonight-dark/gtk-3.0/assets/radio-unselected-insensitive.svg new file mode 100644 index 00000000..b967506b --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-unselected-insensitive.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/radio-unselected.svg b/Tokyonight-dark/gtk-3.0/assets/radio-unselected.svg new file mode 100644 index 00000000..02047fb7 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/radio-unselected.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tokyonight-dark/gtk-3.0/assets/sed.sh b/Tokyonight-dark/gtk-3.0/assets/sed.sh new file mode 100755 index 00000000..68eb6b73 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/sed.sh @@ -0,0 +1,9 @@ +#!/bin/sh +sed -i \ + -e 's/#%BG%/rgb(0%,0%,0%)/g' \ + -e 's/#%FG%/rgb(100%,100%,100%)/g' \ + -e 's/#%HDR_BG%/rgb(50%,0%,0%)/g' \ + -e 's/#%ACCENT_BG%/rgb(0%,50%,0%)/g' \ + -e 's/#%TXT_BG%/rgb(50%,0%,50%)/g' \ + -e 's/#%TXT_FG%/rgb(0%,0%,50%)/g' \ + "$@" diff --git a/Tokyonight-dark/gtk-3.0/assets/unsed.sh b/Tokyonight-dark/gtk-3.0/assets/unsed.sh new file mode 100755 index 00000000..673b4904 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/assets/unsed.sh @@ -0,0 +1,11 @@ +#!/bin/sh +sed -i \ + -e 's/rgb(0%,0%,0%)/#%BG%/g' \ + -e 's/rgb(100%,100%,100%)/#%FG%/g' \ + -e 's/rgb(50%,0%,0%)/#%HDR_BG%/g' \ + -e 's/rgb(0%,50%,0%)/#%ACCENT_BG%/g' \ + -e 's/rgb(0%,50.196078%,0%)/#%ACCENT_BG%/g' \ + -e 's/rgb(50%,0%,50%)/#%TXT_BG%/g' \ + -e 's/rgb(50.196078%,0%,50.196078%)/#%TXT_BG%/g' \ + -e 's/rgb(0%,0%,50%)/#%TXT_FG%/g' \ + "$@" diff --git a/Tokyonight-dark/gtk-3.0/gtk-dark.css b/Tokyonight-dark/gtk-3.0/gtk-dark.css new file mode 100644 index 00000000..b00626d6 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/gtk-dark.css @@ -0,0 +1 @@ +@import url("resource:///org/numixproject/gtk/dist/gtk-dark.css"); diff --git a/Tokyonight-dark/gtk-3.0/gtk.css b/Tokyonight-dark/gtk-3.0/gtk.css new file mode 100644 index 00000000..c6eab95d --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/gtk.css @@ -0,0 +1 @@ +@import url("resource:///org/numixproject/gtk/dist/gtk.css"); diff --git a/Tokyonight-dark/gtk-3.0/gtk.gresource.xml b/Tokyonight-dark/gtk-3.0/gtk.gresource.xml new file mode 100644 index 00000000..8281d702 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/gtk.gresource.xml @@ -0,0 +1,48 @@ + + + + assets/checkbox-checked-dark.svg + assets/checkbox-checked-insensitive-dark.svg + assets/checkbox-checked-insensitive.svg + assets/checkbox-checked.svg + assets/checkbox-mixed-dark.svg + assets/checkbox-mixed-insensitive-dark.svg + assets/checkbox-mixed-insensitive.svg + assets/checkbox-mixed.svg + assets/checkbox-unchecked-dark.svg + assets/checkbox-unchecked-insensitive-dark.svg + assets/checkbox-unchecked-insensitive.svg + assets/checkbox-unchecked.svg + assets/grid-selection-checked-dark.svg + assets/grid-selection-checked.svg + assets/grid-selection-unchecked-dark.svg + assets/grid-selection-unchecked.svg + assets/menuitem-checkbox-checked-hover.svg + assets/menuitem-checkbox-checked-insensitive.svg + assets/menuitem-checkbox-checked.svg + assets/menuitem-checkbox-unchecked.svg + assets/menuitem-checkbox-mixed-hover.svg + assets/menuitem-checkbox-mixed-insensitive.svg + assets/menuitem-checkbox-mixed.svg + assets/menuitem-radio-checked-hover.svg + assets/menuitem-radio-checked-insensitive.svg + assets/menuitem-radio-checked.svg + assets/menuitem-radio-unchecked.svg + assets/radio-checked-dark.svg + assets/radio-checked-insensitive-dark.svg + assets/radio-checked-insensitive.svg + assets/radio-checked.svg + assets/radio-mixed-dark.svg + assets/radio-mixed-insensitive-dark.svg + assets/radio-mixed-insensitive.svg + assets/radio-mixed.svg + assets/radio-unchecked-dark.svg + assets/radio-unchecked-insensitive-dark.svg + assets/radio-unchecked-insensitive.svg + assets/radio-unchecked.svg + assets/pane-handle.png + assets/pane-handle@2.png + dist/gtk.css + dist/gtk-dark.css + + diff --git a/Tokyonight-dark/gtk-3.0/scss/_colors.scss b/Tokyonight-dark/gtk-3.0/scss/_colors.scss new file mode 100644 index 00000000..8dae2d56 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/_colors.scss @@ -0,0 +1,70 @@ +@import "global"; + +/* dark color scheme */ +@define-color dark_bg_color #{"" + $dark_bg_color}; +@define-color dark_fg_color #{"" + $dark_fg_color}; + +/* colormap actually used by the theme, to be overridden in other css files */ +@define-color theme_bg_color #{"" + $bg_color}; +@define-color theme_fg_color #{"" + $fg_color}; +@define-color theme_base_color #{"" + $base_color}; +@define-color theme_text_color #{"" + $text_color}; +@define-color theme_selected_bg_color #{"" + $selected_bg_color}; +@define-color theme_selected_fg_color #{"" + $selected_fg_color}; +@define-color theme_tooltip_bg_color #{"" + $tooltip_bg_color}; +@define-color theme_tooltip_fg_color #{"" + $tooltip_fg_color}; + +/* shadow effects */ +@define-color light_shadow #{"" + $light_shadow}; +@define-color dark_shadow #{"" + $dark_shadow}; + +/* misc colors used by gtk+ */ +@define-color info_fg_color #{"" + $info_fg_color}; +@define-color info_bg_color #{"" + $info_bg_color}; +@define-color warning_fg_color #{"" + $warning_fg_color}; +@define-color warning_bg_color #{"" + $warning_bg_color}; +@define-color question_fg_color #{"" + $question_fg_color}; +@define-color question_bg_color #{"" + $question_bg_color}; +@define-color error_fg_color #{"" + $error_fg_color}; +@define-color error_bg_color #{"" + $error_bg_color}; +@define-color link_color #{"" + $link_color}; +@define-color success_color #{"" + $success_color}; +@define-color warning_color #{"" + $warning_color}; +@define-color error_color #{"" + $error_color}; + +/* widget colors */ +@define-color titlebar_bg_focused @dark_bg_color; +@define-color titlebar_bg_unfocused @theme_bg_color; +@define-color titlebar_fg_focused @dark_fg_color; +@define-color titlebar_fg_unfocused #{"" + $titlebar_fg_unfocused}; +@define-color menubar_bg_color @dark_bg_color; +@define-color menubar_fg_color @dark_fg_color; +@define-color toolbar_bg_color @theme_bg_color; +@define-color toolbar_fg_color @theme_fg_color; +@define-color menu_bg_color @dark_bg_color; +@define-color menu_fg_color @dark_fg_color; +@define-color panel_bg_color @dark_bg_color; +@define-color panel_fg_color @dark_fg_color; + +/* osd */ +@define-color osd_base #{"" + $osd_base}; +@define-color osd_bg #{"" + $osd_bg}; +@define-color osd_fg #{"" + $osd_fg}; + +/* lightdm greeter colors */ +@define-color lightdm_bg_color #{"" + $lightdm_bg_color}; +@define-color lightdm_fg_color #{"" + $lightdm_fg_color}; + +/* window manager colors */ +@define-color wm_bg_focused #{"" + $wm_bg_focused}; +@define-color wm_bg_unfocused #{"" + $wm_bg_unfocused}; +@define-color wm_border_focused #{"" + $wm_border_focused}; +@define-color wm_border_unfocused #{"" + $wm_border_unfocused}; +@define-color wm_title_focused #{"" + $wm_title_focused}; +@define-color wm_title_unfocused #{"" + $wm_title_unfocused}; +@define-color wm_icons_focused #{"" + $wm_icons_focused}; +@define-color wm_icons_focused_prelight #{"" + $wm_icons_focused_prelight}; +@define-color wm_icons_focused_pressed #{"" + $wm_icons_unfocused_pressed}; +@define-color wm_icons_unfocused #{"" + $wm_icons_unfocused}; +@define-color wm_icons_unfocused_prelight #{"" + $wm_icons_unfocused_prelight}; +@define-color wm_icons_unfocused_pressed #{"" + $wm_icons_unfocused_pressed}; diff --git a/Tokyonight-dark/gtk-3.0/scss/_functions.scss b/Tokyonight-dark/gtk-3.0/scss/_functions.scss new file mode 100644 index 00000000..20fe0b72 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/_functions.scss @@ -0,0 +1,79 @@ +$modules: () !default; + +@mixin exports($name) { + @if (not index($modules, $name)) { + $modules: append($modules, $name) !global; + + @content; + } +} + +@function alpha($color, $amount) { + @if type-of($color) == "color" { + @return fade-out($color, (1 - $amount)); + } @else { + @return unquote("alpha(#{$color}," + $amount + ")"); + } +} + +@function shade($color, $amount) { + @if type-of($color) == "color" { + @if ($amount > 1) { + @return lighten($color, ($amount - 1) * lightness($color)) + } @else { + @return darken($color, (1 - $amount) * lightness($color)) + } + } @else { + @return unquote("shade(#{$color}," + $amount + ")"); + } +} + +@function mix($color1, $color2, $amount) { + @return unquote("mix(#{$color1},#{$color2}," + $amount + ")"); +} + +@function border_normal($color) { + @return shade($color, $contrast); +} + +@function border_focus($color) { + @return if($variant == 'light', mix($selected_bg_color, $color, .3), darken($selected_bg_color, 20%)); +} + +@function border_active($color) { + @return shade($color, ($contrast - .1)); +} + +@function border_insensitive($color) { + @return shade($color, ($contrast + .05)); +} + +@mixin linear-gradient($color, $direction: to bottom) { + @if $gradient == 0 { + background-color: $color; + background-image: none; + } @else { + $amount: $gradient / 2; + + background-color: $color; + background-image: linear-gradient($direction, + shade($color, (1 + $amount)), + shade($color, (1 - $amount)) + ); + } +} + +@mixin border($color) { + border-color: border_normal($color); + + &:focus, &:hover { border-color: border_focus($color); } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { border-color: border_active($color); } + + &:insensitive { border-color: border_insensitive($color); } + + &:active:insensitive, &:checked:insensitive { border-color: border_normal($color); } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/_global.scss b/Tokyonight-dark/gtk-3.0/scss/_global.scss new file mode 100644 index 00000000..1c5e8206 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/_global.scss @@ -0,0 +1,97 @@ +// scss-lint:disable ColorVariable + +@import "functions"; + +// default color scheme +$bg_color: if($variant == "dark", #%FG%, #%BG%); +$fg_color: if($variant == "dark", #%BG%, #%FG%); +$base_color: if($variant == "dark", #%TXT_FG%, #%TXT_BG%); +$text_color: if($variant == "dark", #%TXT_BG%, #%TXT_FG%); +$button_bg_color: if($variant == "dark", #%BTN_FG%, #%BTN_BG%); +$button_fg_color: if($variant == "dark", #%BTN_BG%, #%BTN_FG%); +$header_button_bg_color: #%HDR_BTN_BG%; +$header_button_fg_color: #%HDR_BTN_FG%; +$selected_bg_color: #%SEL_BG%; +$selected_fg_color: #%SEL_FG%; +$tooltip_bg_color: #%BG%; +$tooltip_fg_color: #%FG%; + +// dark colors +$dark_bg_color: #%HDR_BG%; +$dark_fg_color: #%HDR_FG%; + +// shadows +/*$dark_shadow: #000;*/ +/*$light_shadow: #fff;*/ +$dark_shadow: shade($fg_color, .2); +$light_shadow: lighten($bg_color, .4); + +// caret +$primary_caret_color: #%CARET1_FG%; +$secondary_caret_color: #%CARET2_FG%; +$caret_aspect_ratio: %CARET_SIZE%; + +// white and black +//$black: #000; +//$white: #fff; +$black: shade($fg_color, .4); +$white: lighten($bg_color, .55); + +//$link_color: mix($selected_bg_color, $fg_color, .3); +$link_color: #%TERMINAL_COLOR4%; +$success_color: #%TERMINAL_COLOR10%; +$warning_color: #%TERMINAL_COLOR11%; +$error_color: #%TERMINAL_COLOR9%; + +$info_fg_color: #%TERMINAL_BACKGROUND%; +$info_bg_color: #%TERMINAL_COLOR12%; +$warning_fg_color: #%TERMINAL_BACKGROUND%; +$warning_bg_color: $warning_color; +$question_fg_color: #%TERMINAL_BACKGROUND%; +$question_bg_color: $info_bg_color; +$error_fg_color: #%TERMINAL_BACKGROUND%; +$error_bg_color: $error_color; + +$toolbar_bg_color: $bg_color; +$toolbar_fg_color: $fg_color; + +$titlebar_bg_focused: $dark_bg_color; +$titlebar_bg_unfocused: $bg_color; +$titlebar_fg_focused: $dark_fg_color; +$titlebar_fg_unfocused: mix($fg_color, $bg_color, .4); + +$menu_bg_color: $dark_bg_color; +$menu_fg_color: $dark_fg_color; + +$menubar_bg_color: $dark_bg_color; +$menubar_fg_color: $dark_fg_color; + +$panel_bg_color: $dark_bg_color; +$panel_fg_color: $dark_fg_color; + +$osd_base: $dark_bg_color; +$osd_fg: $dark_fg_color; +$osd_bg: alpha($osd_base, 0.8); + +$lightdm_bg_color: $dark_bg_color; +$lightdm_fg_color: $dark_fg_color; + +$wm_bg_focused: $titlebar_bg_focused; +$wm_bg_unfocused: $titlebar_bg_unfocused; +$wm_border_focused: #%WM_BORDER_FOCUS%; +$wm_border_unfocused: #%WM_BORDER_UNFOCUS%; +$wm_title_focused: $titlebar_fg_focused; +$wm_title_unfocused: $titlebar_fg_unfocused; +$wm_icons_focused: $titlebar_fg_focused; +$wm_icons_focused_prelight: $selected_bg_color; +$wm_icons_focused_pressed: shade($selected_bg_color, .8); +$wm_icons_unfocused: $titlebar_fg_unfocused; +$wm_icons_unfocused_prelight: $selected_bg_color; +$wm_icons_unfocused_pressed: shade($selected_bg_color, .8); + +// widget styles +$roundness: %ROUNDNESS%px; +$spacing: %SPACING%px; +$gradient: %GRADIENT%; + +$contrast: .8; diff --git a/Tokyonight-dark/gtk-3.0/scss/_widgets.scss b/Tokyonight-dark/gtk-3.0/scss/_widgets.scss new file mode 100644 index 00000000..db51b05f --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/_widgets.scss @@ -0,0 +1,37 @@ +@import "functions"; +@import "global"; +@import "colors"; + + +@import "widgets/base"; +@import "widgets/button"; +@import "widgets/entry"; +@import "widgets/actionbar"; +@import "widgets/calendar"; +@import "widgets/choosers"; +@import "widgets/grid"; +@import "widgets/infobar"; +@import "widgets/menu"; +@import "widgets/misc"; +@import "widgets/notebook"; +@import "widgets/osd"; +@import "widgets/overshoot"; +@import "widgets/progress"; +@import "widgets/scrollbar"; +@import "widgets/sidebar"; +@import "widgets/spinner"; +@import "widgets/toggle"; +@import "widgets/toolbar"; +@import "widgets/view"; +@import "widgets/window"; + +@import "apps/unity-greeter"; +@import "apps/gedit"; +@import "apps/nautilus"; +@import "apps/nemo"; +@import "apps/panel"; +@import "apps/synaptic"; +@import "apps/xfce"; +@import "apps/unity"; +@import "apps/lightdm"; +@import "apps/gnome-terminal"; diff --git a/Tokyonight-dark/gtk-3.0/scss/apps/_gedit.scss b/Tokyonight-dark/gtk-3.0/scss/apps/_gedit.scss new file mode 100644 index 00000000..f1614a64 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/apps/_gedit.scss @@ -0,0 +1,132 @@ +/********* + ! Gedit * +**********/ + +@include exports("gedit") { + GeditWindow .pane-separator { + border-width: 0 1px 0 0; + border-style: solid; + + &, &:hover { + border-color: shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + + .gedit-document-panel { + background-color: $bg_color; + color: mix($fg_color, $bg_color, .1); + + .list-row { + padding: $spacing; + + .button { + padding: 1px; + border-radius: $roundness; + border-style: solid; + border-color: transparent; + border-width: 1px; + background-color: transparent; + background-image: none; + color: transparent; + icon-shadow: none; + } + } + + .prelight-row .button { + border-color: alpha($black, .1); + color: alpha($white, .8); + + &:active { + border-color: alpha($black, .2); + background-color: alpha($black, .08); + color: $white; + } + } + + list-row, .prelight-row { + .button:hover { + border-color: alpha($black, .1); + color: $white; + } + } + } + + .gedit-document-panel-group-row { + &, &:hover { + border-top: 1px solid shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + + .gedit-document-panel-document-row { + &:hover { background-color: shade($bg_color, 1.05); } + + &:selected { + &, &:hover { @extend %selected; } + } + } + + .gedit-document-panel-dragged-row { + border: 1px solid alpha($black, .1); + background-color: alpha($black, .5); + color: $white; + } + + .gedit-document-panel-placeholder-row { + border: 0; + background-color: alpha($black, .08); + transition: all 200ms ease-in; + } + + GeditStatusbar { border-top: 1px solid border_normal($bg_color); } + + GeditStatusbar GeditSmallButton, GeditStatusMenuButton { + text-shadow: none; + + .button { + border-style: solid; + border-width: 0 1px; + border-color: transparent; + border-radius: 0; + padding: 1px 6px 2px 4px; + + &:hover, &:active, &:active:hover { border-color: border_normal($bg_color); } + + &:active { + background-color: shade($bg_color, .95); + color: $fg_color; + } + } + } + + GeditViewFrame .gedit-search-slider { + padding: $spacing; + border-radius: 0 0 $roundness $roundness; + border-width: 0 1px 1px; + border-style: solid; + border-color: border_normal($base_color); + background-color: $base_color; + + .not-found { + background-color: $error_bg_color; + background-image: none; + color: $error_fg_color; + + &:selected { @extend %selected; } + } + } + + GeditFileBrowserWidget .toolbar { + padding: $spacing / 2; + border-top: 0; + background-color: $bg_color; + background-image: none; + } + + .gedit-search-entry-occurrences-tag { + margin: $spacing / 2; + padding: $spacing / 2; + color: mix($text_color, $base_color, .5); + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/apps/_gnome-terminal.scss b/Tokyonight-dark/gtk-3.0/scss/apps/_gnome-terminal.scss new file mode 100644 index 00000000..178f7417 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/apps/_gnome-terminal.scss @@ -0,0 +1,219 @@ +/********************** + ! Genome Terminal * +***********************/ + +@include exports("gnome-terminal") { + VteTerminal { + background-color: $osd_base; + color: $osd_fg; + } + TerminalWindow { + .scrollbars-junction { + background-color: $osd_base; + } + .scrollbar { + &.trough { + background-color: $osd_base; + } + &.button { + color: shade($osd_base, 0.6); + &:active { + color: shade($osd_base, 0.6); + &:hover { + color: shade($osd_base, 0.6); + } + } + } + &.slider { + border-color: mix(shade($osd_base, 0.87), $osd_fg, 0.21); + background-color: mix($osd_base, $osd_fg, 0.21); + &:hover { + border-color: mix(shade($osd_base, 0.87), $osd_fg, 0.31); + background-color: mix($osd_base, $osd_fg, 0.31); + } + &.vertical { + &:hover { + border-color: mix(shade($osd_base, 0.87), $osd_fg, 0.31); + background-color: mix($osd_base, $osd_fg, 0.31); + } + &:active { + border-color: shade($selected_bg_color, 0.9); + background-color: $selected_bg_color; + } + } + &:active { + border-color: shade($selected_bg_color, 0.9); + background-color: $selected_bg_color; + } + } + } + GtkNotebook.notebook { + border-right-width: 0; + border-bottom-width: 0; + border-left-width: 0; + } + } + + TerminalNotebook.notebook { //use dark variant by default + padding: 0; + border-width: 1px 0 0; + border-style: solid; + border-color: border_active($osd_base); + border-radius: 0; + @include linear-gradient($osd_base); + background-clip: border-box; + color: $osd_fg; + + -GtkNotebook-initial-gap: 0; + -GtkNotebook-arrow-spacing: 5; + -GtkNotebook-tab-curvature: 0; + -GtkNotebook-tab-overlap: 1; + -GtkNotebook-has-tab-gap: false; + + &.frame { border-width: 1px; } + + &.header { + border-width: 0; + background-color: shade($osd_base, .85); + + &.frame { + border-color: border_focus($osd_base); + + &.top { border-width: 1px 1px 0 1px; } + + &.right { border-width: 1px 1px 1px 0; } + + &.bottom { border-width: 0 1px 1px 1px; } + + &.left { border-width: 1px 0 1px 1px; } + } + } + + GtkViewport { + border-width: 0; + background-color: $osd_base; + color: $osd_fg; + } + + tab { + padding: ($spacing + 1px) $spacing * 2; + border: 1px solid transparent; + background-color: transparent; + background-image: none; + + &:active { + background-color: transparent; + background-image: none; + } + + &.top { + border-bottom-width: 2px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + + &:hover { + border-bottom-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-bottom-color: $selected_bg_color; + } + } + + &.right { + border-left-width: 2px; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + + &:hover { + border-left-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-left-color: $selected_bg_color; + } + } + + &.bottom { + border-top-width: 2px; + border-top-right-radius: 0; + border-top-left-radius: 0; + + &:hover { + border-top-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-top-color: $selected_bg_color; + } + } + + &.left { + border-right-width: 2px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + + &:hover { + border-right-color: alpha($selected_bg_color, 0.3); + } + + &:active { + border-right-color: $selected_bg_color; + } + } + + GtkLabel { color: mix($osd_fg, $osd_base, .3); } + + &.reorderable-page { + &:hover { + background-color: shade($osd_base, .85); + border-left: 0; + border-right: 0; + /* using box shadows instead of borders due to slanted edges */ + box-shadow: inset 0 3px alpha($black, .03), inset 0 2px alpha($black, .03), inset 0 1px alpha($black, .03), inset 1px 0 shade($osd_base, .7), inset -1px 0 shade($osd_base, .7); + } + + &:active { + background-color: shade($osd_base, .9); + border-left: 0; + border-right: 0; + box-shadow: inset 0 3px alpha($black, .03), inset 0 2px alpha($black, .03), inset 0 1px alpha($black, .03), inset 1px 0 shade($osd_base, .75), inset -1px 0 shade($osd_base, .75); + } + } + + /* close button styling */ + .button { + &, &:active, &:checked, &:hover { + padding: 1px; + border-width: 1px; + border-radius: 2px; + border-style: solid; + border-color: transparent; + background-image: none; + background-color: transparent; + color: mix($osd_fg, $osd_base, 0.5); + } + + &:hover { + color: $osd_fg; + border-color: shade($osd_base, 0.8); + } + + &:active, &:checked, &:active:hover, &:checked:hover { + border-color: shade($osd_base, 0.7); + background-color: shade($osd_base, 0.95); + } + } + + } + + .prelight-page { + &, GtkLabel { color: mix($osd_fg, $osd_base, .15); } + } + + .active-page { + &, GtkLabel { color: $osd_fg; } + } + + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/apps/_lightdm.scss b/Tokyonight-dark/gtk-3.0/scss/apps/_lightdm.scss new file mode 100644 index 00000000..52eda611 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/apps/_lightdm.scss @@ -0,0 +1,193 @@ +/*********************** + ! LightDM GTK Greeter * + ***********************/ + +@include exports("lightdm") { + #panel_window { + background-color: transparent; + background-image: none; + color: $white; + font: bold; + text-shadow: 0 1px alpha($black, .5); + icon-shadow: 0 1px alpha($black, .5); + + .menubar { + &, > .menuitem { + background-color: transparent; + background-image: none; + color: $white; + font: bold; + text-shadow: 0 1px alpha($black, .5); + icon-shadow: 0 1px alpha($black, .5); + + *:hover { color: $white; } + + &:hover { + border-style: none; + background-color: alpha($white, .2); + background-image: none; + color: $white; + } + + &:insensitive { color: alpha($white, .7); } + + .menu { + border-radius: 1px; + + .menuitem { + font: normal; + text-shadow: none; + } + } + } + } + } + + #content_frame { padding-bottom: 14px; } + + #login_window, #shutdown_dialog, #restart_dialog { + border-style: none; + border-radius: $roundness; + background-color: $lightdm_bg_color; + color: $lightdm_fg_color; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset -1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset 0 1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset 0 -1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21); + + .button { + padding: 3px 15px; + border-width: 1px; + border-radius: $roundness; + border-style: solid; + border-color: shade($lightdm_bg_color, .8); + background-color: shade($lightdm_bg_color, 1.08); + background-image: none; + color: $lightdm_fg_color; + transition: all 150ms ease-out; + + &.default, &:focus, &:active:focus { + border-color: shade($selected_bg_color, .8); + background-color: shade($selected_bg_color, 1.08); + background-image: none; + color: $selected_fg_color; + + &:hover { + border-color: shade($selected_bg_color, .7); + background-color: $selected_bg_color; + } + } + } + } + + + #login_window { + .menu { border-radius: 1px; } + + GtkComboBox .button { + &, &:hover, &:active, &:active:hover, + &:focus, &:hover:focus, &:active:focus, &:active:hover:focus { + padding: 0; + background: none; + border-style: none; + box-shadow: none; + } + } + + .entry { + padding: 3px 5px; + border-width: 1px; + border-style: solid; + border-color: shade($lightdm_bg_color, .8); + border-radius: $roundness; + background-color: shade($lightdm_bg_color, .9); + background-image: none; + color: $lightdm_fg_color; + box-shadow: none; + transition: all 150ms ease-out; + + &:focus, &:hover { + border-color: shade($lightdm_bg_color, .7); + + box-shadow: inset 1px 0 alpha($dark_shadow, .1), + inset 0 1px alpha($dark_shadow, .12), + inset -1px 0 alpha($dark_shadow, .1), + inset 0 -1px alpha($dark_shadow, .05); + } + } + } + + #user_combobox { + color: $lightdm_fg_color; + font: 18px; + + .menu { font: normal; } + + .arrow { color: mix($lightdm_fg_color, $lightdm_bg_color, .5); } + } + + #user_image { + padding: 3px; + border-radius: $roundness; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 shade($lightdm_bg_color, .7), + inset -1px 0 shade($lightdm_bg_color, .7), + inset 0 1px shade($lightdm_bg_color, .7), + inset 0 -1px shade($lightdm_bg_color, .7); + } + + #user_image_border { + border-radius: $roundness; + background-color: shade($lightdm_bg_color, .9); + background-image: none; + box-shadow: inset 1px 0 alpha($dark_shadow, .07), + inset 0 1px alpha($dark_shadow, .08), + inset -1px 0 alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + } + + #buttonbox_frame { + padding-top: 10px; + padding-bottom: 0; + border-style: none; + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + background-color: transparent; + background-image: none; + box-shadow: none; + } + + + + /* shutdown button */ + #shutdown_button { + border-color: shade($error_bg_color, .8); + background-color: shade($error_bg_color, 1.08); + background-image: none; + color: $error_fg_color; + + &:hover, &:active, &:active:hover { + border-color: shade($error_bg_color, .7); + background-color: $error_bg_color; + } + } + + /* restart button */ + #restart_button { + border-color: shade($warning_bg_color, .8); + background-color: shade($warning_bg_color, 1.08); + background-image: none; + color: $warning_fg_color; + + &:hover, &:active, &:active:hover { + border-color: shade($warning_bg_color, .7); + background-color: $warning_bg_color; + } + } + + /* password warning */ + #greeter_infobar { font: bold; } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/apps/_mate-applications.scss b/Tokyonight-dark/gtk-3.0/scss/apps/_mate-applications.scss new file mode 100644 index 00000000..a7a3e1f2 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/apps/_mate-applications.scss @@ -0,0 +1,82 @@ +@import "panel"; + +/**************** + ! MATE styles * +*****************/ + +@include exports("mate-applications") { + .mate-panel-menu-bar { + @extend %panel; + + border: 0; + padding: 0; + text-shadow: none; + } + + MatePanelApplet .label, + PanelMenuBar.menubar > .menuitem { + color: $panel_fg_color; + } + + PanelSeparator, MatePanelAppletFrameDBus { + border-width: 0; + color: transparent; + background-image: -gtk-scaled(url("../assets/pane-handle.png"), + url("../assets/pane-handle@2.png")); + background-color: transparent; + background-repeat: no-repeat; + background-position: left; + } + + MatePanelApplet .button, + MatePanelApplet .button.flat, + MatePanelApplet .button.toggle + MatePanelApplet .button.flat.toggle { + background-image: none; + background-color: transparent; + border-color: transparent; + border-style: solid; + border-radius: 0; + border-width: 1px; + color: $panel_fg_color; + text-shadow: none; + box-shadow: none; + padding: 2px; + } + + MatePanelApplet .button:hover:active, + MatePanelApplet .button:checked, + MatePanelApplet .button:checked:hover, + MatePanelApplet .button.flat:hover:active, + MatePanelApplet .button.flat:checked, + MatePanelApplet .button.flat:checked:hover, + MatePanelApplet .button.toggle:hover:active, + MatePanelApplet .button.toggle:checked, + MatePanelApplet .button.toggle:checked:hover, + MatePanelApplet .button.flat.toggle:hover:active, + MatePanelApplet .button.flat.toggle:checked, + MatePanelApplet .button.flat.toggle:checked:hover { + background-image: none; + background-color: darker($panel_bg_color); + border-color: transparent; + border-radius: 0; + border-width: 1px; + color: lighter($panel_fg_color); + text-shadow: none; + padding: 2px; + } + + MatePanelApplet .button:hover, + MatePanelApplet .button.flat:hover, + MatePanelApplet .button.toggle:hover, + MatePanelApplet .button.flat.toggle:hover { + background-image: none; + background-color: shade($panel_bg_color, 1.3); + border-color: transparent; + border-radius: 0; + border-width: 1px; + color: $selected_fg_color; + text-shadow: none; + padding: 2px; + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/apps/_nautilus.scss b/Tokyonight-dark/gtk-3.0/scss/apps/_nautilus.scss new file mode 100644 index 00000000..e81a128d --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/apps/_nautilus.scss @@ -0,0 +1,72 @@ +/************ + ! Nautilus * +*************/ + +@include exports("nautilus") { + .nautilus-desktop.nautilus-canvas-item { + color: $white; + text-shadow: 1px 1px $black; + + &:active { color: $fg_color; } + + &:selected { color: $selected_fg_color; } + + &:active, &:hover, &:selected { text-shadow: none; } + } + + NautilusWindow { + .toolbar { + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($toolbar_bg_color); + } + + .sidebar .frame { border: 0; } + + GtkPaned { + border-width: 0 1px 0 0; + border-style: solid; + + &, &:hover { + border-color: shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + } + + NautilusNotebook { + &.notebook { + border-right-width: 0; + border-left-width: 0; + border-bottom-width: 0; + } + + .frame { border: 0; } + } + + NautilusQueryEditor { + .toolbar { + padding-top: $spacing - 1px; + padding-bottom: $spacing - 2px; + border-width: 1px 0 0; + border-style: solid; + border-color: $toolbar_bg_color; + background-color: shade($toolbar_bg_color, .9); + + &:nth-child(2) { border-color: border_normal($toolbar_bg_color); } + + &.search-bar { + border-top-width: 0; + border-bottom-width: 0; + } + + &, &.search-bar { + &:last-child, &:only-child { + border-bottom-width: 1px; + border-bottom-color: border_normal($toolbar_bg_color); + } + } + + } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/apps/_nemo.scss b/Tokyonight-dark/gtk-3.0/scss/apps/_nemo.scss new file mode 100644 index 00000000..4acf3bab --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/apps/_nemo.scss @@ -0,0 +1,40 @@ +/******** + ! Nemo * +*********/ + +@include exports("nemo") { + .nemo-desktop.nemo-canvas-item { + color: $white; + text-shadow: 1px 1px $black; + + &:active { color: $fg_color; } + + &:selected { color: $selected_fg_color; } + + &:active, &:hover, &:selected { text-shadow: none; } + } + + NemoPathbarButton { + @include button($toolbar_bg_color, $toolbar_fg_color); + + -NemoPathbarButton-border-radius: $roundness; + } + + NemoPlacesTreeView { + -NemoPlacesTreeView-disk-full-bg-color: shade($toolbar_bg_color, .8); + -NemoPlacesTreeView-disk-full-fg-color: $selected_bg_color; + -NemoPlacesTreeView-disk-full-bar-width: 1px; + -NemoPlacesTreeView-disk-full-bar-radius: 1px; + -NemoPlacesTreeView-disk-full-bottom-padding: 2px; + -NemoPlacesTreeView-disk-full-max-length: 70px; + + &:selected { + -NemoPlacesTreeView-disk-full-bg-color: $selected_fg_color; + -NemoPlacesTreeView-disk-full-fg-color: shade($selected_bg_color, 1.2); + } + } + NemoWindow .nemo-inactive-pane .view, NemoWindow .nemo-inactive-pane iconview { + background-color: mix($base_color, $text_color, .12); + color: $text_color; + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/apps/_panel.scss b/Tokyonight-dark/gtk-3.0/scss/apps/_panel.scss new file mode 100644 index 00000000..56a87743 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/apps/_panel.scss @@ -0,0 +1,80 @@ +/*********************** + ! Fallback mode panel * +************************/ + +@include exports("panel") { + %panel { + @include linear-gradient($panel_bg_color); + + color: $panel_fg_color; + } + + %panelbutton { + border-width: 0 1px; + border-radius: 0; + border-color: transparent; + background-color: transparent; + background-image: none; + color: $panel_fg_color; + + &:hover, &:hover { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .11)); + + border-color: mix($panel_bg_color, $panel_fg_color, .11); + color: shade($panel_fg_color, 1.08); + } + + &:active, &:checked { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .21), to top); + + border-color: mix($panel_bg_color, $panel_fg_color, .21); + color: shade($panel_fg_color, 1.08); + + &:hover { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .31), to top); + + border-color: mix($panel_bg_color, $panel_fg_color, .31); + } + } + } + + PanelWidget, PanelApplet, PanelToplevel { + @extend %panel; + + padding: 0; + } + + PanelApplet { + border: 0; + + .button { + @extend %panelbutton; + + -GtkButton-inner-border: 2; + } + } + + PanelSeparator { + @extend %panel; + + border: 0; + } + + PanelApplet > GtkMenuBar.menubar, PanelMenuBar.menubar, .gnome-panel-menu-bar { + &.menuitem { + @extend %panel; + + border: 0; + + -PanelMenuBar-icon-visible: true; + } + } + + PanelAppletFrame { + @extend %panel; + + border: 0; + } + + WnckPager, WnckTasklist { @extend %panel; } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/apps/_synaptic.scss b/Tokyonight-dark/gtk-3.0/scss/apps/_synaptic.scss new file mode 100644 index 00000000..c19b78e9 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/apps/_synaptic.scss @@ -0,0 +1,15 @@ +/************ + ! Synaptic * +*************/ + +@include exports("synaptic") { + GtkWindow > GtkVBox > .dock { + &, > GtkHBox > GtkToolbar { + @include linear-gradient($toolbar-bg-color); + + padding: $spacing; + border: 0; + color: $toolbar_fg_color; + } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/apps/_unity-greeter.scss b/Tokyonight-dark/gtk-3.0/scss/apps/_unity-greeter.scss new file mode 100644 index 00000000..f0c7da7f --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/apps/_unity-greeter.scss @@ -0,0 +1,119 @@ +/*********************** + ! Unity Greeter * + ***********************/ + +@include exports("unity-greeter") { + + + .lightdm.menu { + background-image: none; + background-color: fade-out($black, .4); + border-color: fade-out($white, .8); + border-radius: 4px; + padding: 1px; + + color: $white; + } + + .lightdm-combo .menu { + background-color: shade($dark_bg_color, 1.08); + border-radius: 0; + padding: 0; + color: $white; + } + + .lightdm.menu .menuitem *, + .lightdm.menu .menuitem.check:active, + .lightdm.menu .menuitem.radio:active { + color: $white; + } + + .lightdm.menubar *, + .lightdm.menubar .menuitem { + padding: 2px; + } + + .lightdm-combo.combobox-entry .button, + .lightdm-combo .cell, + .lightdm-combo .button, + .lightdm-combo .entry, + + .lightdm.button{ + background-image: none; + background-color: fade-out($black, .7); + border-color: fade-out($white, .1); + border-radius: 5px; + padding: 5px; + color: $white; + } + .lightdm.button:hover { + background-image: none; + background-color: fade-out($white, .7); + border-color: fade-out($white, .4); + border-radius: 5px; + padding: 5px; + color: $white; + text-shadow: none; + } + .lightdm.button:active, + .lightdm.button:active:focus, + .lightdm.button:focus, + + .lightdm.entry { + background-image: none; + background-color: fade-out($black, .7); + border-color: fade-out($white, .4); + border-radius: 5px; + padding: 6px; + color: $white; + text-shadow: none; + } + .lightdm.entry:hover, + .lightdm.entry:active, + .lightdm.entry:active:focus { + background-image: none; + border-image: none; + } + .lightdm.entry:focus { + border-color: fade-out($white, .4); + border-width: 1px; + border-style: solid; + color: $white; + } + .lightdm.entry:selected { + background-color: fade-out($white, .8); + } + + @keyframes dashentry_spinner { + to { -gtk-icon-transform: rotate(1turn); } + } + + .lightdm.entry:active { + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + animation: dashentry_spinner 1s infinite linear; + } + + .lightdm.option-button { + background: none; + border-width: 0; + } + + .lightdm.option-button:insensitive:insensitive { + background: none; + } + + .lightdm.toggle-button { + background: none; + border-width: 0; + } + .lightdm.toggle-button.selected:hover { + background-color: fade-out($white, .7); + border-color: fade-out($white, .7); + border-width: 1px; + } + .lightdm.toggle-button.selected { + background-color: fade-out($black, .7); + border-color: fade-out($white, .7); + border-width: 1px; + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/apps/_unity.scss b/Tokyonight-dark/gtk-3.0/scss/apps/_unity.scss new file mode 100644 index 00000000..dc57873e --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/apps/_unity.scss @@ -0,0 +1,74 @@ +@import "panel"; + +/**************** + ! Unity styles * +*****************/ + +@include exports("unity") { + UnityDecoration { + -UnityDecoration-extents: 28px 1px 1px 1px; + -UnityDecoration-input-extents: 10px; + + -UnityDecoration-shadow-offset-x: 1px; + -UnityDecoration-shadow-offset-y: 1px; + -UnityDecoration-active-shadow-color: rgba(0, 0, 0, .7); + -UnityDecoration-active-shadow-radius: 8px; + -UnityDecoration-inactive-shadow-color: rgba(0, 0, 0, .5); + -UnityDecoration-inactive-shadow-radius: 5px; + + -UnityDecoration-glow-size: 10px; + -UnityDecoration-glow-color: $selected_bg_color; + + -UnityDecoration-title-indent: 10px; + -UnityDecoration-title-fade: 35px; + -UnityDecoration-title-alignment: 0; + + + &.top { + border: 1px solid mix(shade($titlebar_bg_focused, 0.7), $titlebar_fg_focused, 0.21); + border-bottom: 0; + border-radius: 2px 2px 0 0; + padding: 1px 8px 0 8px; + background-color: $titlebar_bg_focused; + color: $titlebar_fg_focused; + text-shadow: none; + + &:backdrop { + border: 1px solid mix(shade($titlebar_bg_unfocused, 0.7), $titlebar_fg_unfocused, 0.12); + border-bottom: 0; + background-color: $titlebar_bg_unfocused; + color: $titlebar_fg_unfocused; + } + } + + &.left, &.right, &.bottom { + background-color: mix(shade($titlebar_bg_focused, 0.7), $titlebar_fg_focused, 0.21); + + &:backdrop { + background-color: mix(shade($titlebar_bg_unfocused, 0.7), $titlebar_fg_unfocused, 0.12); + } + } + } + + UnityPanelWidget, .unity-panel { + @extend %panel; + + border: 0; + } + + .unity-panel { + &.menuitem, .menuitem { + border-width: 0 1px; + color: $panel_fg_color; + + &:hover, *:hover { + border-color: mix($panel_bg_color, $panel_fg_color, .21); + background-color: mix($panel_bg_color, $panel_fg_color, .21); + background-image: none; + color: shade($panel_fg_color, 1.08); + } + } + } + + SheetStyleDialog.unity-force-quit { background-color: $bg_color; } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/apps/_xfce.scss b/Tokyonight-dark/gtk-3.0/scss/apps/_xfce.scss new file mode 100644 index 00000000..dc38a86a --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/apps/_xfce.scss @@ -0,0 +1,26 @@ +@import "panel"; + +/*************** + ! Xfce styles * +****************/ + +@include exports("xfce") { + XfceHeading { + margin: 0; + padding: 0; + border: 0; + background-image: none; + background-color: $base_color; + color: $text_color; + } + + .xfce4-panel { + @extend %panel; + + font: normal; + + .button { @extend %panelbutton; } + + .menu { -gtk-image-effect: none; } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/gtk-dark.scss b/Tokyonight-dark/gtk-3.0/scss/gtk-dark.scss new file mode 100644 index 00000000..fd46aa1b --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/gtk-dark.scss @@ -0,0 +1,3 @@ +$variant: "dark"; + +@import "widgets"; diff --git a/Tokyonight-dark/gtk-3.0/scss/gtk.scss b/Tokyonight-dark/gtk-3.0/scss/gtk.scss new file mode 100644 index 00000000..44556695 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/gtk.scss @@ -0,0 +1,3 @@ +$variant: "light"; + +@import "widgets"; diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_actionbar.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_actionbar.scss new file mode 100644 index 00000000..5f730df2 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_actionbar.scss @@ -0,0 +1,106 @@ +@import "button"; +@import "toolbar"; + +/************** + ! Action-bar * +***************/ + +@include exports("actionbar") { + .action-bar { + @include linear-gradient($bg_color); + + padding: $spacing; + border-width: 1px 0 0; + border-style: solid; + border-color: border_normal($bg_color); + color: $fg_color; + + .button { + &.text-button { padding: $spacing - 1px; } + + &.image-button { padding: $spacing + 1px; } + } + + .title { + font: bold; + padding: 0 ($spacing * 2); + } + + .subtitle { + font: smaller; + padding: 0 ($spacing * 2); + } + } +} + + +/*************** + ! Search bars * +****************/ + +@include exports("searchbar") { + .search-bar { + @include linear-gradient(shade($bg_color, .98)); + + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($bg_color); + color: $fg_color; + + .button.close-button { padding: $spacing; } + } +} + + +/****************** + ! Action buttons * +*******************/ + +@include exports("actionbuttons") { + $types: ( + suggested: $success_color, + destructive: $error_color + ); + + @each $type, $color in $types { + .#{$type}-action.button { + @include button($color, $selected_fg_color); + } + } +} + + +/****************** +* selection mode * +******************/ + +@include exports("selectionmode") { + .selection-mode { + &.header-bar, &.toolbar { + @include toolbar($selected_bg_color, $selected_fg_color); + + .button { + @include button($selected_bg_color, $selected_fg_color); + + &.suggested-action { @extend .suggested-action, .button; } + } + + .selection-menu.button { + border: 0; + background-color: transparent; + background-image: none; + color: shade($selected_bg_color, $contrast); + + &:hover { color: shade($selected_bg_color, ($contrast - .1)); } + + &:active { color: shade($selected_bg_color, ($contrast - .05)); } + } + + .dim-label, { + &, .selection-menu.button & { color: shade($selected_bg_color, ($contrast - .1)); } + } + } + + &.toolbar { padding: $spacing; } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_base.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_base.scss new file mode 100644 index 00000000..730bbec4 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_base.scss @@ -0,0 +1,104 @@ +/************** + ! GTK settings +***************/ + +* { + -GtkArrow-arrow-scaling: .5; + -GtkExpander-expander-size: 8; + -GtkStatusbar-shadow-type: none; + -GtkToolItemGroup-expander-size: 8; + -GtkWindow-resize-grip-height: 0; + -GtkWindow-resize-grip-width: 0; + -WnckTasklist-fade-overlay-rect: 0; + + -GtkWidget-cursor-color: $primary_caret_color; + -GtkWidget-secondary-cursor-color: $secondary_caret_color; + -GtkWidget-cursor-aspect-ratio: $caret_aspect_ratio; + + outline-color: alpha($selected_bg_color, .5); + outline-style: dashed; + outline-width: 1px; + outline-offset: -1px; + outline-radius: $roundness; +} + + +/************* + ! Base states + *************/ + +%selected { + &, &:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } +} + +* { + /* hyperlinks */ + -GtkHTML-link-color: $link_color; + -GtkIMHtml-hyperlink-color: $link_color; + -GtkWidget-link-color: $link_color; + -GtkWidget-visited-link-color: $link_color; + + &:selected { @extend %selected; } + + &:insensitive, + &:insensitive:insensitive { color: mix($fg_color, $bg_color, .5); } + + &:insensitive { -gtk-image-effect: dim; } + + &:hover { -gtk-image-effect: highlight; } + + &:link, &:visited { color: $link_color; } +} + +.background { + background-color: $bg_color; + color: $fg_color; + + &:backdrop { + text-shadow: none; + icon-shadow: none; + } + + &.csd { background-color: $bg_color; } +} + +.gtkstyle-fallback { + background-color: alpha($bg_color, .5); + color: $fg_color; + + &:hover { + background-color: shade($bg_color, 1.1); + color: $fg_color; + } + + &:active { + background-color: shade($bg_color, .9); + color: $fg_color; + } + + &:insensitive { + background-color: shade(shade($bg_color, .95), 1.05); + color: mix($fg_color, $bg_color, .5); + } + + &:selected { @extend %selected; } +} + +GtkImage, GtkLabel, GtkBox, GtkGrid { + &, &:insensitive { background-color: transparent; } +} + +GtkLabel { + &.separator { + @extend .dim-label; + + color: $fg_color; + } + + &:selected { @extend %selected; } + + &:insensitive { color: mix($fg_color, $bg_color, .5); } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_button.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_button.scss new file mode 100644 index 00000000..a4e253d9 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_button.scss @@ -0,0 +1,401 @@ +/********* + ! Buttons +**********/ + +@include exports("button_extends") { + %button { + padding: $spacing ($spacing + 2px); + border-width: 1px; + border-style: solid; + border-radius: $roundness; + transition: 150ms ease; + outline-color: transparent; + + -GtkWidget-focus-padding: 1; + -GtkWidget-focus-line-width: 0; + + &:focus, &:hover, &:active { transition: none; } + } + + %linked_middle { + border-radius: 0; + border-left-style: none; + border-right-style: solid; + + &:dir(rtl) { + border-radius: 0; // needed when including %linked_middle:dir(rtl) + border-right-style: none; + border-left-style: solid; + } + } + + %linked_button-first-child { + border-width: 1px; + border-radius: $roundness; + border-left-style: solid; + border-right-style: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + + &:dir(rtl) { + border-left-style: none; + border-right-style: solid; + } + } + + %linked_button-last-child { + border-width: 1px; + border-radius: $roundness; + border-left-style: none; + border-right-style: solid; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + + &:dir(rtl) { + border-left-style: solid; + border-right-style: none; + } + } + + %linked_button-only-child { + border-width: 1px; + border-style: solid; + border-radius: $roundness; + } + + %linked_button { + border-width: 1px; + border-style: solid; + border-radius: 0; + border-right-style: none; + border-left-style: none; + + &:first-child { + @extend %linked_button-first-child; + } + + &:last-child { + @extend %linked_button-last-child; + } + + &:only-child, &:first-child:only-child { + @extend %linked_button-only-child; + } + } +} + +@mixin linked_button($bg) { + $border_strength: if(lightness($bg) > 50, .1, .2); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + @extend %linked_button; + + box-shadow: inset -1px 0 border_normal(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + &:focus, &:hover { + box-shadow: inset -1px 0 border_focus(rgba(0, 0, 0, .12 + $border_strength)), + 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { + box-shadow: inset -1px 0 border_active(rgba(0, 0, 0, .12 + $border_strength)), + inset 0 1px alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + } + + &:insensitive { box-shadow: inset -1px 0 shade($bg, .8); } + + &:last-child, &:only-child { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); } + + &:last-child:hover, &:only-child:hover { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); } + + &:insensitive:last-child, &:insensitive:only-child, + &:active:insensitive:last-child, &:active:insensitive:only-child, + &:checked:insensitive:last-child, &:checked:insensitive:only-child { box-shadow: none; } + + &:active:last-child, &:active:last-child:focus, &:active:last-child:hover, &:active:last-child:hover:focus, + &:checked:last-child, &:checked:last-child:focus, &:checked:last-child:hover, &:checked:last-child:hover:focus { + box-shadow: inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } + + &:active:only-child, &:active:only-child:focus, &:active:only-child:hover, &:active:only-child:hover:focus, + &:checked:only-child, &:checked:only-child:focus, &:checked:only-child:hover, &:checked:only-child:hover:focus { + box-shadow: inset 1px 0 alpha($dark_shadow, .06), + inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } +} + +@mixin button($bg, $fg) { + $border_strength: if(lightness($bg) > 50, .1, .2); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + $button_bg: $bg; + + @extend %button; + @include linear-gradient($button_bg); + @include border(alpha($fg, .12 + $border_strength)); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + &.flat { + border-color: alpha($button_bg, 0); + color: $fg; + background-color: alpha($button_bg, 0); + background-image: none; + box-shadow: none; + } + + &, &.flat { + + &:hover { + @include linear-gradient(shade($bg, 1.05)); + @include border(alpha($fg, .2 + $border_strength)); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .22 + $shadow_strength); + } + + &:focus { + @include linear-gradient(shade($bg, 1.05)); + border-color: alpha($fg, .12 + $border_strength); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + + &:hover { + @include linear-gradient(shade($bg, 1.1)); + @include border(alpha($fg, .2 + $border_strength)); + + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .38 + $shadow_strength); + } + + } + + &:checked, &:active { + @include linear-gradient($selected_bg_color, to top); + @include border(alpha($fg, .12 + $border_strength)); + + color: $selected_fg_color; + box-shadow: inset 1px 0 alpha($fg, .06), + inset 0 1px alpha($fg, .07), + inset -1px 0 alpha($fg, .06), + inset 0 -1px alpha($fg, .05); + + &:focus, &:hover { + @include linear-gradient(shade($selected_bg_color, 1.05), to top); + + color: $selected_fg_color; + } + } + + &:focus, &:hover { color: $fg; } + + &:insensitive:insensitive { + @include linear-gradient(alpha(mix($bg, $fg, .2), .4)); + opacity: .6; + color: mix($bg, $fg, .6); + box-shadow: none; + + :insensitive { + color: mix($bg, $fg, .6); + } + } + } + + &:active:insensitive, &:checked:insensitive { + @include linear-gradient(alpha($selected_bg_color, .6)); + + color: alpha($selected_fg_color, .85); + box-shadow: none; + + &:insensitive { + color: alpha($selected_fg_color, .85); + } + } + + &.separator, .separator { + border: 1px solid currentColor; + color: alpha($bg, ($contrast + .1)); + + &:insensitive { color: alpha($bg, .85); } + } +} + +@include exports("button") { + * { + -GtkButton-child-displacement-x: 0; + -GtkButton-child-displacement-y: 0; + -GtkButton-default-border: 0; + -GtkButton-image-spacing: 0; + -GtkButton-inner-border: 1; + -GtkButton-interior-focus: true; + -GtkButtonBox-child-min-height: 24; + -GtkButtonBox-child-internal-pad-y: 1; + -GtkToolButton-icon-spacing: 6; + } + + %close_button { + border: 1px solid transparent; + background-color: transparent; + background-image: none; + box-shadow: none; + + &:focus, &:hover { + border: 1px solid alpha($black, .3); + background-color: alpha($white, .2); + background-image: none; + box-shadow: none; + } + + &:active, &:checked, &:active:hover, &:checked:hover { + border: 1px solid alpha($black, .3); + background-color: alpha($black, .1); + background-image: none; + box-shadow: none; + } + } + + .button { + @include button($button_bg_color, $button_fg_color); + + &.default { @include button($selected_bg_color, $selected_fg_color); } + + &.linked, .linked & { @include linked_button($button_bg_color); } + + .spinbutton & { + color: mix($text_color, $base_color, .4); + padding: $spacing ($spacing * 2); + border: 0; + border-radius: 0; + border-style: none; + background-color: transparent; + background-image: none; + box-shadow: inset 1px 0 shade($base_color, .9); + + &:insensitive { + color: mix($text_color, $base_color, .7); + box-shadow: inset 1px 0 shade($base_color, .85); + } + + &:active, &:checked, &:hover { color: $text_color; } + + &:first-child { + border-radius: $roundness 0 0 $roundness; + box-shadow: none; + } + + &:last-child { border-radius: 0 $roundness $roundness 0; } + + &:dir(rtl) { box-shadow: inset -1px 0 shade($base_color, .9); } + } + + .spinbutton.vertical & { + border: 1px solid shade($bg_color, .8); + border-radius: $roundness; + background-color: shade($bg_color, 1.08); + background-image: none; + color: $fg_color; + box-shadow: none; + + &:hover { + border-color: shade($bg_color, .7); + background-color: shade($bg_color, 1.1); + background-image: none; + } + + &:active, &:checked { + border-color: shade($bg_color, .8); + background-color: shade($bg_color, .95); + background-image: none; + } + + &:active:hover, &:checked:hover { + border-color: shade($bg_color, .7); + } + + &:focus, &:hover:focus, &:active:focus, &:active:hover:focus { border-color: shade($bg_color, .7); } + + &:insensitive { + border-color: shade($bg_color, .85); + background-color: shade($bg_color, .9); + background-image: none; + } + + &:first-child { + border-width: 1px; + border-bottom-width: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + + &:last-child { + border-width: 1px; + border-top-width: 0; + border-top-left-radius: 0; + border-top-right-radius: 0; + } + } + + .spinbutton.vertical.entry { + border-width: 1px; + border-style: solid; + border-radius: 0; + } + } +} + + +/****************** +! ComboBoxes * +*******************/ + +@include exports("combobox") { + GtkComboBox { + > .button { + padding: ($spacing - 2px) ($spacing + 1px); + + -GtkComboBox-arrow-scaling: .5; + -GtkComboBox-shadow-type: none; + } + + &.combobox-entry { + .entry, .button { @extend %linked_button; } + } + + .separator { + /* always disable separators */ + -GtkWidget-wide-separators: true; + -GtkWidget-horizontal-separator: 0; + -GtkWidget-vertical-separator: 0; + + border-style: none; + } + } + + .linked > GtkComboBox { + > .button { + // the combo is a composite widget so the way we do button linked doesn't + // work, special case needed. See + // https://bugzilla.gnome.org/show_bug.cgi?id=733979 + &:dir(ltr) { @extend %linked_middle; } // specificity bump + &:dir(rtl) { @extend %linked_middle, :dir(rtl); } + } + + &:first-child > .button { @extend %linked_button-first-child; } + + &:last-child > .button { @extend %linked_button-last-child; } + + &:only-child > .button { @extend %linked_button-only-child; } + + menu menuitem { + padding: $spacing ($spacing + 2px); + } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_calendar.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_calendar.scss new file mode 100644 index 00000000..5c7ca328 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_calendar.scss @@ -0,0 +1,38 @@ +/********** + ! Calendar +***********/ + +@include exports("calendar") { + GtkCalendar { + padding: 1px 3px; + outline-offset: -1px; + + &:inconsistent { color: mix($fg_color, $bg_color, .5); } + + &.view, &.highlight, &.header, &.button { + &, &:focus, &:hover, &:insensitive { + background-color: transparent; + background-image: none; + border-width: 0; + border-radius: 0; + } + } + + &.button { + &, &:focus, &:hover, &:insensitive { + color: $white; + border-width: 0; + box-shadow: none; + } + } + + &.highlight { color: $selected_bg_color; } + } + + /* gnome-calendar */ + .calendar-view { + background-color: $base_color; + color: $text_color; + } +} + diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_choosers.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_choosers.scss new file mode 100644 index 00000000..ecd50dd5 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_choosers.scss @@ -0,0 +1,125 @@ +/*************** + ! Color chooser +****************/ + +@include exports("colorchooser") { + GtkColorSwatch { + &, &:selected { + border: 1px solid alpha($black, .1); + border-radius: $roundness; + background-color: transparent; + background-clip: border-box; + + &:hover { border-color: alpha($black, .3); } + } + + &.color-light:selected:hover, &.color-dark:selected:hover { background-image: none; } + + &.left, &:first-child { + border-top-left-radius: $roundness; + border-bottom-left-radius: $roundness; + } + + &.right, &:last-child { + border-top-right-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &:only-child { border-radius: $roundness; } + + &.top { + border-top-left-radius: $roundness; + border-top-right-radius: $roundness; + } + + &.bottom { + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + GtkColorEditor & { + border-radius: $roundness; + + &.color-dark:hover, &.color-light:hover { + background-image: none; + border-color: alpha($black, .3); + } + } + } + + GtkColorChooserWidget #add-color-button { + background-clip: padding-box; + border-color: alpha($black, .1); + background-color: shade($bg_color, .95); + color: $fg_color; + + &:hover { + border-color: alpha($black, .3); + background-color: shade($bg_color, .9); + color: $fg_color; + } + } + + .color-active-badge { + &, &:selected { + border-width: 2px; + border-style: solid; + background-color: transparent; + } + + &.color-light { + &, &:hover { + border-color: alpha($black, .3); + color: alpha($black, .3); + } + } + + &.color-dark { + &, &:hover { + border-color: alpha($white, .3); + color: alpha($white, .3); + } + } + } + + GtkColorButton.button { padding: $spacing; } +} + + +/*********************** +! Font and file choosers +************************/ + +@include exports("miscchoosers") { + GtkFontButton, GtkFileChooserButton { + .separator { + /* always disable separators */ + -GtkWidget-wide-separators: true; + -GtkWidget-horizontal-separator: 0; + -GtkWidget-vertical-separator: 0; + } + + GtkLabel:last-child { color: alpha(currentColor, .7); } + + GtkImage:last-child { color: alpha(currentColor, .7); } + } + + GtkFileChooser { + .pane-separator { + &, &:hover { + border-width: 0 1px 0 0; + border-style: solid; + border-color: currentColor; + background-color: $bg_color; + color: shade($bg_color, ($contrast + .1)); + } + } + + /* for fallback when header bar not used */ + .dialog-action-box { + border-width: 1px 0 0; + border-style: solid; + border-color: shade($bg_color, .7); + } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_entry.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_entry.scss new file mode 100644 index 00000000..e8d75624 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_entry.scss @@ -0,0 +1,84 @@ +/********* + ! Entry * +**********/ + +%linked_entry { + border-width: 1px; + border-radius: 0; + border-right-width: 0; + border-left-width: 0; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-right-width: 0; + border-bottom-right-radius: 0; + border-top-right-radius: 0; + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + &:only-child { + border-width: 1px; + border-radius: $roundness; + } +} + +%entry { + padding: ($spacing - 1px) $spacing; + border-width: 1px; + border-style: solid; + border-radius: $roundness; + transition: border 150ms ease; + box-shadow: inset 1px 1px alpha($dark_shadow, .06), + inset -1px 0 alpha($dark_shadow, .06); + + &:focus, &:hover, &:active { transition: none; } + + &:selected, &:selected:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:insensitive { box-shadow: none; } + + &.progressbar { + @include linear-gradient($selected_bg_color); + + border-width: 0; + border-radius: $roundness; + color: $selected_fg_color; + } + + &.image.left { padding-right: $spacing; } +} + +@mixin entry($bg, $fg) { + @extend %entry; + @include linear-gradient($bg, to top); + @include border($bg); + + color: $fg; + + &:focus, &:active { border-color: $selected_bg_color; } + + &:insensitive { + @include linear-gradient(shade($bg, .9), to top); + + color: mix($bg, $fg, .5); + } +} + +@include exports("entry") { + .entry { + @include entry($base_color, $text_color); + + &.linked, .linked & { @extend %linked_entry; } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_grid.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_grid.scss new file mode 100644 index 00000000..e4b9e8f3 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_grid.scss @@ -0,0 +1,48 @@ +/****************** + ! Grid and flowbox +*******************/ + +@include exports("grid") { + .list { + background-color: shade($bg_color, .97); + color: $fg_color; + + &-row { + &, &.button { + border: 0; + border-radius: 0; + padding: $spacing; + background-image: none; + background-color: alpha($bg_color, 0); + box-shadow: none; + + &:hover { + background-image: none; + background-color: shade($bg_color, 1.02); + } + + &:selected { + &, &:hover, &:focus { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } + } + } + + .grid-child { + &, GtkFlowBox & { + padding: $spacing; + border-radius: $roundness; + + &:selected { + @extend %selected; + + outline-offset: -2px; + } + } + } +} + diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_infobar.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_infobar.scss new file mode 100644 index 00000000..6f5865bb --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_infobar.scss @@ -0,0 +1,38 @@ +@import "button"; + + +/********* + ! Infobar +**********/ + +@include exports("infobar") { + GtkInfoBar { + border: 0; + } + + $types: ( + info: ($info_fg_color, $info_bg_color), + warning: ($warning_fg_color, $warning_bg_color), + question: ($question_fg_color, $question_bg_color), + error: ($error_fg_color, $error_bg_color), + ); + + + @each $type, $colors in $types { + $fg_color: nth($colors, 1); + $bg_color: nth($colors, 2); + + .#{$type} { + @include linear-gradient($bg_color); + + border: 1px solid shade($bg_color, .8); + color: $fg_color; + + .button { + @include button($bg_color, $fg_color); + + &.close { @extend %close_button; } + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_menu.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_menu.scss new file mode 100644 index 00000000..207e2f97 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_menu.scss @@ -0,0 +1,267 @@ +@import "entry"; + + +/********* + ! Menubar +**********/ + +@include exports("menubar") { + .menubar { + -GtkWidget-window-dragging: true; + + border: 0; + background-color: $menubar_bg_color; + background-image: none; + color: $menubar_fg_color; + + + &.menuitem, .menuitem { + padding: ($spacing + 2px) ($spacing + 4px); + border: 1px solid transparent; + background-color: transparent; + background-image: none; + color: $menubar_fg_color; + + &:hover { + border-color: mix($menubar_bg_color, $menubar_fg_color, .21); + background-color: mix($menubar_bg_color, $menubar_fg_color, .21); + background-image: none; + color: shade($menubar_fg_color, 1.08); + } + + *:hover { color: shade($menubar_fg_color, 1.08); } + } + } +} + + +/****** + ! Menu +*******/ + +@include exports("menu") { + * { + -GtkMenu-horizontal-padding: 0; + -GtkMenu-vertical-padding: 0; + } + + GtkTreeMenu, GtkMenuToolButton, GtkComboBox { + &.menu, .menu { + background-color: $menu_bg_color; + margin: $spacing; + } + } + + #toolbar-popup, .menu { + padding: 0; + border-radius: 0; + border: 1px solid mix($menu_bg_color, $menu_fg_color, .21); + background-color: $menu_bg_color; + color: $menu_fg_color; + + &:selected { background-color: $selected_bg_color; } + + .button { + &, &:hover, &:active, &:active *:insensitive, &:insensitive { + border-width: 0; + background-color: transparent; + background-image: none; + } + } + } + + .context-menu { font: initial; } + + .menuitem { + GtkTreeMenu & { + padding: 0; + border-width: 0; + } + + &, .menu & { + margin: $spacing; + padding: ($spacing + 2px) ($spacing + 4px); + border: 0; + border-radius: 0; + background-color: transparent; + background-image: none; + + -GtkMenuItem-arrow-scaling: .5; + + &:active, &:hover { + border: 0; + background-color: $selected_bg_color; + background-image: none; + color: $selected_fg_color; + } + + *:active, *:hover { color: $selected_fg_color; } + + &:insensitive, *:insensitive { color: mix($menu_fg_color, $menu_bg_color, .5); } + } + + &.check, &.radio { + &, &:focus, &:hover, &:insensitive { background-image: none; } + + &, &:focus, &:hover, &:active, &:insensitive { + border-style: none; + background-color: transparent; + } + } + + &.separator { + -GtkMenuItem-horizontal-padding: 0; + -GtkWidget-separator-height: 1; + + border-style: none; + color: shade($menu_bg_color, ($contrast + .1)); + } + + &.button, &.button.flat { + &, &:focus, &:active, &:insensitive, &:active:insensitive { + background-color: transparent; + background-image: none; + border: 0; + box-shadow: none; + color: currentColor; + } + + &:hover, &:focus:hover, &:active:hover, &:selected { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + GtkCalendar { + &:inconsistent { color: mix($menu_fg_color, $menu_bg_color, .5); } + + .button { + border-style: none; + background-color: transparent; + background-image: none; + } + } + + .accelerator { + color: alpha($menu_fg_color, .6); + + &:hover { color: alpha($selected_fg_color, .8); } + + &:insensitive { color: alpha(mix($menu_fg_color, $menu_bg_color, .5), .4); } + } + + .entry { @include entry($menu_bg_color, $menu_fg_color); } + } + + GtkModelMenuItem GtkBox GtkImage { padding-right: $spacing; } +} + + +/********* + ! Popover +**********/ + +@include exports("popover") { + GtkPopover { + @include border($menu_bg_color); + + margin: 10px; + padding: $spacing; + border-radius: $roundness; + border-width: 1px; + border-style: solid; + background-clip: border-box; + background-color: $menu_bg_color; + background-image: none; + color: $menu_fg_color; + box-shadow: 0 3px 6px alpha($black, .16); + + &.background { + background-image: none; + background-color: $menu_bg_color; + color: $menu_fg_color; + } + + &:backdrop { box-shadow: none; } + + &.osd { + box-shadow: 0 2px 7px 3px alpha($black, .5); + + > .toolbar .button { + border-radius: 0; + border-width: 0; + background-color: transparent; + background-image: none; + } + } + + .view, .list { + background-color: shade($menu_bg_color, ($contrast + .5)); + background-image: none; + color: $menu_fg_color; + + &:hover { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + .list-row { + &, &.button { + background-color: transparent; + background-image: none; + color: $menu_fg_color; + + &:focus, &:hover, &:active { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } + + .frame { + border-color: border_normal($menu_bg_color); + border-radius: $roundness; + } + + .entry { @include entry($base_color, $text_color); } + + .button { @include button($header_button_bg_color, $header_button_fg_color); } + + > .list, > .view, > .toolbar { background-color: transparent; } + + .separator { + border: 0; + background-color: transparent; + color: shade($menu_bg_color, ($contrast + .1)); + font-size: 80%; + font-weight: bold; + } + } + + GtkModelButton.button { + &, &:backdrop { + @include button(transparent, currentColor); + + &:focus:hover, &.flat:checked:hover, &:active:hover, &:hover, &:selected { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + box-shadow: none; + } + + &.flat { + &:checked { + box-shadow: none; + } + + &, &:hover { + transition: none; + } + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_misc.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_misc.scss new file mode 100644 index 00000000..015632d5 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_misc.scss @@ -0,0 +1,227 @@ +/*************** +! Dimmed label * +****************/ + +@include exports("dimlabel") { + .dim-label { + opacity: .5; + text-shadow: none; + } +} + + +/*********** + ! Tooltip * +************/ + +@include exports("tooltip") { + .tooltip { + &.background { + @include linear-gradient($tooltip_bg_color); + + border: 0; + border-radius: $roundness; + color: $tooltip_fg_color; + } + + * { + background-color: transparent; + color: inherit; + } + } +} + + +/*********** + ! Dialogs * +************/ + +@include exports("dialogs") { + GtkMessageDialog, .message-dialog, .prompt { + -GtkDialog-content-area-border: $spacing; + -GtkDialog-action-area-border: $spacing; + -GtkDialog-button-spacing: $spacing; + + margin: 0; + padding: 0; + } +} + + +/********************* + ! App notifications * +**********************/ + +@include exports("notifications") { + .app-notification { + &, &.frame { + border-style: solid; + border-color: border_normal($osd_bg); + border-width: 0 1px 1px; + border-radius: 0 0 $roundness $roundness; + padding: $spacing * 2; + background-color: $osd_bg; + background-image: none; + color: $osd_fg; + + .button { @include button($osd_bg, $osd_fg); } + } + } +} + + +/************* + ! Expanders * +**************/ + +@include exports("expander") { + GtkExpander { + padding: $spacing; + outline-offset: 1px; + } + + .expander { + color: alpha(currentColor, .7); + border: alpha(currentColor, .7); + + &:hover { + color: alpha(currentColor, .8); + border-color: alpha(currentColor, .8); + } + + &:active { + color: alpha(currentColor, .9); + border-color: alpha(currentColor, .9); + } + } +} + + +/******************* + ! Symbolic images * +********************/ + +@include exports("symbolicimage") { + .image { + color: alpha(currentColor, .5); + + &:hover { color: alpha(currentColor, .9); } + + &:selected, &:selected:hover { color: $selected_fg_color; } + } +} + + +/**************** + ! Floating bar * +*****************/ + +@include exports("floatingbar") { + .floating-bar { + @include linear-gradient($bg_color); + + border: 1px solid border_normal($bg_color); + border-radius: $roundness; + color: $fg_color; + + &.top { + border-top-width: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; + } + + &.right { + border-right-width: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + &.bottom { + border-bottom-width: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + + &.left { + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + .button { + -GtkButton-image-spacing: 0; + -GtkButton-inner-border: 0; + + border: 0; + background-color: transparent; + background-image: none; + } + } +} + + +/************************* + ! Touch text selections * +**************************/ + +@include exports("touchbubble") { + GtkBubbleWindow { + border-radius: $roundness; + background-clip: border-box; + + &.osd.background { background-color: $osd_bg; } + + .toolbar { background-color: transparent; } + } +} + +/*************** + ! Font-viewer * +****************/ + +@include exports("fontviewer") { + SushiFontWidget { + padding: $spacing ($spacing * 2); + } +} + + +/************* + ! Gucharmap * +**************/ + +@include exports("charmap") { + GucharmapChartable { + background-color: $base_color; + color: $text_color; + + &:focus, &:hover, &:active, &:selected { @extend %selected; } + } +} + + +/************* + ! Evolution * +**************/ + +@include exports("evolution") { + EPreviewPane .entry { + background-color: $base_color; + color: $text_color; + } +} + + +/******************* + ! Gnome Bluetooth * +********************/ + +@include exports("gnome-bluetooth") { + GtkEntry.entry.pin-entry { + font: regular 50; + padding-left: 25px; + padding-right: 25px; + } + + GtkLabel.pin-label { font: regular 50; } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_notebook.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_notebook.scss new file mode 100644 index 00000000..962d8c32 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_notebook.scss @@ -0,0 +1,139 @@ +@import "button"; + + +/********** + ! Notebook +***********/ + +@include exports("notebook") { + .notebook { + padding: 0; + border-style: solid; + border-color: border_normal($bg_color); + border-radius: 0; + @include linear-gradient($bg_color); + background-clip: border-box; + color: $text_color; + + -GtkNotebook-initial-gap: 0; + -GtkNotebook-arrow-spacing: 5; + -GtkNotebook-tab-curvature: 0; + -GtkNotebook-tab-overlap: 1; + -GtkNotebook-has-tab-gap: false; + + &.frame { + &.top { border-width: 0 1px 1px; } + + &.right { border-width: 1px 0 1px 1px; } + + &.bottom { border-width: 1px 1px 0; } + + &.left { border-width: 1px 1px 1px 0; } + } + + &.header { + border-width: 2px; + background-color: transparent; + } + + GtkViewport { + border-width: 0; + background-color: $base_color; + color: $text_color; + } + + tab { + padding: ($spacing + 1px) ($spacing * 2); + border-style: solid; + border-color: border_normal(shade($bg_color, 0.80)); + background-color: shade($bg_color, 0.80); + background-image: none; + + &:active { + background-color: $bg_color; + background-image: none; + } + + &.top { + border-width: 2px 1px 1px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + + &:active { + border-top-width: 3px; + border-top-color: $selected_bg_color; + border-bottom-width: 0; + } + } + + &.right { + border-width: 1px 2px 1px 1px; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + + &:active { + border-right-width: 3px; + border-right-color: $selected_bg_color; + border-left-width: 0; + } + } + + + &.bottom { + border-width: 1px 1px 2px; + border-top-right-radius: 0; + border-top-left-radius: 0; + + &:active { + border-bottom-width: 3px; + border-bottom-color: $selected_bg_color; + border-top-width: 0; + } + } + + &.left { + border-width: 1px 1px 1px 2px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + + &:active { + border-left-width: 3px; + border-left-color: $selected_bg_color; + border-right-width: 0; + } + } + + GtkLabel { color: mix($text_color, $base_color, .3); } + + &.reorderable-page { + &:hover { + background-color: shade($base_color, .85); + border-left: 0; + border-right: 0; + /* using box shadows instead of borders due to slanted edges */ + box-shadow: inset 0 3px alpha($black, .03), inset 0 2px alpha($black, .03), inset 0 1px alpha($black, .03), inset 1px 0 shade($base_color, .7), inset -1px 0 shade($base_color, .7); + } + + &:active { + background-color: shade($base_color, .9); + border-left: 0; + border-right: 0; + box-shadow: inset 0 3px alpha($black, .03), inset 0 2px alpha($black, .03), inset 0 1px alpha($black, .03), inset 1px 0 shade($base_color, .75), inset -1px 0 shade($base_color, .75); + } + } + + /* close button styling */ + .button { @extend %close_button; } + + } + + .prelight-page { + &, GtkLabel { color: mix($text_color, $base_color, .15); } + } + + .active-page { + &, GtkLabel { color: $text_color; } + } + + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_osd.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_osd.scss new file mode 100644 index 00000000..dcb4e744 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_osd.scss @@ -0,0 +1,132 @@ +@import "button"; + + +/******* + ! OSD * +********/ + +@include exports("osd") { + GtkOverlay.osd { background-color: transparent; } + + .osd, + #XfceNotifyWindow { + &.background { + background-color: alpha($osd_bg, .8); + color: $osd_fg; + } + + &.frame { + background-clip: border-box; + background-origin: border-box; + } + + &.button, .button { @include button($osd_bg, $osd_fg); } + + + &.toolbar { + -GtkToolbar-button-relief: normal; + + padding: $spacing; + border: 1px solid border_normal($osd_bg); + border-radius: $roundness; + background-color: $osd_bg; + background-image: none; + color: $osd_fg; + + .separator { color: shade($osd_bg, ($contrast + .1)); } + } + + /* used by gnome-settings-daemon's media-keys OSD */ + &.trough { background-color: shade($osd_bg, .8); } + + &.progressbar { background-color: $osd_fg; } + + .scale { + &.slider { + @include linear-gradient(shade($osd_bg, 1.08)); + @include border($osd_bg); + + &:insensitive { @include linear-gradient(shade($osd_bg, .9)); } + } + + &.trough { + border-color: shade($osd_bg, .8); + background-color: shade($osd_bg, 1.08); + background-image: none; + + &.highlight { + border-color: $selected_bg_color; + background-color: $selected_bg_color; + background-image: none; + } + + &:insensitive, &.highlight:insensitive { + border-color: shade($osd_bg, .85); + background-color: shade($osd_bg, .9); + background-image: none; + } + } + } + + &.view, .view { background-color: $osd_bg; } + + .scrollbar { + .trough { background-color: $osd_bg; } + + .slider { + border: 1px solid mix(shade($osd_bg, .87), $osd_fg, .21); + border-radius: 0; + background-color: mix($osd_bg, $osd_fg, .21); + + &:hover { + border-color: mix(shade($osd_bg, .87), $osd_fg, .31); + background-color: mix($osd_bg, $osd_fg, .31); + } + + &:active { + border-color: shade($selected_bg_color, .9); + background-color: $selected_bg_color; + } + } + } + + GtkIconView.cell { + &:selected, &:selected:focus { + background-color: transparent; + border: 3px solid mix(shade($osd_bg, .87), $osd_fg, .21); + border-radius: $roundness; + outline-color: transparent; + } + } + + /* used by Documents */ + .page-thumbnail { + border: 1px solid shade($osd_bg, .9); + /* when there's no pixbuf yet */ + background-color: $osd_bg; + } + } + + .osd GtkProgressBar, GtkProgressBar.osd { + -GtkProgressBar-xspacing: 0; + -GtkProgressBar-yspacing: 2px; + -GtkProgressBar-min-horizontal-bar-height: 2px; + + padding: 0; + + &.trough { + padding: 0; + border-style: none; + border-radius: 0; + background-image: none; + background-color: transparent; + } + + &.progressbar { + border-style: none; + border-radius: 0; + background-color: $selected_bg_color; + background-image: none; + } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_overshoot.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_overshoot.scss new file mode 100644 index 00000000..9950eb18 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_overshoot.scss @@ -0,0 +1,119 @@ +@mixin overshoot($position, $type: normal, $color: $selected_bg_color) { + $_small_gradient_length: 5%; + $_big_gradient_length: 100%; + + $_position: center top; + $_small_gradient_size: 100% $_small_gradient_length; + $_big_gradient_size: 100% $_big_gradient_length; + + @if $position == bottom { + $_position: center bottom; + $_linear_gradient_direction: to top; + } @else if $position == right { + $_position: right center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } @else if $position == left { + $_position: left center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } + + $_small_gradient_color: $color; + $_big_gradient_color: $color; + + $_small_gradient: -gtk-gradient(radial, + $_position, 0, + $_position, .5, + to(alpha($_small_gradient_color, .35)), + to(alpha($_small_gradient_color, .25))); + + $_big_gradient: -gtk-gradient(radial, + $_position, 0, + $_position, .6, + from(alpha($_big_gradient_color, .2)), + to(alpha($_big_gradient_color, 0))); + + @if $type == normal { + background-image: $_small_gradient, $_big_gradient; + background-size: $_small_gradient_size, $_big_gradient_size; + } @else if $type == backdrop { + background-image: $_small_gradient; + background-size: $_small_gradient_size; + } + + background-repeat: no-repeat; + background-position: $_position; + + background-color: transparent; // reset some properties to be sure to not inherit them somehow + border: 0; + box-shadow: none; +} + +@mixin undershoot($position) { + $_undershoot_color_dark: alpha($black, .2); + $_undershoot_color_light: alpha($white, .2); + + $_gradient_dir: left; + $_dash_bg_size: 10px 1px; + $_gradient_repeat: repeat-x; + $_bg_pos: center $position; + + background-color: transparent; // shouldn't be needed, but better to be sure; + + @if ($position == left) or ($position == right) { + $_gradient_dir: top; + $_dash_bg_size: 1px 10px; + $_gradient_repeat: repeat-y; + $_bg_pos: $position center; + } + + /*background-image: linear-gradient(to $_gradient_dir, // this is the dashed line + $_undershoot_color_light 50%, + $_undershoot_color_dark 50%);*/ + + padding-#{$position}: 1px; + background-size: $_dash_bg_size; + background-repeat: $_gradient_repeat; + background-origin: content-box; + background-position: $_bg_pos; +} + +// This is used by GtkScrolledWindow, when content is touch-dragged past boundaries. +// This draws a box on top of the content, the size changes programmatically. +.overshoot { + &.top { + @include overshoot(top); + + &:backdrop { @include overshoot(top, backdrop); } + } + + &.bottom { + @include overshoot(bottom); + + &:backdrop { @include overshoot(bottom, backdrop); } + } + + &.left { + @include overshoot(left); + + &:backdrop { @include overshoot(left, backdrop); } + } + + &.right { + @include overshoot(right); + + &:backdrop { @include overshoot(right, backdrop); } + } +} + +// Overflow indication, works similarly to the overshoot, the size if fixed tho. +.undershoot { + &.top { @include undershoot(top); } + + &.bottom { @include undershoot(bottom); } + + &.left { @include undershoot(left); } + + &.right { @include undershoot(right); } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_progress.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_progress.scss new file mode 100644 index 00000000..30f5a0ac --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_progress.scss @@ -0,0 +1,182 @@ +/***************** + ! Progress bars * +******************/ + +@include exports("progressbar") { + GtkProgressBar { + padding: 0; + border-radius: $roundness; + font-size: smaller; + color: alpha($fg_color, .6); + + -GtkProgressBar-min-horizontal-bar-height: 6; + -GtkProgressBar-min-vertical-bar-width: 6; + + &.osd { + -GtkProgressBar-xspacing: 0; + -GtkProgressBar-yspacing: 0; + -GtkProgressBar-min-horizontal-bar-height: 3; + } + + &.trough { + border: 1px solid alpha(border_normal($bg_color), .5); + background-color: mix($base_color, $bg_color, 0.08); + background-image: none; + } + } + + .progressbar { + @include linear-gradient($selected_bg_color); + + border-radius: 0; + box-shadow: none; + + &.left { + border-top-left-radius: $roundness; + border-bottom-left-radius: $roundness; + } + + &.right { + border-top-right-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &.left.right { box-shadow: none; } + + &.vertical { + @include linear-gradient($selected_bg_color, to right); + + &.bottom { + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &.top { + border-top-left-radius: $roundness; + border-top-right-radius: $roundness; + } + } + } + + GtkLevelBar { + -GtkLevelBar-min-block-width: 34; + -GtkLevelBar-min-block-height: 3; + + &.vertical { + -GtkLevelBar-min-block-width: 3; + -GtkLevelBar-min-block-height: 34; + } + } + + .level-bar { + &.trough { + @include linear-gradient(mix($base_color, $bg_color, 0.08), to top); + + border: 1px solid alpha(border_normal($bg_color), .5); + border-radius: $roundness; + } + + &.fill-block { + @include linear-gradient($selected_bg_color); + + // FIXME: it would be nice to set make fill blocks bigger, but we'd need + // :nth-child working on discrete indicators + border-color: transparent; + border-radius: 0; + + &.indicator-discrete { + &.horizontal { margin-right: 1px; } + + &.vertical { margin-bottom: 1px; } + } + + &.level-high { + background-color: $success_color; + border-color: transparent; + } + + &.level-low { + background-color: $warning_color; + border-color: transparent; + } + + &.empty-fill-block { + background-color: transparent; + border-color: transparent; + box-shadow: none; + } + } + } + + .scale { + -GtkRange-slider-width: 16; + -GtkRange-trough-border: 1; + -GtkScale-slider-length: 16; + + padding: 0; + border-width: 1px; + border-radius: $roundness; + outline-offset: -1px; + + + &.slider { + @include linear-gradient(mix($base_color, $bg_color, 0.08)); + @include border($bg_color); + + border-radius: 8px; + border-width: 1px; + border-style: solid; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .3); + + &:insensitive { @include linear-gradient(shade($bg_color, .9)); } + } + + &.fine-tune { + &, &.horizontal { + &:active, &:active:hover { + background-size: 50%; + background-repeat: no-repeat; + background-position: center; + } + } + } + + &.mark { border-color: alpha(border_normal($bg_color), .5); } + + + &.trough { + @include linear-gradient(mix($base_color, $bg_color, 0.08)); + + margin: 7px 0; + border: 1px solid alpha(border_normal($bg_color), .5); + border-radius: $roundness; + + &:insensitive { @include linear-gradient(shade($bg_color, .9)); } + + &.vertical { margin: 0 7px; } + } + + &.highlight.left { + &, .memuitem & { + @include linear-gradient($selected_bg_color); + border-color: $selected_bg_color; + + &:hover { + border-color: border_normal($selected_bg_color); + background-color: shade($selected_bg_color, .8); + } + + &:insensitive { + @include linear-gradient(shade($bg_color, .9)); + border-color: shade($bg_color, .85); + } + } + } + + &.highlight.bottom { + @include linear-gradient($selected_bg_color); + border-color: $selected_bg_color; + } + + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_scrollbar.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_scrollbar.scss new file mode 100644 index 00000000..2d1af41e --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_scrollbar.scss @@ -0,0 +1,86 @@ +/*********** + ! Scrollbar +************/ + +@include exports("scrollbar") { + * { + -GtkRange-slider-width: 8; + -GtkRange-stepper-spacing: 0; + -GtkRange-trough-border: 2; + -GtkRange-trough-under-steppers: 1; + -GtkScrollbar-has-backward-stepper: false; + -GtkScrollbar-has-forward-stepper: false; + -GtkScrollbar-min-slider-length: 80; + -GtkScrolledWindow-scrollbar-spacing: 0; + -GtkScrolledWindow-scrollbars-within-bevel: 1; + } + + .scrollbar { + border: 0; + padding: 0; + + &.button { + &, &:active, &:active:hover { + border-width: 0; + border-radius: 0; + background-color: transparent; + background-image: none; + color: alpha($fg_color, .5); + } + } + + &.slider, &.slider.vertical { + border: 0; + border-radius: $roundness; + background-color: mix($bg_color, $fg_color, 0.21); + + &:hover { background-color: mix($bg_color, $fg_color, .31); } + + &:active { background-color: $selected_bg_color; } + + &.fine-tune:hover:active { border: 2px solid transparent; } + } + + // overlay scrolling indicator + &.overlay-indicator { + &:not(.dragging):not(.hovering) { + opacity: .5; + + -GtkRange-slider-width: 4px; + + .slider { + margin: 0; + background-color: $fg_color; + background-clip: padding-box; + } + + .trough { + border-style: none; + background-color: transparent; + } + } + + &.dragging, &.hovering { opacity: .7; } + } + } + + .scrollbars-junction, + .scrollbars-junction.frame, + .scrollbar.trough { + border: 0; + border-radius: 0; + background-color: $bg_color; + background-image: none; + } + + // ubuntu overlay scrollbars + OsThumb, OsScrollbar { + color: shade($bg_color, .7); + + &:selected { background-color: $selected_bg_color; } + + &:active { background-color: $selected_bg_color; } + + &:insensitive { background-color: shade($bg_color, .9); } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_sidebar.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_sidebar.scss new file mode 100644 index 00000000..7ec5727c --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_sidebar.scss @@ -0,0 +1,114 @@ +/********* + ! Sidebar +**********/ + +@include exports("sidebar") { + .sidebar { + &, &.view, .view, GtkScrolledWindow { + background-color: $bg_color; + color: mix($fg_color, $bg_color, .1); + + &.separator { + &, &:hover, &:focus { + border-width: 1px; + border-style: solid; + border-color: shade($bg_color, .9); + color: shade($bg_color, .9); + } + } + } + + row, .view row { + &:selected { + &, &:hover, &:focus { + border: 0; + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:hover { + border: 0; + background-image: none; + background-color: shade($selected_bg_color, 1.05); + color: $selected_fg_color; + } + } + + &:hover { + border: 0; + background-image: none; + background-color: shade($bg_color, 1.05); + } + } + + .frame { border-width: 0; } + + .sidebar-row { + padding: 1px; + } + + .sidebar-icon { + padding-left: $spacing * 2; + padding-right: $spacing * 2; + } + + GtkAssistant & { + padding: $spacing; + border-width: 0 1px 0 0; + border-style: solid; + border-right-color: border_normal($bg_color); + border-radius: 0; + background-color: $bg_color; + color: mix($fg_color, $bg_color, .1); + + &:dir(ltr) { border-width: 0 1px 0 0; } + + &:dir(rtl) { border-width: 0 0 0 1px; } + + .label { + padding: $spacing ($spacing * 2); + + &.highlight { background-color: mix($bg_color, $fg_color, .8); } + } + + &.csd .sidebar { border-top-style: none; } + + .highlight { font: bold; } + } + } +} + + +/****** +! Paned +*******/ + +@include exports("paned") { + GtkPaned { + -GtkPaned-handle-size: 1; + -gtk-icon-source: none; + margin: 0 $spacing; + + &:dir(rtl) { + margin-right: 0; + margin-left: $spacing; + } + + .pane-separator { background-color: shade($bg_color, .9); } + + &.wide { + -GtkPaned-handle-size: 4; + margin: 0; + + .pane-separator { + background-color: transparent; + border-style: none solid; + border-color: shade($bg_color, .9); + border-width: 1px; + } + + &.vertical .pane-separator { border-style: solid none; } + } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_spinner.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_spinner.scss new file mode 100644 index 00000000..9c753f73 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_spinner.scss @@ -0,0 +1,24 @@ +/******************* + ! Spinner animation +********************/ + +@include exports("spinner") { + @keyframes spin { + to { -gtk-icon-transform: rotate(1turn); } + } + + .spinner { + background-image: none; + background-color: $selected_bg_color; + opacity: 0; // non spinning spinner makes no sense + + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + + &:active { + opacity: 1; + animation: spin 1s linear infinite; + + &:insensitive { opacity: .5; } + } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_toggle.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_toggle.scss new file mode 100644 index 00000000..b85fef28 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_toggle.scss @@ -0,0 +1,128 @@ +/*********************** + ! Check and Radio items +************************/ + +$suffix: if($variant == "dark", "-dark", ""); + +@mixin toggle($type) { + background-image: none; + + -gtk-icon-source: url("../assets/#{$type}-unchecked#{$suffix}.svg"); + + &:insensitive { -gtk-icon-source: url("../assets/#{$type}-unchecked-insensitive#{$suffix}.svg"); } + + &:checked, &:active { + -gtk-icon-source: url("../assets/#{$type}-checked#{$suffix}.svg"); + + &:insensitive { -gtk-icon-source: url("../assets/#{$type}-checked-insensitive#{$suffix}.svg"); } + } + + &:inconsistent { + -gtk-icon-source: url("../assets/#{$type}-mixed#{$suffix}.svg"); + + &:insensitive { -gtk-icon-source: url("../assets/#{$type}-mixed-insensitive#{$suffix}.svg"); } + } + + &.menuitem { + -gtk-icon-source: url("../assets/menuitem-#{$type}-unchecked.svg"); + + &:insensitive { + -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-insensitive.svg"); + } + + &:checked, &:active { + -gtk-icon-source: url("../assets/menuitem-#{$type}-checked.svg"); + + &:hover { -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-hover.svg"); } + + &:insensitive { -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-insensitive.svg"); } + } + + &:inconsistent { + -gtk-icon-source: url("../assets/menuitem-#{$type}-mixed.svg"); + + &:hover { -gtk-icon-source: url("../assets/menuitem-#{$type}-mixed-hover.svg"); } + + &:insensitive { -gtk-icon-source: url("../assets/menuitem-#{$type}-mixed-insensitive.svg"); } + } + } +} + +@include exports("checkradio") { + * { + -GtkCheckButton-indicator-size: 16; + -GtkCheckMenuItem-indicator-size: 16; + } + + .radio { @include toggle("radio"); } + + .check { @include toggle("checkbox"); } + + //selection-mode + @each $s,$as in ('', '-unchecked'), + (':hover', '-unchecked'), + (':active', '-checked'), + (':backdrop', '-unchecked'), + (':checked', '-checked'), + (':checked:hover', '-checked'), + (':checked:active', '-checked'), + (':backdrop:checked', '-checked') { + .view.content-view.check#{$s}:not(list) { + icon-shadow: none; + -gtk-icon-source: url("../assets/grid-selection#{$as}#{$suffix}.svg"); + background-color: transparent; + } + } +} + + +/******** + ! Switch +*********/ + +@include exports("switch") { + GtkSwitch { + padding: 0; + border-radius: $roundness; + font: bold condensed; + outline-offset: -4px; + + &.slider { + @include linear-gradient(shade($bg_color, 1.2)); + + border: 1px solid rgba(0, 0, 0, .2); + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12); + + &:insensitive { + border-color: rgba(0, 0, 0, .1); + background-color: shade($bg_color, .9); + box-shadow: none; + } + } + + &.trough { + @include linear-gradient(shade($bg_color, .95), to top); + + border: 1px solid border_normal($bg_color); + color: $fg_color; + box-shadow: inset 1px 0 alpha($dark_shadow, .07), + inset 0 1px alpha($dark_shadow, .08), + inset -1px 0 alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + + &:active { + @include linear-gradient($selected_bg_color, to top); + + border-color: shade($selected_bg_color, .9); + color: $selected_fg_color; + } + + &:insensitive { + @include linear-gradient(shade($bg_color, .9), to top); + + border-color: border_insensitive($bg_color); + color: mix($fg_color, $bg_color, .5); + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_toolbar.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_toolbar.scss new file mode 100644 index 00000000..aee7c3fb --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_toolbar.scss @@ -0,0 +1,132 @@ +@import "button"; + + +/********* + ! Toolbar +**********/ + +@mixin toolbar($bg, $fg) { + @include linear-gradient($bg); + @include border($bg); + + padding: $spacing * 2; + color: $fg; + + &:insensitive { + @include linear-gradient(shade($bg, .9)); + + color: mix($fg, $bg, .5); + } + + .title { + font: bold; + padding: 0 ($spacing * 2); + } + + .subtitle { + font: smaller; + padding: 0 ($spacing * 2); + } + + .button { @include button($toolbar_bg_color, $toolbar_fg_color); } + + .button.linked, .linked .button { @include linked_button($toolbar_bg_color); } + + GtkComboBox, .button { + padding: $spacing - 1px; + + &.text-button { padding: $spacing; } + + &.image-button { padding: ($spacing + 1px) ($spacing - 1px) ($spacing + 1px) $spacing; } + } + + GtkSeparatorToolItem, .separator, .separator:insensitive { + color: shade($bg, ($contrast + .1)); + border-color: currentColor; + + -GtkWidget-window-dragging: true; + } + + .menubar { -GtkToolbar-button-relief: normal; } +} + +@include exports("toolbar") { + .toolbar { + @include toolbar($bg_color, $fg_color); + + padding: 2px; + border-style: none; + + &.inline-toolbar { + background-image: none; + background-color: transparent; + } + GtkToolButton:insensitive GtkButton:insensitive, + GtkToolButton:insensitive GtkButton:insensitive.button, + GtkToolButton:insensitive GtkButton:insensitive.flat.button { + background-color: $bg_color; + } + } + + .header-bar { + @include toolbar($titlebar_bg_focused, $titlebar_fg_focused); + + border-width: 0 0 1px; + border-style: solid; + .button { + color: $header_button_fg_color; + } + } + + .titlebar { + @include linear-gradient($titlebar_bg_focused); + + border-radius: $roundness $roundness 0 0; + color: $titlebar_fg_focused; + + &:backdrop { + @include linear-gradient($titlebar_bg_unfocused); + + color: $titlebar_fg_unfocused; + text-shadow: none; + } + + &.default-decoration { + border: 0; + box-shadow: none; + } + + .tiled &, .maximized & { border-radius: 0; } + + .title { font: bold; } + + .titlebutton { + padding: $spacing; + border: 0; + background-image: none; + background-color: transparent; + color: $titlebar_fg_focused; + box-shadow: none; + + &:hover, &:hover:focus { + background-image: none; + background-color: transparent; + color: $selected_bg_color; + box-shadow: none; + } + + &:active, &:active:hover { + background-image: none; + background-color: transparent; + color: shade($selected_bg_color, .9); + box-shadow: none; + } + + &:backdrop { + background: none; + color: $titlebar_fg_unfocused; + icon-shadow: none; + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_view.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_view.scss new file mode 100644 index 00000000..cfa135af --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_view.scss @@ -0,0 +1,232 @@ +/*************** + ! Generic views +****************/ + +@include exports("view") { + * { -GtkTextView-error-underline-color: $error_color; } + + .view { + color: $text_color; + background-color: $base_color; + + &:insensitive, &:insensitive:insensitive { + background-color: shade($base_color, .9); + color: mix($text_color, $base_color, .5); + } + + &:selected, &:selected:focus { @extend %selected; } + } + + .cell { + border-width: 0; + border-radius: 0; + + &:selected, &:selected:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + row { + &:selected { + &, &:hover, &:focus { + -GtkWidget-focus-padding: 1; + -GtkWidget-focus-line-width: 0; + + border: 0; + background-color: $selected_bg_color; + background-image: none; + color: $selected_fg_color; + } + } + } + + .content-view { + &.view { + background-color: $base_color; + + &:hover { background-color: alpha($selected_bg_color, .6); } + + &:selected, &:active { background-color: $selected_bg_color; } + + &:insensitive { background-color: shade($base_color, .9); } + + &.check { + &, &:active, &:hover, &:insensitive, &:selected { background-color: transparent; } + } + } + + .subtitle { + font: smaller; + padding: 0 12px; + } + } + + GtkIconView { + &.content-view.check { @extend .content-view, .check; } + + &.view.cell { + &:selected, &:selected:focus { + border: 0; + border-radius: 2px; + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } + + .dim-label { + &, &.view { color: alpha(currentColor, .5); } + } + + .dnd { border: 1px solid $selected_bg_color; } + + .grip { background-color: transparent; } + + .arrow { color: alpha(currentColor, .7); } + + .rubberband { + &, &.view, &.content-view.view { + border: 1px solid $selected_bg_color; + border-radius: 0; + background-color: alpha($selected_bg_color, .3); + } + } + + GdMainIconView.content-view { -GdMainIconView-icon-size: 40; } + + /* this will get overridden by .view, needed by gedit line numbers */ + GtkTextView { background-color: mix($bg_color, $base_color, .5); } + + GtkHTML { + @extend .view; + + &:insensitive { background-color: shade($base_color, .9); } + } + + GtkDrawingArea { background-color: transparent; } +} + +/************ + ! Treeview * +*************/ + +@include exports("treeview") { + GtkTreeView { + -GtkTreeView-expander-size: 8; + -GtkTreeView-vertical-separator: 0; + + outline-offset: -1px; + border-top-color: shade($menu_bg_color, ($contrast + .1)); + + &:hover, &:selected, &:selected:focus, &:backdrop:selected, &:backdrop:selected:focus { border-top-color: $selected_bg_color; } + + &.dnd { border: 1px solid $selected_bg_color; } + + .entry { + border-radius: 0; + background-color: $base_color; + background-image: none; + } + + .progressbar { + @include linear-gradient($selected_bg_color); + border: 1px solid border_normal($selected_bg_color); + + &:selected { + &:focus, & { + @include linear-gradient($selected_bg_color); + border: 1px solid border_focus($selected_bg_color); + color: $selected_fg_color; + } + } + + &:insensitive { + &:insensitive { + @include linear-gradient($bg_color); + border-color: border_insensitive($bg_color); + } + } + } + + .trough { + background-color: mix($bg_color, $base_color, .5); + border: 1px solid border_normal($base_color); + + &:selected { + &:focus, & { + background-color: $base_color; + border: 1px solid border_focus($bg_color); + color: $text_color; + } + } + + &:insensitive { + &:insensitive { + background-color: $base_color; + } + } + } + } +} + + +/*********** + ! Separator +************/ + +@include exports("separator") { + .view.separator, .separator { + color: shade($bg_color, ($contrast + .1)); + border: 1px solid currentColor; + } +} + + +/********************* + ! Column view headers +**********************/ + +@include exports("columnheader") { + column-header { + @extend %button; + .button { + &, &:active { + border-width: 0 1px 1px 0; + border-radius: 0; + } + + &, &:active, &:focus, &:active:focus { + border-color: shade($bg_color, .9); + border-bottom-color: shade($bg_color, .8); + } + + &:hover, &:active:hover, &:hover:focus, &:active:hover:focus { + border-color: shade($bg_color, .9); + border-bottom-color: shade($bg_color, .8); + } + + &:last-child .button { border-width: 0 0 1px; } + } + } +} + + +/********** + ! Frames * +***********/ + +@include exports("frame") { + .frame { + border: 1px solid border_normal($bg_color); + + &.flat { border: 0; } + } + + .content-view { + background-color: mix($base_color, $bg_color, .28); + color: mix($text_color, $fg_color, .18); + border: 1px solid border_normal(mix($base_color, $bg_color, .78)); + } +} diff --git a/Tokyonight-dark/gtk-3.0/scss/widgets/_window.scss b/Tokyonight-dark/gtk-3.0/scss/widgets/_window.scss new file mode 100644 index 00000000..9ec481ff --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/scss/widgets/_window.scss @@ -0,0 +1,60 @@ +/************** + ! Window frame +***************/ + +@include exports("window") { + %window { + box-shadow: 0 19px 38px rgba(0, 0, 0, .3), 0 15px 12px rgba(0, 0, 0, .22), + 0 0 0 1px $wm_border_focused; + + &:backdrop { + box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23), + 0 0 0 1px $wm_border_unfocused; + } + } + + .window-frame { + @extend %window; + + border: 0; + border-radius: $roundness $roundness 0 0; + background-color: mix(shade($titlebar_bg_focused, 0.7), $titlebar_fg_focused, 0.21); + /* this is used for the resize cursor area */ + margin: $spacing * 3; + + &.tiled { border-radius: 0; } + + &.solid-csd { + border-radius: 0; + margin: 0; + background-color: mix(shade($titlebar_bg_focused, 0.7), $titlebar_fg_focused, 0.21); + box-shadow: none; + } + + &.csd { + &.popup { + @extend %window; + + border-radius: 0; + } + + &.tooltip { + border-radius: $roundness; + box-shadow: none; + } + + &.message-dialog { + @extend %window; + + border-radius: $roundness; + } + } + + &.ssd { + // Fixed gtk-3.18 Unity bug (https://github.com/numixproject/numix-gtk-theme/issues/270) + box-shadow: 0 0 0 1px $wm_border_focused; + + &.maximized { border-radius: 0; } + } + } +} diff --git a/Tokyonight-dark/gtk-3.0/thumbnail.png b/Tokyonight-dark/gtk-3.0/thumbnail.png new file mode 100644 index 00000000..4f51185c Binary files /dev/null and b/Tokyonight-dark/gtk-3.0/thumbnail.png differ diff --git a/Tokyonight-dark/gtk-3.0/thumbnail.svg b/Tokyonight-dark/gtk-3.0/thumbnail.svg new file mode 120000 index 00000000..0f081a01 --- /dev/null +++ b/Tokyonight-dark/gtk-3.0/thumbnail.svg @@ -0,0 +1 @@ +../gtk-3.20/thumbnail.svg \ No newline at end of file diff --git a/Tokyonight-dark/gtk-3.20/assets b/Tokyonight-dark/gtk-3.20/assets new file mode 120000 index 00000000..ec2e4be2 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/assets @@ -0,0 +1 @@ +../assets \ No newline at end of file diff --git a/Tokyonight-dark/gtk-3.20/gtk-dark.css b/Tokyonight-dark/gtk-3.20/gtk-dark.css new file mode 100644 index 00000000..198bb853 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/gtk-dark.css @@ -0,0 +1 @@ +@import url("resource:///org/numixproject/gtk-3.20/dist/gtk-dark.css"); diff --git a/Tokyonight-dark/gtk-3.20/gtk.css b/Tokyonight-dark/gtk-3.20/gtk.css new file mode 100644 index 00000000..19b01e6a --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/gtk.css @@ -0,0 +1 @@ +@import url("resource:///org/numixproject/gtk-3.20/dist/gtk.css"); diff --git a/Tokyonight-dark/gtk-3.20/gtk.gresource.xml b/Tokyonight-dark/gtk-3.20/gtk.gresource.xml new file mode 100644 index 00000000..a223dbf0 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/gtk.gresource.xml @@ -0,0 +1,35 @@ + + + + assets/checkbox-checked-insensitive.svg + assets/checkbox-checked.svg + assets/checkbox-mixed-insensitive.svg + assets/checkbox-mixed.svg + assets/grid-selection-checked.svg + assets/grid-selection-unchecked.svg + assets/menuitem-checkbox-checked-hover.svg + assets/menuitem-checkbox-checked-insensitive.svg + assets/menuitem-checkbox-checked.svg + assets/menuitem-checkbox-unchecked.svg + assets/menuitem-checkbox-mixed-hover.svg + assets/menuitem-checkbox-mixed-selected.svg + assets/menuitem-checkbox-mixed-insensitive.svg + assets/menuitem-checkbox-mixed.svg + assets/menuitem-radio-checked-hover.svg + assets/menuitem-radio-checked-insensitive.svg + assets/menuitem-radio-checked.svg + assets/menuitem-radio-unchecked.svg + assets/menuitem-radio-mixed-hover.svg + assets/menuitem-radio-mixed-selected.svg + assets/menuitem-radio-mixed-insensitive.svg + assets/menuitem-radio-mixed.svg + assets/radio-checked-insensitive.svg + assets/radio-checked.svg + assets/radio-mixed-insensitive.svg + assets/radio-mixed.svg + assets/pane-handle.png + assets/pane-handle@2.png + dist/gtk.css + dist/gtk-dark.css + + diff --git a/Tokyonight-dark/gtk-3.20/scss/_colors.scss b/Tokyonight-dark/gtk-3.20/scss/_colors.scss new file mode 100644 index 00000000..14a8ec7c --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/_colors.scss @@ -0,0 +1,105 @@ +@import "global"; + +/* dark color scheme */ +@define-color dark_bg_color #{"" + $dark_bg_color}; +@define-color dark_fg_color #{"" + $dark_fg_color}; + +/* colormap actually used by the theme, to be overridden in other css files */ +@define-color theme_bg_color #{"" + $bg_color}; +@define-color theme_fg_color #{"" + $fg_color}; +@define-color theme_base_color #{"" + $base_color}; +@define-color text_view_bg #{"" + $base_color}; /*workaround for new vte versions */ +@define-color theme_text_color #{"" + $text_color}; +@define-color theme_selected_bg_color #{"" + $selected_bg_color}; +@define-color theme_selected_fg_color #{"" + $selected_fg_color}; +@define-color theme_tooltip_bg_color #{"" + $tooltip_bg_color}; +@define-color theme_tooltip_fg_color #{"" + $tooltip_fg_color}; + +/* shadow effects */ +@define-color light_shadow #{"" + $light_shadow}; +@define-color dark_shadow #{"" + $dark_shadow}; + +/* misc colors used by gtk+ */ +@define-color info_fg_color #{"" + $info_fg_color}; +@define-color info_bg_color #{"" + $info_bg_color}; +@define-color warning_fg_color #{"" + $warning_fg_color}; +@define-color warning_bg_color #{"" + $warning_bg_color}; +@define-color question_fg_color #{"" + $question_fg_color}; +@define-color question_bg_color #{"" + $question_bg_color}; +@define-color error_fg_color #{"" + $error_fg_color}; +@define-color error_bg_color #{"" + $error_bg_color}; +@define-color link_color #{"" + $link_color}; +@define-color success_color #{"" + $success_color}; +@define-color warning_color #{"" + $warning_color}; +@define-color error_color #{"" + $error_color}; + +/* widget colors */ +@define-color titlebar_bg_focused @dark_bg_color; +@define-color titlebar_bg_unfocused @theme_bg_color; +@define-color titlebar_fg_focused @dark_fg_color; +@define-color titlebar_fg_unfocused #{"" + $titlebar_fg_unfocused}; +@define-color menubar_bg_color @dark_bg_color; +@define-color menubar_fg_color @dark_fg_color; +@define-color toolbar_bg_color @theme_bg_color; +@define-color toolbar_fg_color @theme_fg_color; +@define-color menu_bg_color @dark_bg_color; +@define-color menu_fg_color @dark_fg_color; +@define-color panel_bg_color @dark_bg_color; +@define-color panel_fg_color @dark_fg_color; +@define-color borders #{"" + $borders_color}; +@define-color unfocused_borders #{"" + $backdrop_borders_color}; + +@define-color button_bg_color #{"" + $button_bg_color}; +@define-color button_fg_color #{"" + $button_fg_color}; +@define-color header_button_bg_color #{"" + $header_button_bg_color}; +@define-color header_button_fg_color #{"" + $header_button_fg_color}; + +@define-color insensitive_bg_color #{"" + $insensitive_bg_color}; +@define-color insensitive_fg_color #{"" + $insensitive_fg_color}; + +/* osd */ +@define-color osd_base #{"" + $osd_base}; +@define-color osd_bg #{"" + $osd_bg}; +@define-color osd_fg #{"" + $osd_fg}; +@define-color osd_insensitive_bg_color #{"" + $osd_insensitive_bg_color}; +@define-color osd_insensitive_fg_color #{"" + $osd_insensitive_fg_color}; +@define-color osd_borders_color #{"" + $osd_borders_color}; + +/* lightdm greeter colors */ +@define-color lightdm_bg_color #{"" + $lightdm_bg_color}; +@define-color lightdm_fg_color #{"" + $lightdm_fg_color}; + +/* widget text/foreground color on backdrop windows */ +@define-color theme_unfocused_fg_color #{"" + $backdrop_fg_color}; + +/* text color for entries, views and content in general on backdrop windows */ +@define-color theme_unfocused_text_color #{"" + $text_color}; + +/* widget base background color on backdrop windows */ +@define-color theme_unfocused_bg_color #{"" + $backdrop_bg_color}; + +/* text widgets and the like base background color on backdrop windows */ +@define-color theme_unfocused_base_color #{"" + $backdrop_base_color}; + +/* base background color of selections on backdrop windows */ +@define-color theme_unfocused_selected_bg_color #{"" + $selected_bg_color}; + +/* text/foreground color of selections on backdrop windows */ +@define-color theme_unfocused_selected_fg_color #{"" + $selected_fg_color}; + +/* insensitive color on backdrop windows*/ +@define-color unfocused_insensitive_color #{"" + $backdrop_insensitive_color}; + +/* window manager colors */ +@define-color wm_bg_focused #{"" + $wm_bg_focused}; +@define-color wm_bg_unfocused #{"" + $wm_bg_unfocused}; +@define-color wm_border_focused #{"" + $wm_border_focused}; +@define-color wm_border_unfocused #{"" + $wm_border_unfocused}; +@define-color wm_title_focused #{"" + $wm_title_focused}; +@define-color wm_title_unfocused #{"" + $wm_title_unfocused}; +@define-color wm_icons_focused #{"" + $wm_icons_focused}; +@define-color wm_icons_focused_prelight #{"" + $wm_icons_focused_prelight}; +@define-color wm_icons_focused_pressed #{"" + $wm_icons_unfocused_pressed}; +@define-color wm_icons_unfocused #{"" + $wm_icons_unfocused}; +@define-color wm_icons_unfocused_prelight #{"" + $wm_icons_unfocused_prelight}; +@define-color wm_icons_unfocused_pressed #{"" + $wm_icons_unfocused_pressed}; diff --git a/Tokyonight-dark/gtk-3.20/scss/_functions.scss b/Tokyonight-dark/gtk-3.20/scss/_functions.scss new file mode 100644 index 00000000..5ec478f1 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/_functions.scss @@ -0,0 +1,153 @@ +$modules: () !default; + +@mixin exports($name) { + @if (not index($modules, $name)) { + $modules: append($modules, $name) !global; + + @content; + } +} + +@function alpha($color, $amount) { + @if type-of($color) == "color" { + @return fade-out($color, (1 - $amount)); + } @else { + @return unquote("alpha(#{$color}," + $amount + ")"); + } +} + +@function shade($color, $amount) { + @if type-of($color) == "color" { + @if ($amount > 1) { + @return lighten($color, ($amount - 1) * lightness($color)) + } @else { + @return darken($color, (1 - $amount) * lightness($color)) + } + } @else { + @return unquote("shade(#{$color}," + $amount + ")"); + } +} + +@function mix($color1, $color2, $amount) { + @return unquote("mix(#{$color1},#{$color2}," + $amount + ")"); +} + +@function border_focus($color) { + @return mix($selected_bg_color, $color, .3); +} + +@function border_normal($color) { + @return shade($color, $contrast); +} + +@function border_normal_tng($fg, $bg, $base_ratio: .7) { + @return mix($fg, $bg, $contrast * ($base_ratio + if(lightness($bg) > 66%, 0, if(lightness($bg) > 33%, .1, .3)))); +} + +@function border_active($color) { + @return shade($color, ($contrast - .1)); +} + +@function border_active_tng($fg, $bg, $base_ratio: .7) { + @return mix($fg, $bg, $contrast * ($base_ratio + if(lightness($bg) > 66%, -.1, if(lightness($bg) > 33%, -.2, -.3)))); +} + +@function border_insensitive($color) { + @return shade($color, ($contrast + .05)); +} + +@function border_insensitive_tng($fg, $bg, $base_ratio: .7) { + @return mix($fg, $bg, $contrast * ($base_ratio + if(lightness($bg) > 66%, .1, if(lightness($bg) > 33%, .2, .35)))); +} + +@mixin linear-gradient($color, $direction: to bottom) { + @if $gradient == 0 { + background-color: $color; + background-image: none; + } @else { + $amount: $gradient / 2; + + background-color: $color; + background-image: linear-gradient($direction, + shade($color, (1 + $amount)), + shade($color, (1 - $amount)) + ); + } +} + +@mixin half-linear-gradient($color, $direction: to bottom) { + @if $gradient == 0 { + background-color: $color; + background-image: none; + } @else { + $amount: $gradient / 4; + + background-color: $color; + background-image: linear-gradient($direction, + shade($color, (1 + $amount)), + shade($color, (1 - $amount)) + ); + } +} + +@mixin border($color) { + border-color: border_normal($color); + + &:focus, &:hover { border-color: border_focus($color); } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { border-color: border_active($color); } + + &:disabled { border-color: border_insensitive($color); } + + &:active:disabled, &:checked:disabled { border-color: border_normal($color); } +} + +@mixin border_tng($fg, $bg, $base_ratio: .7) { + border-color: border_normal_tng($fg, $bg, $base_ratio); + + &:focus, &:hover { + border-color: border_focus(mix($fg, $bg, $base_ratio)); + } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { + border-color: border_active_tng($fg, $bg, $base_ratio); + } + + &:disabled { + border-color: border_insensitive_tng($fg, $bg, $base_ratio); + } + + &:active:disabled, &:checked:disabled { + border-color: border_normal_tng($fg, $bg, $base_ratio); + } +} + +@function _text_shadow_color($tc: $fg_color, $bg: $bg_color) { + // + // calculate the color of text shadows + // + // $tc is the text color + // $bg is the background color + // + $_lbg: lightness($bg) / 100%; + + @if lightness($tc) < 50% { + @return transparentize($white, 1 - $_lbg / ($_lbg * 1.3)); + } @else { + @return transparentize($black, $_lbg * .8); + } +} + +@function choose_contrast_color($reference, $candidate1, $candidate2) { + @if abs(lightness($reference) - lightness($candidate1)) > abs(lightness($reference) - lightness($candidate2)) { + @return $candidate1; + } @else { + @return $candidate2; + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/_global.scss b/Tokyonight-dark/gtk-3.20/scss/_global.scss new file mode 100644 index 00000000..f014f2e8 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/_global.scss @@ -0,0 +1,160 @@ +// scss-lint:disable ColorVariable + +@import "functions"; + +// default color scheme +$bg_color: if($variant == "dark", #%FG%, #%BG%); +$fg_color: if($variant == "dark", #%BG%, #%FG%); +$base_color: if($variant == "dark", #%TXT_FG%, #%TXT_BG%); +$text_color: if($variant == "dark", #%TXT_BG%, #%TXT_FG%); +$button_bg_color: if($variant == "dark", #%BTN_FG%, #%BTN_BG%); +$button_fg_color: if($variant == "dark", #%BTN_BG%, #%BTN_FG%); +$header_button_bg_color: #%HDR_BTN_BG%; +$header_button_fg_color: #%HDR_BTN_FG%; +$selected_bg_color: #%SEL_BG%; +$selected_fg_color: #%SEL_FG%; +$tooltip_bg_color: #%BG%; +$tooltip_fg_color: #%FG%; + +// white and black +//$black: #000; +//$white: #fff; +$black: shade($fg_color, .4); +$white: lighten($bg_color, .55); + +// dark colors +$dark_bg_color: #%HDR_BG%; +$dark_fg_color: #%HDR_FG%; + +// shadows +/*$dark_shadow: #000;*/ +/*$light_shadow: #fff;*/ +$dark_shadow: shade($fg_color, .2); +$light_shadow: lighten($bg_color, .4); + +/*$selected_borders_color: if($variant == 'light', darken($selected_bg_color, 30%), darken($selected_bg_color, 20%));*/ +/*$borders_color: if($variant == 'light', shade($bg_color, .85), shade($bg_color, .88));*/ +$selected_borders_color: if($variant == 'light', mix($selected_bg_color, $fg_color, .3), darken($selected_bg_color, 20%)); +$borders_color: mix($bg_color, $fg_color, if(lightness($bg_color) < 50%, .18, .1)); +$borders_edge: if($variant == 'light', transparentize($white, .2), transparentize($fg_color, .93)); + +// caret +$primary_caret_color: #%CARET1_FG%; +$secondary_caret_color: #%CARET2_FG%; +$caret_aspect_ratio: %CARET_SIZE%; + +/*$button_border_strength: if(lightness($bg) > 50, 0, .1);*/ +/*$button_shadow_strength: if(lightness($bg) > 50, 0, .1);*/ +$button_border_strength: .16; +$button_border: alpha($button_fg_color, $button_border_strength); +$entry_border: $borders_color; + +$scrollbar_bg_color: if($variant == 'light', darken($bg_color, 5%), mix($base_color, $bg_color, .4)); +$scrollbar_slider_color: mix($bg_color, $fg_color, .5); +$scrollbar_slider_hover_color: mix($bg_color, $fg_color, .7); +$scrollbar_slider_active_color: if($variant == 'light', darken($selected_bg_color, 5%), lighten($selected_bg_color, 10%)); + +$switch_disabled_bg_color: mix($bg_color, $base_color, .5); +$switch_disabled_border_color: $bg_color; +$switch_disabled_fg_color: $bg_color; +$switch_disabled_slider_bg_color: $bg_color; +$switch_bg_color: mix($bg_color, $base_color, .3); +$switch_fg_color: $text_color; +$switch_slider_bg_color: mix($text_color, $bg_color, .5); + +//$link_color: mix($selected_bg_color, $fg_color, .3); +$link_color: #%TERMINAL_COLOR4%; +$success_color: #%TERMINAL_COLOR10%; +$warning_color: #%TERMINAL_COLOR11%; +$error_color: #%TERMINAL_COLOR9%; + +$info_fg_color: #%TERMINAL_BACKGROUND%; +$info_bg_color: #%TERMINAL_COLOR12%; +$warning_fg_color: #%TERMINAL_BACKGROUND%; +$warning_bg_color: $warning_color; +$question_fg_color: #%TERMINAL_BACKGROUND%; +$question_bg_color: $info_bg_color; +$error_fg_color: #%TERMINAL_BACKGROUND%; +$error_bg_color: $error_color; + +$toolbar_bg_color: $bg_color; +$toolbar_fg_color: $fg_color; + +$titlebar_bg_focused: $dark_bg_color; +$titlebar_bg_unfocused: $bg_color; +$titlebar_fg_focused: $dark_fg_color; +$titlebar_fg_unfocused: mix($fg_color, $bg_color, .4); + +$menu_bg_color: $dark_bg_color; +$menu_fg_color: $dark_fg_color; + +$menubar_bg_color: $dark_bg_color; +$menubar_fg_color: $dark_fg_color; + +$panel_bg_color: $dark_bg_color; +$panel_fg_color: $dark_fg_color; + +$osd_base: $dark_bg_color; +$osd_text_color: $dark_fg_color; +$osd_bg: alpha($osd_base, .8); +$osd_fg: $osd_text_color; +$osd_insensitive_bg_color: mix($osd_fg, $osd_bg, .5); +$osd_insensitive_fg_color: mix($osd_fg, $osd_base, .6); +$osd_borders_color: shade($osd_bg, .85); + +$lightdm_bg_color: $dark_bg_color; +$lightdm_fg_color: $dark_fg_color; +$lightdm_button_bg_color: $header_button_bg_color; +$lightdm_button_fg_color: $header_button_fg_color; + +$wm_bg_focused: $titlebar_bg_focused; +$wm_bg_unfocused: $titlebar_bg_unfocused; +$wm_border_focused: #%WM_BORDER_FOCUS%; +$wm_border_unfocused: #%WM_BORDER_UNFOCUS%; +$wm_title_focused: $titlebar_fg_focused; +$wm_title_unfocused: $titlebar_fg_unfocused; +$wm_icons_focused: $titlebar_fg_focused; +$wm_icons_focused_prelight: $selected_bg_color; +$wm_icons_focused_pressed: shade($selected_bg_color, .8); +$wm_icons_unfocused: $titlebar_fg_unfocused; +$wm_icons_unfocused_prelight: $selected_bg_color; +$wm_icons_unfocused_pressed: shade($selected_bg_color, .8); + +//insensitive state derived colors +$insensitive_fg_color: mix($fg_color, $bg_color, .5); +$insensitive_bg_color: mix($bg_color, $base_color, .6); +$insensitive_borders_color: $borders_color; + +//colors for the backdrop state, derived from the main colors. +$backdrop_base_color: if($variant == 'light', darken($base_color, .01), lighten($base_color, .01)); +$backdrop_text_color: mix($backdrop_base_color, $text_color, .8); +$backdrop_bg_color: $bg_color; +$backdrop_fg_color: mix($fg_color, $backdrop_bg_color, .5); +$backdrop_insensitive_color: if($variant == 'light', darken($backdrop_bg_color, 15%), lighten($backdrop_bg_color, 15%)); +$backdrop_selected_bg_color: $selected_bg_color; +$backdrop_selected_fg_color: mix($selected_bg_color, $selected_fg_color, .66); +$backdrop_borders_color: mix($bg_color, $borders_color, .9); +$backdrop_dark_fill: mix($backdrop_bg_color, $backdrop_borders_color, .35); +$backdrop_sidebar_bg_color: mix($backdrop_bg_color, $backdrop_base_color, .5); + +$backdrop_osd_base: $osd_base; +$backdrop_osd_bg: $osd_bg; +$backdrop_osd_fg: mix($osd_fg, $backdrop_osd_base, .5); + +$backdrop_scrollbar_bg_color: darken($backdrop_bg_color, 3%); +$backdrop_scrollbar_slider_color: mix($backdrop_fg_color, $backdrop_bg_color, .4); + +$backdrop_menu_color: if($variant == 'light', $backdrop_base_color, mix($backdrop_bg_color, $backdrop_base_color, .2)); + +$drop_target_color: #%SEL_BG%; + +// widget styles +$_roundness: %ROUNDNESS%; +$_spacing: %SPACING%; +$roundness: %ROUNDNESS%px; +$spacing: %SPACING%px; +$gradient: %GRADIENT%; +$contrast: .8; +$outline_width: %OUTLINE_WIDTH%px; +$button_outline_width: %BTN_OUTLINE_WIDTH%px; +$button_outline_offset: %BTN_OUTLINE_OFFSET%px; diff --git a/Tokyonight-dark/gtk-3.20/scss/_widgets.scss b/Tokyonight-dark/gtk-3.20/scss/_widgets.scss new file mode 100644 index 00000000..719463b5 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/_widgets.scss @@ -0,0 +1,41 @@ +@import "functions"; +@import "global"; +@import "colors"; + + +@import "widgets/base"; +@import "widgets/button"; +@import "widgets/entry"; +@import "widgets/actionbar"; +@import "widgets/calendar"; +@import "widgets/choosers"; +@import "widgets/grid"; +@import "widgets/infobar"; +@import "widgets/menu"; +@import "widgets/misc"; +@import "widgets/notebook"; +@import "widgets/osd"; +@import "widgets/overshoot"; +@import "widgets/progress"; +@import "widgets/scrollbar"; +@import "widgets/sidebar"; +@import "widgets/spinner"; +@import "widgets/toggle"; +@import "widgets/toolbar"; +@import "widgets/view"; +@import "widgets/window"; + +@import "apps/mate-applications"; +@import "apps/cinnamon-applications"; +@import "apps/gnome-applications"; +@import "apps/unity-greeter"; +@import "apps/gedit"; +@import "apps/nautilus"; +@import "apps/nemo"; +@import "apps/panel"; +@import "apps/synaptic"; +@import "apps/xfce"; +@import "apps/unity"; +@import "apps/lightdm"; +@import "apps/gnome-terminal"; +@import "apps/budgie"; diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_budgie.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_budgie.scss new file mode 100644 index 00000000..3b5ed0a0 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_budgie.scss @@ -0,0 +1,27 @@ +/****************** + ! Budgie Desktop * +*******************/ + +@include exports("budgie-desktop") { + .budgie-container { + background-color: transparent; + } + + .raven { + background-color: transparentize($bg_color, .07); + + .raven-header { + background-color: $bg_color; + border: solid $borders_color; + border-width: 1px 0; + } + + .raven-background { + background-color: transparentize($bg_color, .07); + } + } + + .raven-mpris { + background-color: transparentize($bg_color, .3); + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_cinnamon-applications.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_cinnamon-applications.scss new file mode 100644 index 00000000..28511c72 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_cinnamon-applications.scss @@ -0,0 +1,19 @@ +/********************* + ! Cinnamon Settings * +**********************/ + +@include exports("cinnamon-settings") { + .cs-category-view { + &, .view { + &, &:backdrop { + background-color: transparent; + } + + &:selected { + &:focus, & { + @extend %selected_items; + } + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_gedit.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_gedit.scss new file mode 100644 index 00000000..ec907ada --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_gedit.scss @@ -0,0 +1,143 @@ +/********* + ! Gedit * +**********/ + +@include exports("gedit") { + GeditWindow .pane-separator { + border-width: 0 1px 0 0; + border-style: solid; + + &, &:hover { + border-color: shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + + .gedit-document-panel { + background-color: $bg_color; + color: mix($fg_color, $bg_color, .1); + + list row { + padding: $spacing; + + button { + padding: 1px; + border-radius: $roundness; + border-style: solid; + border-color: transparent; + border-width: 1px; + background-color: transparent; + background-image: none; + color: transparent; + -gtk-icon-shadow: none; + } + } + + .prelight-row button { + border-color: alpha($black, .1); + color: alpha($white, .8); + + &:active { + border-color: alpha($black, .2); + background-color: alpha($black, .08); + color: $white; + } + } + + list row, .prelight-row { + button:hover { + border-color: alpha($black, .1); + color: $white; + } + } + } + + .gedit-document-panel-group-row { + &, &:hover { + border-top: 1px solid shade($bg_color, ($contrast + .1)); + background-color: $bg_color; + } + } + + .gedit-document-panel-document-row { + &:hover { background-color: shade($bg_color, 1.05); } + + &:selected { + &, &:hover { @extend %selected; } + } + } + + .gedit-document-panel-dragged-row { + border: 1px solid alpha($black, .1); + background-color: alpha($black, .5); + color: $white; + } + + .gedit-document-panel-placeholder-row { + border: 0; + background-color: alpha($black, .08); + transition: all 200ms ease-in; + } + + //Ignore: Global double border separator. + //statusbar { border-top: 1px solid border_normal($bg_color); } + + statusbar GeditSmallButton, GeditStatusMenuButton { + text-shadow: none; + + button { + border-style: solid; + border-width: 0 1px; + border-color: transparent; + border-radius: 0; + padding: 1px 6px 2px 4px; + + &:hover, &:active, &:active:hover { border-color: border_normal($bg_color); } + + &:active { + background-color: shade($bg_color, .95); + color: $fg_color; + } + } + } + + GeditViewFrame .gedit-search-slider { + padding: $spacing; + border-radius: 0 0 $roundness $roundness; + border-width: 0 1px 1px; + border-style: solid; + border-color: border_normal($base_color); + background-color: $base_color; + + .not-found { + background-color: $error_bg_color; + background-image: none; + color: $error_fg_color; + + &:selected { @extend %selected; } + } + } + + GeditFileBrowserWidget .toolbar { + padding: $spacing / 2; + border-top: 0; + background-color: $bg_color; + background-image: none; + } + + .gedit-search-entry-occurrences-tag { + margin: $spacing / 2; + padding: $spacing / 2; + color: mix($text_color, $base_color, .5); + } + + .gedit-bottom-panel-paned, + .gedit-side-panel-paned, + paned.titlebar { + margin-right: 0; + } + + .gedit-bottom-panel-paned notebook { + border-top: 0; + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_gnome-applications.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_gnome-applications.scss new file mode 100644 index 00000000..e7b58f6e --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_gnome-applications.scss @@ -0,0 +1,50 @@ +/**************** + ! Gnome clocks * +*****************/ + +@include exports("gnome-clocks") { + .clocks-analog-frame { + &.trough { color: mix($fg_color, $bg_color, .85); } + + &.progress { color: mix($bg_color, $selected_bg_color, .5); } + + &.progress-fast { color: shade($selected_bg_color, .7); } + } +} + + +/***************** + ! Gnome Builder * +******************/ + +@include exports("gnome-builder") { + workbench.csd > stack.titlebar:not(headerbar) { + padding: 0; + background: none; + border: 0; + box-shadow: none; + + headerbar { + &, &:first-child, &:last-child { border-radius: $roundness $roundness 0 0; } + } + } +} + + +/**************** + ! Geary * +*****************/ + +@include exports("geary") { + .geary-expanded .geary-message-summary { + background-color: shade($base_color, .95); + } + + .geary-folder-popover-list-row { + border-color: shade($menu_bg_color, 1.2); + box-shadow: None; + + > label { color: $bg_color; } + } + +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_gnome-terminal.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_gnome-terminal.scss new file mode 100644 index 00000000..c23893cd --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_gnome-terminal.scss @@ -0,0 +1,37 @@ +/********************** + ! Genome Terminal * +***********************/ + +@include exports("gnome-terminal") { + //noinspection ScssLintInspection,ScssLintInspection + VteTerminal { + background-color: $osd_base; + color: $osd_fg; + } + + terminal-window { + junction, scrollbar trough { + background-color: $osd_base; + border-color: border_normal($osd_base); + + //&:backdrop { + // background-color: shade($backdrop_osd_bg, .9); + // border-color: border_normal(shade($backdrop_osd_bg, .9)); + //} + } + + scrollbar.vertical { + slider { + background-color: mix($osd_base, $osd_fg, .2); + + &:hover { background-color: mix($osd_base, $osd_fg, .3); } + + &:hover:active { background-color: $selected_bg_color; } + + //&:backdrop { background-color: mix($backdrop_osd_fg, $backdrop_osd_bg, .4); } + + &:disabled { background-color: transparent; } + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_lightdm.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_lightdm.scss new file mode 100644 index 00000000..b040bd65 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_lightdm.scss @@ -0,0 +1,116 @@ +/*********************** + ! LightDM GTK Greeter * + ***********************/ + +@include exports("lightdm") { + #panel_window { + background-color: $lightdm_bg_color; + background-image: none; + color: $lightdm_fg_color; + font-weight: bold; + text-shadow: 0 1px alpha($black, .5); + -gtk-icon-shadow: 0 1px alpha($black, .5); + + menubar { + padding-left: $spacing; + + &, > menuitem { + background-color: transparent; + background-image: none; + border-style: none; + color: $lightdm_fg_color; + text-shadow: 0 1px alpha($black, .5); + -gtk-icon-shadow: 0 1px alpha($black, .5); + + &:hover { + background-color: alpha($lightdm_fg_color, .2); + background-image: none; + color: $lightdm_fg_color; + } + + *:hover { color: $lightdm_fg_color; } + + &:disabled { color: alpha($lightdm_fg_color, .7); } + } + + menu > menuitem { font-weight: normal; } + } + } + + #content_frame { padding-bottom: $spacing * 3; } + + #login_window, #shutdown_dialog, #restart_dialog { + @extend %panelbutton; + + border-style: none; + border-radius: $roundness; + background-color: $lightdm_bg_color; + color: $lightdm_fg_color; + /* draw border using box-shadow */ + box-shadow: inset 1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset -1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset 0 1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21), + inset 0 -1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21); + } + + #login_window { + menu { border-radius: 0; } + + button { @include button($lightdm_button_bg_color, $lightdm_button_fg_color); } + + entry { @include entry($lightdm_bg_color, $lightdm_fg_color); } + } + + #user_combobox { + color: $lightdm_fg_color; + font-size: 18px; + + menu { font-weight: normal; } + + arrow { color: mix($lightdm_fg_color, $lightdm_bg_color, .5); } + } + + #user_image { + border-radius: $roundness; + + /* draw border using box-shadow */ + box-shadow: inset 1px 0 shade($lightdm_bg_color, .7), + inset -1px 0 shade($lightdm_bg_color, .7), + inset 0 1px shade($lightdm_bg_color, .7), + inset 0 -1px shade($lightdm_bg_color, .7); + } + + #user_image_border { + border-radius: $roundness; + background-color: shade($lightdm_bg_color, .9); + background-image: none; + box-shadow: inset 1px 0 alpha($dark_shadow, .07), + inset 0 1px alpha($dark_shadow, .08), + inset -1px 0 alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + } + + #buttonbox_frame { + padding-top: $spacing * 2; + padding-bottom: 0; + border-style: none; + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + background-color: transparent; + background-image: none; + box-shadow: none; + } + + /* shutdown button */ + #shutdown_button { + button { @include button($error_bg_color, $error_fg_color); } + } + + /* restart button */ + #restart_button { + button { @include button($warning_bg_color, $warning_fg_color); } + } + + /* password warning */ + #greeter_infobar { font-weight: bold; } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_mate-applications.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_mate-applications.scss new file mode 100644 index 00000000..87e76a04 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_mate-applications.scss @@ -0,0 +1,86 @@ +@import "panel"; + +/**************** + ! MATE styles * +*****************/ + +@include exports("mate-applications") { + .mate-panel-menu-bar { + @extend %panel; + + border: 0; + padding: 0; + text-shadow: none; + } + + #PanelApplet label, + .mate-panel-menu-bar menubar > menuitem { + color: $panel_fg_color; + } + + PanelSeparator, MatePanelAppletFrameDBus { + border-width: 0; + color: transparent; + background-image: -gtk-scaled(url("../assets/pane-handle.png"), + url("../assets/pane-handle@2.png")); + background-color: transparent; + background-repeat: no-repeat; + background-position: left; + } + + #PanelApplet button, + #PanelApplet button.flat, + #PanelApplet button.toggle + #PanelApplet button.flat.toggle { + background-image: none; + background-color: transparent; + border-color: transparent; + border-style: solid; + border-radius: 0; + border-width: 1px; + color: $panel_fg_color; + text-shadow: none; + box-shadow: none; + padding: 2px; + } + + #PanelApplet button:hover:active, + #PanelApplet button:checked, + #PanelApplet button:checked:hover, + #PanelApplet button.flat:hover:active, + #PanelApplet button.flat:checked, + #PanelApplet button.flat:checked:hover, + #PanelApplet button.toggle:hover:active, + #PanelApplet button.toggle:checked, + #PanelApplet button.toggle:checked:hover, + #PanelApplet button.flat.toggle:hover:active, + #PanelApplet button.flat.toggle:checked, + #PanelApplet button.flat.toggle:checked:hover { + background-image: none; + background-color: darker($panel_bg_color); + border-color: transparent; + border-radius: 0; + border-width: 1px; + color: lighter($panel_fg_color); + text-shadow: none; + padding: 2px; + } + + #PanelApplet button:hover, + #PanelApplet button.flat:hover, + #PanelApplet button.toggle:hover, + #PanelApplet button.flat.toggle:hover { + background-image: none; + background-color: shade($panel_bg_color, 1.3); + border-color: transparent; + border-radius: 0; + border-width: 1px; + color: $selected_fg_color; + text-shadow: none; + padding: 2px; + } + + .mate-panel-menu-bar menubar > menuitem { + padding: 3px 7px; + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_nautilus.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_nautilus.scss new file mode 100644 index 00000000..1c65a723 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_nautilus.scss @@ -0,0 +1,92 @@ +/************ + ! Nautilus * +*************/ + +@include exports("nautilus") { + .nautilus-desktop, .nautilus-desktop * { + &, &:backdrop { + color: $white; + text-shadow: 1px 1px $black; + + &:active { color: $fg_color; } + + &:selected { color: $selected_fg_color; } + + &:active, &:hover, &:selected { text-shadow: none; } + } + } + + .nautilus-window { + toolbar { + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($toolbar_bg_color); + } + + .sidebar { + border: 0; + + frame { border: 0; } + } + + notebook { + background-color: $base_color; + border: 0; + + frame { border: 0; } + } + + .searchbar-container { + margin-top: -1px; + + searchbar { + padding-top: if($spacing > 3px, $spacing, 3px) - 3px; + padding-bottom: if($spacing > 2px, $spacing, 2px) - 2px; + border-bottom: 1px solid $borders_color; + } + } + } + + button.nautilus-circular-button.image-button { + @extend button, .circular; + } + + $disk_space_unknown: alpha($fg_color, .5); + $disk_space_used: alpha($selected_bg_color, .8); + $disk_space_free: shade($bg_color, .95); + + .disk-space-display { + border-style: solid; + border-width: 1px; + + &.unknown { + background-color: $disk_space_unknown; + border-color: shade($disk_space_unknown, .9); + } + + &.used { + background-color: $disk_space_used; + border-color: shade($disk_space_used, .9); + } + + &.free { + background-color: $disk_space_free; + border-color: shade($disk_space_free, .9); + } + } + + // Batch renaming dialog + .conflict-row.activatable { + &, &:active { + color: $error_fg_color; + background-color: $error_color; + } + + &:hover { background-color: shade($error_color, 1.1); } + + &:selected { + color: $selected_fg_color; + background-color: $selected_bg_color; + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_nemo.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_nemo.scss new file mode 100644 index 00000000..2f0bf5af --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_nemo.scss @@ -0,0 +1,173 @@ +/******** + ! Nemo * +*********/ + +@include exports("nemo") { + .nemo-desktop, .nemo-desktop * { + &, &:backdrop { + color: $white; + text-shadow: 1px 1px $black; + + &:active { color: $fg_color; } + + &:selected { color: $selected_fg_color; } + + &:active, &:hover, &:selected { text-shadow: none; } + } + } + + .nemo-window { + .nemo-inactive-pane .view { + background-color: mix($base_color, $text_color, .12); + color: $text_color; + } + + toolbar { + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($toolbar_bg_color); + + separator, separator:disabled { + color: mix($bg_color, $fg_color, .88); + border-color: currentColor; + -GtkWidget-window-dragging: true; + } + + &.primary-toolbar button.image-button { + padding: 0 ($spacing + 5px); + } + + combobox, button { + padding: $spacing; + + &.text-button { padding: $spacing; } + + &.image-button { padding: $spacing; } + } + + /* Path Bar */ + toolitem stack { + margin-left: 15px; + + widget button { + @include linked_button($toolbar_bg_color, $toolbar_fg_color); + -NemoPathbarButton-border-radius: $roundness; + } + } + } // END toolbar + + /* Status Bar */ + grid { + > widget:last-child { + button { + min-height: 16px; + min-width: 16px; + padding: (if($spacing > 1px, $spacing, 1px) - 1px) ((if($spacing > 1px, $spacing, 1px) * 2) - 2px); + } + + //button:first-child { + // margin-left: 0; + //} + + button:first-child + button { + margin-right: 72px; + } + + //button:first-child + button + separator + button { + // margin-left: 15px; + //} + + > box > scale { + margin-right: 12px; + } + + statusbar { + border: 0; + } + + } + } // END Status Bar + + .sidebar { + .frame { + border: 0; + } + + image { + padding-left: $spacing; + padding-right: $spacing; + } + + .nemo-places-sidebar { + &, .view { + background-color: mix($bg_color, $base_color, .5); + } + + .view { + -NemoPlacesTreeView-disk-full-bg-color: shade($bg_color, .8); + -NemoPlacesTreeView-disk-full-fg-color: $selected_bg_color; + -NemoPlacesTreeView-disk-full-bar-width: 2px; + -NemoPlacesTreeView-disk-full-bar-radius: 1px; + -NemoPlacesTreeView-disk-full-bottom-padding: 0; + -NemoPlacesTreeView-disk-full-max-length: 75px; + + &:selected { + -NemoPlacesTreeView-disk-full-bg-color: $selected_fg_color; + -NemoPlacesTreeView-disk-full-fg-color: shade($selected_bg_color, 1.2); + + &:focus, & { + @extend %selected_items; + } + } + } + } + + /* Nemo Query Editor (File Search Bar) */ + + separator + box .primary-toolbar { + @include linear-gradient(shade($bg_color, .98)); // Searchbar color (_actionbar.scss) + + padding-top: if($spacing > 3px, $spacing, 3px) - 3px; + padding-bottom: if($spacing > 3px, $spacing, 3px) - 3px; + border-bottom: 1px solid $borders_color; + + button:nth-child(2) { + border-right: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + button:nth-child(3) { + margin-left: -6px; + border-left: 0; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + + button.flat { + $bg: $bg_color; + $fg: $fg_color; + $border_strength: if(lightness($bg) > 50, 0, .1); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + $button_bg: if(hue($bg) == 0deg, shade($bg, 1.2), $bg); + + @extend %button; + @include linear-gradient($button_bg); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + padding: 5px 6px; + } + } // END Nemo Query Editor + } // END .sidebar + + notebook { + background-color: $base_color; + border-width: 0; + + tabs { + border: 0; + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_panel.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_panel.scss new file mode 100644 index 00000000..814a4505 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_panel.scss @@ -0,0 +1,91 @@ +/*********************** + ! Fallback mode panel * +************************/ + +@include exports("panel") { + %panel { + @include linear-gradient($panel_bg_color); + + color: $panel_fg_color; + } + + %panellabel { + font-weight: normal; + color: $panel_fg_color; + } + + %panelbutton { + border-width: 0 1px; + border-radius: 0; + border-color: transparent; + background-color: transparent; + background-image: none; + color: $panel_fg_color; + + &:hover { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .11)); + + border-color: mix($panel_bg_color, $panel_fg_color, .11); + color: shade($panel_fg_color, 1.08); + } + + &:active, &:checked { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .21), to top); + + border-color: mix($panel_bg_color, $panel_fg_color, .21); + color: shade($panel_fg_color, 1.08); + + &:hover { + @include linear-gradient(mix($panel_bg_color, $panel_fg_color, .31), to top); + + border-color: mix($panel_bg_color, $panel_fg_color, .31); + } + } + } + + panel-plug, + panel-toplevel.background { + @extend %panel; + + padding: 0; + } + + .gp-text-color { + color: $black; + } + + #clock-applet-button { &, &:backdrop { @extend %panelbutton; } } + + panel-applet { + border: 0; + + button { + &, &:backdrop { @extend %panelbutton; } + } + } + + clock-box, + panel-applet > menubar, + panel-toplevel .gnome-panel-menu-bar { + &, &:backdrop { + @extend %panel; + + menuitem { + @extend %panel; + + border: 0; + + label { @extend %panellabel; } + } + } + } + + gp-calendar-window, + #tasklist-button, + #clock-applet-button, + #showdesktop-button { + label { @extend %panellabel; } + } + + wnck-pager, wnck-tasklist { @extend %panel; } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_synaptic.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_synaptic.scss new file mode 100644 index 00000000..c19b78e9 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_synaptic.scss @@ -0,0 +1,15 @@ +/************ + ! Synaptic * +*************/ + +@include exports("synaptic") { + GtkWindow > GtkVBox > .dock { + &, > GtkHBox > GtkToolbar { + @include linear-gradient($toolbar-bg-color); + + padding: $spacing; + border: 0; + color: $toolbar_fg_color; + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_unity-greeter.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_unity-greeter.scss new file mode 100644 index 00000000..07ef0f45 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_unity-greeter.scss @@ -0,0 +1,109 @@ +/*********************** + ! Unity Greeter * + ***********************/ + +@include exports("unity-greeter") { + @keyframes dashentry_spinner { + to { -gtk-icon-transform: rotate(1turn); } + } + + %lightdm-button { + background-image: none; + background-color: fade-out($black, .7); + border-color: fade-out($white, .1); + border-radius: ($roundness * 2) + 1px; + padding: $spacing; + color: $white; + } + + .lightdm { + &.menu { + background-image: none; + background-color: fade-out($black, .4); + border-color: fade-out($white, .8); + border-radius: $roundness * 2; + padding: 1px; + + color: $white; + + .menuitem { *, &.check:active, &.radio:active { color: $white; } } + } + + &.menubar { + *, &.menuitem { + padding: if($spacing > 3px, $spacing, 3px) - 3px; + } + } + + &.option-button { + padding: $spacing; + background: none; + border: 0; + } + + &.toggle-button { + background: none; + border-width: 0; + + &.selected { + background-color: fade-out($black, .7); + border-color: fade-out($white, .7); + border-width: 1px; + + &:hover { background-color: fade-out($white, .7); } + } + } + + &.button { + @extend %lightdm-button; + + &:hover { + background-color: fade-out($white, .7); + border-color: fade-out($white, .4); + text-shadow: none; + } + } + + &.entry, &.button:active, &.button:active:focus, &.button:focus { + background-image: none; + background-color: fade-out($black, .7); + border-color: fade-out($white, .4); + border-radius: ($roundness * 2) + 1px; + padding: $spacing + 2px; + color: $white; + text-shadow: none; + } + + &.entry { + &:hover, &:active, &:active:focus { + background-image: none; + border-image: none; + } + + &:active { + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + animation: dashentry_spinner 1s infinite linear; + } + + &:focus { + border-color: fade-out($white, .4); + border-width: 1px; + border-style: solid; + color: $white; + } + + &:selected { background-color: fade-out($white, .8); } + } + } + + .lightdm-combo { + &.combobox-entry .button, .cell, .button, .entry { @extend %lightdm-button; } + + &.menu { + background-color: shade($dark_bg_color, 1.08); + border-radius: 0; + padding: 0; + color: $white; + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_unity.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_unity.scss new file mode 100644 index 00000000..fa86ecfb --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_unity.scss @@ -0,0 +1,108 @@ +@import "panel"; + +/**************** + ! Unity styles * +*****************/ + +@include exports("unity") { + UnityDecoration { + -UnityDecoration-extents: 24px 1px 1px 1px; + -UnityDecoration-input-extents: 10px; + + -UnityDecoration-shadow-offset-x: 1px; + -UnityDecoration-shadow-offset-y: 1px; + -UnityDecoration-active-shadow-color: transparentize($black, .7); + -UnityDecoration-active-shadow-radius: 8px; + -UnityDecoration-inactive-shadow-color: transparentize($black, .5); + -UnityDecoration-inactive-shadow-radius: 5px; + + -UnityDecoration-glow-size: 10px; + -UnityDecoration-glow-color: $selected_bg_color; + + -UnityDecoration-title-indent: 10px; + -UnityDecoration-title-fade: 35px; + -UnityDecoration-title-alignment: 0; + + + .top { + border: 1px solid $wm_border_focused; + border-bottom: 0; + border-radius: $roundness $roundness 0 0; + padding: 1px ($spacing + 3px) 0; + background-color: $titlebar_bg_focused; + color: $titlebar_fg_focused; + text-shadow: none; + + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/632 + // for L.I.M's selected menuitem + &:hover { + border-radius: 0; + border-color: mix($panel_bg_color, $panel_fg_color, .21); + background-color: mix($panel_bg_color, $panel_fg_color, .21); + background-image: none; + color: shade($panel_fg_color, 1.08); + } + + &:backdrop { + border: 1px solid $wm_border_unfocused; + color: $titlebar_fg_unfocused; + } + } + + .left, .right, .bottom { + background-color: $titlebar_bg_focused; + + &:backdrop { background-color: mix(shade($titlebar_bg_unfocused, .7), $titlebar_fg_unfocused, .21); } + } + } + + UnityPanelWidget, .unity-panel { + @extend %panel; + + border: 0; + } + + .unity-panel { + &.menuitem, .menuitem { + border-width: 0 1px; + color: $panel_fg_color; + + &:hover, *:hover { + border-color: mix($panel_bg_color, $panel_fg_color, .21); + background-color: mix($panel_bg_color, $panel_fg_color, .21); + background-image: none; + color: shade($panel_fg_color, 1.08); + } + } + } + + SheetStyleDialog.unity-force-quit { background-color: $bg_color; } +} + + +/************************ + ! Unity-Control-Center * +*************************/ + +@include exports("unity-control-center") { + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/634 + .background:not(.csd):not(.solid-csd) > box.vertical > notebook.frame { + // hide unwanted frames + border: 0 none transparent; + + > stack > scrolledwindow > viewport > box.vertical > frame > box.vertical { + // reset $base_color; + iconview.view { + &, &:backdrop { + background-color: transparent; + } + + &:selected { + &:focus, & { + @extend %selected_items; + } + } + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/apps/_xfce.scss b/Tokyonight-dark/gtk-3.20/scss/apps/_xfce.scss new file mode 100644 index 00000000..4300474f --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/apps/_xfce.scss @@ -0,0 +1,30 @@ +@import "panel"; + +/*************** + ! Xfce styles * +****************/ + +@include exports("xfce") { + .XfceHeading { + margin: 0; + padding: 0; + border: 0; + background-image: none; + background-color: $base_color; + color: $text_color; + } + + .xfce4-panel { + @extend %panel; + + font: inherit; + + button { @extend %panelbutton; } + + menu { + -gtk-icon-effect: none; + + text-shadow: none; + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/gtk-dark.scss b/Tokyonight-dark/gtk-3.20/scss/gtk-dark.scss new file mode 100644 index 00000000..fd46aa1b --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/gtk-dark.scss @@ -0,0 +1,3 @@ +$variant: "dark"; + +@import "widgets"; diff --git a/Tokyonight-dark/gtk-3.20/scss/gtk.scss b/Tokyonight-dark/gtk-3.20/scss/gtk.scss new file mode 100644 index 00000000..44556695 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/gtk.scss @@ -0,0 +1,3 @@ +$variant: "light"; + +@import "widgets"; diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_actionbar.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_actionbar.scss new file mode 100644 index 00000000..f9ac6bca --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_actionbar.scss @@ -0,0 +1,99 @@ +@import "button"; +@import "toolbar"; + +/************** + ! Action-bar * +***************/ + +@include exports("actionbar") { + actionbar > revealer > box { + padding: $spacing; + border-top: 1px solid $borders_color; + + &:backdrop { border-color: $backdrop_borders_color; } + } +} + + +/**************************** + ! Search and Location bars * +*****************************/ + +@include exports("searchbar") { + searchbar, + .location-bar { + @include linear-gradient(shade($bg_color, .98)); + + border-width: 0 0 1px; + border-style: solid; + border-color: border_normal($bg_color); + color: $fg_color; + } +} + + +/****************** + ! Action buttons * +*******************/ + +@include exports("actionbuttons") { + $types: ( + suggested: $success_color, + destructive: $error_color + ); + + @each $type, $color in $types { + .#{$type}-action { + @include button($color, $selected_fg_color); + } + } +} + + +/****************** + ! Selection mode * +*******************/ + +@include exports("selectionmode") { + headerbar, + .titlebar:not(headerbar) { + &.selection-mode { + @include toolbar($selected_bg_color, $selected_fg_color); + + button { + @include button($selected_bg_color, $selected_fg_color); + + &.suggested-action { @extend .suggested-action; } + } + + &:backdrop { + background-color: $backdrop_selected_bg_color; + background-image: none; + } + + .selection-menu { + &:backdrop, & { + color: shade($selected_bg_color, $contrast); + background-color: transparent; + background-image: none; + box-shadow: none; + border: 0; + + &:hover { color: shade($selected_bg_color, ($contrast - .1)); } + + &:active { color: shade($selected_bg_color, ($contrast - .05)); } + + .arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + color: transparentize($selected_fg_color, .5); + -gtk-icon-shadow: none; + } + } + } + + .dim-label { + &, .selection-menu & { color: shade($selected_bg_color, ($contrast - .1)); } + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_base.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_base.scss new file mode 100644 index 00000000..a33b4daa --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_base.scss @@ -0,0 +1,133 @@ +/************** + ! GTK settings +***************/ + +* { + -GtkWindow-resize-grip-height: 0; + -GtkWindow-resize-grip-width: 0; + -WnckTasklist-fade-overlay-rect: 0; + + -GtkWidget-cursor-aspect-ratio: $caret_aspect_ratio; + + outline-color: alpha($selected_bg_color, .5); + outline-style: dashed; + outline-width: $outline_width; + outline-offset: -1px; + -gtk-outline-radius: $roundness; +} + + +/************* + ! Base states + *************/ + +%selected { + &, &:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } +} + +* { + /* hyperlinks */ + -GtkIMHtml-hyperlink-color: $link_color; + + &:selected { @extend %selected; } + + &:disabled, + &:disabled:disabled { color: mix($fg_color, $bg_color, .5); } + + &:disabled, &:disabled { -gtk-icon-effect: dim; } + + &:hover { -gtk-icon-effect: highlight; } + + &:link, &:visited { color: $link_color; } +} + +.background { + background-color: $bg_color; + color: $fg_color; + + &:backdrop { + text-shadow: none; + -gtk-icon-shadow: none; + } + + &.csd { background-color: $bg_color; } +} + +.gtkstyle-fallback { + background-color: alpha($bg_color, .5); + color: $fg_color; + + &:hover { + background-color: shade($bg_color, 1.1); + color: $fg_color; + } + + &:active { + background-color: shade($bg_color, .9); + color: $fg_color; + } + + &:disabled { + background-color: shade(shade($bg_color, .95), 1.05); + color: mix($fg_color, $bg_color, .5); + } + + &:selected { @extend %selected; } +} + +image, label, box, grid { + &, &:disabled { background-color: transparent; } +} + +label { + &.separator { + @extend .dim-label; + + color: $fg_color; + + &:backdrop { color: $backdrop_fg_color; } + } + + row:selected &, + &:selected { @extend %nobg_selected_items; } + + selection { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:disabled { + color: $insensitive_fg_color; + + selection { @extend %selected_items-disabled; } + + &:backdrop { color: $backdrop_insensitive_color; } + } + + &:backdrop { + color: $backdrop_fg_color; + + selection { @extend %selected_items-backdrop; } + } +} + +assistant { + .sidebar { + background-color: $base_color; + border-top: 1px solid $borders_color; + + &:backdrop { + background-color: $backdrop_base_color; + border-color: $backdrop_borders_color; + } + } + + &.csd .sidebar { border-top-style: none; } + + .sidebar label { padding: $spacing ($spacing * 2); } + + .sidebar label.highlight { background-color: mix($fg_color, $bg_color, .8); } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_button.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_button.scss new file mode 100644 index 00000000..e52c80ad --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_button.scss @@ -0,0 +1,762 @@ +/********* + ! Buttons +**********/ + +$button_outline_radius: $roundness * (1 + ($button_outline_offset / 1px + 2) / 10); +$button_border_width: 1px; +$button_sidepadding: $spacing + ($roundness / 14px * if($spacing > 0, $spacing, 1px)); + +@include exports("button_extends") { + // stuff for .needs-attention + $_dot_color: if($variant == "light", $selected_bg_color, lighten($selected_bg_color, .15)); + + @keyframes needs_attention { + from { + background-image: -gtk-gradient(radial, center center, 0, center center, .01, to($_dot_color), to(transparent)); + } + + to { + background-image: -gtk-gradient(radial, center center, 0, center center, .5, to($selected_bg_color), to(transparent)); + } + } + + %needs_attention { + animation: needs_attention 150ms ease-in; + $_dot_shadow: _text_shadow_color(); + $_dot_shadow_r: if($variant == "light", .5, .45); + background-image: -gtk-gradient(radial, center center, 0, center center, .5, to($_dot_color), to(transparent)), + -gtk-gradient(radial, center center, 0, center center, $_dot_shadow_r, to($_dot_shadow), to(transparent)); + background-size: 6px 6px, 6px 6px; + background-repeat: no-repeat; + + @if $variant == "light" { + background-position: right 3px, right 4px; + } @else { + background-position: right 3px, right 2px; + } + + &:backdrop { background-size: 6px 6px, 0 0; } + + &:dir(rtl) { + @if $variant == "light" { + background-position: left 3px, left 4px; + } @else { + background-position: left 3px, left 2px; + } + } + } + + %button { + min-height: 14px + $spacing * 2; + min-width: 14px + $spacing * 2; + //padding: $spacing ($spacing * 2 - 1px); + padding: $spacing; + border-width: $button_border_width; + border-style: solid; + border-radius: $roundness; + -gtk-outline-radius: $button_outline_radius; + transition: 150ms ease; + outline-color: transparent; + + &.text-button { + padding: $spacing $button_sidepadding; + } + } + + %undecorated_button { + border-color: transparent; + background-color: transparent; + background-image: none; + box-shadow: none; + } + + %linked_middle-rtl { + border-radius: 0; + -gtk-outline-radius: 0; + //border-right-style: none; + //border-left-style: solid; + } + + %linked_middle { + border-radius: 0; + -gtk-outline-radius: 0; + //border-left-style: none; + //border-right-style: solid; + + &:dir(rtl) { + @extend %linked_middle-rtl; + } + } + + %linked_vertical_middle { + border-radius: 0; + -gtk-outline-radius: 0; + //border-top-style: none; + //border-bottom-style: solid; + + &:dir(rtl) { + border-radius: 0; // needed when including %linked_vertical_middle:dir(rtl) + -gtk-outline-radius: 0; + //border-top-style: none; + //border-bottom-style: solid; + } + } + + %linked_button-first-child { + border-width: $button_border_width; + //border-left-style: solid; + //border-right-style: none; + //top-left top-right bottom-right bottom-left + border-radius: $roundness 0 0 $roundness; + -gtk-outline-radius: $button_outline_radius 0 0 $button_outline_radius; + + &:dir(rtl) { + //border-left-style: none; + //border-right-style: solid; + } + } + + %linked_button-last-child { + border-width: $button_border_width; + //border-left-style: none; + //border-right-style: solid; + border-radius: 0 $roundness $roundness 0; + -gtk-outline-radius: 0 $button_outline_radius $button_outline_radius 0; + + &:dir(rtl) { + //border-left-style: solid; + //border-right-style: none; + } + } + + %linked_button-only-child { + border-width: $button_border_width; + border-style: solid; + border-radius: $roundness; + -gtk-outline-radius: $button_outline_radius; + } + + %linked_button { + border-width: $button_border_width; + //border-style: solid; + border-radius: 0; + -gtk-outline-radius: 0; + //border-right-style: none; + //border-left-style: none; + + &:first-child { + @extend %linked_button-first-child; + } + + &:last-child { + @extend %linked_button-last-child; + } + + &:only-child { + @extend %linked_button-only-child; + } + } + + %linked_vertical_button-first-child { + border-width: $button_border_width; + //border-top-style: solid; + //border-bottom-style: none; + //top-left top-right bottom-right bottom-left + border-radius: $roundness $roundness 0 0; + -gtk-outline-radius: $button_outline_radius $button_outline_radius 0 0; + + //&:dir(rtl) { + //border-top-style: none; + //border-bottom-style: solid; + //} + } + + %linked_vertical_button-last-child { + border-width: $button_border_width; + //border-top-style: none; + //border-bottom-style: solid; + //top-left top-right bottom-right bottom-left + border-radius: 0 0 $roundness $roundness; + -gtk-outline-radius: 0 0 $button_outline_radius $button_outline_radius; + + //&:dir(rtl) { + //border-top-style: solid; + //border-bottom-style: none; + //} + } + + %linked_vertical_button-only-child { + border-width: $button_border_width; + //border-style: solid; + border-radius: $roundness; + -gtk-outline-radius: $button_outline_radius; + } + + %linked_vertical_button { + border-width: $button_border_width; + border-style: solid; + border-radius: 0; + -gtk-outline-radius: 0; + //border-top-style: none; + //border-bottom-style: none; + + &:first-child { + @extend %linked_vertical_button-first-child; + } + + &:last-child { + @extend %linked_vertical_button-last-child; + } + + &:only-child { + @extend %linked_vertical_button-only-child; + } + } +} + +@mixin linked_button($bg, $fg) { + $button_border_strength: if(lightness($fg) > 50, .1, .2); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + @extend %linked_button; + + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + &:focus, &:hover { + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { + box-shadow: inset 0 1px alpha($dark_shadow, .07), + inset 0 -1px alpha($dark_shadow, .05); + } + + &:disabled { box-shadow: inset -1px 0 shade($bg, .8); } + + &:last-child, &:only-child { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); } + + &:last-child:hover, &:only-child:hover { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); } + + &:disabled:last-child, &:disabled:only-child, + &:active:disabled:last-child, &:active:disabled:only-child, + &:checked:disabled:last-child, &:checked:disabled:only-child { box-shadow: none; } + + &:active:last-child, &:active:last-child:focus, &:active:last-child:hover, &:active:last-child:hover:focus, + &:checked:last-child, &:checked:last-child:focus, &:checked:last-child:hover, &:checked:last-child:hover:focus { + box-shadow: inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } + + &:active:only-child, &:active:only-child:focus, &:active:only-child:hover, &:active:only-child:hover:focus, + &:checked:only-child, &:checked:only-child:focus, &:checked:only-child:hover, &:checked:only-child:hover:focus { + box-shadow: inset 1px 0 alpha($dark_shadow, .06), + inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } +} + +@mixin linked_vertical_button($bg, $fg) { + $button_border_strength: if(lightness($fg) > 50, .1, .2); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + @extend %linked_vertical_button; + + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + &:focus, &:hover { + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + } + + &:active, &:active:hover, + &:active:focus, &:active:hover:focus, + &:checked, &:checked:hover, + &:checked:focus, &:checked:hover:focus { + box-shadow: inset 1px 0 alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .05); + } + + &:disabled { box-shadow: inset 0 -1px shade($bg, .8); } + + &:last-child, &:only-child { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); } + + &:last-child:hover, &:only-child:hover { box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); } + + &:disabled:last-child, &:disabled:only-child, + &:active:disabled:last-child, &:active:disabled:only-child, + &:checked:disabled:last-child, &:checked:disabled:only-child { box-shadow: none; } + + &:active:last-child, &:active:last-child:focus, &:active:last-child:hover, &:active:last-child:hover:focus, + &:checked:last-child, &:checked:last-child:focus, &:checked:last-child:hover, &:checked:last-child:hover:focus { + box-shadow: inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } + + &:active:only-child, &:active:only-child:focus, &:active:only-child:hover, &:active:only-child:hover:focus, + &:checked:only-child, &:checked:only-child:focus, &:checked:only-child:hover, &:checked:only-child:hover:focus { + box-shadow: inset 1px 0 alpha($dark_shadow, .06), + inset 0 1px alpha($dark_shadow, .07), + inset -1px 0 alpha($dark_shadow, .06); + } +} + +@mixin default_linked_button_mixin($bg, $fg) { + $border_focus_color: border_focus(alpha($fg, .2 + $button_border_strength)); + $selected_border_focus_color: border_focus(alpha($selected_bg_color, .2 + $button_border_strength)); + + .linked:not(.vertical) > &:not(:last-child):not(:only-child), + .linked:not(.vertical) > :not(:last-child):not(:only-child) &, + viewswitcher:not(.vertical) > &:not(:last-child):not(:only-child), + stackswitcher:not(.vertical) > &:not(:last-child):not(:only-child) { + border-right-style: none; + + &:hover { + border-color: $border_focus_color; + border-right-style: none; + box-shadow: inset - $button_border_width 0 0 $border_focus_color; + } + } + + .linked:not(.vertical) > &:not(:last-child):not(:only-child):checked, + .linked:not(.vertical) > :not(:last-child):not(:only-child) &:checked, + viewswitcher:not(.vertical) > &:not(:last-child):not(:only-child), + stackswitcher:not(.vertical) > &:not(:last-child):not(:only-child):checked { + border-right-style: none; + + &:hover { + border-color: $selected_border_focus_color; + border-right-style: none; + box-shadow: inset - $button_border_width 0 0 $selected_border_focus_color; + } + } + + .linked.vertical > &:not(:last-child):not(:only-child), + .linked.vertical > :not(:last-child):not(:only-child) &, + stackswitcher.vertical > &:not(:last-child):not(:only-child) { + border-bottom-style: none; + + &:hover { + border-color: $border_focus_color; + border-bottom-style: none; + box-shadow: inset 0 0 - $button_border_width $border_focus_color; + } + } + + .linked.vertical > &:not(:last-child):not(:only-child):checked, + .linked.vertical > :not(:last-child):not(:only-child) &:checked, + stackswitcher.vertical > &:not(:last-child):not(:only-child):checked { + border-bottom-style: none; + + &:hover { + border-color: $selected_border_focus_color; + border-bottom-style: none; + box-shadow: inset 0 0 - $button_border_width $selected_border_focus_color; + } + } + +} + +@mixin button($bg, $fg) { + $button_border_strength: if(lightness($fg) > 50, .1, .2); + $shadow_strength: if(lightness($bg) > 50, 0, .1); + + $button_bg: $bg; + + @extend %button; + @include linear-gradient($button_bg); + @include border(alpha($fg, .12 + $button_border_strength)); + @include default_linked_button_mixin($bg, $fg); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength); + + + &.flat { + //color: mix($bg, $fg, .2); + color: $fg; + border-color: alpha($button_bg, 0); + background-color: alpha($button_bg, 0); + background-image: none; + box-shadow: none; + } + + &, &.flat { + + &:hover { + @include linear-gradient(shade($bg, 1.05)); + @include border(alpha($fg, .2 + $button_border_strength)); + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .22 + $shadow_strength); + } + + &:focus { + @include linear-gradient(shade($bg, 1.05)); + border-color: alpha($fg, .12 + $button_border_strength); + outline-color: alpha($selected_bg_color, .5); + outline-width: $button_outline_width; + outline-style: solid; + //outline-offset: 1px; + //outline-offset: -3px; + outline-offset: $button_outline_offset; + + color: $fg; + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength); + + &:hover { + @include linear-gradient(shade($bg, 1.1)); + @include border(alpha($fg, .2 + $button_border_strength)); + + box-shadow: 0 1px 2px -1px alpha($dark_shadow, .38 + $shadow_strength); + } + } + + &:checked, &:active { + /*@include linear-gradient(shade($bg, .7), to top);*/ + @include linear-gradient($selected_bg_color, to top); + @include border(alpha($fg, .12 + $button_border_strength)); + + color: $selected_fg_color; + box-shadow: inset 1px 0 alpha($fg, .06), + inset 0 1px alpha($fg, .07), + inset -1px 0 alpha($fg, .06), + inset 0 -1px alpha($fg, .05); + + &:focus, &:hover { + /*@include linear-gradient(shade($bg, .65), to top);*/ + @include linear-gradient(shade($selected_bg_color, 1.05), to top); + + color: $selected_fg_color; + } + } + + &:focus, &:hover { color: $fg; } + + &:disabled:disabled { + @include linear-gradient(alpha(mix($bg, $fg, .2), .4)); + /*border: 1px solid alpha($bg, .2);*/ + opacity: .6; + color: mix($bg, $fg, .6); + box-shadow: none; + + :disabled { + color: mix($bg, $fg, .6); + } + } + + &:active:disabled, &:checked:disabled { + @include linear-gradient(alpha($selected_bg_color, .6)); + + color: alpha($selected_fg_color, .85); + box-shadow: none; + + :disabled { + color: alpha($selected_fg_color, .85); + } + } + + &:backdrop { color: mix($button_fg_color, $backdrop_fg_color, .8); } + } + + &.separator, .separator { + border: 1px solid currentColor; + color: alpha($bg, ($contrast + .1)); + + &:disabled { color: alpha($bg, .85); } + } + + separator { + background-image: image(mix($fg, $bg, .9)); + } + +} + +@include exports("button") { + $button_border_strength: if(lightness($button_fg_color) > 50, .1, .2); + + %close_button { + border: 1px solid transparent; + background-color: transparent; + background-image: none; + box-shadow: none; + + &:focus, &:hover { + border: 1px solid alpha($bg_color, .3); + background-color: alpha($fg_color, .2); + background-image: none; + box-shadow: none; + } + + &:active, &:checked, &:active:hover, &:checked:hover { + border: 1px solid alpha($selected_bg_color, .3); + background-color: alpha($selected_fg_color, .1); + background-image: none; + box-shadow: none; + } + } + + button { + @include button($button_bg_color, $button_fg_color); + + + .inline-toolbar &, + .linked > & { @include linked_button($button_bg_color, $button_fg_color); } + + .linked.vertical > & { @include linked_vertical_button($button_bg_color, $button_fg_color); } + + &.circular, + &.circular-button { // FIXME: aggregate to buttons + padding: 0; + min-width: 22px + $spacing * 2; + min-height: 22px + $spacing * 2; + border-radius: 9999px; // Fixed: https://github.com/GNOME/gtk/commit/a6409458f0d50d673a4dc370b9251993b7835b6b + -gtk-outline-radius: 9999px; + + label { padding: 0; } + } + } + + spinbutton { + + $border_focus_color: border_focus(alpha($button_fg_color, .2 + $button_border_strength)); + + &:disabled { + opacity: .6; + } + + button { + color: $button_fg_color; + //padding: $spacing; + padding: $spacing (if($spacing > 1px, $spacing, 1px) * 2 - 1px); + //padding: $spacing ($spacing * 2); + + &:active, &:checked, &:hover { + @include linear-gradient(shade($button_bg_color, 1.2)); + } + + &:hover, + &:focus:hover { + @include border(alpha($button_fg_color, .2 + $button_border_strength)); + } + + &:focus:hover { + color: mix($fg_color, border_focus($borders_color), .3); + } + + &:disabled { color: mix($button_fg_color, $bg_color, .7); } + + &:backdrop { color: mix($button_fg_color, $backdrop_fg_color, .8); } + + &:backdrop:disabled { color: alpha($backdrop_insensitive_color, .8); } + } + + &:not(.vertical) { + /*@extend %entry;*/ + @include linear-gradient($base_color, to top); + /*@include border($base_color);*/ + + padding: 0; + border-radius: $roundness; + -gtk-outline-radius: $button_outline_radius; + + color: $text_color; + caret-color: $text_color; + + /*&:focus, &:active { border-color: border_focus($borders_color); }*/ + + &:disabled { + @include linear-gradient(shade($base_color, .9), to top); + + color: mix($base_color, $text_color, .5); + } + + entry { + border-radius: $roundness 0 0 $roundness; + -gtk-outline-radius: $button_outline_radius 0 0 $button_outline_radius; + border-right-width: 0; + box-shadow: none; + } + + button { + @extend %linked_middle; + border-radius: 0; + -gtk-outline-radius: 0; + border-style: solid; + background-image: none; + box-shadow: none; + + &:focus { + border-top-color: border_focus($borders_color); + border-bottom-color: border_focus($borders_color); + } + + &:active { box-shadow: inset 0 2px 3px -1px transparentize($black, .8); } + + &:backdrop { border-color: alpha($backdrop_borders_color, .8); } + + &.up:dir(ltr), + &.down:dir(rtl) { + border-style: solid; + + &:hover, + &:focus:hover { + border-color: border_focus(alpha($button_fg_color, .2 + $button_border_strength)); + } + } + + &.down:dir(rtl) { + //border-right-color: $button_bg_color; + border-right-style: none; + border-radius: $roundness 0 0 $roundness; + -gtk-outline-radius: $button_outline_radius 0 0 $button_outline_radius; + + &:focus { + border-top-color: border_focus($borders_color); + border-bottom-color: border_focus($borders_color); + border-left-color: border_focus($borders_color); + } + + &:hover, + &:focus:hover { + border-color: $border_focus_color; + box-shadow: inset - $button_border_width 0 0 $border_focus_color; + } + } + + &.up:dir(ltr) { + //border-left-color: $button_bg_color; + border-left-style: none; + border-radius: 0 $roundness $roundness 0; + -gtk-outline-radius: 0 $button_outline_radius $button_outline_radius 0; + + &:focus { + border-top-color: border_focus($borders_color); + border-bottom-color: border_focus($borders_color); + border-right-color: border_focus($borders_color); + } + + &:hover, + &:focus:hover { + border-color: $border_focus_color; + box-shadow: inset $button_border_width 0 $border_focus_color; + } + } + } + } + + &.vertical { + button, entry { + min-width: 0; + padding-left: if($spacing > 2px, $spacing, 2px) - 2px; + padding-right: if($spacing > 2px, $spacing, 2px) - 2px; + } + + entry { + // reset all the other props since the spinbutton node is styled here + border-radius: 0; + -gtk-outline-radius: 0; + border-top-width: 0; + border-bottom-width: 0; + } + + button { + &.up, + &.down { + &:focus:hover { + border-color: border_focus(alpha($button_fg_color, .2 + $button_border_strength)); + } + } + + &.up { + border-radius: $roundness $roundness 0 0; + -gtk-outline-radius: $button_outline_radius $button_outline_radius 0 0; + + &:focus { + border-top-color: border_focus($borders_color); + border-left-color: border_focus($borders_color); + border-right-color: border_focus($borders_color); + } + } + + &.down { + border-radius: 0 0 $roundness $roundness; + -gtk-outline-radius: 0 0 $button_outline_radius $button_outline_radius; + + &:focus { + border-bottom-color: border_focus($borders_color); + border-left-color: border_focus($borders_color); + border-right-color: border_focus($borders_color); + } + } + } + } + } +} + +/****************** +! ComboBoxes * +*******************/ + +@include exports("combobox") { + combobox { + button.combo { + // otherwise the arrow placement is not symmetric + min-width: 0; + //padding-left: $spacing * 2 - 1px; + //padding-right: $spacing * 2 - 1px; + padding-left: $button_sidepadding; + padding-right: $button_sidepadding; + } + + arrow { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + min-height: 10px + $spacing * 2; + min-width: 10px + $spacing * 2; + padding: $spacing / 2; + } + + box button, box entry { + @extend %linked_button; + //padding: $spacing ($spacing * 2 - 1px); + padding: $spacing $button_sidepadding; + } + + box > entry + button.combo { + padding: $spacing; + } + + .linked:not(.vertical) > & > box > button.combo { + // the combo is a composite widget so the way we do button linked doesn't + // work, special case needed. See + // https://bugzilla.gnome.org/show_bug.cgi?id=733979 + &:dir(ltr) { @extend %linked_middle; } + // specificity bump + &:dir(rtl) { @extend %linked_middle-rtl; } + } + + .linked:not(.vertical) > &:first-child > box > button.combo { @extend %linked_button-first-child; } + + .linked:not(.vertical) > &:last-child > box > button.combo { @extend %linked_button-last-child; } + + .linked:not(.vertical) > &:only-child > box > button.combo { @extend %linked_button-only-child; } + + .linked.vertical > & > box > button.combo { @extend %linked_vertical_middle; } + + .linked.vertical > &:first-child > box > button.combo { @extend %linked_vertical_button-first-child; } + + .linked.vertical > &:last-child > box > button.combo { @extend %linked_vertical_button-last-child; } + + .linked.vertical > &:only-child > box > button.combo { @extend %linked_vertical_button-only-child; } + + menu menuitem { + padding: $spacing (if($spacing > 1px, $spacing, 1px) * 2 - 1px); + + cellview { + min-height: 14px + $spacing * 2; + } + } + + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_calendar.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_calendar.scss new file mode 100644 index 00000000..c2243b9f --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_calendar.scss @@ -0,0 +1,73 @@ +/********** + ! Calendar +***********/ + +@include exports("calendar") { + calendar { + padding: 1px 3px; + outline-offset: -1px; + + color: $text_color; + + &.view { + &, &:backdrop { @extend %undecorated_button; } + } + + &:selected { + @extend %selected_items; + + border-radius: $roundness; + } + + &.header { + border-bottom: 1px solid transparentize($black, .9); + border-radius: 0; + + &:backdrop { border-color: transparentize($black, .9); } + } + + &.button { + @extend %undecorated_button; + + color: alpha($fg_color, .55); + + &:hover { + @extend %undecorated_button; + + color: $fg_color; + } + + &:backdrop { + @extend %undecorated_button; + + color: alpha($backdrop_fg_color, .55); + } + + &:disabled { + @extend %undecorated_button; + + color: alpha($insensitive_fg_color, .55); + } + } + + &:indeterminate, + &:indeterminate:backdrop { color: mix($fg_color, $bg_color, .5); } + + &.highlight, + &.highlight:backdrop { + font-size: smaller; + color: mix($selected_bg_color, $fg_color, .5); + } + + &:backdrop { + color: $backdrop_text_color; + } + } + + /* gnome-calendar */ + .calendar-view { + background-color: $base_color; + color: $text_color; + } +} + diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_choosers.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_choosers.scss new file mode 100644 index 00000000..4a20145f --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_choosers.scss @@ -0,0 +1,181 @@ +/*************** + ! Color chooser +****************/ + +@include exports("colorchooser") { + colorswatch { + // This widget is made of two boxes one on top of the other, the lower box is colorswatch {} the other one + // is colorswatch overlay {}, colorswatch has the programmatically set background, so most of the style is + // applied to the overlay box. + + &:drop(active), & { border-style: none; } // FIXME: implement a proper drop(active) state + + $_colorswatch_radius: $roundness; + + // base color corners rounding + // to avoid the artifacts caused by rounded corner anti-aliasing the base color + // sports a bigger radius. + // nth-child is needed by the custom color strip. + + &.top { + border-top-left-radius: $_colorswatch_radius + .5px; + border-top-right-radius: $_colorswatch_radius + .5px; + + overlay { + border-top-left-radius: $_colorswatch_radius; + border-top-right-radius: $_colorswatch_radius; + } + } + + &.bottom { + border-bottom-left-radius: $_colorswatch_radius + .5px; + border-bottom-right-radius: $_colorswatch_radius + .5px; + + overlay { + border-bottom-left-radius: $_colorswatch_radius; + border-bottom-right-radius: $_colorswatch_radius; + } + } + + &.left, + &:first-child:not(.top) { + border-top-left-radius: $_colorswatch_radius + .5px; + border-bottom-left-radius: $_colorswatch_radius + .5px; + + overlay { + border-top-left-radius: $_colorswatch_radius; + border-bottom-left-radius: $_colorswatch_radius; + } + } + + &.right, + &:last-child:not(.bottom) { + border-top-right-radius: $_colorswatch_radius + .5px; + border-bottom-right-radius: $_colorswatch_radius + .5px; + + overlay { + border-top-right-radius: $_colorswatch_radius; + border-bottom-right-radius: $_colorswatch_radius; + } + } + + &.dark overlay { + color: $selected_fg_color; + + &:hover { border-color: if($variant == 'light', transparentize($black, .2), $borders_color); } + + &:backdrop { color: $backdrop_selected_fg_color; } + } + + &.light overlay { + color: $text_color; + + &:hover { border-color: if($variant == 'light', transparentize($black, .5), $borders_color); } + + &:backdrop { color: $backdrop_text_color; } + } + + &:drop(active) { + box-shadow: none; + + &.light overlay { + border-color: $drop_target_color; + box-shadow: inset 0 0 0 2px if($variant == 'light', darken($drop_target_color, 7%), $borders_color), + inset 0 0 0 1px $drop_target_color; + } + + &.dark overlay { + border-color: $drop_target_color; + box-shadow: inset 0 0 0 2px if($variant == 'light', transparentize($black, .7), $borders_color), + inset 0 0 0 1px $drop_target_color; + } + } + + overlay { + border: 1px solid if($variant == 'light', transparentize($black, .7), $borders_color); + + &:hover { + box-shadow: inset 0 1px transparentize($white, .6), + inset 0 -1px transparentize($black, .8); + } + + &:backdrop, + &:backdrop:hover { + border-color: if($variant == 'light', transparentize($black, .7), $borders_color); + box-shadow: none; + } + } + + &:disabled { + opacity: .5; + + overlay { + border-color: transparentize($black, .4); + box-shadow: none; + } + } + + row:selected & { box-shadow: 0 0 0 2px $selected_fg_color; } + + &#add-color-button { + border-radius: $_colorswatch_radius $_colorswatch_radius 0 0; + + &:only-child { border-radius: $_colorswatch_radius; } + + overlay { + background-color: shade($bg_color, .95); + color: $fg_color; + + &:hover { background-color: shade($bg_color, .9); } + + &:backdrop { background-color: shade($backdrop_bg_color, .95); } + } + } + + &#editor-color-sample { + border-radius: $_colorswatch_radius; + + overlay { border-radius: $_colorswatch_radius + .5px; } + } + } + + button.color { + padding: $spacing; + + colorswatch:only-child { + &, overlay { border-radius: $roundness; } + } + + &:disabled, &:backdrop, &:active, &:checked { + colorswatch:only-child { + box-shadow: none; + } + } + } +} + + +/*********************** +! Font and file choosers +************************/ + +@include exports("miscchoosers") { + filechooser { + /* for fallback when header bar not used */ + .dialog-action-box { + border-top: 1px solid $borders_color; + + &:backdrop { border-top-color: $backdrop_borders_color; } + } + + #pathbarbox { + border-bottom: 1px solid $borders_color; + background-color: $bg_color; + } + } + + filechooserbutton:drop(active) { + box-shadow: none; + border-color: transparent; + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_entry.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_entry.scss new file mode 100644 index 00000000..767c52f9 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_entry.scss @@ -0,0 +1,183 @@ +/********* + ! Entry * +**********/ + +%linked_entry { + border-width: 1px; + border-radius: 0; + border-right-width: 0; + border-left-width: 0; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-right-width: 0; + border-bottom-right-radius: 0; + border-top-right-radius: 0; + + &:dir(rtl) { + border-left-width: 0; + border-right-width: 1px; + } + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + + &:dir(rtl) { + border-left-width: 1px; + border-right-width: 0; + } + } + + &:only-child, &:first-child:only-child { + border-width: 1px; + } + + &:only-child { + border-radius: $roundness; + } +} + +%linked_vertical_entry { + border-width: 1px; + border-radius: 0; + border-top-width: 0; + border-bottom-width: 0; + + &:first-child { + border-width: 1px; + border-radius: $roundness; + border-top-width: 1px; + border-bottom-width: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + + &:dir(rtl) { + border-top-width: 0; + border-bottom-width: 1px; + } + } + + &:last-child { + border-width: 1px; + border-radius: $roundness; + border-top-width: 0; + border-bottom-width: 1px; + border-top-left-radius: 0; + border-top-right-radius: 0; + + &:dir(rtl) { + border-top-width: 1px; + border-bottom-width: 0; + } + } + + &:only-child, &:first-child:only-child { + border-width: 1px; + } + + &:only-child { + border-radius: $roundness; + } +} + +%entry { + border-width: 1px; + border-style: solid; + border-radius: $roundness; + //border-color: border_normal($bg_color); + transition: border 100ms ease-out; + box-shadow: inset 1px 0 alpha($dark_shadow, .1), + inset 0 1px alpha($dark_shadow, .12), + inset -1px 0 alpha($dark_shadow, .1), + inset 0 -1px alpha($dark_shadow, .05); + + &:focus, &:hover, &:active { transition: border 100ms ease-in; } + + &:selected { + &, &:selected:focus { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + &:disabled { box-shadow: none; } + + progress { + @include linear-gradient($selected_bg_color); + + border-width: 0; + border-radius: $roundness; + color: $selected_fg_color; + } + + image.left { padding-right: $spacing; } + + image.right { padding-left: $spacing; } + + selection { @extend %selected_items; } + + // entry error and warning style + @each $e_type, $e_color, $e_fg_color in (warning, $warning_bg_color, $warning_fg_color), + (error, $error_bg_color, $error_fg_color), + // entry.search-missing for Gnome-Builder + (search-missing, $error_bg_color, $error_fg_color) { + &.#{$e_type} { + color: $e_fg_color; + border-color: border_normal($e_color); + background-color: mix($base_color, $e_color, .6); + + image { color: $e_fg_color; } + + &:focus { + color: $e_fg_color; + border-color: border_focus($e_color); + background-color: $e_color; + box-shadow: none; + } + + selection { + background-color: $e_fg_color; + color: $e_color; + } + } + } +} + +@mixin entry($bg, $fg, $border: $borders_color) { + @extend %entry; + @include linear-gradient($bg, to top); + @include border_tng($fg, $bg, .7); + + //padding: ($spacing + 2px) $spacing; + $sidepadding: $spacing + ($roundness / 14px * if($spacing > 0, $spacing, 1px)); + padding: ($spacing + 2px) $sidepadding; + + color: $fg; + caret-color: $primary_caret_color; + -gtk-secondary-caret-color: $secondary_caret_color; + + &:focus, &:active { border-color: border_focus($border); } + + &:disabled { + @include linear-gradient(mix($bg, $fg, .07), to top); + + opacity: .9; + color: mix($bg, $fg, .9); + } +} + +@include exports("entry") { + entry { + @include entry($base_color, $text_color); + + .linked:not(.vertical) > & { @extend %linked_entry; } + + .linked.vertical > & { @extend %linked_vertical_entry; } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_grid.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_grid.scss new file mode 100644 index 00000000..c699f476 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_grid.scss @@ -0,0 +1,69 @@ +/****************** + ! Grid and flowbox +*******************/ + +@include exports("grid") { + + // selected icon in unfocused window: + widget:active { + background-color: mix($selected_bg_color, $base_color, .5); + } + + list { + color: $text_color; + background-color: $base_color; + border-color: $borders_color; + + &:backdrop { + background-color: $backdrop_base_color; + border-color: $backdrop_borders_color; + } + + row { padding: $spacing; } + } + + row { + transition: all 150ms cubic-bezier(.25, .46, .45, .94); + + &:hover { transition: none; } + + &:backdrop { transition: 200ms ease-out; } + + &.activatable { + &.has-open-popup, // this is for indicathing which row generated a popover see https://bugzilla.gnome.org/show_bug.cgi?id=754411 + + &:hover { background-color: if(variant == light, transparentize($fg_color, .9), transparentize($fg_color, .95)); } + + &:active { box-shadow: inset 0 2px 2px -2px transparentize($black, .8); } + + &:backdrop:hover { background-color: transparent; } + + &:selected { + &:active { box-shadow: inset 0 2px 3px -1px transparentize($black, .5); } + + &.has-open-popup, + &:hover { background-color: mix($selected_bg_color, $fg_color, .1); } + + &:backdrop { background-color: $selected_bg_color; } + } + } + + &:selected { @extend %selected_items; } + } + + flowbox { + rubberband { @extend rubberband; } + + flowboxchild { + padding: $spacing; + border-radius: $roundness; + + &:selected { + @extend %selected_items; + + outline-offset: -2px; + } + } + } +} + diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_infobar.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_infobar.scss new file mode 100644 index 00000000..bf82db21 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_infobar.scss @@ -0,0 +1,41 @@ +@import "button"; + + +/********* + ! Infobar +**********/ + +@include exports("infobar") { + infobar { + border: 0; + + $types: ( + info: ($info_fg_color, $info_bg_color), + warning: ($warning_fg_color, $warning_bg_color), + question: ($question_fg_color, $question_bg_color), + error: ($error_fg_color, $error_bg_color), + ); + + @each $type, $colors in $types { + $fg_color: nth($colors, 1); + $bg_color: nth($colors, 2); + + &.#{$type} { + &, &:backdrop { // Backdrop button fix: https://github.com/numixproject/numix-gtk-theme/issues/544 + @include linear-gradient($bg_color); + + border: 1px solid shade($bg_color, .8); + caret-color: currentColor; + + label, & { color: $fg_color; } + } + + button { + @include button($bg_color, $fg_color); + + &.close { @extend %close_button; } + } + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_menu.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_menu.scss new file mode 100644 index 00000000..38be0392 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_menu.scss @@ -0,0 +1,346 @@ +@import "entry"; + +$menu_borders_color: mix( + $menu_bg_color, + $menu_fg_color, + if(lightness($menu_bg_color) < 50%, .18, .1) +); + +@mixin menu_calendar($bg, $fg) { + color: $fg; + + &.header { + border-bottom: 1px solid shade($bg, ($contrast + .1)); + border-radius: 0; + + &:backdrop { border-color: shade($bg, ($contrast + .1)); } + } + + &.button { + @extend %undecorated_button; + color: alpha($fg, .55); + + &:hover { + @extend %undecorated_button; + color: $fg; + } + } + + &:indeterminate, + &:indeterminate:backdrop { color: mix($fg, $bg, .5); } +} + + +/********* + ! Menubar +**********/ + +@include exports("menubar") { + menubar, .menubar { + -GtkWidget-window-dragging: true; + + padding: 0; + border: 0; + background-color: $menubar_bg_color; + background-image: none; + //box-shadow: inset 0 -1px shade($menubar_bg_color, .9); + color: $menubar_fg_color; + + > menuitem { + min-height: 10px + $spacing * 2; + padding: ($spacing + 2px) ($spacing + 4px); + border: 1px solid transparent; + background-color: transparent; + background-image: none; + color: $menubar_fg_color; + + &:hover { + border-color: mix($menubar_bg_color, $menubar_fg_color, .21); + background-color: mix($menubar_bg_color, $menubar_fg_color, .21); + background-image: none; + color: shade($menubar_fg_color, 1.08); + } + + *:hover { color: shade($menubar_fg_color, 1.08); } + } + } +} + + +/****** + ! Menu +*******/ + +@include exports("menu") { + + menu, + .menu, + .context-menu { + border-radius: 0; + padding: $spacing; + background-color: $menu_bg_color; + color: $menu_fg_color; + border: 1px solid mix($menu_bg_color, $menu_fg_color, .21); + + + .csd & { border: 0; } // axes borders in a composited env + + &:selected { + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + // A little hack to get some extra space above/below menuitem separators + separator, + .csd & separator { + background-image: image($menu_borders_color); + margin: (if($spacing > 2px, $spacing, 2px) - 2px) 0; + } + + // Firefox workaround + .separator, + .csd & .separator { + color: $menu_borders_color; + } + + menuitem { + min-height: 10px + $spacing * 2; + min-width: 40px; + padding: ($spacing + 2px); + border-radius: 0; + + &:active, &:hover { + border: 0; + background-color: $selected_bg_color; + background-image: none; + color: $selected_fg_color; + + accelerator { + color: mix($selected_fg_color, $selected_bg_color, .6); + } + } + + *:active, *:hover { color: $selected_fg_color; } + + &:disabled, *:disabled { + color: mix($menu_fg_color, $menu_bg_color, .5); + } + + // submenu indicators + arrow { + min-height: 16px; + min-width: 16px; + + &:dir(ltr) { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); + margin-left: 10px; + } + + &:dir(rtl) { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); + margin-right: 10px; + } + } + + &.button, &.button.flat { + &, &:focus, &:active, &:disabled, &:active:disabled { + background-color: transparent; + background-image: none; + border: 0; + box-shadow: none; + color: currentColor; + } + + &:hover, &:focus:hover, &:active:hover, &:selected { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + + calendar { @include menu_calendar($menu_bg_color, $menu_fg_color); } + + // avoids labels color being overridden, see + // https://bugzilla.gnome.org/show_bug.cgi?id=767058 + label { &:dir(rtl), &:dir(ltr) { color: inherit; } } + } + + // overflow arrows + > arrow { + //@include button(undecorated); + + min-height: 16px; + min-width: 16px; + padding: $spacing; + background-color: $menu_bg_color; + border-radius: 0; + + &.top { + margin-top: -6px; + border-bottom: 1px solid $menu_borders_color; + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); + } + + &.bottom { + margin-bottom: -6px; + border-top: 1px solid $menu_borders_color; + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + } + + &:hover { + background-color: mix($menu_bg_color, $menu_fg_color, .1); + } + + &:backdrop { background-color: $backdrop_menu_color; } + + &:disabled { + color: transparent; + background-color: transparent; + border-color: transparent; + } + } + } + + .context-menu { font: initial; } // Decouple the font of context menus from their entry/textview + + .monospace { font-family: monospace; } + + menuitem { + accelerator { + color: alpha($menu_fg_color, .6); + + &:hover { color: alpha($selected_fg_color, .8); } + + &:disabled { color: alpha(mix($menu_fg_color, $menu_bg_color, .5), .4); } + } + + check, radio { + min-height: 16px; + min-width: 16px; + + &:dir(ltr) { margin-right: 7px; } + + &:dir(rtl) { margin-left: 7px; } + } + + window decoration { + box-shadow: 0 2px 3px alpha($black, .2); + } + + entry { @include entry($menu_bg_color, $menu_fg_color); } + } +} + + +/********* + ! Popover +**********/ + +@include exports("popover") { + popover.background { + padding: if($spacing > 3px, $spacing, 3px) - 3px; + border-radius: $roundness; + background-clip: border-box; + background-color: $menu_bg_color; + background-image: none; + color: $menu_fg_color; + box-shadow: 0 3px 6px alpha($black, .16); + + .csd &, & { + @include border_tng($menu_fg_color, $menu_bg_color, .5); + border-width: 1px; + border-style: solid; + } + + &:backdrop { box-shadow: none; } + + treeview.view { + &:hover, &:selected, &:selected:focus, &:backdrop:selected, &:backdrop:selected:focus { border-top-color: $selected_bg_color; } + + &, &:backdrop { border-top-color: shade($menu_bg_color, ($contrast + .4)); } + } + + view, .view, list { + &:hover { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &, &:backdrop { + background-color: mix($menu_bg_color, $menu_fg_color, ($contrast + .5)); + background-image: none; + color: $menu_fg_color; + border-color: border_normal_tng($menu_fg_color, $menu_bg_color); + } + } + + list row { + &, .button { + background-color: transparent; + background-image: none; + color: $menu_fg_color; + + &:focus, &:hover, &:active { + background-image: none; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + } + } + + .frame { + border-color: border_normal_tng($menu_fg_color, $menu_bg_color); + border-radius: $roundness; + } + + entry { @include entry($base_color, $text_color); } + + button { + @include button($header_button_bg_color, $header_button_fg_color); + + &.flat:not(:hover) { + color: $menubar_fg_color; + } + } + + .linked > button { @include linked_button($header_button_bg_color, $header_button_fg_color); } + + > list, > .view, > toolbar { + border-style: none; + background-color: transparent; + } + } + + modelbutton.flat, + menuitem.button.flat { + @extend %undecorated_button; + + padding: $spacing; + padding-left: max($spacing, $roundness); + transition: none; + + &:hover { + border-radius: $roundness; + background-color: $selected_bg_color; + color: $selected_fg_color; + } + + &:active, &:selected { &, arrow { @extend %selected_items; } } + + &:checked { color: $fg_color; } + + arrow { + &.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); } + + &.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } + } + + // FIXME: temporary workaround + check:last-child, + radio:last-child { margin-left: 8px; } + + check:first-child, + radio:first-child { margin-right: 8px; } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_misc.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_misc.scss new file mode 100644 index 00000000..3f0bb321 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_misc.scss @@ -0,0 +1,328 @@ +/*************** +! Dimmed label * +****************/ + +@include exports("dimlabel") { + .dim-label { + opacity: .5; + text-shadow: none; + } +} + + +/*********** + ! Tooltip * +************/ + +@include exports("tooltip") { + .tooltip, // Firefox fix + tooltip { + &.background { + &, &.csd { + background-color: $tooltip_bg_color; + background-clip: padding-box; + border: 1px solid border_normal($tooltip_bg_color); + border-radius: $roundness; + color: $tooltip_fg_color; + } + } + + * { + background-color: transparent; + color: inherit; + } + } +} + + +/*********** + ! Dialogs * +************/ + +@include exports("dialogs") { + messagedialog, .message-dialog, .prompt { + -GtkDialog-content-area-border: 0; + -GtkDialog-action-area-border: 0; + -GtkDialog-button-spacing: $spacing; + + margin: 0; + padding: 0; + + .dialog-action-box { margin: $spacing * 2; } + } + + printdialog { + paper { + color: $fg_color; + border: 1px solid $borders_color; + background: $white; + padding: 0; + + &:backdrop { + color: $backdrop_fg_color; + border-color: $backdrop_borders_color; + } + } + + .dialog-action-box { margin: $spacing * 2; } + } +} + + +/********************* + ! App notifications * +**********************/ + +@include exports("notifications") { + frame.app-notification { + border-style: solid; + border-color: border_normal($osd_bg); + border-width: 0 1px 1px; + border-radius: 0 0 $roundness $roundness; + padding: $spacing * 2; + background-color: $osd_bg; + background-image: none; + color: $osd_fg; + + button { + @include button($osd_bg, $osd_fg); + } + + border { + border: 0; + } + } +} + + +/************* + ! Expanders * +**************/ + +@include exports("expander") { + expander { + arrow { + min-width: 16px; + min-height: 16px; + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); + + &:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } + + &:hover { color: alpha(currentColor, .8); } //only lightens the arrow + + &:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } + } + } +} + + +/******************* + ! Symbolic images * +********************/ + +@include exports("symbolicimage") { + .image { + color: alpha(currentColor, .5); + + &:hover { color: alpha(currentColor, .9); } + + &:selected, &:selected:hover { color: $selected_fg_color; } + } +} + + +/**************** + ! Floating bar * +*****************/ + +@include exports("floatingbar") { + .floating-bar { + @include linear-gradient($bg_color); + + border: 1px solid border_normal($bg_color); + border-radius: $roundness; + color: $fg_color; + + &.top { + border-top-width: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; + } + + &.right { + border-right-width: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + &.bottom { + border-bottom-width: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + + &.left { + border-left-width: 0; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + button { + border: 0; + background-color: transparent; + background-image: none; + } + } +} + + +/************************* + ! Touch text selections * +**************************/ + +@include exports("touchbubble") { + GtkBubbleWindow { + border-radius: $roundness; + background-clip: border-box; + + &.osd.background { background-color: $osd_bg; } + + .toolbar { background-color: transparent; } + } +} + +/*************** + ! Font-viewer * +****************/ + +@include exports("fontviewer") { + SushiFontWidget { + padding: $spacing ($spacing * 2); + } +} + + +/************* + ! Gucharmap * +**************/ + +@include exports("charmap") { + GucharmapChartable { + background-color: $base_color; + color: $text_color; + + &:focus, &:hover, &:active, &:selected { @extend %selected; } + } +} + + +/************* + ! Evolution * +**************/ + +@include exports("evolution") { + EPreviewPane .entry { + background-color: $base_color; + color: $text_color; + } +} + + +/******************* + ! Gnome Bluetooth * +********************/ + +@include exports("gnome-bluetooth") { + // Base code: https://github.com/GNOME/gnome-bluetooth/blob/a93575c4b590e2b831da32f739294bb2f197d420/lib/bluetooth-settings.css + entry.entry.pin-entry { + font-style: normal; + font-size: 50px; + padding-left: $spacing * 5; + padding-right: $spacing * 5; + } + + label.pin-label { + font-style: normal; + font-size: 50px; + } +} + + +/************************ + ! Shortcut window keys * +*************************/ + +@include exports("keycap") { + // shortcut window keys + .keycap { + min-width: 20px; + min-height: 24px; + margin-top: 2px; + padding-bottom: $spacing / 2; + padding-left: $spacing; + padding-right: $spacing; + + color: $fg_color; + background-color: $base_color; + border: 1px solid; + border-color: if($variant == "light", mix($borders_color, $bg_color, .5), $borders_color); + border-radius: $roundness; + box-shadow: if($variant == "light", inset 0 -3px mix($base_color, $bg_color, .2), inset 0 -3px mix($borders_color, $base_color, .6)); + font-size: smaller; + + &:backdrop { + background-color: $backdrop_base_color; + color: $backdrop_fg_color; + transition: 200ms ease-out; + } + } +} + + +/***************** + ! Stackswitcher * +******************/ + +@include exports("stackswitcher") { + stackswitcher button { + &.text-button { min-width: 80px; } // FIXME aggregate with buttons + + &.circular { // FIXME aggregate with buttons + min-width: 28px; + min-height: 28px; + padding: 0; + } + } +} + + +/******************* + ! Selected Items * +********************/ + +@include exports("selected_items") { + %selected_items-disabled { + color: mix($selected_fg_color, $selected_bg_color, .5); + } + + %selected_items-backdrop { + background-color: $backdrop_selected_bg_color; // Fixed Issue #430 + color: $backdrop_selected_fg_color; + + &:disabled { color: mix($backdrop_selected_fg_color, $selected_bg_color, .3); } + } + + %selected_items { + background-color: $selected_bg_color; + + @at-root %nobg_selected_items, & { + color: $selected_fg_color; + + @if $variant == "light" { outline-color: transparentize($selected_fg_color, .7); } + + &:disabled { @extend %selected_items-disabled; } + + &:backdrop { @extend %selected_items-backdrop; } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_notebook.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_notebook.scss new file mode 100644 index 00000000..2335b4ec --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_notebook.scss @@ -0,0 +1,262 @@ +@import "button"; + + +/********** + ! Notebook +***********/ + +@include exports("notebook") { + + $tab_border_width: 1px; + $tab_marker_width: 3px; + $max_single_tab_roundness: 6px; + $max_tab_bar_roundness: 13px; + $vertical_tab_spacing: $spacing + if($roundness <= $max_tab_bar_roundness, + if($roundness > 8px, $roundness, 8px), + 8px + ); + + notebook { + padding: 0; + + &.frame { + border: 1px solid $borders_color; + + > header { + // ugly hack to hide the borders around the header + margin: -1px; + + &.top { margin-bottom: 0; } + + &.bottom { margin-top: 0; } + + &.left { margin-right: 0; } + + &.right { margin-left: 0; } + + &.top, &.bottom { padding-left: 0; padding-right: 0; } + + &.left, &.right { padding-top: 0; padding-bottom: 0; } + } + } + + > stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks + background-color: $bg_color; + } + + > header { + padding: $spacing; + background-color: $bg_color; + + &.top { + box-shadow: inset 0 -1px $borders_color; + } + + &.bottom { + box-shadow: inset 0 1px $borders_color; + } + + &.right { + box-shadow: inset 1px 0 $borders_color; + } + + &.left { + box-shadow: inset -1px 0 $borders_color; + } + + + // overflow arrows + &.top, &.bottom { + > tabs > arrow.up { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); + + &:last-child { margin-left: 2px; } + } + + > tabs > arrow.down { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); + + &:first-child { margin-right: 2px; } + } + } + + &.left, &.right { + > tabs > arrow.up { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + + &:last-child { margin-top: 2px; } + } + + > tabs > arrow.down { + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); + + &:first-child { margin-bottom: 2px; } + } + } + + > tabs > arrow { + @extend %close_button; + color: $insensitive_fg_color; + + &:hover { color: mix($fg_color, $insensitive_fg_color, .5); } + + &:active { color: $fg_color; } + + &:disabled { color: alpha($insensitive_fg_color, .3); } + } + + > tabs > tab { + @include linear-gradient(alpha(mix($bg_color, $fg_color, .1), .7)); + border-color: mix($borders_color, $insensitive_fg_color, .15); + color: alpha($fg_color, .8); + + padding: $spacing $vertical_tab_spacing; + min-width: 20px; + min-height: 20px; + outline-offset: -4px; + border-width: $tab_border_width; + border-style: solid; + + &:hover:not(:checked) { + //@include linear-gradient(mix($bg_color, $fg_color, .12)); + @include linear-gradient(mix($bg_color, $fg_color, .04)); + color: mix($fg_color, $insensitive_fg_color, .5); + } + + &:checked, &:checked:hover { + background: $bg_color; + border-color: $borders_color; + color: $fg_color; + } + + // close button + button.flat { + min-height: 22px; + min-width: 22px; + padding: 0; + color: mix($bg_color, $fg_color, .35); + + &:hover { + @extend %undecorated_button; + color: lighten($error_color, 15%); + } + + &:active, &:active:hover { + @extend %undecorated_button; + color: $selected_bg_color; + } + } + } + + // tab colors + + &.top > tabs > tab:hover:not(:checked) { box-shadow: inset 0 -1px $borders_color; } + + &.bottom > tabs > tab:hover:not(:checked) { box-shadow: inset 0 1px $borders_color; } + + &.left > tabs > tab:hover:not(:checked) { box-shadow: inset -1px 0 $borders_color; } + + &.right > tabs > tab:hover:not(:checked) { box-shadow: inset 1px 0 $borders_color; } + + @each $_pos, $_bpos in (top, bottom), (bottom, top), (right, left), (left, right) { + // sizing and borders + &.#{$_pos} { + padding-#{$_bpos}: 0; + + > tabs > tab { + border-#{$_bpos}: none; + //border-#{$_pos}-color: $bg_color; + -gtk-outline-radius: 0; + + @if $roundness <= $max_single_tab_roundness { + margin-#{$_pos}: $roundness; + } + // tab overlap + + tab { + @if $_pos == top or $_pos == bottom { + margin-left: -1px; + } @else { + margin-top: -1px; + } + } + + // tab border radius + &:first-child { + @if $roundness <= $max_tab_bar_roundness { + @if $_pos == top { + border-radius: $roundness 0 0; + -gtk-outline-radius: $roundness 0 0; + } @else if $_pos == bottom { + border-radius: 0 0 0 $roundness; + -gtk-outline-radius: 0 0 0 $roundness; + } @else if $_pos == left { + border-radius: $roundness 0 0; + -gtk-outline-radius: $roundness 0 0; + } @else if $_pos == right { + border-radius: 0 $roundness 0 0; + -gtk-outline-radius: 0 $roundness 0 0; + } + } @else { + border-radius: 0; + } + } + + &:last-child { + @if $roundness <= $max_tab_bar_roundness { + @if $_pos == top { + border-radius: 0 $roundness 0 0; + -gtk-outline-radius: 0 $roundness 0 0; + } @else if $_pos == bottom { + border-radius: 0 0 $roundness; + -gtk-outline-radius: 0 0 $roundness; + } @else if $_pos == left { + border-radius: 0 0 0 $roundness; + -gtk-outline-radius: 0 0 0 $roundness; + } @else if $_pos == right { + border-radius: 0 0 $roundness; + -gtk-outline-radius: 0 0 $roundness; + } + } @else { + border-radius: 0; + } + } + + &:hover:not(:checked), + &:checked { + $compensate_tab_marker_padding: $tab_marker_width - $tab_border_width - if( + $roundness <= $max_single_tab_roundness, $roundness, 0 + ); + border-#{$_pos}-width: $tab_marker_width; + border-#{$_pos}-color: $selected_bg_color; + margin-#{$_pos}: 0; + + @if $roundness <= $max_single_tab_roundness { + -gtk-outline-radius: $roundness; + @if $_pos == top { + border-radius: $roundness $roundness 0 0; + } @else if $_pos == bottom { + border-radius: 0 0 $roundness $roundness; + } @else if $_pos == left { + border-radius: $roundness 0 0 $roundness; + } @else if $_pos == right { + border-radius: 0 $roundness $roundness 0; + } + } + @if $_pos == top or $_pos == bottom { + padding-#{$_pos}: if($spacing > $compensate_tab_marker_padding, $spacing, $compensate_tab_marker_padding) - $compensate_tab_marker_padding; + } @else if $_pos == left or $_pos == right { + padding-#{$_pos}: if($vertical_tab_spacing > $compensate_tab_marker_padding, $vertical_tab_spacing, $compensate_tab_marker_padding) - $compensate_tab_marker_padding; + } + } + + &:hover:not(:checked) { + border-#{$_pos}-color: mix($selected_bg_color, mix($bg_color, $fg_color, .2), .66); + } + } + } + } + + } + } + +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_osd.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_osd.scss new file mode 100644 index 00000000..4f0bbb5f --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_osd.scss @@ -0,0 +1,268 @@ +@import "button"; + + +/******* + ! OSD * +********/ + +@include exports("osd") { + overlay.osd { background-color: transparent; } + + colorchooser .popover.osd { border-radius: $roundness; } + + button.color { + .osd colorswatch:only-child { box-shadow: none; } + + @if $variant == "light" { + .osd & { + &:disabled, + &:backdrop, + &:active, + &:checked { colorswatch:only-child { box-shadow: none; } } + } + } + } + + button.osd, + #XfceNotifyWindow button { + @include button($osd_bg, $osd_fg); + + &.image-button { + padding: 0; + min-height: 36px; + min-width: 36px; + } + } + + // stand-alone OSD toolbars + toolbar.osd { + -GtkToolbar-button-relief: normal; + + padding: $spacing; + border: 1px solid border_normal($osd_bg); + border-radius: $roundness; + background-color: $osd_bg; + background-image: none; + color: $osd_fg; + + separator { color: shade($osd_bg, ($contrast + .1)); } + + &.left, + &.right, + &.top, + &.bottom { border-radius: 0; } // positional classes for `attached` osd toolbars + } + + progressbar.osd { // progressbar.osd used for epiphany page loading progress + margin: 2px; + min-height: 2px; + min-width: 2px; + + trough { + border-style: none; + border-radius: 0; + background-image: none; + background-color: transparent; + } + + progress { + border-style: none; + border-radius: 0; + background-color: $selected_bg_color; + background-image: none; + } + } + + .osd, + #XfceNotifyWindow { + background-color: $osd_bg; + color: $osd_fg; + + &.background { + background-color: alpha($osd_bg, .8); + color: $osd_fg; + } + + .frame { + background-clip: border-box; + background-origin: border-box; + } + + button { @include button($osd_bg, $osd_fg); } + + entry { @include entry($osd_base, $osd_text_color, $osd_borders_color); } + + /* used by gnome-settings-daemon's media-keys OSD */ + trough, + &.trough { + background-color: alpha($osd_fg, .3); + } + + progressbar, + &.progressbar { + background-color: $osd_fg; + } + + // Old GTK 3.0 code + scale { + slider { + @include linear-gradient(shade($osd_bg, 1.08)); + @include border_tng($osd_fg, $osd_bg); + + &:disabled { @include linear-gradient(shade($osd_bg, .9)); } + } + + trough { + border-color: shade($osd_bg, .8); + background-color: shade($osd_bg, 1.08); + background-image: none; + + &.highlight { + border-color: $selected_bg_color; + background-color: $selected_bg_color; + background-image: none; + } + + &:disabled, &.highlight:disabled { + border-color: shade($osd_bg, .85); + background-color: shade($osd_bg, .9); + background-image: none; + } + } + } + + // New GTK 3.20 code + scale { + //OSD troughs + trough { + background-color: lighten($osd_bg, 7%); + + highlight { background-color: $selected_bg_color; } + } + + // OSD sliders + slider { + background-clip: border-box; + background-color: $selected_bg_color; + border-color: $selected_bg_color; + + &:hover { + background-color: lighten($selected_bg_color, 10%); + border-color: lighten($selected_bg_color, 10%); + } + + &:active { + background-color: darken($selected_bg_color, 10%); + border-color: darken($selected_bg_color, 10%); + } + } + } + + &.view, .view, view { background-color: $osd_bg; } + + scrollbar { + trough { background-color: $osd_bg; } + + slider { + border: 1px solid mix(shade($osd_bg, .87), $osd_fg, .21); + border-radius: 0; + background-color: mix($osd_bg, $osd_fg, .21); + + &:hover { + border-color: mix(shade($osd_bg, .87), $osd_fg, .31); + background-color: mix($osd_bg, $osd_fg, .31); + } + + &:active { + border-color: shade($selected_bg_color, .9); + background-color: $selected_bg_color; + } + } + } + + iconview.cell { + &:selected, &:selected:focus { + background-color: transparent; + border: 3px solid mix(shade($osd_bg, .87), $osd_fg, .21); + border-radius: $roundness; + outline-color: transparent; + } + } + + /* used by Documents */ + .page-thumbnail { + border: 1px solid shade($osd_bg, .9); + /* when there's no pixbuf yet */ + background-color: $osd_bg; + } + + popover.background { + box-shadow: 0 2px 7px 3px alpha($black, .5); + + > toolbar button { + border-radius: 0; + border-width: 0; + background-color: transparent; + background-image: none; + } + } + + spinbutton { + // OSD horizontal + &:not(.vertical) { + @include linear-gradient($osd_base, to top); + @include border_tng($osd_text_color, $osd_base); + + padding: 0; + + color: $osd_text_color; + caret-color: $osd_text_color; + + &:focus, &:active { border-color: border_focus($osd_borders_color); } + + &:disabled { + @include linear-gradient(shade($osd_base, .9), to top); + + color: mix($osd_base, $osd_text_color, .5); + } + + button { + @include button($osd_bg, $osd_fg); + + border-radius: 0; + border-color: transparentize($osd_borders_color, .3); + border-style: none none none solid; + background-image: none; + box-shadow: none; + + &:dir(rtl) { border-style: none solid none none; } + + &:active, &:checked, &:hover { color: $osd_text_color; } + + &:disabled { color: alpha($osd_insensitive_fg_color, .8); } + + &:backdrop { color: mix($backdrop_base_color, $backdrop_fg_color, .9); } + + &:active { box-shadow: inset 0 2px 3px -1px transparentize($black, .8); } + + &:backdrop:disabled { + color: alpha($backdrop_insensitive_color, .8); + + border-style: none none none solid; // It is needed or it gets overridden + + &:dir(rtl) { border-style: none solid none none; } + } + + &:dir(rtl):first-child { border-radius: $roundness 0 0 $roundness; } + + &:dir(ltr):last-child { border-radius: 0 $roundness $roundness 0; } + } + } + + // OSD vertical + &.vertical button:first-child { + @include button($osd_bg, $osd_fg); + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_overshoot.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_overshoot.scss new file mode 100644 index 00000000..a46fc074 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_overshoot.scss @@ -0,0 +1,150 @@ +@mixin overshoot($position, $type: normal, $color: $selected_bg_color) { + $_small_gradient_length: 5%; + $_big_gradient_length: 100%; + + $_position: center top; + $_small_gradient_size: 100% $_small_gradient_length; + $_big_gradient_size: 100% $_big_gradient_length; + + @if $position == bottom { + $_position: center bottom; + $_linear_gradient_direction: to top; + } @else if $position == right { + $_position: right center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } @else if $position == left { + $_position: left center; + $_small_gradient_size: $_small_gradient_length 100%; + $_big_gradient_size: $_big_gradient_length 100%; + } + + $_small_gradient_color: $color; + $_big_gradient_color: $color; + + @if $color == $fg_color { + $_small_gradient_color: shade($borders_color, .9); + $_big_gradient_color: $fg_color; + + @if $type == backdrop { $_small_gradient_color: $backdrop_borders_color; } + } + + $_small_gradient: -gtk-gradient(radial, + $_position, 0, + $_position, .5, + to(alpha($_small_gradient_color, .35)), + to(alpha($_small_gradient_color, .25))); + + $_big_gradient: -gtk-gradient(radial, + $_position, 0, + $_position, .6, + from(alpha($_big_gradient_color, .2)), + to(alpha($_big_gradient_color, 0))); + + @if $type == normal { + background-image: $_small_gradient, $_big_gradient; + background-size: $_small_gradient_size, $_big_gradient_size; + } @else if $type == backdrop { + background-image: $_small_gradient; + background-size: $_small_gradient_size; + } + + background-repeat: no-repeat; + background-position: $_position; + + background-color: transparent; // reset some properties to be sure to not inherit them somehow + border: 0; + box-shadow: none; +} + +@mixin undershoot($position) { + $_undershoot_color_dark: alpha($black, .2); + $_undershoot_color_light: alpha($white, .2); + + $_gradient_dir: left; + $_dash_bg_size: 10px 1px; + $_gradient_repeat: repeat-x; + $_bg_pos: center $position; + + background-color: transparent; // shouldn't be needed, but better to be sure; + + @if ($position == left) or ($position == right) { + $_gradient_dir: top; + $_dash_bg_size: 1px 10px; + $_gradient_repeat: repeat-y; + $_bg_pos: $position center; + } + + // Disable + /*background-image: linear-gradient(to $_gradient_dir, // this is the dashed line + $_undershoot_color_light 50%, + $_undershoot_color_dark 50%);*/ + + padding-#{$position}: 1px; + background-size: $_dash_bg_size; + background-repeat: $_gradient_repeat; + background-origin: content-box; + background-position: $_bg_pos; + border: 0; + box-shadow: none; +} + +scrolledwindow { + viewport.frame { // avoid double borders when viewport inside scrolled window + border-style: none; + } + + // This is used by GtkScrolledWindow, when content is touch-dragged past boundaries. + // This draws a box on top of the content, the size changes programmatically. + overshoot { + &.top { + @include overshoot(top); + + &:backdrop { @include overshoot(top, backdrop); } + } + + &.bottom { + @include overshoot(bottom); + + &:backdrop { @include overshoot(bottom, backdrop); } + } + + &.left { + @include overshoot(left); + + &:backdrop { @include overshoot(left, backdrop); } + } + + &.right { + @include overshoot(right); + + &:backdrop { @include overshoot(right, backdrop); } + } + } + + // Overflow indication, works similarly to the overshoot, the size if fixed tho. + undershoot { + &.top { @include undershoot(top); } + + &.bottom { @include undershoot(bottom); } + + &.left { @include undershoot(left); } + + &.right { @include undershoot(right); } + } + + junction { // the small square between two scrollbars + border-color: transparent; + // the border image is used to add the missing dot between the borders, details, details, details... + border-image: linear-gradient(to bottom, $borders_color 1px, transparent 1px) 0 0 0 1 / 0 1px stretch; + background-color: $scrollbar_bg_color; + + &:dir(rtl) { border-image-slice: 0 1 0 0; } + + &:backdrop { + border-image-source: linear-gradient(to bottom, $backdrop_borders_color 1px, transparent 1px); + background-color: $backdrop_scrollbar_bg_color; + transition: 200ms ease-out; + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_progress.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_progress.scss new file mode 100644 index 00000000..17ae169e --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_progress.scss @@ -0,0 +1,364 @@ +/***************** + ! Progress bars * +******************/ + +@include exports("progressbar") { + progressbar { + padding: 0; + border-radius: $roundness; + font-size: smaller; + color: alpha($fg_color, .6); + + // sizing + &.horizontal { + trough, + progress { min-height: 3px + $spacing; } + } + + &.vertical { + trough, + progress { min-width: 3px + $spacing; } + } + + trough { + border: 1px solid mix($bg_color, $fg_color, .17); + background-color: mix($base_color, $bg_color, .08); + background-image: none; + border-radius: $roundness; + } + + progress { + @include linear-gradient($selected_bg_color); + + border-radius: 0; + + &.left { + border-top-left-radius: $roundness; + border-bottom-left-radius: $roundness; + } + + &.right { + border-top-right-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &.bottom { + border-bottom-left-radius: $roundness; + border-bottom-right-radius: $roundness; + } + + &.top { + border-top-left-radius: $roundness; + border-top-right-radius: $roundness; + } + } + } + + levelbar { + &.horizontal block { + min-width: 34px; + min-height: 4px; + } + + &.vertical block { + min-width: 4px; + min-height: 34px; + } + + &:backdrop { transition: 200ms ease-out; } + + trough { + background-color: mix($base_color, $bg_color, .08); + + border: 1px solid mix($bg_color, $fg_color, .17); + border-radius: $roundness; + padding: 2px; // make discrete block appear inside levelbar + } + + &.horizontal.discrete block { + margin: 0 1px; + + &:first-child { margin: 0; } + } + + &.vertical.discrete block { + margin: 1px 0; + + &:first-child { margin: 0; } + } + + block { + background-color: $selected_bg_color; + + border-color: transparent; + border-radius: $roundness; + + &.low { + background-color: $warning_color; + border-color: transparent; + } + + &.high, + &:not(.empty) { + background-color: $success_color; + border-color: transparent; + } + + &.full { + background-color: shade($selected_bg_color, .8); + border-color: transparent; + } + + &.empty { + background-color: transparent; + border-color: transparent; + box-shadow: none; + } + } + } + + scale { + $_marks_length: 3px; + $_marks_distance: 1px; + $ease-out-quad: cubic-bezier(.25, .46, .45, .94); + $button_transition: all 200ms $ease-out-quad; + + min-height: 7px + $spacing; + min-width: 7px + $spacing; + padding: $spacing; + + &.horizontal { + trough { padding: 0 3px; } + + highlight, fill { margin: 0 -4px; } + } + + &.vertical { + trough { padding: 3px 0; } + + highlight, fill { margin: -4px 0; } + } + + // The slider is inside the trough, negative margin to make it bigger + slider { + min-height: 9px + $spacing * 2; + min-width: 9px + $spacing * 2; + margin: -4px - $spacing; + } + + // Click-and-hold the slider to activate + &.fine-tune { + // Make the trough grow in fine-tune mode + slider { margin: -4px - $spacing; } + + highlight { background-color: shade($selected_bg_color, 1.1); } + + fill, + highlight, + trough { + border-radius: 2px + $spacing; + -gtk-outline-radius: 4px + $spacing; + } + } + + // Trough + trough { + $_scale_trough_bg: mix($bg_color, $fg_color, .2); + + outline-offset: 2px; + -gtk-outline-radius: 4.5px; + + border-radius: 2.5px; + background-color: $_scale_trough_bg; + + &:disabled { background-color: mix($bg_color, $fg_color, .1); } + + // Troughs in selected list-rows and infobars + menuitem:hover &, + row:selected &, + infobar & { + background-color: transparentize($black, .8); + + highlight { + background-color: $selected_fg_color; + + &:disabled { background-color: mix($selected_fg_color, $selected_bg_color, .55); } + } + + &:disabled { background-color: transparentize($black, .9); } + } + } + + // The colored part of trough + highlight { + border-radius: 2.5px; + background-color: $selected_bg_color; + + &:disabled { background-color: transparentize($selected_bg_color, .45); } + } + + // this is another differently styled part of the trough, the most relevant use case is for example + // in media player to indicate how much video stream as been cached + fill { + border-radius: 2.5px; + background-color: transparentize($selected_bg_color, .5); + + &:disabled { background-color: transparent; } + } + + slider { + $_slider_border: $button_border; + + background-color: $button_bg_color; + border: 1px solid $_slider_border; + border-radius: 100%; + //border-radius: $roundness; + + transition: $button_transition; + transition-property: background, border; + + &:hover { background-color: lighten($button_bg_color, 5%); } + + &:active { + background-clip: border-box; + background-color: $selected_bg_color; + border-color: $selected_bg_color; + } + + &:disabled { + background-color: mix($button_bg_color, $bg_color, .55); + border-color: mix($button_fg_color, $bg_color, .92); + } + + // Selected list-row and infobar sliders + menuitem:hover &, + row:selected &, + infobar & { + background-clip: border-box; + background-color: $selected_fg_color; + border-color: $selected_fg_color; + + &:hover { + background-color: mix($selected_fg_color, $selected_bg_color, .85); + border-color: mix($selected_fg_color, $selected_bg_color, .85); + } + + &:active { + background-color: mix($selected_fg_color, $selected_bg_color, .5); + border-color: mix($selected_fg_color, $selected_bg_color, .5); + } + + &:disabled { + background-color: mix($selected_fg_color, $selected_bg_color, .55); + border-color: mix($selected_fg_color, $selected_bg_color, .55); + } + } + } + + value { color: alpha(currentColor, .4); } + + marks { + color: alpha(currentColor, .4); + + @each $marks_class, $marks_pos, $marks_margin in (top, top, bottom), + (bottom, bottom, top), + (top, left, right), + (bottom, right, left) { + &.#{$marks_class} { + margin-#{$marks_margin}: $_marks_distance; + margin-#{$marks_pos}: -($_marks_distance + $_marks_length); + } + } + } + + &.fine-tune marks { + @each $marks_class, $marks_pos, $marks_margin in (top, top, bottom), + (bottom, bottom, top), + (top, left, right), + (bottom, right, left) { + &.#{$marks_class} { + margin-#{$marks_margin}: ($_marks_distance - 1px); + margin-#{$marks_pos}: -($_marks_distance + $_marks_length - 2px); + } + } + } + + &.horizontal { + indicator { + min-height: $_marks_length; + min-width: 1px; + } + + &.fine-tune indicator { min-height: ($_marks_length - 1px); } + } + + &.vertical { + indicator { + min-height: 1px; + min-width: $_marks_length; + } + + &.fine-tune indicator { min-width: ($_marks_length - 1px); } + } + + &.color { + trough { + padding: 0; + border: 0; + background-image: none; + } + + highlight, fill { margin: 0; } + + &.horizontal { + padding: 0 0 3px + $spacing; + + trough { + border-top-left-radius: 0; + border-top-right-radius: 0; + } + + slider { + &:hover, &:backdrop, &:disabled, &:backdrop:disabled, & { + margin-bottom: 0; + margin-top: 0; + } + } + } + + &.vertical { + &:dir(ltr) { + padding: 0 0 0 3px + $spacing; + + trough { + border-bottom-right-radius: 0; + border-top-right-radius: 0; + } + + slider { + &:hover, &:backdrop, &:disabled, &:backdrop:disabled, & { + margin-left: 0; + margin-right: 0; + } + } + } + + &:dir(rtl) { + padding: 0 3px + $spacing 0 0; + + trough { + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + + slider { + &:hover, &:backdrop, &:disabled, &:backdrop:disabled, & { + margin-right: 0; + margin-left: 0; + } + } + } + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_scrollbar.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_scrollbar.scss new file mode 100644 index 00000000..81739865 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_scrollbar.scss @@ -0,0 +1,145 @@ +/*********** + ! Scrollbar +************/ + +@include exports("scrollbar") { + scrollbar { + $_slider_min_length: 40px; + $_slider_normal_width: 7px; + $_slider_small_width: 4px; + + // disable steppers + @at-root * { + -GtkScrollbar-has-backward-stepper: false; + -GtkScrollbar-has-forward-stepper: false; + } + + background-color: $scrollbar_bg_color; + transition: 300ms ease-out; + + // scrollbar border on the content side + &.top { border-bottom: 1px solid $borders_color; } + + &.bottom { border-top: 1px solid $borders_color; } + + &.left { border-right: 1px solid $borders_color; } + + &.right { border-left: 1px solid $borders_color; } + + &:backdrop { + background-color: $backdrop_scrollbar_bg_color; + border-color: $backdrop_borders_color; + transition: 400ms ease-in; + } + + slider { + min-width: $_slider_normal_width; + min-height: $_slider_normal_width; + border: 1px solid transparent; + border-radius: $roundness; + background-clip: padding-box; + background-color: $scrollbar_slider_color; + + &:hover { background-color: $scrollbar_slider_hover_color; } + + &:hover:active { background-color: $scrollbar_slider_active_color; } + + &:backdrop { background-color: $backdrop_scrollbar_slider_color; } + + &:disabled { background-color: transparent; } + } + + &.horizontal slider { min-width: $_slider_min_length; } + + &.vertical slider { min-height: $_slider_min_length; } + + &.fine-tune slider:active { + background-color: lighten($scrollbar_slider_active_color, 10%); + } + + &.overlay-indicator { + opacity: .8; + + &:not(.dragging):not(.hovering) { + border-color: transparent; + opacity: .4; + background-color: transparent; + + slider { + min-width: $_slider_small_width; + min-height: $_slider_small_width; + background-color: $fg_color; + border: 1px solid if($variant == 'light', $white, $black); + } + + // hide steppers + button { + min-width: $_slider_small_width; + min-height: $_slider_small_width; + border-color: transparent; + -gtk-icon-source: none; + } + + &.horizontal { + slider { min-width: $_slider_min_length; } + + button { min-width: $_slider_normal_width; } + } + + &.vertical { + slider { min-height: $_slider_min_length; } + + button { min-height: $_slider_normal_width; } + } + } + } + + // stepper styling + button { + min-width: $_slider_normal_width; + min-height: $_slider_normal_width; + padding: 0; + border: 0; + border-radius: 0; + border-color: $borders_color; // FIXME overwritten by global button definition + background-color: transparent; + box-shadow: none; + color: $scrollbar_slider_color; + + &:hover { color: $scrollbar_slider_hover_color; } + + &:active, &:checked { color: $scrollbar_slider_active_color; } + + &:backdrop { color: $backdrop_scrollbar_slider_color; } + } + + // button icons + &.vertical { + button { + &.down { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); + border-top: 1px solid $borders_color; + } + + &.up { + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); + border-bottom: 1px solid $borders_color; + } + } + } + + &.horizontal { + button { + &.down { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); + border-left: 1px solid $borders_color; + } + + &.up { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); + border-right: 1px solid $borders_color; + } + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_sidebar.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_sidebar.scss new file mode 100644 index 00000000..8c40914b --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_sidebar.scss @@ -0,0 +1,226 @@ +/********* + ! Sidebar +**********/ + +@include exports("sidebar") { + .sidebar { + border-style: none; + background-color: mix($bg_color, $base_color, .5); + + @at-root %sidebar_left, + &:dir(ltr), + &.left, + &.left:dir(rtl) { + border-right: 1px solid $borders_color; + border-left-style: none; + } + + @at-root %sidebar_right + &:dir(rtl), + &.right { + border-left: 1px solid $borders_color; + border-right-style: none; + } + + &:backdrop { + background-color: $backdrop_sidebar_bg_color; + border-color: $backdrop_borders_color; + transition: 200ms ease-out; + } + + .frame, frame { border-width: 0; } + + //list { background-color: transparent; } + + paned & { &.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & { border-style: none; } } + } + + stacksidebar { + &.sidebar { + &:dir(ltr), + &.left, + &.left:dir(rtl) { + list { @extend %sidebar_left; } + } + + &:dir(rtl), + &.right { + list { @extend %sidebar_right; } + } + } + + row { + padding: $spacing * 2 $spacing; + + > label { + padding-left: $spacing; + padding-right: $spacing; + } + + &.needs-attention > label { + @extend %needs_attention; + + background-size: 6px 6px, 0 0; + } + } + } + + $_placesidebar_icons_opacity: .7; + + placessidebar { + > viewport.frame { border-style: none; } + + row { + // Needs overriding of the GtkListBoxRow padding + min-height: 32px; + padding: 0; + + // Using margins/padding directly in the SidebarRow + // will make the animation of the new bookmark row jump + > revealer { padding: 0 $spacing * 2; } + + &:selected { color: $selected_fg_color; } + + &:disabled { color: $insensitive_fg_color; } + + &:backdrop { + color: $backdrop_fg_color; + + &:selected { color: $backdrop_selected_fg_color; } + + &:disabled { color: $backdrop_insensitive_color; } + } + + image.sidebar-icon { + opacity: $_placesidebar_icons_opacity; // dim the device icons + + &:dir(ltr) { + padding-right: $spacing * 2 + 2; + padding-left: $spacing; + } + + &:dir(rtl) { + padding-left: $spacing * 2 + 2; + padding-right: $spacing; + } + } + + label.sidebar-label { + &:dir(ltr) { padding-right: 2px; } + + &:dir(rtl) { padding-left: 2px; } + } + + @at-root button.sidebar-button { + //@extend %button_basic.flat; + + //@extend %button_selected.flat; + + min-height: 20px; + min-width: 20px; + margin-top: 2px; + margin-bottom: 2px; + padding: 0; + border-radius: 100%; + -gtk-outline-radius: 100%; + + &:not(:hover):not(:active), + &:backdrop { + > image { opacity: $_placesidebar_icons_opacity; } + } + } + + // in the sidebar case it makes no sense to click the selected row + &:selected:active { box-shadow: none; } + + &.sidebar-placeholder-row { + padding: 0 8px; + min-height: 2px; + background-image: image($drop_target_color); + background-clip: content-box; + } + + &.sidebar-new-bookmark-row { color: $selected_bg_color; } + + &:drop(active):not(:disabled) { + color: $drop_target_color; + box-shadow: inset 0 1px $drop_target_color, + inset 0 -1px $drop_target_color; + + &:selected { + color: $selected_fg_color; + background-color: $drop_target_color; + } + } + } + } +} + + +/****** +! Paned +*******/ + +@include exports("paned") { + paned { + > separator { + min-width: 1px; + min-height: 1px; + -gtk-icon-source: none; // defeats the ugly default handle decoration + border-style: none; // just to be sure + background-color: transparent; + // workaround, using background istead of a border since the border will get rendered twice (?) + background-image: image(shade($bg_color, .9)); + background-size: 1px 1px; + background-position: center center; + + &:selected { background-image: image($selected_bg_color); } // FIXME is this needed? + + &:backdrop { background-image: image($backdrop_borders_color); } + + &.wide { + min-width: 5px; + min-height: 5px; + background-color: $bg_color; + background-image: image(border_normal($bg_color)), image(border_normal($bg_color)); + background-size: 1px 1px, 1px 1px; + + &:backdrop { + background-color: $backdrop_bg_color; + background-image: image($backdrop_borders_color), + image($backdrop_borders_color); + } + } + } + + &.horizontal > separator { + background-repeat: repeat-y; + padding: 0 2px; + margin: 0 -2px; + + &.wide { + margin: 0; + padding: 0; + background-repeat: repeat-y, repeat-y; + background-position: left, right; + } + } + + &.vertical > separator { + background-repeat: repeat-x; + padding: 2px 0; + margin: -2px 0; + + &.wide { + margin: 0; + padding: 0; + background-repeat: repeat-x, repeat-x; + background-position: bottom, top; + } + } + + &.titlebar > separator { + background-image: image(shade($titlebar_bg_focused, ($contrast + .1))); + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_spinner.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_spinner.scss new file mode 100644 index 00000000..9184446d --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_spinner.scss @@ -0,0 +1,24 @@ +/******************* + ! Spinner animation +********************/ + +@include exports("spinner") { + @keyframes spin { + to { -gtk-icon-transform: rotate(1turn); } + } + + spinner { + background-image: none; + color: $selected_bg_color; + opacity: 0; // non spinning spinner makes no sense + + -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); + + &:checked { + opacity: 1; + animation: spin 1s linear infinite; + + &:disabled { opacity: .5; } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_toggle.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_toggle.scss new file mode 100644 index 00000000..d566dcaf --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_toggle.scss @@ -0,0 +1,193 @@ +/*********************** + ! Check and Radio items +************************/ + +@mixin toggle($type) { + background-image: none; + + //-gtk-icon-source: url("../assets/#{$type}-unchecked.svg"); + + &:disabled { -gtk-icon-source: url("../assets/#{$type}-unchecked-insensitive.svg"); } + + &:checked, &:active { + -gtk-icon-source: url("../assets/#{$type}-checked.svg"); + + &:disabled { -gtk-icon-source: url("../assets/#{$type}-checked-insensitive.svg"); } + } + + &:indeterminate { + -gtk-icon-source: url("../assets/#{$type}-mixed.svg"); + + &:disabled { -gtk-icon-source: url("../assets/#{$type}-mixed-insensitive.svg"); } + } + + menuitem &, modelbutton & { + -gtk-icon-source: url("../assets/menuitem-#{$type}-unchecked.svg"); + + &:disabled { + -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-insensitive.svg"); + } + + &:checked, &:active { + -gtk-icon-source: url("../assets/menuitem-#{$type}-checked.svg"); + + &:hover { -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-hover.svg"); } + + &:disabled { -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-insensitive.svg"); } + } + + &:indeterminate { + -gtk-icon-source: url("../assets/menuitem-#{$type}-mixed.svg"); + + &:hover { -gtk-icon-source: url("../assets/menuitem-#{$type}-mixed-hover.svg"); } + + &:disabled { -gtk-icon-source: url("../assets/menuitem-#{$type}-mixed-insensitive.svg"); } + } + } +} + +@include exports("checkradio") { + $checkradio_border: mix($bg_color, $fg_color, .3); + $disabled_checkradio_border: mix($bg_color, $fg_color, .15); + + radio { + @include toggle("radio"); + min-width: 10px + $spacing * 2; + min-height: 10px + $spacing * 2; + margin-right: $spacing; + } + + check { + @include toggle("checkbox"); + min-width: 10px + $spacing * 2; + min-height: 10px + $spacing * 2; + margin-right: $spacing; + } + + check, radio { + box-shadow: -1px 0 $checkradio_border inset, + 1px 0 $checkradio_border inset, + 0 -1px $checkradio_border inset, + 0 1px $checkradio_border inset; + border-radius: if($roundness > 7px + $spacing, 7px + $spacing, $roundness) / 2; + background-color: $base_color; + + &:disabled { + box-shadow: -1px 0 $disabled_checkradio_border inset, + 1px 0 $disabled_checkradio_border inset, + 0 -1px $disabled_checkradio_border inset, + 0 1px $disabled_checkradio_border inset; + background-color: rgba($base_color, .25); + //background-color: transparent; + } + + menuitem &:disabled, modelbutton &:disabled, + menuitem &, modelbutton & { + box-shadow: none; + border-radius: 0; + background-color: transparent; + border: 0; + } + + textview &:focus, .view &:focus, view &:focus, treeview &:focus { + background-color: $base_color; + } + + } + + radio { + border-radius: 999px; + } + + radio:dir(rtl), check:dir(rtl) { + margin-right: 0; + margin-left: $spacing; + } + + //selection-mode + @each $s,$as in ("", "-unchecked"), + (":hover", "-unchecked"), + (":active", "-checked"), + (":backdrop", "-unchecked"), + (":checked", "-checked"), + (":checked:hover", "-checked"), + (":checked:active", "-checked"), + (":backdrop:checked", "-checked") { + .view.content-view.check#{$s}:not(list) { + -gtk-icon-shadow: none; + -gtk-icon-source: url("../assets/grid-selection#{$as}.svg"); + background-color: transparent; + } + } +} + + +/******** + ! Switch +*********/ + +@include exports("switch") { + switch { + border-radius: $roundness; + padding: if($spacing > 1px, $spacing, 1px) - 1px; + border: 0; + outline: none; + transition: background-color .3s linear; + //min-width: 88px; + min-width: 66px + $spacing * 4; + min-height: 18px + $spacing * 2; + background-color: $switch_bg_color; + color: $switch_fg_color; + box-shadow: inset 1px -1px 0 alpha($dark_shadow, .06), inset -1px 1px 0 alpha($dark_shadow, .06); + font-size: 90%; + + slider { + background-color: $switch_slider_bg_color; + transition: all .3s ease-in; + box-shadow: 0 1px 2px 0 alpha($dark_shadow, .07), 1px 0 2px 0 alpha($dark_shadow, .07); + border-radius: $roundness; + } + + &:checked { + background-color: $selected_bg_color; + background-image: none; + border-color: $selected_bg_color; + color: $base_color; + + slider { + background-color: $white; + box-shadow: 0 1px 3px 0 alpha($dark_shadow, .1); + } + } + + &:disabled { + background-color: $switch_disabled_bg_color; + background-image: none; + border-color: $switch_disabled_border_color; + color: $switch_disabled_fg_color; + box-shadow: none; + + slider { + background-color: $switch_disabled_slider_bg_color; + } + } + + list row:selected & { + background-color: $switch_disabled_slider_bg_color; + color: $switch_disabled_bg_color; + + slider { + background-color: mix($switch_disabled_bg_color, $base_color, .4); + } + + &:checked { + color: $selected_bg_color; + background-color: $switch_slider_bg_color; + + slider { + background-color: $selected_bg_color; + } + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_toolbar.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_toolbar.scss new file mode 100644 index 00000000..a4c5daa6 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_toolbar.scss @@ -0,0 +1,325 @@ +@import "button"; + + +/********* + ! Toolbar +**********/ + +@mixin toolbar($bg, $fg) { + @include linear-gradient($bg); + @include border_tng($fg, $bg, .8); + + color: $fg; + + &:disabled { + @include linear-gradient(shade($bg, .9)); + + color: mix($fg, $bg, .5); + } + + .background { + background-color: $bg; + border-color: mix($bg, $fg, .3); + } + + .title { + font-weight: bold; + padding: 0 ($spacing * 2); + } + + .subtitle { + font-size: smaller; + padding: 0 ($spacing * 2); + } + + button { + @include button($bg, $fg); + + &.image-button { + padding: $spacing; + } + } + + viewswitcher button, + .linked > button { + @include linked_button($bg, $fg); + } + + //combobox, button { + //padding: $spacing; + + //&.text-button { padding: $spacing; } + //} + + box button.image-button { + padding: $spacing $spacing + 4px; + } + + separator { + &, &:disabled { + color: shade($bg, ($contrast - .2)); + border-color: currentColor; + + -GtkWidget-window-dragging: true; + } + } +} + +@mixin inline-toolbar($bg, $fg) { + padding: 1px; + border-width: 0 1px 1px; + border-style: solid; + border-color: $borders_color; + background-color: mix($borders_color, $bg_color, .7); + background-image: none; + + &:backdrop { + border-color: $backdrop_borders_color; + background-color: $backdrop_dark_fill; + transition: 200ms ease-out; + } + + button { @include button($toolbar_bg_color, $toolbar_fg_color); } + + toolbutton, + toolbutton:backdrop { + > button.flat { + @extend %linked_button; + + &:dir(ltr) { @extend %linked_middle; } + + &:dir(rtl) { @extend %linked_middle-rtl; } + } + + &:first-child > button.flat { @extend %linked_button-first-child; } + + &:last-child > button.flat { @extend %linked_button-last-child; } + + &:only-child > button.flat { @extend %linked_button-only-child; } + } +} + +@include exports("toolbar_extends") { + %toolbar { + padding: if($spacing > 1px, $spacing, 1px) - 1px; + border-style: none; + + // toolbar separators + &.horizontal separator { margin: 0 ($spacing + 2px) 1px; } + + &.vertical separator { margin: ($spacing + 2px) 1px ($spacing + 2px) 0; } + } + + %headerbar { + border-width: 0 0 1px; + border-style: solid; + + // add vertical margins to common widget on the headerbar to avoid them spanning the whole height + entry, + spinbutton, + separator, + button { // Size height + margin-top: $spacing + 3px; + margin-bottom: $spacing + 3px; + } + + switch { // Size height + margin-top: $spacing + 1px; + margin-bottom: $spacing + 1px; + } + + window:not(.tiled):not(.maximized) separator:first-child + &, // tackles the paned container case + window:not(.tiled):not(.maximized) &:first-child { &:backdrop, & { border-top-left-radius: $roundness; } } + + window:not(.tiled):not(.maximized) &:last-child { &:backdrop, & { border-top-right-radius: $roundness; } } + } + + %titlebar { // Default headerbar and titlebar code. + @include toolbar($titlebar_bg_focused, $titlebar_fg_focused); + @include linear-gradient($titlebar_bg_focused); + + border-radius: $roundness $roundness 0 0; + color: $titlebar_fg_focused; + padding: 0 6px; + min-height: 42px; + + separator { + background-image: image(mix($titlebar_fg_focused, $titlebar_bg_focused, .9)); + } + + &:backdrop { + @include linear-gradient($titlebar_bg_unfocused); + + color: $titlebar_fg_unfocused; + text-shadow: none; + border-color: mix($backdrop_borders_color, $bg_color, .5); + } + + &.default-decoration { // Default titlebar (old metacity) + min-height: 24px; + box-shadow: none; + border: 0; + + button.titlebutton { + min-height: 16px; + min-width: 16px; + margin: 0; + padding: 0; + } + } + + .solid-csd & { + &:backdrop, & { + &:dir(rtl), &:dir(ltr) { // specificity bump + border-radius: 0; + box-shadow: none; + } + } + } + + .tiled &, + .maximized & { &:backdrop, & { border-radius: 0; } } // squared corners when the window is maximized or tiled + + .title { font-weight: bold; } + + separator.titlebutton { margin-left: $spacing; } + + button { + @include button($header_button_bg_color, $header_button_fg_color); + + $sidepadding: $spacing + ($roundness / 14px * if($spacing > 0, $spacing, 1px)); + padding: $spacing; + + &.text-button { + padding: $spacing if($sidepadding > 5px, $sidepadding, 5px); + } + + &.flat { + color: $menubar_fg_color; + } + + &.flat:hover { + color: $header_button_fg_color; + } + + //&.image-button { + //padding: $spacing; + //} + + &:backdrop { + color: $titlebar_fg_unfocused; + } + + stack box.narrow { + /* have no clue why it's ignored by gtk and forced to 5px and 7px */ + padding: 0; + } + + &:not(:checked):not(:hover) stack box { + color: $menubar_fg_color; + } + + } + + viewswitcher { + button:not(:checked):not(:hover) stack box { + color: $button_fg_color; + } + } + + button.titlebutton + separator.titlebutton { + margin-left: 0; + margin-right: $spacing; + } + + button.titlebutton { + border: 0; + padding: $spacing; + background-image: none; + background-color: transparent; + color: $titlebar_fg_focused; + box-shadow: none; + + &:hover, &:hover:focus { + background-image: none; + background-color: transparent; + color: $selected_bg_color; + box-shadow: none; + } + + &:active, &:active:hover { + background-image: none; + background-color: transparent; + color: shade($selected_bg_color, .9); + box-shadow: none; + } + + &:backdrop { + background: none; + color: $titlebar_fg_unfocused; + -gtk-icon-shadow: none; + } + } + } +} + +@include exports("toolbar") { + toolbar { + @extend %toolbar; + @include toolbar($toolbar_bg_color, $toolbar_fg_color); + + &.inline-toolbar { @include inline-toolbar($toolbar_bg_color, $toolbar_fg_color); } + } + + headerbar { + @extend %titlebar; + @extend %headerbar; + } + + .titlebar:not(headerbar) { + @extend %titlebar; + + window.csd > & { + // in csd we assume every titlebar is a headerbar so reset anything, this is needed for split toolbars cases + padding: 0; + background-color: transparent; + background-image: none; + border-style: none; + border-color: transparent; + box-shadow: none; + } + + > separator { background-color: shade($titlebar_bg_focused, .88); } // $borders_color + } + + .background .titlebar { + &:backdrop, & { + border-top-left-radius: $roundness; + border-top-right-radius: $roundness; + } + } + + .background.tiled .titlebar, + .background.tiled-top .titlebar, + .background.tiled-right .titlebar, + .background.tiled-bottom .titlebar, + .background.tiled-left .titlebar, + .background.maximized .titlebar, + .background.solid-csd .titlebar { + &:backdrop, & { + border-top-left-radius: 0; + border-top-right-radius: 0; + } + } + + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/585 + // workaround for ugly Ubuntu-related CSD patches + .background:not(.csd):not(.ssd):not(.solid-csd) headerbar { + &, &:backdrop { + &, &:not(:last-child) { + border-radius: 0; + border-top-color: transparent; + } + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_view.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_view.scss new file mode 100644 index 00000000..c31c7738 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_view.scss @@ -0,0 +1,405 @@ +/*************** + ! Generic views +****************/ + +@include exports("view") { + .view, + %view { + color: $text_color; + background-color: $base_color; + caret-color: $primary_caret_color; + -gtk-secondary-caret-color: $secondary_caret_color; + + &:backdrop { + color: $backdrop_text_color; + background-color: $backdrop_base_color; + } + + &:selected { + &:focus, & { + //@extend %selected_items; + + //border-radius: $roundness; + } + } + + separator { // vbox and hbox separators + background-image: image(mix($text_color, $base_color, .9)); + } + } + + .view, + textview { + text { + @extend %view; + + selection { &:focus, & { @extend %selected_items; } } + } + } + + textview border { background-color: mix($bg_color, $base_color, .5); } + + iconview { + @extend .view; + + :selected { + border-radius: $roundness; + } + } +} + + +/************ +! Treeview +*************/ + +@include exports("treeview") { + .rubberband, + rubberband { + border: 1px solid mix($selected_bg_color, $selected_fg_color, .1); + background-color: transparentize(darken($selected_bg_color, .1), .8); + } + + treeview entry { + &:focus { + &:dir(rtl), &:dir(ltr) { // specificity bump hack + background-color: $base_color; + transition-property: color, background; + } + } + + &.flat, & { + border-radius: 0; + background-image: none; + background-color: $base_color; + + &:focus { border-color: $selected_bg_color; } + } + } + + %column_header_button { + @extend %button; + padding: (if($spacing > 2px, $spacing, 2px) - 2px) ($spacing + 1px); + border-radius: 0; + text-shadow: none; + border-top-color: transparent; + border-left-color: transparent; + + &:disabled { + color: mix($fg_color, $bg_color, .5); + } + + &:backdrop { + //border-color: mix($backdrop_borders_color, $button_border, .5); + color: mix($button_fg_color, $backdrop_fg_color, .5); + background-image: none; + background-color: mix($button_bg_color, $backdrop_bg_color, .5); + + &:disabled { + border-color: $backdrop_bg_color; + background-image: none; + } + } + } + + treeview.view { + -GtkTreeView-grid-line-width: 1; + -GtkTreeView-grid-line-pattern: ""; + -GtkTreeView-tree-line-width: 1; + -GtkTreeView-tree-line-pattern: ""; + + border-left-color: mix($fg_color, $base_color, .7); // this is actually the tree lines color, + border-top-color: mix($fg_color, $base_color, .9); // while this is the grid lines color + + rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props + + &:selected { + &:focus, & { + @extend %selected_items; + + border-radius: 0; + } + + &:backdrop, & { + border-left-color: mix($selected_fg_color, $selected_bg_color, .5); + border-top-color: transparentize($fg_color, .9); // doesn't work unfortunatelly + } + } + + &:disabled { + color: $insensitive_fg_color; + + &:selected { + color: mix($selected_fg_color, $selected_bg_color, .4); + + &:backdrop { color: mix($backdrop_selected_fg_color, $selected_bg_color, .3); } + } + + &:backdrop { color: $backdrop_insensitive_color; } + } + + &.separator { + min-height: 2px; + color: $bg_color; + + &:backdrop { color: transparentize($bg_color, .9); } + } + + &:backdrop { + border-left-color: mix($backdrop_fg_color, $backdrop_bg_color, .5); + border-top: $backdrop_bg_color; + } + + &:drop(active) { + border-style: solid none; + border-width: 1px; + border-color: $selected_borders_color; + + &.after { border-top-style: none; } + + &.before { border-bottom-style: none; } + } + + &.expander { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); + color: mix($base_color, $fg_color, .7); + + &:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } + + &:hover { color: $fg_color; } + + &:selected { + color: mix($selected_bg_color, $selected_fg_color, .7); + + &:hover { color: $selected_fg_color; } + + &:backdrop { color: mix($selected_bg_color, $backdrop_selected_fg_color, .7); } + } + + &:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } + + &:backdrop { color: mix($backdrop_base_color, $backdrop_fg_color, .7); } + } + + &.progressbar { // progress bar in treeviews + @include linear-gradient($selected_bg_color); + @if $variant == light { color: $base_color; } + + border-radius: $roundness; + border: 1px solid $selected_borders_color; + //background-color: $selected_bg_color; + //background-image: linear-gradient(to bottom, $selected_bg_color, darken($selected_bg_color, .1)); + //box-shadow: inset 0 1px $fg_color, + //0 1px if($variant == "light", transparentize($black, .8), transparentize($black, .9)); + + &:selected { + border: 1px solid mix($selected_bg_color, $selected_fg_color, .2); + + &:focus, & { + @if $variant == "light" { + color: $selected_fg_color; + box-shadow: none; + } @else { + box-shadow: inset 0 1px transparentize($white, .95); + } + + @include linear-gradient($selected_bg_color); + border-radius: $roundness; + + &:backdrop { + @if $variant == "light" { + color: $backdrop_selected_fg_color; + border-color: $selected_borders_color; // otherwise it gets inherited by .view(?!?) + } @else { + border-color: $backdrop_base_color; + } + + background-color: mix($backdrop_base_color, $selected_bg_color, .9); + } + } + } + + &:disabled { + @include linear-gradient($bg_color); + border-color: border_insensitive_tng($fg_color, $bg_color); + } + + &:backdrop { + @if $variant == "light" { + color: $backdrop_base_color; + } @else { + border-color: $backdrop_base_color; + } + + background-image: none; + box-shadow: none; + } + } + + &.trough { // progress bar trough in treeviews + background-color: transparentize($fg_color, .9); + border-radius: $roundness; + + &:selected { + &:focus, & { + background-color: if($variant == "light", transparentize($selected_fg_color, .7), darken($selected_bg_color, .1)); + + @if $variant == "light" { + border-width: 1px 0; + border-style: solid; + border-color: $selected_bg_color; + } + border-radius: $roundness; + } + } + } + + header { + button { + @extend %column_header_button; + + font-weight: normal; + text-shadow: none; + box-shadow: none; + + &:hover { + @extend %column_header_button; + + border-top-color: $selected_borders_color; + border-left-color: $selected_borders_color; + box-shadow: none; + transition: none; //I shouldn't need this + } + + &:active { + @extend %column_header_button; + + border-top-color: $selected_borders_color; + border-left-color: $selected_borders_color; + transition: none; //I shouldn't need this + } + } + + button:last-child { &:backdrop, & { border-right-style: none; } } + } + + button.dnd, + header.button.dnd { // for treeview-like derive widgets + &:active, &:selected, &:hover, & { + padding: 0 6px; + transition: none; + background-image: none; + background-color: $selected_bg_color; + color: $base_color; + border-radius: 0; + border-style: none; + box-shadow: inset 0 0 0 1px $base_color; + text-shadow: none; + } + } + + acceleditor > label { background-color: $selected_bg_color; } + } +} + + +/*********** + ! Separator +************/ + +@include exports("separator") { + separator { // vbox and hbox separators + background-image: image(mix($fg_color, $bg_color, .9)); + min-width: 1px; + min-height: 1px; + } +} + + +/********** + ! Frames * +***********/ + +@include exports("frame") { + frame > border, .frame { + border: 1px solid $borders_color; + + &.flat { border-style: none; } + + &:backdrop { border-color: $backdrop_borders_color; } + } + + //@TODO: do it some day: + //frame > border, + //.frame, + //.frame > treeview, + //.frame > treeview > header, + //.frame > .view, + //.frame > list, + //.frame > stack, + //.frame > stack > box { + //border-radius: $roundness; + //} + + frame.border-inset > border, + frame.border-outset > border, + frame.border-groove > border, + frame.border-ridge > border { + @if lightness($bg_color) < 33% { + //dark bg + border: 1px solid alpha($borders_color, (lightness($bg_color)) / 100% + .2); + } @else { + @if lightness($bg_color) < 67% { + //mid bg + border: 1px solid alpha(shade($borders_color, .75), (lightness($bg_color)) / 100%); + } @else { + //light bg + border: 1px solid alpha($borders_color, (lightness($bg_color)) / 100% + .3); + } + } + } + + .content-view { + background-color: mix($base_color, $bg_color, .28); + color: mix($text_color, $fg_color, .18); + border: 1px solid border_normal(mix($base_color, $bg_color, .78)); + } + + viewport separator { + background-image: image(mix($text_color, $base_color, .9)); + } + + //fix weird GTK issue, where for elements `viewport > menu > separator` + //style `viewport separator` have higher priority than `menu separator`: + viewport menu separator { + background-image: image($menu_borders_color); + } + +} + + +/*************** + ! Places view * +****************/ + +@include exports("placesview") { + placesview { + .server-list-button > image { + transition: 200ms cubic-bezier(.25, .46, .45, .94); + -gtk-icon-transform: rotate(0turn); + } + + .server-list-button:checked > image { + transition: 200ms cubic-bezier(.25, .46, .45, .94); + -gtk-icon-transform: rotate(-.5turn); + } + + row.activatable:hover { background-color: transparent; } + + // this selects the "connect to server" label + > actionbar > revealer > box > label { + padding-left: 8px; + padding-right: 8px; + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/scss/widgets/_window.scss b/Tokyonight-dark/gtk-3.20/scss/widgets/_window.scss new file mode 100644 index 00000000..21dc8a44 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/scss/widgets/_window.scss @@ -0,0 +1,64 @@ +/************** + ! Window frame +***************/ + +@include exports("window") { + decoration { + @include linear-gradient($dark_bg_color); + + $_wm_border: transparentize($wm_border_unfocused, .77); + + border-radius: $roundness $roundness 0 0; + // lamefun trick to get rounded borders regardless of CSD use + border-width: 0; + + box-shadow: 0 3px 9px 1px transparentize($black, .3), 0 0 0 ($spacing % 2 or 1px) $wm_border_focused; //doing borders with box-shadow + + /* this is used for the resize cursor area */ + margin: $spacing * 3; + + &:backdrop { + box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px transparentize($black, .6), 0 0 0 ($spacing % 2 or 1px) $wm_border_unfocused; + transition: 200ms ease-out; + } + + .maximized &, .fullscreen &, .tiled & { border-radius: 0; } + + .popup & { box-shadow: none; } + + // this needs to be transparent + // see bug #722563 + // server-side decorations as used by mutter + // Fixed gtk-3.18 Unity bug (https://github.com/numixproject/numix-gtk-theme/issues/270) + .ssd & { + box-shadow: 0 0 0 1px $wm_border_focused; + + &:backdrop { + box-shadow: 0 0 0 1px $wm_border_unfocused; + } + } //just doing borders, wm draws actual shadows + + .solid-csd & { + border-radius: 0; + margin: 0; + //background-color: $bg_color; + // Unity/compiz regression: Issue: https://github.com/numixproject/numix-gtk-theme/issues/206 + box-shadow: none; + } + + .csd.popup & { + border-radius: 0; + box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($_wm_border, .1); + } + + tooltip.csd & { + border-radius: $roundness; + box-shadow: none; + } + + messagedialog.csd & { + border-radius: $roundness; + box-shadow: 0 1px 2px transparentize($black, .8), 0 0 0 1px transparentize($_wm_border, .1); + } + } +} diff --git a/Tokyonight-dark/gtk-3.20/thumbnail.png b/Tokyonight-dark/gtk-3.20/thumbnail.png new file mode 120000 index 00000000..01495bc6 --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/thumbnail.png @@ -0,0 +1 @@ +../gtk-3.0/thumbnail.png \ No newline at end of file diff --git a/Tokyonight-dark/gtk-3.20/thumbnail.svg b/Tokyonight-dark/gtk-3.20/thumbnail.svg new file mode 100644 index 00000000..472eb6db --- /dev/null +++ b/Tokyonight-dark/gtk-3.20/thumbnail.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + Button + + + + + + + + + + + + diff --git a/Tokyonight-dark/index.theme b/Tokyonight-dark/index.theme new file mode 100644 index 00000000..7ca95239 --- /dev/null +++ b/Tokyonight-dark/index.theme @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=X-GNOME-Metatheme +Name=%OUTPUT_THEME_NAME% +Comment=A partially sexual act; when a female (of any species; mostly humanoids) rubs the ears/lobes of a male Ferengi, creating sensual emotions and chemical reactions in the male (and sometimes in the female). +Encoding=UTF-8 + +[X-GNOME-Metatheme] +Name=%OUTPUT_THEME_NAME% +GtkTheme=%OUTPUT_THEME_NAME% +IconTheme=%OUTPUT_THEME_NAME% +MetacityTheme=%OUTPUT_THEME_NAME% diff --git a/Tokyonight-dark/metacity-1/metacity-theme-2.xml b/Tokyonight-dark/metacity-1/metacity-theme-2.xml new file mode 100644 index 00000000..e5395007 --- /dev/null +++ b/Tokyonight-dark/metacity-1/metacity-theme-2.xml @@ -0,0 +1,1571 @@ + + + + %OUTPUT_THEME_NAME% + Satyajit Sahoo + GPL-3.0+ + 11 December 2013 + Numix Metacity Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</draw_ops> + +<draw_ops name="title_unfocused"> + <title x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2))" + color="C_title_unfocused" /> +</draw_ops> + +<!-- ::: WINDOW DECORATIONS ::: --> +<draw_ops name="entire_background_focused"> + <rectangle color="C_titlebar_focused" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="entire_background_unfocused"> + <rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="titlebar_fill_focused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_unfocused"> + <include name="entire_background_unfocused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_attached_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_attached_unfocused"> + <include name="titlebar_fill_unfocused" /> +</draw_ops> + +<draw_ops name="titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="titlebar_unfocused"> + <include name="titlebar_fill_unfocused" /> +</draw_ops> + +<draw_ops name="titlebar_attached_focused"> <!-- titlebar for attached and modal dialogs --> + <include name="titlebar_fill_attached_focused" /> +</draw_ops> + +<draw_ops name="titlebar_attached_unfocused"> <!-- titlebar for attached and modal dialogs --> + <include name="titlebar_fill_attached_unfocused" /> +</draw_ops> + +<draw_ops name="rounded_titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="rounded_titlebar_unfocused"> + <include name="titlebar_fill_unfocused" /> +</draw_ops> + +<draw_ops name="border_focused"> + <rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="border_unfocused"> + <rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="rounded_border_focused"> + <line color="C_border_focused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_focused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_focused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="rounded_border_unfocused"> + <line color="C_border_unfocused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_unfocused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_unfocused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="border_right_focused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_right_unfocused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<draw_ops name="border_left_focused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_left_unfocused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<!-- ::: BUTTON ICONS ::: --> +<!-- note: negative values in x or y causes gnome-shell to crash --> +<!-- close icon --> +<draw_ops name="close_focused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="close_focused_prelight"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_focused_pressed"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="close_unfocused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="close_unfocused_prelight"> + <include name="close_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_unfocused_pressed"> + <include name="close_focused_pressed" /> +</draw_ops> + +<!-- maximize icon --> +<draw_ops name="maximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="maximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="maximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_prelight"> + <include name="maximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_pressed"> + <include name="maximize_focused_pressed" /> +</draw_ops> + +<!-- unmaximize icon --> +<draw_ops name="unmaximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_prelight"> + <include name="unmaximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_pressed"> + <include name="unmaximize_focused_pressed" /> +</draw_ops> + +<!-- minimize icon --> +<draw_ops name="minimize_focused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="minimize_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="minimize_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_prelight"> + <include name="minimize_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_pressed"> + <include name="minimize_focused_pressed" /> +</draw_ops> + +<!-- menu icon --> +<draw_ops name="menu_focused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="menu_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="menu_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="menu_unfocused_prelight"> + <include name="menu_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_unfocused_pressed"> + <include name="menu_focused_pressed" /> +</draw_ops> + +<!-- shade icon --> +<draw_ops name="shade_focused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="shade_focused_prelight"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="shade_unfocused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="shade_unfocused_prelight"> + <include name="shade_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_unfocused_pressed"> + <include name="shade_focused_pressed" /> +</draw_ops> + +<!-- unshade icon --> +<draw_ops name="unshade_focused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unshade_focused_prelight"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unshade_unfocused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_prelight"> + <include name="unshade_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_pressed"> + <include name="unshade_focused_pressed" /> +</draw_ops> + +<!-- ::: FRAME STYLES ::: --> +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_unfocused" geometry="normal_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_focused" geometry="nobuttons"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_unfocused" geometry="nobuttons"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_focused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_unfocused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_focused" geometry="small"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_unfocused" geometry="small_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_focused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_unfocused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="borderless" geometry="borderless"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_focused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_unfocused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_focused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_right_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_unfocused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_right_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_focused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_left_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_unfocused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_left_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- placeholder for unimplementated styles--> +<frame_style name="blank" geometry="normal"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- ::: FRAME STYLE SETS ::: --> +<frame_style_set name="normal_style_set"> + <frame focus="yes" state="normal" resize="both" style="normal_focused" /> + <frame focus="no" state="normal" resize="both" style="normal_unfocused" /> + <frame focus="yes" state="maximized" style="normal_max_focused" /> + <frame focus="no" state="maximized" style="normal_max_unfocused" /> + <frame focus="yes" state="shaded" style="normal_focused" /> + <frame focus="no" state="shaded" style="normal_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="normal_max_shaded_focused" /> + <frame focus="no" state="maximized_and_shaded" style="normal_max_shaded_unfocused" /> +</frame_style_set> + +<frame_style_set name="dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="dialog_focused" /> + <frame focus="no" state="shaded" style="dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="modal_dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="modal_dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="modal_dialog_focused" /> + <frame focus="no" state="shaded" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="utility_style_set"> + <frame focus="yes" state="normal" resize="both" style="utility_focused" /> + <frame focus="no" state="normal" resize="both" style="utility_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="utility_focused" /> + <frame focus="no" state="shaded" style="utility_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="border_style_set"> + <frame focus="yes" state="normal" resize="both" style="border_focused" /> + <frame focus="no" state="normal" resize="both" style="border_unfocused" /> + <frame focus="yes" state="maximized" style="borderless" /> + <frame focus="no" state="maximized" style="borderless" /> + <frame focus="yes" state="shaded" style="blank" /> + <frame focus="no" state="shaded" style="blank" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<!-- ::: WINDOWS ::: --> +<window type="normal" style_set="normal_style_set" /> +<window type="dialog" style_set="dialog_style_set" /> +<window type="modal_dialog" style_set="modal_dialog_style_set" /> +<window type="menu" style_set="utility_style_set" /> +<window type="utility" style_set="utility_style_set" /> +<window type="border" style_set="border_style_set" /> + +</metacity_theme> diff --git a/Tokyonight-dark/metacity-1/metacity-theme-3.xml b/Tokyonight-dark/metacity-1/metacity-theme-3.xml new file mode 100644 index 00000000..1f529f6b --- /dev/null +++ b/Tokyonight-dark/metacity-1/metacity-theme-3.xml @@ -0,0 +1,1603 @@ +<?xml version="1.0"?> +<metacity_theme> +<info> + <name>Numix</name> + <author>Satyajit Sahoo</author> + <copyright>GPL-3.0+</copyright> + <date>11 December 2013</date> + <description>Numix Mutter Theme</description> +</info> + +<!-- ::: CONSTANTS ::: --> +<constant name="C_titlebar_focused" value="gtk:custom(wm_bg_focused,#444444)" /> +<constant name="C_titlebar_unfocused" value="gtk:custom(wm_bg_unfocused,#353535)" /> +<constant name="C_border_focused" value="gtk:custom(wm_border_focused,#484848)" /> +<constant name="C_border_unfocused" value="gtk:custom(wm_border_unfocused,#393939)" /> +<constant name="C_title_focused" value="gtk:custom(wm_title_focused,#eeeeee)" /> +<constant name="C_title_unfocused" value="gtk:custom(wm_title_unfocused,#888888)" /> +<constant name="C_icons_focused" value="gtk:custom(wm_icons_focused,#eeeeee)" /> +<constant name="C_icons_focused_prelight" value="gtk:custom(wm_icons_focused_prelight,gtk:bg[SELECTED])" /> +<constant name="C_icons_focused_pressed" value="gtk:custom(wm_icons_focused_pressed,shade/gtk:bg[SELECTED]/0.8)" /> +<constant name="C_icons_unfocused" value="gtk:custom(wm_icons_unfocused,#888888)" /> +<constant name="C_icons_unfocused_prelight" value="gtk:custom(wm_icons_focused_prelight,gtk:bg[SELECTED])" /> +<constant name="C_icons_unfocused_pressed" value="gtk:custom(wm_icons_focused_pressed,shade/gtk:bg[SELECTED]/0.8)" /> + +<!-- ::: GEOMETRY ::: --> +<frame_geometry name="normal" title_scale="medium" rounded_top_left="1" rounded_top_right="1"> + <distance name="left_width" value="1" /> + <distance name="right_width" value="1" /> + <distance name="bottom_height" value="1" /> + <distance name="left_titlebar_edge" value="4" /> + <distance name="right_titlebar_edge" value="4" /> + <distance name="title_vertical_pad" value="0" /> + <aspect_ratio name="button" value="1.0" /> + <border name="title_border" left="8" right="8" top="4" bottom="4" /> + <border name="button_border" left="0" right="0" top="0" bottom="0" /> +</frame_geometry> + +<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="1" rounded_top_right="1" parent="normal" /> + +<frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false"> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> +</frame_geometry> + +<frame_geometry name="tiled_left" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max"> + <distance name="right_width" value="1" /> +</frame_geometry> + +<frame_geometry name="tiled_right" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max"> + <distance name="left_width" value="1" /> +</frame_geometry> + +<frame_geometry name="small" title_scale="small" parent="normal" rounded_top_left="1" rounded_top_right="1"> + <distance name="title_vertical_pad" value="0" /> + <border name="title_border" left="8" right="8" top="4" bottom="4" /> + <border name="button_border" left="0" right="0" top="0" bottom="0" /> +</frame_geometry> + +<frame_geometry name="small_unfocused" parent="small"> + <distance name="left_titlebar_edge" value="1"/> + <distance name="right_titlebar_edge" value="1"/> +</frame_geometry> + +<frame_geometry name="nobuttons" hide_buttons="true" parent="normal" /> + +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" > + <distance name="left_width" value="1" /> + <distance name="right_width" value="1" /> + <distance name="bottom_height" value="1" /> + <distance name="title_vertical_pad" value="0" /> + <border name="title_border" left="0" right="0" top="0" bottom="0" /> + <border name="button_border" left="0" right="0" top="0" bottom="0"/> +</frame_geometry> + +<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal"> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> + <distance name="bottom_height" value="0" /> + <distance name="title_vertical_pad" value="0" /> + <border name="title_border" left="0" right="0" top="0" bottom="0" /> + <border name="button_border" left="0" right="0" top="0" bottom="0" /> +</frame_geometry> + +<frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" rounded_bottom_right="1" rounded_bottom_left="1" parent="small"> +</frame_geometry> + +<frame_geometry name="attached" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" parent="small"> +</frame_geometry> + +<!-- ::: TITLES ::: --> +<draw_ops name="title_focused"> + <title version="< 3.1" + x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2))" + color="C_title_focused" /> + <title version=">= 3.1" + x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2" + y="(0 `max` ((height - title_height) / 2))" + ellipsize_width="width" + color="C_title_focused" /> +</draw_ops> + +<draw_ops name="title_unfocused"> + <title version="< 3.1" + x="(0 `max` ((width - title_width) / 2)) + 2" + y="(0 `max` ((height - title_height) / 2))" + color="C_title_unfocused" /> + <title version=">= 3.1" + x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2" + y="(0 `max` ((height - title_height) / 2))" + ellipsize_width="width" + color="C_title_unfocused" /> +</draw_ops> + +<!-- ::: WINDOW DECORATIONS ::: --> +<draw_ops name="entire_background_focused"> + <rectangle color="C_titlebar_focused" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="entire_background_unfocused"> + <rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="titlebar_fill_focused"> + <include name="entire_background_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_unfocused"> + <include name="entire_background_unfocused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_attached_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="titlebar_fill_attached_unfocused"> + <include name="titlebar_fill_unfocused" /> +</draw_ops> + +<draw_ops name="titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="titlebar_unfocused"> + <include name="titlebar_fill_unfocused" /> +</draw_ops> + +<draw_ops name="titlebar_attached_focused"> <!-- titlebar for attached and modal dialogs --> + <include name="titlebar_fill_attached_focused" /> +</draw_ops> + +<draw_ops name="titlebar_attached_unfocused"> <!-- titlebar for attached and modal dialogs --> + <include name="titlebar_fill_attached_unfocused" /> +</draw_ops> + +<draw_ops name="rounded_titlebar_focused"> + <include name="titlebar_fill_focused" /> +</draw_ops> + +<draw_ops name="rounded_titlebar_unfocused"> + <include name="titlebar_fill_unfocused" /> +</draw_ops> + +<draw_ops name="border_focused"> + <rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="border_unfocused"> + <rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" /> +</draw_ops> + +<draw_ops name="rounded_border_focused"> + <line color="C_border_focused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_focused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_focused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="rounded_border_unfocused"> + <line color="C_border_unfocused" x1="2" y1="0" x2="width-3" y2="0" /> + <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" /> + <line color="C_border_unfocused" x1="0" y1="2" x2="0" y2="height-2" /> + <line color="C_border_unfocused" x1="width-1" y1="2" x2="width-1" y2="height-2" /> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> + <!-- double arcs for darker borders --> + <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" /> + <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="border_right_focused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_right_unfocused"> + <line + x1="width-1" y1="0" + x2="width-1" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<draw_ops name="border_left_focused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_focused" /> +</draw_ops> + +<draw_ops name="border_left_unfocused"> + <line + x1="0" y1="0" + x2="0" y2="height" + color="C_border_unfocused" /> +</draw_ops> + +<!-- ::: BUTTON ICONS ::: --> +<!-- note: negative values in x or y causes gnome-shell to crash --> +<!-- close icon --> +<draw_ops name="close_focused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="close_focused_prelight"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_focused_pressed"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="close_unfocused"> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-2" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+1" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+2" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-2" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="close_unfocused_prelight"> + <include name="close_focused_prelight" /> +</draw_ops> + +<draw_ops name="close_unfocused_pressed"> + <include name="close_focused_pressed" /> +</draw_ops> + +<!-- maximize icon --> +<draw_ops name="maximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="maximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="maximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_prelight"> + <include name="maximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="maximize_unfocused_pressed"> + <include name="maximize_focused_pressed" /> +</draw_ops> + +<!-- unmaximize icon --> +<draw_ops name="unmaximize_focused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_prelight"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_focused_pressed"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused"> + <rectangle + x="(width-width%3)/3+1" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_prelight"> + <include name="unmaximize_focused_prelight" /> +</draw_ops> + +<draw_ops name="unmaximize_unfocused_pressed"> + <include name="unmaximize_focused_pressed" /> +</draw_ops> + +<!-- minimize icon --> +<draw_ops name="minimize_focused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="minimize_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="minimize_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="height-(height-height%3)/3-5" + width="width-2*(width-width%3)/3-2" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_prelight"> + <include name="minimize_focused_prelight" /> +</draw_ops> + +<draw_ops name="minimize_unfocused_pressed"> + <include name="minimize_focused_pressed" /> +</draw_ops> + +<!-- menu icon --> +<draw_ops name="menu_focused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="menu_focused_prelight"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_focused_pressed"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="menu_unfocused"> + <rectangle + x="(width-width%3)/3+2" y="(height-height%3)/3+1" + width="width-2*(width-width%3)/3-3" height="height-2*(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="(height-height%3)/3+2" + width="width-2*(width-width%3)/3-5" height="height-2*(height-height%3)/3-5" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+5" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="2" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="menu_unfocused_prelight"> + <include name="menu_focused_prelight" /> +</draw_ops> + +<draw_ops name="menu_unfocused_pressed"> + <include name="menu_focused_pressed" /> +</draw_ops> + +<!-- shade icon --> +<draw_ops name="shade_focused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="shade_focused_prelight"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="shade_unfocused"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="shade_unfocused_prelight"> + <include name="shade_focused_prelight" /> +</draw_ops> + +<draw_ops name="shade_unfocused_pressed"> + <include name="shade_focused_pressed" /> +</draw_ops> + +<!-- unshade icon --> +<draw_ops name="unshade_focused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused" /> +</draw_ops> + +<draw_ops name="unshade_focused_prelight"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_focused_prelight" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_focused_prelight" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_focused_pressed"> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-6" y1="(height-height%3)/3+2" + x2="(width-width%3)/3+1" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="width-(width-width%3)/3-7" y1="(height-height%3)/3+1" + x2="(width-width%3)/3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+3" y1="(height-height%3)/3+2" + x2="width-(width-width%3)/3-4" y2="height-(height-height%3)/3-5" + color="C_icons_focused_pressed" /> + <line + x1="(width-width%3)/3+4" y1="(height-height%3)/3+1" + x2="width-(width-width%3)/3-3" y2="height-(height-height%3)/3-6" + color="C_icons_focused_pressed" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-2" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_focused_pressed" /> +</draw_ops> + +<draw_ops name="unshade_unfocused"> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-3" y1="(height-height%3)/3+5" + x2="(width-width%3)/3+4" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="width-(width-width%3)/3-4" y1="(height-height%3)/3+4" + x2="(width-width%3)/3+3" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3" y1="(height-height%3)/3+5" + x2="width-(width-width%3)/3-7" y2="height-(height-height%3)/3-2" + color="C_icons_unfocused" /> + <line + x1="(width-width%3)/3+1" y1="(height-height%3)/3+4" + x2="width-(width-width%3)/3-6" y2="height-(height-height%3)/3-3" + color="C_icons_unfocused" /> + <rectangle + x="(width-width%3)/3+3" y="height/2-4" + width="width-2*(width-width%3)/3-8" height="6" filled="true" + color="C_icons_unfocused" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_prelight"> + <include name="unshade_focused_prelight" /> +</draw_ops> + +<draw_ops name="unshade_unfocused_pressed"> + <include name="unshade_focused_pressed" /> +</draw_ops> + +<!-- ::: FRAME STYLES ::: --> +<frame_style name="normal_focused" geometry="normal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_unfocused" geometry="normal_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_focused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="normal_max_shaded_unfocused" geometry="max"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_focused" geometry="nobuttons"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="rounded_border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="dialog_unfocused" geometry="nobuttons"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="rounded_border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_focused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="modal_dialog_unfocused" geometry="modal"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_focused" geometry="small"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="utility_unfocused" geometry="small_unfocused"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_focused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="border_unfocused" geometry="border"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="borderless" geometry="borderless"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_focused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_focused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="attached_unfocused" geometry="attached"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_attached_focused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_unfocused" /> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_focused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_right_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_left_unfocused" geometry="tiled_left"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_right_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_focused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_focused" /> + <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="title" draw_ops="title_focused" /> + <piece position="overlay" draw_ops="border_left_focused" /> + <button function="close" state="normal" draw_ops="close_focused" /> + <button function="close" state="prelight" draw_ops="close_focused_prelight" /> + <button function="close" state="pressed" draw_ops="close_focused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_focused" /> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_focused" /> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_focused" /> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_focused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_focused" /> + <button function="shade" state="prelight" draw_ops="shade_focused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_focused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_focused" /> + <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" /> + + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<frame_style name="tiled_right_unfocused" geometry="tiled_right"> + <piece position="entire_background" draw_ops="entire_background_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="title" draw_ops="title_unfocused" /> + <piece position="overlay" draw_ops="border_left_unfocused" /> + <button function="close" state="normal" draw_ops="close_unfocused" /> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight" /> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed" /> + <button function="maximize" state="normal" draw_ops="maximize_unfocused" /> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" /> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" /> + <button function="minimize" state="normal" draw_ops="minimize_unfocused" /> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" /> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" /> + <button function="menu" state="normal" draw_ops="menu_unfocused" /> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" /> + <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" /> + <button function="shade" state="normal" draw_ops="shade_unfocused" /> + <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" /> + <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" /> + <button function="unshade" state="normal" draw_ops="unshade_unfocused" /> + <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" /> + <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" /> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- placeholder for unimplementated styles--> +<frame_style name="blank" geometry="normal"> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> + <button function="shade" state="normal"><draw_ops></draw_ops></button> + <button function="shade" state="prelight"><draw_ops></draw_ops></button> + <button function="shade" state="pressed"><draw_ops></draw_ops></button> + <button function="unshade" state="normal"><draw_ops></draw_ops></button> + <button function="unshade" state="prelight"><draw_ops></draw_ops></button> + <button function="unshade" state="pressed"><draw_ops></draw_ops></button> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal"><draw_ops></draw_ops></button> + <button function="stick" state="pressed"><draw_ops></draw_ops></button> + <button function="unstick" state="normal"><draw_ops></draw_ops></button> + <button function="unstick" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- ::: FRAME STYLE SETS ::: --> +<frame_style_set name="normal_style_set"> + <frame focus="yes" state="normal" resize="both" style="normal_focused" /> + <frame focus="no" state="normal" resize="both" style="normal_unfocused" /> + <frame focus="yes" state="maximized" style="normal_max_focused" /> + <frame focus="no" state="maximized" style="normal_max_unfocused" /> + <frame focus="yes" state="shaded" style="normal_focused" /> + <frame focus="no" state="shaded" style="normal_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="normal_max_shaded_focused" /> + <frame focus="no" state="maximized_and_shaded" style="normal_max_shaded_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_left" style="tiled_left_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_left" style="tiled_left_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_right" style="tiled_right_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_right" style="tiled_right_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_left_and_shaded" style="tiled_left_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_left_and_shaded" style="tiled_left_unfocused" /> + <frame version=">= 3.3" focus="yes" state="tiled_right_and_shaded" style="tiled_right_focused" /> + <frame version=">= 3.3" focus="no" state="tiled_right_and_shaded" style="tiled_right_unfocused" /> +</frame_style_set> + +<frame_style_set name="dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="dialog_focused" /> + <frame focus="no" state="shaded" style="dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="modal_dialog_style_set"> + <frame focus="yes" state="normal" resize="both" style="modal_dialog_focused" /> + <frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="modal_dialog_focused" /> + <frame focus="no" state="shaded" style="modal_dialog_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="utility_style_set"> + <frame focus="yes" state="normal" resize="both" style="utility_focused" /> + <frame focus="no" state="normal" resize="both" style="utility_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="utility_focused" /> + <frame focus="no" state="shaded" style="utility_unfocused" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="border_style_set"> + <frame focus="yes" state="normal" resize="both" style="border_focused" /> + <frame focus="no" state="normal" resize="both" style="border_unfocused" /> + <frame focus="yes" state="maximized" style="borderless" /> + <frame focus="no" state="maximized" style="borderless" /> + <frame focus="yes" state="shaded" style="blank" /> + <frame focus="no" state="shaded" style="blank" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<frame_style_set name="attached_style_set"> + <frame focus="yes" state="normal" resize="both" style="attached_focused" /> + <frame focus="no" state="normal" resize="both" style="attached_unfocused" /> + <frame focus="yes" state="maximized" style="blank" /> + <frame focus="no" state="maximized" style="blank" /> + <frame focus="yes" state="shaded" style="blank" /> + <frame focus="no" state="shaded" style="blank" /> + <frame focus="yes" state="maximized_and_shaded" style="blank" /> + <frame focus="no" state="maximized_and_shaded" style="blank" /> +</frame_style_set> + +<!-- ::: WINDOWS ::: --> +<window type="normal" style_set="normal_style_set" /> +<window type="dialog" style_set="dialog_style_set" /> +<window type="modal_dialog" style_set="modal_dialog_style_set" /> +<window type="menu" style_set="utility_style_set" /> +<window type="utility" style_set="utility_style_set" /> +<window type="border" style_set="border_style_set" /> +<window version=">= 3.2" type="attached" style_set="attached_style_set" /> + +</metacity_theme> diff --git a/Tokyonight-dark/metacity-1/thumbnail.png b/Tokyonight-dark/metacity-1/thumbnail.png new file mode 100644 index 00000000..e656d167 Binary files /dev/null and b/Tokyonight-dark/metacity-1/thumbnail.png differ diff --git a/Tokyonight-dark/metacity-1/thumbnail.svg b/Tokyonight-dark/metacity-1/thumbnail.svg new file mode 100644 index 00000000..95102360 --- /dev/null +++ b/Tokyonight-dark/metacity-1/thumbnail.svg @@ -0,0 +1,5 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="100" height="32" viewBox="0 0 100 32"> + <rect x="-1.5" y="0.5" width="101" height="33" ry="1.5" fill="#%HDR_BG%" stroke="#%WM_BORDER_FOCUS%"/> + <rect x="-1" y="26" width="100" height="7" fill="#%BG%"/> + <path d="M28 13h8v2h-8zm25-4v8h8V9zm2 2h4v4h-4zm24-2v1.414L81.586 13 79 15.586V17h1.414L83 14.414 85.586 17H87v-1.414L84.414 13 87 10.414V9h-1.414L83 11.586 80.414 9H79z" fill="#%HDR_FG%"/> +</svg> diff --git a/Tokyonight-dark/openbox-3/close.xbm b/Tokyonight-dark/openbox-3/close.xbm new file mode 100644 index 00000000..0486bd91 --- /dev/null +++ b/Tokyonight-dark/openbox-3/close.xbm @@ -0,0 +1,4 @@ +#define close_width 8 +#define close_height 8 +static unsigned char close_bits[] = { + 0x42, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0x42 }; diff --git a/Tokyonight-dark/openbox-3/close_hover.xbm b/Tokyonight-dark/openbox-3/close_hover.xbm new file mode 100644 index 00000000..4a88cff6 --- /dev/null +++ b/Tokyonight-dark/openbox-3/close_hover.xbm @@ -0,0 +1,4 @@ +#define close_width 6 +#define close_height 6 +static unsigned char close_bits[] = { + 0x33, 0x3f, 0x1e, 0x1e, 0x3f, 0x33 }; diff --git a/Tokyonight-dark/openbox-3/desk.xbm b/Tokyonight-dark/openbox-3/desk.xbm new file mode 100644 index 00000000..abca780a --- /dev/null +++ b/Tokyonight-dark/openbox-3/desk.xbm @@ -0,0 +1,4 @@ +#define desk_toggled_width 8 +#define desk_toggled_height 8 +static unsigned char desk_toggled_bits[] = { + 0xe7, 0xe7, 0xe7, 0x00, 0x00, 0xe7, 0xe7, 0xe7 }; diff --git a/Tokyonight-dark/openbox-3/desk_toggled.xbm b/Tokyonight-dark/openbox-3/desk_toggled.xbm new file mode 100644 index 00000000..b4b53302 --- /dev/null +++ b/Tokyonight-dark/openbox-3/desk_toggled.xbm @@ -0,0 +1,4 @@ +#define desk_width 8 +#define desk_height 8 +static unsigned char desk_bits[] = { + 0x04, 0x0e, 0x3f, 0x1e, 0x1c, 0x24, 0x40, 0x80 }; diff --git a/Tokyonight-dark/openbox-3/iconify.xbm b/Tokyonight-dark/openbox-3/iconify.xbm new file mode 100644 index 00000000..9a9743f0 --- /dev/null +++ b/Tokyonight-dark/openbox-3/iconify.xbm @@ -0,0 +1,4 @@ +#define iconify_width 8 +#define iconify_height 8 +static unsigned char iconify_bits[] = { + 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00 }; diff --git a/Tokyonight-dark/openbox-3/iconify_hover.xbm b/Tokyonight-dark/openbox-3/iconify_hover.xbm new file mode 100644 index 00000000..9a9743f0 --- /dev/null +++ b/Tokyonight-dark/openbox-3/iconify_hover.xbm @@ -0,0 +1,4 @@ +#define iconify_width 8 +#define iconify_height 8 +static unsigned char iconify_bits[] = { + 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00 }; diff --git a/Tokyonight-dark/openbox-3/max.xbm b/Tokyonight-dark/openbox-3/max.xbm new file mode 100644 index 00000000..88bb9bd8 --- /dev/null +++ b/Tokyonight-dark/openbox-3/max.xbm @@ -0,0 +1,4 @@ +#define max_width 8 +#define max_height 8 +static unsigned char max_bits[] = { + 0xff, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xff }; diff --git a/Tokyonight-dark/openbox-3/max_toggled.xbm b/Tokyonight-dark/openbox-3/max_toggled.xbm new file mode 100644 index 00000000..cec3f249 --- /dev/null +++ b/Tokyonight-dark/openbox-3/max_toggled.xbm @@ -0,0 +1,4 @@ +#define max_toggled_width 8 +#define max_toggled_height 8 +static unsigned char max_toggled_bits[] = { + 0xff, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xff }; diff --git a/Tokyonight-dark/openbox-3/shade.xbm b/Tokyonight-dark/openbox-3/shade.xbm new file mode 100644 index 00000000..fcacf424 --- /dev/null +++ b/Tokyonight-dark/openbox-3/shade.xbm @@ -0,0 +1,4 @@ +#define shade_width 8 +#define shade_height 8 +static unsigned char shade_bits[] = { + 0x18, 0x3c, 0x7e, 0xff, 0xdb, 0x18, 0x18, 0x18 }; diff --git a/Tokyonight-dark/openbox-3/shade_toggled.xbm b/Tokyonight-dark/openbox-3/shade_toggled.xbm new file mode 100644 index 00000000..594201e3 --- /dev/null +++ b/Tokyonight-dark/openbox-3/shade_toggled.xbm @@ -0,0 +1,4 @@ +#define shade_toggled_width 8 +#define shade_toggled_height 8 +static unsigned char shade_toggled_bits[] = { + 0x18, 0x18, 0x18, 0xdb, 0xff, 0x7e, 0x3c, 0x18 }; diff --git a/Tokyonight-dark/openbox-3/themerc b/Tokyonight-dark/openbox-3/themerc new file mode 100644 index 00000000..ea2f8807 --- /dev/null +++ b/Tokyonight-dark/openbox-3/themerc @@ -0,0 +1,155 @@ +# Name: Oomox (Numix fork) Openbox theme +# Author: Satyajit Sahoo <satyajit.happy@gmail.com> +# License: GPL-3.0+ + +# @TODO: finish replacing the colors here + + +# Menu +menu.border.color: #a9b1d6 + +menu.title.bg: Solid Flat +menu.title.bg.color: #24283b +menu.title.bg.shadow: 0 +menu.title.text.color: #a9b1d6 +menu.title.text.justify: Center + +menu.items.bg: Solid Flat +menu.items.bg.color: #24283b +menu.items.text.color: #a9b1d6 +menu.items.disabled.text.color: #878eaf + +menu.items.active.bg: Solid Flat +menu.items.active.bg.color: #283457 +menu.items.active.text.color: #a9b1d6 + +menu.separator.color: #878eaf +menu.separator.width: 1 +menu.separator.padding.width: 2 +menu.separator.padding.height: 4 + +# Window focused +window.active.title.separator.color: #24283b + +# Active window +window.active.border.color: #7aa2f7 + + +window.active.title.bg: flat solid +window.active.title.bg.color: #24283b +window.active.title.separator.color: #24283b +window.active.text.justify: center + +window.active.label.bg: parentrelative +window.active.label.text.color: #a9b1d6 + +window.active.handle.bg: flat solid +window.active.handle.bg.color: #24283b + +window.active.grip.bg: flat solid +window.active.grip.bg.color: #24283b + +window.active.button.unpressed.bg: flat solid +window.active.button.unpressed.bg.color: #24283b +window.active.button.unpressed.image.color: #a9b1d6 + +window.active.button.pressed.bg: flat solid +window.active.button.pressed.bg.color: #283457 +window.active.button.pressed.image.color: #c0caf5 + +window.active.button.disabled.bg: flat solid +window.active.button.disabled.bg.color: #24283b +window.active.button.disabled.image.color: #878eaf + +window.active.button.hover.bg: flat solid +window.active.button.hover.bg.color: #24283b +window.active.button.hover.image.color: #283457 + +#window.active.button.toggled.bg: #283457 +#window.active.button.toggled.image.color: #c0caf5 + +# Inactive window +window.inactive.border.color: #383c4a + +window.inactive.title.bg: flat solid +window.inactive.title.bg.color: #24283b +window.inactive.title.separator.color: #24283b +window.inactive.text.justify: center + +window.inactive.label.bg: parentrelative +window.inactive.label.text.color: #878eaf + +window.inactive.handle.bg: flat solid +window.inactive.handle.bg.color: #24283b + +window.inactive.grip.bg: flat solid +window.inactive.grip.bg.color: #24283b + +window.inactive.button.unpressed.bg: flat solid +window.inactive.button.unpressed.bg.color: #24283b +window.inactive.button.unpressed.image.color: #878eaf + +window.inactive.button.pressed.bg: flat solid +window.inactive.button.pressed.bg.color: #283457 +window.inactive.button.pressed.image.color: #c0caf5 + +window.inactive.button.disabled.bg: flat solid +window.inactive.button.disabled.bg.color: #878eaf +window.inactive.button.disabled.image.color: #24283b + +window.inactive.button.hover.bg: flat solid +window.inactive.button.hover.bg.color: #24283b +window.inactive.button.hover.image.color: #283457 + + +# OSD +osd.border.width: 1 +osd.border.color: #283457 + +osd.bg: flat solid +osd.bg.color: #24283b +osd.label.bg: flat solid +osd.label.bg.color: #24283b +osd.label.text.color: #a9b1d6 + +# OSD +osd.bg: Solid Flat +osd.bg.color: #24283b +osd.bg.shadow: 0 + +osd.border.width: 2 +osd.hilight.bg: Solid Flat +osd.hilight.bg.color: #283457 +osd.unhilight.bg: flat solid +osd.unhilight.bg.color: #1f2335 + +osd.button.unpressed.bg: flat border +osd.button.unpressed.bg.color: #292e42 +#osd.button.unpressed.*.border.color: #c0caf5 + +osd.button.pressed.bg: flat border +osd.button.pressed.bg.color: #283457 +#osd.button.pressed.*.border.color: #c0caf5 + +osd.button.focused.bg: flat solid border +osd.button.focused.bg.color: #a9b1d6 +#osd.button.focused.*.border.color: #1f2335 + +osd.button.focused.box.color: #283457 + + +# Fonts +window.active.label.text.font:shadow=n +window.inactive.label.text.font:shadow=n +menu.items.font:shadow=n +menu.title.text.font:shadow=n + + +# Everything else +border.width: 3 +padding.width: 8 +padding.height: 3 +window.handle.width: 0 +window.client.padding.width: 0 +window.label.text.justify: center +#menu.overlap: 0 diff --git a/Tokyonight-dark/qt5ct_palette.conf b/Tokyonight-dark/qt5ct_palette.conf new file mode 100644 index 00000000..164dc772 --- /dev/null +++ b/Tokyonight-dark/qt5ct_palette.conf @@ -0,0 +1,10 @@ +# FG BTN_BG bright less brdark less da txt fg br text btn fg txt bg bg shadow sel bg sel fg link visited alt bg default tooltip bg tooltip_fg +[ColorScheme] + active_colors=#%FG%, #%BG%, #%BG%, #%BG%, #%HDR_BG%, #%HDR_BG%, #%TXT_FG%, #%TXT_FG%, #%FG%, #%TXT_BG%, #%BG%, #%HDR_BG%, #%SEL_BG%, #%SEL_FG%, #%SEL_BG%, #%FG%, #%BG%, #%FG%, %HDR_BG%, #%HDR_FG% +disabled_colors=#%INACTIVE_FG%, #%BG%, #%BG%, #%BG%, #%HDR_BG%, #%HDR_BG%, #%INACTIVE_TXT_FG%, #%INACTIVE_TXT_FG%, #%INACTIVE_FG%, #%TXT_BG%, #%BG%, #%HDR_BG%, #%SEL_BG%, #%SEL_FG%, #%SEL_BG%, #%INACTIVE_FG%, #%BG%, #%INACTIVE_FG%, #%HDR_BG%, #%INACTIVE_HDR_FG% +inactive_colors=#%FG%, #%BG%, #%BG%, #%BG%, #%HDR_BG%, #%HDR_BG%, #%TXT_FG%, #%TXT_FG%, #%FG%, #%TXT_BG%, #%BG%, #%HDR_BG%, #%SEL_BG%, #%SEL_FG%, #%SEL_BG%, #%FG%, #%BG%, #%FG%, #%HDR_BG%, #%HDR_FG% + +# FG BTN_BG bright less br dark less da txt fg br text btn fg txt bg bg shadow sel bg sel fg link visite alt bg default tooltip bg tooltip_fg +# active_colors=#%FG%, #%BTN_BG%, #%BG%, #cbc7c4, #9f9d9a, #b8b5b2, #%TXT_FG%, #ff0000, #%BTN_FG%, #%TXT_BG%, #%BG%, #767472, #%SEL_BG%, #%SEL_FG%, #%SEL_BG%, #%FG%, #%BG%, #%FG%, %HDR_BG%, #%HDR_FG% +#disabled_colors=#%INACTIVE_FG%, #%BTN_BG%, #%BG%, #cbc7c4, #9f9d9a, #b8b5b2, #%INACTIVE_TXT_FG%, #ffec17, #%BTN_FG%, #%TXT_BG%, #%BG%, #767472, #%SEL_BG%, #%SEL_FG%, #%SEL_BG%, #%INACTIVE_FG%, #%BG%, #%INACTIVE_FG%, #%HDR_BG%, #%INACTIVE_HDR_FG% +#inactive_colors=#%FG%, #%BTN_BG%, #%BG%, #cbc7c4, #9f9d9a, #b8b5b2, #%TXT_FG%, #ff9040, #%BTN_FG%, #%TXT_BG%, #%BG%, #767472, #%SEL_BG%, #%SEL_FG%, #%SEL_BG%, #%FG%, #%BG%, #%FG%, #%HDR_BG%, #%HDR_FG% diff --git a/Tokyonight-dark/qt6ct_palette.conf b/Tokyonight-dark/qt6ct_palette.conf new file mode 100644 index 00000000..682a02da --- /dev/null +++ b/Tokyonight-dark/qt6ct_palette.conf @@ -0,0 +1,5 @@ +# FG BTN_BG bright less brdark less da txt fg br text btn fg txt bg bg shadow sel bg sel fg link visited alt bg default tooltip bg tooltip_fg placeholder_fg +[ColorScheme] +active_colors=#%FG%, #%BG%, #%BG%, #%BG%, #%HDR_BG%, #%HDR_BG%, #%TXT_FG%, #%TXT_FG%, #%FG%, #%TXT_BG%, #%BG%, #%HDR_BG%, #%SEL_BG%, #%SEL_FG%, #%SEL_BG%, #%FG%, #%BG%, #%FG%, %HDR_BG%, #%HDR_FG%, #%INACTIVE_FG% +disabled_colors=#%INACTIVE_FG%, #%BG%, #%BG%, #%BG%, #%HDR_BG%, #%HDR_BG%, #%INACTIVE_TXT_FG%, #%INACTIVE_TXT_FG%, #%INACTIVE_FG%, #%TXT_BG%, #%BG%, #%HDR_BG%, #%SEL_BG%, #%SEL_FG%, #%SEL_BG%, #%INACTIVE_FG%, #%BG%, #%INACTIVE_FG%, #%HDR_BG%, #%INACTIVE_HDR_FG%, #%INACTIVE_FG% +inactive_colors=#%FG%, #%BG%, #%BG%, #%BG%, #%HDR_BG%, #%HDR_BG%, #%TXT_FG%, #%TXT_FG%, #%FG%, #%TXT_BG%, #%BG%, #%HDR_BG%, #%SEL_BG%, #%SEL_FG%, #%SEL_BG%, #%FG%, #%BG%, #%FG%, #%HDR_BG%, #%HDR_FG%, #%INACTIVE_FG% diff --git a/Tokyonight-dark/unity/close.svg b/Tokyonight-dark/unity/close.svg new file mode 100644 index 00000000..95b89bc5 --- /dev/null +++ b/Tokyonight-dark/unity/close.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#%HDR_FG%" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/Tokyonight-dark/unity/close_dash.svg b/Tokyonight-dark/unity/close_dash.svg new file mode 100644 index 00000000..b9a467e0 --- /dev/null +++ b/Tokyonight-dark/unity/close_dash.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#%SEL_FG%" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/Tokyonight-dark/unity/close_dash_disabled.svg b/Tokyonight-dark/unity/close_dash_disabled.svg new file mode 100644 index 00000000..f4ee771c --- /dev/null +++ b/Tokyonight-dark/unity/close_dash_disabled.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#%INACTIVE_HDR_FG%" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/Tokyonight-dark/unity/close_dash_prelight.svg b/Tokyonight-dark/unity/close_dash_prelight.svg new file mode 120000 index 00000000..64b2bffa --- /dev/null +++ b/Tokyonight-dark/unity/close_dash_prelight.svg @@ -0,0 +1 @@ +close_focused_prelight.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/close_dash_pressed.svg b/Tokyonight-dark/unity/close_dash_pressed.svg new file mode 120000 index 00000000..ba6d4feb --- /dev/null +++ b/Tokyonight-dark/unity/close_dash_pressed.svg @@ -0,0 +1 @@ +close_unfocused_pressed.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/close_focused_normal.svg b/Tokyonight-dark/unity/close_focused_normal.svg new file mode 100644 index 00000000..95b89bc5 --- /dev/null +++ b/Tokyonight-dark/unity/close_focused_normal.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#%HDR_FG%" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/Tokyonight-dark/unity/close_focused_prelight.svg b/Tokyonight-dark/unity/close_focused_prelight.svg new file mode 100644 index 00000000..731a7d79 --- /dev/null +++ b/Tokyonight-dark/unity/close_focused_prelight.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#%SEL_BG%" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/Tokyonight-dark/unity/close_focused_pressed.svg b/Tokyonight-dark/unity/close_focused_pressed.svg new file mode 100644 index 00000000..e559db76 --- /dev/null +++ b/Tokyonight-dark/unity/close_focused_pressed.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#%SEL_BG%" opacity="0.75" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/Tokyonight-dark/unity/close_unfocused.svg b/Tokyonight-dark/unity/close_unfocused.svg new file mode 100644 index 00000000..f4ee771c --- /dev/null +++ b/Tokyonight-dark/unity/close_unfocused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#%INACTIVE_HDR_FG%" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/Tokyonight-dark/unity/close_unfocused_prelight.svg b/Tokyonight-dark/unity/close_unfocused_prelight.svg new file mode 120000 index 00000000..c92a1d4a --- /dev/null +++ b/Tokyonight-dark/unity/close_unfocused_prelight.svg @@ -0,0 +1 @@ +./close_focused_prelight.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/close_unfocused_pressed.svg b/Tokyonight-dark/unity/close_unfocused_pressed.svg new file mode 120000 index 00000000..61c7b94e --- /dev/null +++ b/Tokyonight-dark/unity/close_unfocused_pressed.svg @@ -0,0 +1 @@ +./close_focused_pressed.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/launcher_arrow_ltr_19.svg b/Tokyonight-dark/unity/launcher_arrow_ltr_19.svg new file mode 100644 index 00000000..058feead --- /dev/null +++ b/Tokyonight-dark/unity/launcher_arrow_ltr_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + </defs> + <g transform="translate(0,-1033.3622)"> + <rect width="4" height="8" x="2" y="1039.36" rx="0.5" fill="#%SEL_FG%"/> + </g> +</svg> diff --git a/Tokyonight-dark/unity/launcher_arrow_ltr_37.svg b/Tokyonight-dark/unity/launcher_arrow_ltr_37.svg new file mode 100644 index 00000000..74033529 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_arrow_ltr_37.svg @@ -0,0 +1,15 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + <clipPath> + <rect y="1033.36" x="20" height="19" width="10" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <g transform="matrix(2,0,0,1.4999968,0,-530.67775)"> + <rect rx="1" y="1039.36" x="2" height="8" width="4" fill="#%SEL_FG%"/> + </g> + </g> +</svg> diff --git a/Tokyonight-dark/unity/launcher_arrow_outline_ltr_19.svg b/Tokyonight-dark/unity/launcher_arrow_outline_ltr_19.svg new file mode 100644 index 00000000..7c52a42a --- /dev/null +++ b/Tokyonight-dark/unity/launcher_arrow_outline_ltr_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + </defs> + <g transform="translate(0,-1033.3622)"> + <path d="M 2.5 6 C 2.223 6 2 6.223 2 6.5 L 2 13.5 C 2 13.777 2.223 14 2.5 14 L 5.5 14 C 5.777 14 6 13.777 6 13.5 L 6 6.5 C 6 6.223 5.777 6 5.5 6 L 2.5 6 z M 3 7 L 5 7 L 5 13 L 3 13 L 3 7 z " transform="translate(0,1033.3622)" fill="#%SEL_FG%"/> + </g> +</svg> diff --git a/Tokyonight-dark/unity/launcher_arrow_outline_ltr_37.svg b/Tokyonight-dark/unity/launcher_arrow_outline_ltr_37.svg new file mode 100644 index 00000000..93a1496b --- /dev/null +++ b/Tokyonight-dark/unity/launcher_arrow_outline_ltr_37.svg @@ -0,0 +1,13 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + <clipPath> + <rect y="1033.36" x="20" height="19" width="10" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <path d="M 6 13 C 4.892 13 4 13.669002 4 14.5 L 4 23.5 C 4 24.330998 4.892 25 6 25 L 10 25 C 11.108 25 12 24.330998 12 23.5 L 12 14.5 C 12 13.669002 11.108 13 10 13 L 6 13 z M 6 15 L 10 15 L 10 23 L 6 23 L 6 15 z " transform="translate(0,1015.3622)" fill="#%SEL_FG%"/> + </g> +</svg> diff --git a/Tokyonight-dark/unity/launcher_arrow_outline_rtl_19.svg b/Tokyonight-dark/unity/launcher_arrow_outline_rtl_19.svg new file mode 100644 index 00000000..23d75d66 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_arrow_outline_rtl_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + </defs> + <g transform="translate(0,-1033.3622)"> + <path d="m 4.5,1039.3622 c -0.277,0 -0.5,0.223 -0.5,0.5 l 0,7 c 0,0.277 0.223,0.5 0.5,0.5 l 3,0 c 0.277,0 0.5,-0.223 0.5,-0.5 l 0,-7 c 0,-0.277 -0.223,-0.5 -0.5,-0.5 l -3,0 z m 0.5,1 2,0 0,6 -2,0 0,-6 z" fill="#%SEL_FG%"/> + </g> +</svg> diff --git a/Tokyonight-dark/unity/launcher_arrow_outline_rtl_37.svg b/Tokyonight-dark/unity/launcher_arrow_outline_rtl_37.svg new file mode 100644 index 00000000..c9942e20 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_arrow_outline_rtl_37.svg @@ -0,0 +1,13 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + <clipPath> + <rect y="1033.36" x="20" height="19" width="10" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <path d="m 10,1028.3622 c -1.108,0 -2,0.669 -2,1.5 l 0,9 c 0,0.831 0.892,1.5 2,1.5 l 4,0 c 1.108,0 2,-0.669 2,-1.5 l 0,-9 c 0,-0.831 -0.892,-1.5 -2,-1.5 l -4,0 z m 0,2 4,0 0,8 -4,0 0,-8 z" fill="#%SEL_FG%"/> + </g> +</svg> diff --git a/Tokyonight-dark/unity/launcher_arrow_rtl_19.svg b/Tokyonight-dark/unity/launcher_arrow_rtl_19.svg new file mode 100644 index 00000000..d3ade8f8 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_arrow_rtl_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="19"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + </defs> + <g transform="translate(0,-1033.3622)"> + <rect width="4" height="8" x="4" y="1039.36" rx="0.5" fill="#%SEL_FG%"/> + </g> +</svg> diff --git a/Tokyonight-dark/unity/launcher_arrow_rtl_37.svg b/Tokyonight-dark/unity/launcher_arrow_rtl_37.svg new file mode 100644 index 00000000..50d5ca7d --- /dev/null +++ b/Tokyonight-dark/unity/launcher_arrow_rtl_37.svg @@ -0,0 +1,15 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + <clipPath> + <rect y="1033.36" x="20" height="19" width="10" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <g transform="matrix(2,0,0,1.4999968,4,-530.67775)"> + <rect rx="1" y="1039.36" x="2" height="8" width="4" fill="#%SEL_FG%"/> + </g> + </g> +</svg> diff --git a/Tokyonight-dark/unity/launcher_icon_back_150.svg b/Tokyonight-dark/unity/launcher_icon_back_150.svg new file mode 100644 index 00000000..d66f78d3 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_icon_back_150.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 149.99998 150"> + <defs> + <clipPath> + <path d="m 440,80.683594 c -1.84957,0 -3.31641,1.466834 -3.31641,3.316406 l 0,44 c 0,1.84957 1.46684,3.31641 3.31641,3.31641 l 44,0 c 1.84957,0 3.31641,-1.46684 3.31641,-3.31641 l 0,-44 c 0,-1.849572 -1.46684,-3.316406 -3.31641,-3.316406 l -44,0 z"/> + </clipPath> + </defs> +</svg> diff --git a/Tokyonight-dark/unity/launcher_icon_back_54.svg b/Tokyonight-dark/unity/launcher_icon_back_54.svg new file mode 100644 index 00000000..dfe7dbf3 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_icon_back_54.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 54 54.000001"/> diff --git a/Tokyonight-dark/unity/launcher_icon_edge_150.svg b/Tokyonight-dark/unity/launcher_icon_edge_150.svg new file mode 100644 index 00000000..89469cc6 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_icon_edge_150.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 149.99998 150"> + <defs> + <clipPath> + <path d="m 440,80.683594 c -1.84957,0 -3.31641,1.466834 -3.31641,3.316406 l 0,44 c 0,1.84957 1.46684,3.31641 3.31641,3.31641 l 44,0 c 1.84957,0 3.31641,-1.46684 3.31641,-3.31641 l 0,-44 c 0,-1.849572 -1.46684,-3.316406 -3.31641,-3.316406 l -44,0 z"/> + </clipPath> + <clipPath> + <rect y="316" x="353" height="148" width="148" opacity="0.8" fill="#%SEL_BG%" color="#%TXT_FG%" rx="12"/> + </clipPath> + </defs> +</svg> diff --git a/Tokyonight-dark/unity/launcher_icon_edge_54.svg b/Tokyonight-dark/unity/launcher_icon_edge_54.svg new file mode 100644 index 00000000..3307c5b4 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_icon_edge_54.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 54 54.000001"> + <defs> + <clipPath> + <path d="m 440,81.001953 c -1.67866,0 -2.99805,1.319387 -2.99805,2.998047 l 0,44 c 0,1.67866 1.31939,2.99805 2.99805,2.99805 l 44,0 c 1.67866,0 2.99805,-1.31939 2.99805,-2.99805 l 0,-44 c 0,-1.67866 -1.31939,-2.998047 -2.99805,-2.998047 l -44,0 z"/> + </clipPath> + </defs> +</svg> diff --git a/Tokyonight-dark/unity/launcher_icon_glow_200.svg b/Tokyonight-dark/unity/launcher_icon_glow_200.svg new file mode 100644 index 00000000..01bb0d9c --- /dev/null +++ b/Tokyonight-dark/unity/launcher_icon_glow_200.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200.00001 200.00003"> + <defs> + <clipPath> + <path d="m 427.33333,22.026666 0,69.333333 69.33333,0 0,-69.333333 -69.33333,0 z m 13.11917,9.013333 43.095,0 c 2.27623,0 4.10583,1.829606 4.10583,4.105834 l 0,43.094999 c 0,2.276228 -1.8296,4.105834 -4.10583,4.105834 l -43.095,0 c -2.27623,0 -4.10583,-1.829606 -4.10583,-4.105834 l 0,-43.094999 c 0,-2.276228 1.8296,-4.105834 4.10583,-4.105834 z"/> + </clipPath> + </defs> +</svg> diff --git a/Tokyonight-dark/unity/launcher_icon_glow_62.svg b/Tokyonight-dark/unity/launcher_icon_glow_62.svg new file mode 100644 index 00000000..105b068a --- /dev/null +++ b/Tokyonight-dark/unity/launcher_icon_glow_62.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="62" height="62" viewBox="0 0 62 62.000001"> + <defs> + <clipPath> + <path d="m 1,25 0,62 62,0 0,-62 -62,0 z m 9,6 44,0 c 1.662,0 3,1.338 3,3 l 0,44 c 0,1.662 -1.338,3 -3,3 L 10,81 C 8.338,81 7,79.662 7,78 L 7,34 c 0,-1.662 1.338,-3 3,-3 z"/> + </clipPath> + </defs> +</svg> diff --git a/Tokyonight-dark/unity/launcher_icon_selected_back_150.svg b/Tokyonight-dark/unity/launcher_icon_selected_back_150.svg new file mode 100644 index 00000000..a68e27f5 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_icon_selected_back_150.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 149.99998 150"> + <defs> + <clipPath> + <rect y="1040.22" x="505" height="150" width="150" opacity="0.2" fill-rule="evenodd" color="#%TXT_FG%" rx="42"/> + </clipPath> + </defs> + <g transform="translate(-505.00002,-1040.2193)"> + <rect width="150" height="4" x="505" y="1186.22" rx="2" fill="#%SEL_FG%" fill-rule="evenodd"/> + </g> +</svg> diff --git a/Tokyonight-dark/unity/launcher_icon_selected_back_54.svg b/Tokyonight-dark/unity/launcher_icon_selected_back_54.svg new file mode 100644 index 00000000..dfe7dbf3 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_icon_selected_back_54.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 54 54.000001"/> diff --git a/Tokyonight-dark/unity/launcher_icon_shadow_200.svg b/Tokyonight-dark/unity/launcher_icon_shadow_200.svg new file mode 100644 index 00000000..9e68b14b --- /dev/null +++ b/Tokyonight-dark/unity/launcher_icon_shadow_200.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200.00001 200.00003"> + <defs> + <clipPath> + <path d="m 489.73333,21.333331 0,69.333332 69.33333,0 0,-69.333332 -69.33333,0 z m 13.11917,9.013334 43.095,0 c 2.27623,0 4.10583,1.829606 4.10583,4.105833 l 0,43.094999 c 0,2.276227 -1.8296,4.105833 -4.10583,4.105833 l -43.095,0 c -2.27623,0 -4.10583,-1.829606 -4.10583,-4.105833 l 0,-43.094999 c 0,-2.276227 1.8296,-4.105833 4.10583,-4.105833 z"/> + </clipPath> + </defs> +</svg> diff --git a/Tokyonight-dark/unity/launcher_icon_shadow_62.svg b/Tokyonight-dark/unity/launcher_icon_shadow_62.svg new file mode 100644 index 00000000..d322434a --- /dev/null +++ b/Tokyonight-dark/unity/launcher_icon_shadow_62.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="62" height="62" viewBox="0 0 61.999999 62.000001"> + <defs> + <clipPath> + <path d="m 4,24 c -2.216,0 -4,1.784 -4,4 l 0,56 c 0,2.216 1.784,4 4,4 l 56,0 c 2.216,0 4,-1.784 4,-4 l 0,-56 c 0,-2.216 -1.784,-4 -4,-4 L 4,24 z m 6,6 44,0 c 2.216,0 4,1.784 4,4 l 0,44 c 0,2.216 -1.784,4 -4,4 L 10,82 C 7.784,82 6,80.216 6,78 L 6,34 c 0,-2.216 1.784,-4 4,-4 z"/> + </clipPath> + </defs> +</svg> diff --git a/Tokyonight-dark/unity/launcher_icon_shine_150.svg b/Tokyonight-dark/unity/launcher_icon_shine_150.svg new file mode 100644 index 00000000..51af8a14 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_icon_shine_150.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 149.99998 150"/> diff --git a/Tokyonight-dark/unity/launcher_icon_shine_54.svg b/Tokyonight-dark/unity/launcher_icon_shine_54.svg new file mode 100644 index 00000000..dfe7dbf3 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_icon_shine_54.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 54 54.000001"/> diff --git a/Tokyonight-dark/unity/launcher_pip_ltr_19.svg b/Tokyonight-dark/unity/launcher_pip_ltr_19.svg new file mode 100644 index 00000000..4e513cee --- /dev/null +++ b/Tokyonight-dark/unity/launcher_pip_ltr_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="18"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + </defs> + <g transform="translate(0,-1034.3622)"> + <rect rx="0.5" y="1042.36" x="2" height="3" width="3" fill="#%SEL_FG%"/> + </g> +</svg> diff --git a/Tokyonight-dark/unity/launcher_pip_ltr_37.svg b/Tokyonight-dark/unity/launcher_pip_ltr_37.svg new file mode 100644 index 00000000..6da05dac --- /dev/null +++ b/Tokyonight-dark/unity/launcher_pip_ltr_37.svg @@ -0,0 +1,16 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + <clipPath> + <rect width="20" height="37" x="20" y="1015.36" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <rect width="7" height="7" x="5" y="1030.36" rx="1" fill="#%SEL_FG%"/> + </g> +</svg> diff --git a/Tokyonight-dark/unity/launcher_pip_rtl_19.svg b/Tokyonight-dark/unity/launcher_pip_rtl_19.svg new file mode 100644 index 00000000..7479e2d8 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_pip_rtl_19.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="18"> + <defs> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + </defs> + <g transform="translate(0,-1034.3622)"> + <rect width="3" height="3" x="5" y="1042.36" rx="0.5" fill="#%SEL_FG%"/> + </g> +</svg> diff --git a/Tokyonight-dark/unity/launcher_pip_rtl_37.svg b/Tokyonight-dark/unity/launcher_pip_rtl_37.svg new file mode 100644 index 00000000..2548d1b7 --- /dev/null +++ b/Tokyonight-dark/unity/launcher_pip_rtl_37.svg @@ -0,0 +1,16 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="37"> + <defs> + <clipPath> + <rect y="1015.36" x="20" height="37" width="20" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + <clipPath> + <rect width="10" height="19" x="20" y="1033.36" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + <clipPath> + <rect width="20" height="37" x="20" y="1015.36" opacity="0.12" fill="#%SEL_BG%" color="#%TXT_FG%"/> + </clipPath> + </defs> + <g transform="translate(0,-1015.3622)"> + <rect width="7" height="7" x="8" y="1030.36" rx="1" fill="#%SEL_FG%"/> + </g> +</svg> diff --git a/Tokyonight-dark/unity/maximize.svg b/Tokyonight-dark/unity/maximize.svg new file mode 100644 index 00000000..1550c2e0 --- /dev/null +++ b/Tokyonight-dark/unity/maximize.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#%HDR_FG%" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/Tokyonight-dark/unity/maximize_dash.svg b/Tokyonight-dark/unity/maximize_dash.svg new file mode 100644 index 00000000..b9ae8e3f --- /dev/null +++ b/Tokyonight-dark/unity/maximize_dash.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#%SEL_FG%" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/Tokyonight-dark/unity/maximize_dash_disabled.svg b/Tokyonight-dark/unity/maximize_dash_disabled.svg new file mode 100644 index 00000000..a78aea4d --- /dev/null +++ b/Tokyonight-dark/unity/maximize_dash_disabled.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#%INACTIVE_HDR_FG%" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/Tokyonight-dark/unity/maximize_dash_prelight.svg b/Tokyonight-dark/unity/maximize_dash_prelight.svg new file mode 120000 index 00000000..3efa75fe --- /dev/null +++ b/Tokyonight-dark/unity/maximize_dash_prelight.svg @@ -0,0 +1 @@ +maximize_dash.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/maximize_dash_pressed.svg b/Tokyonight-dark/unity/maximize_dash_pressed.svg new file mode 120000 index 00000000..3efa75fe --- /dev/null +++ b/Tokyonight-dark/unity/maximize_dash_pressed.svg @@ -0,0 +1 @@ +maximize_dash.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/maximize_focused_normal.svg b/Tokyonight-dark/unity/maximize_focused_normal.svg new file mode 100644 index 00000000..1550c2e0 --- /dev/null +++ b/Tokyonight-dark/unity/maximize_focused_normal.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#%HDR_FG%" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/Tokyonight-dark/unity/maximize_focused_prelight.svg b/Tokyonight-dark/unity/maximize_focused_prelight.svg new file mode 100644 index 00000000..2a7f3f24 --- /dev/null +++ b/Tokyonight-dark/unity/maximize_focused_prelight.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#%SEL_BG%" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/Tokyonight-dark/unity/maximize_focused_pressed.svg b/Tokyonight-dark/unity/maximize_focused_pressed.svg new file mode 100644 index 00000000..8cd61410 --- /dev/null +++ b/Tokyonight-dark/unity/maximize_focused_pressed.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#%SEL_BG%" opacity="0.75" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/Tokyonight-dark/unity/maximize_unfocused.svg b/Tokyonight-dark/unity/maximize_unfocused.svg new file mode 100644 index 00000000..a78aea4d --- /dev/null +++ b/Tokyonight-dark/unity/maximize_unfocused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><path fill="#%INACTIVE_HDR_FG%" d="M14,14h-4v-4h4V14z M16,8H8v8h8V8z"/></svg> diff --git a/Tokyonight-dark/unity/maximize_unfocused_prelight.svg b/Tokyonight-dark/unity/maximize_unfocused_prelight.svg new file mode 120000 index 00000000..0f332c52 --- /dev/null +++ b/Tokyonight-dark/unity/maximize_unfocused_prelight.svg @@ -0,0 +1 @@ +./maximize_focused_prelight.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/maximize_unfocused_pressed.svg b/Tokyonight-dark/unity/maximize_unfocused_pressed.svg new file mode 120000 index 00000000..e3f8d9bd --- /dev/null +++ b/Tokyonight-dark/unity/maximize_unfocused_pressed.svg @@ -0,0 +1 @@ +./maximize_focused_pressed.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/minimize.svg b/Tokyonight-dark/unity/minimize.svg new file mode 100644 index 00000000..a4503471 --- /dev/null +++ b/Tokyonight-dark/unity/minimize.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#%HDR_FG%" width="8" height="2"/></svg> diff --git a/Tokyonight-dark/unity/minimize_dash.svg b/Tokyonight-dark/unity/minimize_dash.svg new file mode 100644 index 00000000..6f5d9ab0 --- /dev/null +++ b/Tokyonight-dark/unity/minimize_dash.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#%SEL_FG%" width="8" height="2"/></svg> diff --git a/Tokyonight-dark/unity/minimize_dash_disabled.svg b/Tokyonight-dark/unity/minimize_dash_disabled.svg new file mode 100644 index 00000000..c3c922a2 --- /dev/null +++ b/Tokyonight-dark/unity/minimize_dash_disabled.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#%INACTIVE_HDR_FG%" width="8" height="2"/></svg> diff --git a/Tokyonight-dark/unity/minimize_dash_prelight.svg b/Tokyonight-dark/unity/minimize_dash_prelight.svg new file mode 120000 index 00000000..752db6d1 --- /dev/null +++ b/Tokyonight-dark/unity/minimize_dash_prelight.svg @@ -0,0 +1 @@ +minimize_focused_prelight.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/minimize_dash_pressed.svg b/Tokyonight-dark/unity/minimize_dash_pressed.svg new file mode 120000 index 00000000..d2b384bd --- /dev/null +++ b/Tokyonight-dark/unity/minimize_dash_pressed.svg @@ -0,0 +1 @@ +minimize_focused_pressed.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/minimize_focused_normal.svg b/Tokyonight-dark/unity/minimize_focused_normal.svg new file mode 100644 index 00000000..a4503471 --- /dev/null +++ b/Tokyonight-dark/unity/minimize_focused_normal.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#%HDR_FG%" width="8" height="2"/></svg> diff --git a/Tokyonight-dark/unity/minimize_focused_prelight.svg b/Tokyonight-dark/unity/minimize_focused_prelight.svg new file mode 100644 index 00000000..da47a43a --- /dev/null +++ b/Tokyonight-dark/unity/minimize_focused_prelight.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#%SEL_BG%" width="8" height="2"/></svg> diff --git a/Tokyonight-dark/unity/minimize_focused_pressed.svg b/Tokyonight-dark/unity/minimize_focused_pressed.svg new file mode 100644 index 00000000..e49873dd --- /dev/null +++ b/Tokyonight-dark/unity/minimize_focused_pressed.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#%SEL_BG%" opacity="0.75" width="8" height="2"/></svg> diff --git a/Tokyonight-dark/unity/minimize_unfocused.svg b/Tokyonight-dark/unity/minimize_unfocused.svg new file mode 100644 index 00000000..c3c922a2 --- /dev/null +++ b/Tokyonight-dark/unity/minimize_unfocused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#%INACTIVE_HDR_FG%" width="8" height="2"/></svg> diff --git a/Tokyonight-dark/unity/minimize_unfocused_prelight.svg b/Tokyonight-dark/unity/minimize_unfocused_prelight.svg new file mode 120000 index 00000000..bef3fe5c --- /dev/null +++ b/Tokyonight-dark/unity/minimize_unfocused_prelight.svg @@ -0,0 +1 @@ +./minimize_focused_prelight.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/minimize_unfocused_pressed.svg b/Tokyonight-dark/unity/minimize_unfocused_pressed.svg new file mode 120000 index 00000000..683fa92a --- /dev/null +++ b/Tokyonight-dark/unity/minimize_unfocused_pressed.svg @@ -0,0 +1 @@ +./minimize_focused_pressed.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/minimized.svg b/Tokyonight-dark/unity/minimized.svg new file mode 100644 index 00000000..a4503471 --- /dev/null +++ b/Tokyonight-dark/unity/minimized.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" xml:space="preserve"><rect x="8" y="11" fill="#%HDR_FG%" width="8" height="2"/></svg> diff --git a/Tokyonight-dark/unity/modes/launcher_bfb-flat.png b/Tokyonight-dark/unity/modes/launcher_bfb-flat.png new file mode 100644 index 00000000..f5aa0e55 Binary files /dev/null and b/Tokyonight-dark/unity/modes/launcher_bfb-flat.png differ diff --git a/Tokyonight-dark/unity/modes/launcher_bfb_ns.png b/Tokyonight-dark/unity/modes/launcher_bfb_ns.png new file mode 100644 index 00000000..2ca1ebba Binary files /dev/null and b/Tokyonight-dark/unity/modes/launcher_bfb_ns.png differ diff --git a/Tokyonight-dark/unity/modes/ubuntu-square.svg b/Tokyonight-dark/unity/modes/ubuntu-square.svg new file mode 100644 index 00000000..1b925fb1 --- /dev/null +++ b/Tokyonight-dark/unity/modes/ubuntu-square.svg @@ -0,0 +1,69 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48"> + <defs> + <clipPath> + <rect width="42" x="307" y="223" rx="9" height="42" transform="rotate(90)" fill="url(#3)" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="240" x="24" y="36" rx="50" height="240" fill="#986767" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="16" x="432" y="116" rx="2" height="16" opacity="0.2" fill="#6d6d6d" color="#bebebe"/> + </clipPath> + <clipPath> + <path d="m 98.03125,23.191212 c -41.492132,1.05238 -74.84375,35.06824 -74.84375,76.812498 0,42.40687 34.405632,76.8125 76.8125,76.8125 42.40687,0 76.8125,-34.40563 76.8125,-76.8125 0,-42.406866 -34.40563,-76.812498 -76.8125,-76.812498 -0.662607,0 -1.310145,-0.0167 -1.96875,0 z M 100,50.659962 c 27.24464,0 49.34375,22.099114 49.34375,49.343748 -1e-5,27.24464 -22.09911,49.34375 -49.34375,49.34375 -27.244636,-1e-5 -49.34375,-22.09911 -49.34375,-49.34375 0,-27.244634 22.099114,-49.343748 49.34375,-49.343748 z"/> + </clipPath> + <clipPath> + <path d="m 152,204 a 8,8 0 1 1 -16,0 8,8 0 1 1 16,0 z"/> + </clipPath> + <clipPath> + <path d="m 145,215 c 33.13708,0 60,-26.86292 60,-60 0,-33.13708 -26.86292,-60 -60,-60 -33.13708,0 -60,26.86292 -60,60 0,12.50698 3.8285,24.10633 10.375,33.71875 L 89,211 111.28125,204.625 C 120.89367,211.1715 132.49302,215 145,215 z"/> + </clipPath> + <clipPath> + <rect width="16" x="432" y="116" rx="3" height="16" color="#bebebe"/> + </clipPath> + <clipPath> + <path d="m 144,70 c -49.705627,0 -90,40.29437 -90,90 0,49.70563 40.294373,90 90,90 49.70563,0 90,-40.29437 90,-90 0,-49.70563 -40.29437,-90 -90,-90 z m 0,32.1875 c 32.03251,0 58,25.96748 58,58 0,32.03252 -25.96749,58 -58,58 -32.03251,0 -58,-25.96748 -58,-58 0,-32.03252 25.96749,-58 58,-58 z"/> + </clipPath> + <clipPath> + <rect width="22" x="433" y="77" rx="3" height="22" opacity="0.2" fill="#6d6d6d" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="30" x="433" y="29" rx="4" height="30" opacity="0.2" fill="#6d6d6d" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="90" x="307" y="31" rx="18.75" height="90" fill="url(#1)" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="60" x="306" y="142" rx="12.5" height="60" transform="matrix(0 -1 1 0 0 0)" fill="url(#0)" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="30" x="433" y="29" rx="6" height="30" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="22" x="433" y="77" rx="5" height="22" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="22" x="433" y="77" rx="4" height="22" color="#bebebe"/> + </clipPath> + <clipPath> + <rect width="20" x="434" y="78" rx="4" height="20" color="#bebebe"/> + </clipPath> + <linearGradient gradientTransform="matrix(.25 0 0 .25 299.99999 131.99999)" id="0" xlink:href="#2" y1="230" y2="90" x2="0" gradientUnits="userSpaceOnUse"/> + <linearGradient gradientTransform="matrix(.375 0 0 .375 298 16)" id="1" xlink:href="#2" y1="230" y2="90" x2="0" gradientUnits="userSpaceOnUse"/> + <linearGradient id="2"> + <stop stop-color="#151515"/> + <stop offset="1" stop-color="#222"/> + </linearGradient> + <linearGradient gradientTransform="matrix(.175 0 0 .175 302.79999 215.99997)" id="3" xlink:href="#2" y1="280" y2="40" x2="0" gradientUnits="userSpaceOnUse"/> + </defs> + <g transform="translate(0,-1004.3622)"> + <path d="M 5.1875,1 C 2.8707723,1 1,2.8707723 1,5.1875 l 0,37.625 C 1,45.129228 2.8707723,47 5.1875,47 l 37.625,0 C 45.129228,47 47,45.129228 47,42.8125 L 47,5.1875 C 47,2.8707723 45.129228,1 42.8125,1 L 5.1875,1 z m 0.1875,0.25 37.25,0 c 2.291546,0 4.125,1.8334541 4.125,4.125 l 0,37.25 c 0,2.291546 -1.833454,4.125 -4.125,4.125 l -37.25,0 C 3.0834541,46.75 1.25,44.916546 1.25,42.625 l 0,-37.25 C 1.25,3.0834541 3.0834541,1.25 5.375,1.25 z" transform="translate(0,1004.3622)" opacity="0.05"/> + <path d="M 5.375,1.25 C 3.0834541,1.25 1.25,3.0834541 1.25,5.375 l 0,37.25 c 0,2.291546 1.8334541,4.125 4.125,4.125 l 37.25,0 c 2.291546,0 4.125,-1.833454 4.125,-4.125 l 0,-37.25 C 46.75,3.0834541 44.916546,1.25 42.625,1.25 l -37.25,0 z m 0.21875,0.25 36.8125,0 C 44.672614,1.5 46.5,3.3273859 46.5,5.59375 l 0,36.8125 C 46.5,44.672614 44.672614,46.5 42.40625,46.5 l -36.8125,0 C 3.3273859,46.5 1.5,44.672614 1.5,42.40625 l 0,-36.8125 C 1.5,3.3273859 3.3273859,1.5 5.59375,1.5 z" transform="translate(0,1004.3622)" opacity="0.1"/> + <path d="M 5.59375,1.5 C 3.3273859,1.5 1.5,3.3273859 1.5,5.59375 l 0,36.8125 C 1.5,44.672614 3.3273859,46.5 5.59375,46.5 l 36.8125,0 C 44.672614,46.5 46.5,44.672614 46.5,42.40625 l 0,-36.8125 C 46.5,3.3273859 44.672614,1.5 42.40625,1.5 l -36.8125,0 z m 0.09375,0.125 36.625,0 c 2.253773,0 4.0625,1.8087269 4.0625,4.0625 l 0,36.625 c 0,2.253773 -1.808727,4.0625 -4.0625,4.0625 l -36.625,0 c -2.2537731,0 -4.0625,-1.808727 -4.0625,-4.0625 l 0,-36.625 C 1.625,3.4337269 3.4337269,1.625 5.6875,1.625 z" transform="translate(0,1004.3622)" opacity="0.2"/> + <path d="M 5.6875,1.625 C 3.4337269,1.625 1.625,3.4337269 1.625,5.6875 l 0,36.625 c 0,2.253773 1.8087269,4.0625 4.0625,4.0625 l 36.625,0 c 2.253773,0 4.0625,-1.808727 4.0625,-4.0625 l 0,-36.625 c 0,-2.2537731 -1.808727,-4.0625 -4.0625,-4.0625 l -36.625,0 z m 0.09375,0.125 36.4375,0 c 2.241182,0 4.03125,1.7900679 4.03125,4.03125 l 0,36.4375 c 0,2.241182 -1.790068,4.03125 -4.03125,4.03125 l -36.4375,0 C 3.5400679,46.25 1.75,44.459932 1.75,42.21875 l 0,-36.4375 C 1.75,3.5400679 3.5400679,1.75 5.78125,1.75 z" transform="translate(0,1004.3622)" opacity="0.3"/> + <path d="M 5.78125,1.75 C 3.5400679,1.75 1.75,3.5400679 1.75,5.78125 l 0,36.4375 c 0,2.241182 1.7900679,4.03125 4.03125,4.03125 l 36.4375,0 c 2.241182,0 4.03125,-1.790068 4.03125,-4.03125 l 0,-36.4375 C 46.25,3.5400679 44.459932,1.75 42.21875,1.75 l -36.4375,0 z m 0.125,0.125 36.1875,0 c 2.228591,0 4.03125,1.802659 4.03125,4.03125 l 0,36.1875 c 0,2.228591 -1.802659,4.03125 -4.03125,4.03125 l -36.1875,0 C 3.677659,46.125 1.875,44.322341 1.875,42.09375 l 0,-36.1875 C 1.875,3.677659 3.677659,1.875 5.90625,1.875 z" transform="translate(0,1004.3622)" opacity="0.4"/> + <rect rx="4.02" y="1006.24" x="1.875" height="44.25" width="44.25" opacity="0.5"/> + </g> + <rect rx="4" y="1.998" x="2" height="44" width="44" fill="#dd4814"/> + <path d="M 24.000004,12.000001 C 17.372557,12.000001 12,17.372389 12,24 c 0,6.627189 5.372557,12 12.000004,12 6.62744,0 12,-5.372896 12,-12 0,-6.627611 -5.37256,-11.999999 -12,-11.999999 z m 4.125,3.33125 c 0.25818,0.0067 0.51682,0.07428 0.75625,0.2125 0.76631,0.442467 1.02996,1.427433 0.5875,2.19375 -0.44222,0.765978 -1.42127,1.023802 -2.1875,0.58125 -0.76607,-0.442214 -1.0298,-1.421522 -0.5875,-2.1875 0.30419,-0.526843 0.86325,-0.814741 1.43125,-0.8 z m -4.125,1.70625 c 0.64422,0 1.27051,0.09242 1.8625,0.25625 0.10464,0.64355 0.48482,1.235964 1.09375,1.5875 0.60815,0.351196 1.30965,0.386373 1.91875,0.15625 1.18473,1.164757 1.95639,2.74771 2.06875,4.512499 l -2.28125,0.0375 c -0.21023,-2.390305 -2.21759,-4.268749 -4.6625,-4.268749 -0.704516,0 -1.36957,0.158693 -1.968754,0.4375 l -1.112499,-1.99375 c 0.929807,-0.460586 1.973301,-0.725 3.081253,-0.725 z m -3.862503,1.16875 1.174999,1.9625 c -1.203195,0.846834 -1.993749,2.2479 -1.993749,3.831249 0,1.583603 0.790554,2.984585 1.993749,3.83125 l -1.174999,1.9625 c -1.402078,-0.936666 -2.441846,-2.372586 -2.875,-4.05 0.506136,-0.41241 0.825,-1.039747 0.825,-1.74375 0,-0.704171 -0.31895,-1.331254 -0.825,-1.74375 0.433238,-1.677243 1.472922,-3.113249 2.875,-4.049999 z m -4.3,4.193749 c 0.884764,0 1.60625,0.714896 1.60625,1.6 0,0.884681 -0.72157,1.6 -1.60625,1.6 -0.88502,0 -1.600001,-0.715319 -1.600001,-1.6 0,-0.885019 0.714981,-1.6 1.600001,-1.6 z m 12.825003,2.0125 2.28125,0.0375 c -0.11219,1.76479 -0.8841,3.347658 -2.06875,4.5125 -0.6091,-0.230208 -1.3106,-0.194777 -1.91875,0.15625 -0.60901,0.35179 -0.98911,0.94395 -1.09375,1.5875 -0.59208,0.163829 -1.21828,0.25625 -1.8625,0.25625 -1.107952,0 -2.157612,-0.264583 -3.087503,-0.725 l 1.118749,-1.99375 c 0.599268,0.278807 1.264154,0.4375 1.968754,0.4375 2.44491,0 4.45244,-1.878105 4.6625,-4.26875 z m -0.625,5.05 c 0.56798,-0.01474 1.12717,0.27964 1.43125,0.80625 0.44238,0.766232 0.17856,1.745202 -0.5875,2.1875 -0.76632,0.442384 -1.74504,0.178818 -2.1875,-0.5875 -0.44222,-0.765978 -0.17882,-1.745117 0.5875,-2.1875 0.23939,-0.138218 0.49807,-0.212051 0.75625,-0.21875 z" fill="#f9f9f9"/> +</svg> diff --git a/Tokyonight-dark/unity/progress_bar_fill.svg b/Tokyonight-dark/unity/progress_bar_fill.svg new file mode 100644 index 00000000..2f1d7367 --- /dev/null +++ b/Tokyonight-dark/unity/progress_bar_fill.svg @@ -0,0 +1,5 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="42" height="4"> + <g transform="translate(0,-1048.3622)"> + <path d="m 1,1048.3622 40,0 c 1,0 1,0 1,1 l 0,2 c 0,1 0,1 -1,1 l -40,0 c -1,0 -1,0 -1,-1 l 0,-2 c 0,-1 0,-1 1,-1 z" fill="#%SEL_BG%"/> + </g> +</svg> diff --git a/Tokyonight-dark/unity/progress_bar_trough.svg b/Tokyonight-dark/unity/progress_bar_trough.svg new file mode 100644 index 00000000..588f1f2d --- /dev/null +++ b/Tokyonight-dark/unity/progress_bar_trough.svg @@ -0,0 +1,71 @@ +<?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:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="54" + height="54" + id="svg2" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="progress_bar_trough.svg"> + <metadata + id="metadata18"> + <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="defs16" /> + <sodipodi:namedview + pagecolor="#%SEL_FG%" + bordercolor="#%INACTIVE_HDR_FG%" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1366" + inkscape:window-height="713" + id="namedview14" + showgrid="false" + inkscape:zoom="8.9114583" + inkscape:cx="8.3161894" + inkscape:cy="26.77557" + inkscape:window-x="0" + inkscape:window-y="341" + inkscape:window-maximized="1" + inkscape:current-layer="svg2" /> + <g + transform="translate(0,-998.36218)" + id="g4"> + <image + y="346.58" + x="413.71" + xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAABHNCSVQICAgIfAhkiAAAAAxJREFU CJljYCAZAAAAMwAB0kOx4wAAAABJRU5ErkJggg== " + height="3" + width="4" + id="image6" /> + </g> + <path + style="fill:#%HDR_BG%;opacity:0.5" + inkscape:connector-curvature="0" + id="path10" + d="m 7,25 c -1.0000065,0 -1,0 -1,1 l 0,2 c 0,1 -1.35e-5,1 1,1 l 40,0 c 1,0 1,0 1,-1 l 0,-2 c 0,-1 0,-1 -1,-1 L 7,25 z" /> + <path + style="fill:#%SEL_FG%" + inkscape:connector-curvature="0" + id="path12" + d="m 7,23 c -3.0000291,0 -3,0 -3,3 l 0,2 c 0,3 -2.91e-5,3 3,3 l 40,0 c 3,0 3,0 3,-3 l 0,-2 c 0,-3 0,-3 -3,-3 z m 0,2 40,0 c 1,0 1,0 1,1 l 0,2 c 0,1 0,1 -1,1 L 7,29 C 5.9999865,29 6,29 6,28 l 0,-2 c 0,-1 -6.5e-6,-1 1,-1 z" /> +</svg> diff --git a/Tokyonight-dark/unity/sheet_style_close_focused.svg b/Tokyonight-dark/unity/sheet_style_close_focused.svg new file mode 100644 index 00000000..f4ee771c --- /dev/null +++ b/Tokyonight-dark/unity/sheet_style_close_focused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path id="a" fill="#%INACTIVE_HDR_FG%" d="M16,8c0,0,0,0.2-0.1,0.6c0,0.2-0.1,0.4-0.1,0.7c0,0.1-0.1,0.3-0.1,0.4c0,0.1-0.2,0.2-0.3,0.3c-0.7,0.7-1.7,1.7-2.7,2.7c-1,1-2,2-2.7,2.7c-0.1,0.1-0.1,0.2-0.3,0.3c-0.1,0-0.3,0.1-0.4,0.1c-0.2,0.1-0.5,0.1-0.7,0.1C8.2,16,8,16,8,16s0-0.2,0.1-0.6c0-0.2,0.1-0.4,0.1-0.7c0-0.1,0.1-0.3,0.1-0.4c0-0.1,0.2-0.2,0.3-0.3c0.7-0.7,1.7-1.7,2.7-2.7c1-1,2-2,2.7-2.7c0.1-0.1,0.1-0.2,0.3-0.3c0.1,0,0.3-0.1,0.4-0.1c0.2-0.1,0.5-0.1,0.7-0.1C15.7,8,16,8,16,8z"/><use xlink:href="#a" transform="matrix(-1,0,0,1,24,0)"/></svg> diff --git a/Tokyonight-dark/unity/sheet_style_close_focused_prelight.svg b/Tokyonight-dark/unity/sheet_style_close_focused_prelight.svg new file mode 120000 index 00000000..64b2bffa --- /dev/null +++ b/Tokyonight-dark/unity/sheet_style_close_focused_prelight.svg @@ -0,0 +1 @@ +close_focused_prelight.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/sheet_style_close_focused_pressed.svg b/Tokyonight-dark/unity/sheet_style_close_focused_pressed.svg new file mode 120000 index 00000000..ba6d4feb --- /dev/null +++ b/Tokyonight-dark/unity/sheet_style_close_focused_pressed.svg @@ -0,0 +1 @@ +close_unfocused_pressed.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/unmaximize.svg b/Tokyonight-dark/unity/unmaximize.svg new file mode 100644 index 00000000..05bd03d3 --- /dev/null +++ b/Tokyonight-dark/unity/unmaximize.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#%HDR_FG%" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/Tokyonight-dark/unity/unmaximize_dash.svg b/Tokyonight-dark/unity/unmaximize_dash.svg new file mode 100644 index 00000000..87bb3116 --- /dev/null +++ b/Tokyonight-dark/unity/unmaximize_dash.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#%SEL_FG%" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/Tokyonight-dark/unity/unmaximize_dash_disabled.svg b/Tokyonight-dark/unity/unmaximize_dash_disabled.svg new file mode 100644 index 00000000..92565e95 --- /dev/null +++ b/Tokyonight-dark/unity/unmaximize_dash_disabled.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#%INACTIVE_HDR_FG%" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/Tokyonight-dark/unity/unmaximize_dash_prelight.svg b/Tokyonight-dark/unity/unmaximize_dash_prelight.svg new file mode 120000 index 00000000..945a9f82 --- /dev/null +++ b/Tokyonight-dark/unity/unmaximize_dash_prelight.svg @@ -0,0 +1 @@ +unmaximize_dash.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/unmaximize_dash_pressed.svg b/Tokyonight-dark/unity/unmaximize_dash_pressed.svg new file mode 120000 index 00000000..945a9f82 --- /dev/null +++ b/Tokyonight-dark/unity/unmaximize_dash_pressed.svg @@ -0,0 +1 @@ +unmaximize_dash.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/unmaximize_focused_normal.svg b/Tokyonight-dark/unity/unmaximize_focused_normal.svg new file mode 100644 index 00000000..05bd03d3 --- /dev/null +++ b/Tokyonight-dark/unity/unmaximize_focused_normal.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#%HDR_FG%" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/Tokyonight-dark/unity/unmaximize_focused_prelight.svg b/Tokyonight-dark/unity/unmaximize_focused_prelight.svg new file mode 100644 index 00000000..1530e41d --- /dev/null +++ b/Tokyonight-dark/unity/unmaximize_focused_prelight.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#%SEL_BG%" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/Tokyonight-dark/unity/unmaximize_focused_pressed.svg b/Tokyonight-dark/unity/unmaximize_focused_pressed.svg new file mode 100644 index 00000000..d1079995 --- /dev/null +++ b/Tokyonight-dark/unity/unmaximize_focused_pressed.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#%SEL_BG%" opacity="0.75" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/Tokyonight-dark/unity/unmaximize_unfocused.svg b/Tokyonight-dark/unity/unmaximize_unfocused.svg new file mode 100644 index 00000000..92565e95 --- /dev/null +++ b/Tokyonight-dark/unity/unmaximize_unfocused.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="utf-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24"><path fill="#%INACTIVE_HDR_FG%" d="M14,14h-4v-3h4V14z M16,9H8v7h8V9z"/></svg> diff --git a/Tokyonight-dark/unity/unmaximize_unfocused_prelight.svg b/Tokyonight-dark/unity/unmaximize_unfocused_prelight.svg new file mode 120000 index 00000000..c786587e --- /dev/null +++ b/Tokyonight-dark/unity/unmaximize_unfocused_prelight.svg @@ -0,0 +1 @@ +unmaximize_focused_prelight.svg \ No newline at end of file diff --git a/Tokyonight-dark/unity/unmaximize_unfocused_pressed.svg b/Tokyonight-dark/unity/unmaximize_unfocused_pressed.svg new file mode 120000 index 00000000..226570c7 --- /dev/null +++ b/Tokyonight-dark/unity/unmaximize_unfocused_pressed.svg @@ -0,0 +1 @@ +unmaximize_focused_pressed.svg \ No newline at end of file diff --git a/Tokyonight-dark/xfwm4/bottom-active.xpm b/Tokyonight-dark/xfwm4/bottom-active.xpm new file mode 100644 index 00000000..43323722 --- /dev/null +++ b/Tokyonight-dark/xfwm4/bottom-active.xpm @@ -0,0 +1,6 @@ +/* XPM */ +static char * bottom_active_xpm[] = { +"8 1 2 1", +" c None", +". c #%WM_BORDER_FOCUS%", +"........"}; diff --git a/Tokyonight-dark/xfwm4/bottom-inactive.xpm b/Tokyonight-dark/xfwm4/bottom-inactive.xpm new file mode 100644 index 00000000..ab3d1b8a --- /dev/null +++ b/Tokyonight-dark/xfwm4/bottom-inactive.xpm @@ -0,0 +1,6 @@ +/* XPM */ +static char * bottom_inactive_xpm[] = { +"8 1 2 1", +" c None", +". c #%HDR_BG%", +"........"}; diff --git a/Tokyonight-dark/xfwm4/bottom-left-active.xpm b/Tokyonight-dark/xfwm4/bottom-left-active.xpm new file mode 100644 index 00000000..55dbd7e5 --- /dev/null +++ b/Tokyonight-dark/xfwm4/bottom-left-active.xpm @@ -0,0 +1,6 @@ +/* XPM */ +static char * bottom_left_active_xpm[] = { +"1 1 2 1", +" c None", +". c #%WM_BORDER_FOCUS%", +"."}; diff --git a/Tokyonight-dark/xfwm4/bottom-left-inactive.xpm b/Tokyonight-dark/xfwm4/bottom-left-inactive.xpm new file mode 100644 index 00000000..ab97aa1c --- /dev/null +++ b/Tokyonight-dark/xfwm4/bottom-left-inactive.xpm @@ -0,0 +1,6 @@ +/* XPM */ +static char * bottom_left_inactive_xpm[] = { +"1 1 2 1", +" c None", +". c #%HDR_BG%", +"."}; diff --git a/Tokyonight-dark/xfwm4/bottom-right-active.xpm b/Tokyonight-dark/xfwm4/bottom-right-active.xpm new file mode 100644 index 00000000..8b1ba206 --- /dev/null +++ b/Tokyonight-dark/xfwm4/bottom-right-active.xpm @@ -0,0 +1,6 @@ +/* XPM */ +static char * bottom_right_active_xpm[] = { +"1 1 2 1", +" c None", +". c #%WM_BORDER_FOCUS%", +"."}; diff --git a/Tokyonight-dark/xfwm4/bottom-right-inactive.xpm b/Tokyonight-dark/xfwm4/bottom-right-inactive.xpm new file mode 100644 index 00000000..5b59c37c --- /dev/null +++ b/Tokyonight-dark/xfwm4/bottom-right-inactive.xpm @@ -0,0 +1,6 @@ +/* XPM */ +static char * bottom_right_inactive_xpm[] = { +"1 1 2 1", +" c None", +". c #%HDR_BG%", +"."}; diff --git a/Tokyonight-dark/xfwm4/close-active.xpm b/Tokyonight-dark/xfwm4/close-active.xpm new file mode 100644 index 00000000..46d56067 --- /dev/null +++ b/Tokyonight-dark/xfwm4/close-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * close_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_FG%", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++....++........", +"........+++..+++........", +".........++++++.........", +"..........++++..........", +"..........++++..........", +".........++++++.........", +"........+++..+++........", +"........++....++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/close-inactive.xpm b/Tokyonight-dark/xfwm4/close-inactive.xpm new file mode 100644 index 00000000..807dce9e --- /dev/null +++ b/Tokyonight-dark/xfwm4/close-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * close_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_FG%", +"@ c #%HDR_BG%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++....++........", +"........+++..+++........", +".........++++++.........", +"..........++++..........", +"..........++++..........", +".........++++++.........", +"........+++..+++........", +"........++....++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/close-prelight.xpm b/Tokyonight-dark/xfwm4/close-prelight.xpm new file mode 100644 index 00000000..f80232d3 --- /dev/null +++ b/Tokyonight-dark/xfwm4/close-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * close_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++....++........", +"........+++..+++........", +".........++++++.........", +"..........++++..........", +"..........++++..........", +".........++++++.........", +"........+++..+++........", +"........++....++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/close-pressed.xpm b/Tokyonight-dark/xfwm4/close-pressed.xpm new file mode 100644 index 00000000..f80232d3 --- /dev/null +++ b/Tokyonight-dark/xfwm4/close-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * close_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++....++........", +"........+++..+++........", +".........++++++.........", +"..........++++..........", +"..........++++..........", +".........++++++.........", +"........+++..+++........", +"........++....++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/hide-active.xpm b/Tokyonight-dark/xfwm4/hide-active.xpm new file mode 100644 index 00000000..0ac3760d --- /dev/null +++ b/Tokyonight-dark/xfwm4/hide-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * hide_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_FG%", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/hide-inactive.xpm b/Tokyonight-dark/xfwm4/hide-inactive.xpm new file mode 100644 index 00000000..77317d67 --- /dev/null +++ b/Tokyonight-dark/xfwm4/hide-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * hide_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%INACTIVE_HDR_FG%", +"@ c #%HDR_BG%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/hide-prelight.xpm b/Tokyonight-dark/xfwm4/hide-prelight.xpm new file mode 100644 index 00000000..e4560f1c --- /dev/null +++ b/Tokyonight-dark/xfwm4/hide-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * hide_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/hide-pressed.xpm b/Tokyonight-dark/xfwm4/hide-pressed.xpm new file mode 100644 index 00000000..e4560f1c --- /dev/null +++ b/Tokyonight-dark/xfwm4/hide-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * hide_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/left-active.xpm b/Tokyonight-dark/xfwm4/left-active.xpm new file mode 100644 index 00000000..2ca98c0e --- /dev/null +++ b/Tokyonight-dark/xfwm4/left-active.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char * left_active_xpm[] = { +"1 21 2 1", +" c None", +". c #%WM_BORDER_FOCUS%", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +"."}; diff --git a/Tokyonight-dark/xfwm4/left-inactive.xpm b/Tokyonight-dark/xfwm4/left-inactive.xpm new file mode 100644 index 00000000..8c1214c9 --- /dev/null +++ b/Tokyonight-dark/xfwm4/left-inactive.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char * left_inactive_xpm[] = { +"1 21 2 1", +" c None", +". c #%HDR_BG%", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +"."}; diff --git a/Tokyonight-dark/xfwm4/maximize-active.xpm b/Tokyonight-dark/xfwm4/maximize-active.xpm new file mode 100644 index 00000000..6d25f0c8 --- /dev/null +++ b/Tokyonight-dark/xfwm4/maximize-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_FG%", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/maximize-inactive.xpm b/Tokyonight-dark/xfwm4/maximize-inactive.xpm new file mode 100644 index 00000000..c9b11c3d --- /dev/null +++ b/Tokyonight-dark/xfwm4/maximize-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%INACTIVE_HDR_FG%", +"@ c #%HDR_BG%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/maximize-prelight.xpm b/Tokyonight-dark/xfwm4/maximize-prelight.xpm new file mode 100644 index 00000000..1d21c28b --- /dev/null +++ b/Tokyonight-dark/xfwm4/maximize-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/maximize-pressed.xpm b/Tokyonight-dark/xfwm4/maximize-pressed.xpm new file mode 100644 index 00000000..1d21c28b --- /dev/null +++ b/Tokyonight-dark/xfwm4/maximize-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/maximize-toggled-active.xpm b/Tokyonight-dark/xfwm4/maximize-toggled-active.xpm new file mode 100644 index 00000000..a8691476 --- /dev/null +++ b/Tokyonight-dark/xfwm4/maximize-toggled-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_FG%", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/maximize-toggled-inactive.xpm b/Tokyonight-dark/xfwm4/maximize-toggled-inactive.xpm new file mode 100644 index 00000000..53fd018a --- /dev/null +++ b/Tokyonight-dark/xfwm4/maximize-toggled-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%INACTIVE_HDR_FG%", +"@ c #%HDR_BG%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/maximize-toggled-prelight.xpm b/Tokyonight-dark/xfwm4/maximize-toggled-prelight.xpm new file mode 100644 index 00000000..5cae6ce3 --- /dev/null +++ b/Tokyonight-dark/xfwm4/maximize-toggled-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/maximize-toggled-pressed.xpm b/Tokyonight-dark/xfwm4/maximize-toggled-pressed.xpm new file mode 100644 index 00000000..5cae6ce3 --- /dev/null +++ b/Tokyonight-dark/xfwm4/maximize-toggled-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * maximize_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........++++++++........", +"........++++++++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++....++........", +"........++++++++........", +"........++++++++........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/menu-active.xpm b/Tokyonight-dark/xfwm4/menu-active.xpm new file mode 100644 index 00000000..58ef01d1 --- /dev/null +++ b/Tokyonight-dark/xfwm4/menu-active.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static char * menu_active_xpm[] = { +"24 16 2 1", +" c None", +". c #%HDR_BG%", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/menu-inactive.xpm b/Tokyonight-dark/xfwm4/menu-inactive.xpm new file mode 100644 index 00000000..d61574b3 --- /dev/null +++ b/Tokyonight-dark/xfwm4/menu-inactive.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static char * menu_inactive_xpm[] = { +"24 16 2 1", +" c None", +". c #%HDR_BG%", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/menu-prelight.xpm b/Tokyonight-dark/xfwm4/menu-prelight.xpm new file mode 100644 index 00000000..09437dec --- /dev/null +++ b/Tokyonight-dark/xfwm4/menu-prelight.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static char * menu_prelight_xpm[] = { +"24 16 2 1", +" c None", +". c #%HDR_BG%", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/menu-pressed.xpm b/Tokyonight-dark/xfwm4/menu-pressed.xpm new file mode 100644 index 00000000..a58fd5ec --- /dev/null +++ b/Tokyonight-dark/xfwm4/menu-pressed.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static char * menu_pressed_xpm[] = { +"24 16 2 1", +" c None", +". c #%HDR_BG%", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/right-active.xpm b/Tokyonight-dark/xfwm4/right-active.xpm new file mode 100644 index 00000000..d9f82be4 --- /dev/null +++ b/Tokyonight-dark/xfwm4/right-active.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char * right_active_xpm[] = { +"1 21 2 1", +" c None", +". c #%WM_BORDER_FOCUS%", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +"."}; diff --git a/Tokyonight-dark/xfwm4/right-inactive.xpm b/Tokyonight-dark/xfwm4/right-inactive.xpm new file mode 100644 index 00000000..cde925ea --- /dev/null +++ b/Tokyonight-dark/xfwm4/right-inactive.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char * right_inactive_xpm[] = { +"1 21 2 1", +" c None", +". c #%HDR_BG%", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +".", +"."}; diff --git a/Tokyonight-dark/xfwm4/shade-active.xpm b/Tokyonight-dark/xfwm4/shade-active.xpm new file mode 100644 index 00000000..e7fe5462 --- /dev/null +++ b/Tokyonight-dark/xfwm4/shade-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_FG%", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"..........++++..........", +".........++++++.........", +"........++++++++........", +".......+++.++.+++.......", +"...........++...........", +"...........++...........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/shade-inactive.xpm b/Tokyonight-dark/xfwm4/shade-inactive.xpm new file mode 100644 index 00000000..cf107f18 --- /dev/null +++ b/Tokyonight-dark/xfwm4/shade-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%INACTIVE_HDR_FG%", +"@ c #%HDR_BG%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"..........++++..........", +".........++++++.........", +"........++++++++........", +".......+++.++.+++.......", +"...........++...........", +"...........++...........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/shade-prelight.xpm b/Tokyonight-dark/xfwm4/shade-prelight.xpm new file mode 100644 index 00000000..e8211943 --- /dev/null +++ b/Tokyonight-dark/xfwm4/shade-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"..........++++..........", +".........++++++.........", +"........++++++++........", +".......+++.++.+++.......", +"...........++...........", +"...........++...........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/shade-pressed.xpm b/Tokyonight-dark/xfwm4/shade-pressed.xpm new file mode 100644 index 00000000..e8211943 --- /dev/null +++ b/Tokyonight-dark/xfwm4/shade-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"..........++++..........", +".........++++++.........", +"........++++++++........", +".......+++.++.+++.......", +"...........++...........", +"...........++...........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/shade-toggled-active.xpm b/Tokyonight-dark/xfwm4/shade-toggled-active.xpm new file mode 100644 index 00000000..442533e8 --- /dev/null +++ b/Tokyonight-dark/xfwm4/shade-toggled-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_FG%", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"...........++...........", +"...........++...........", +".......+++.++.+++.......", +"........++++++++........", +".........++++++.........", +"..........++++..........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/shade-toggled-inactive.xpm b/Tokyonight-dark/xfwm4/shade-toggled-inactive.xpm new file mode 100644 index 00000000..dbe06c94 --- /dev/null +++ b/Tokyonight-dark/xfwm4/shade-toggled-inactive.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * shade_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%INACTIVE_HDR_FG%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"...........++...........", +"...........++...........", +".......+++.++.+++.......", +"........++++++++........", +".........++++++.........", +"..........++++..........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/shade-toggled-prelight.xpm b/Tokyonight-dark/xfwm4/shade-toggled-prelight.xpm new file mode 100644 index 00000000..0be6cc8e --- /dev/null +++ b/Tokyonight-dark/xfwm4/shade-toggled-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"...........++...........", +"...........++...........", +".......+++.++.+++.......", +"........++++++++........", +".........++++++.........", +"..........++++..........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/shade-toggled-pressed.xpm b/Tokyonight-dark/xfwm4/shade-toggled-pressed.xpm new file mode 100644 index 00000000..0be6cc8e --- /dev/null +++ b/Tokyonight-dark/xfwm4/shade-toggled-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * shade_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +"...........++...........", +"...........++...........", +".......+++.++.+++.......", +"........++++++++........", +".........++++++.........", +"..........++++..........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/stick-active.xpm b/Tokyonight-dark/xfwm4/stick-active.xpm new file mode 100644 index 00000000..958fb89a --- /dev/null +++ b/Tokyonight-dark/xfwm4/stick-active.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * stick_active_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_FG%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++..++.........", +"........++....++........", +"........++....++........", +".........++..++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/stick-inactive.xpm b/Tokyonight-dark/xfwm4/stick-inactive.xpm new file mode 100644 index 00000000..1119710d --- /dev/null +++ b/Tokyonight-dark/xfwm4/stick-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%INACTIVE_HDR_FG%", +"@ c #%HDR_BG%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++..++.........", +"........++....++........", +"........++....++........", +".........++..++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/stick-prelight.xpm b/Tokyonight-dark/xfwm4/stick-prelight.xpm new file mode 100644 index 00000000..234d113b --- /dev/null +++ b/Tokyonight-dark/xfwm4/stick-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++..++.........", +"........++....++........", +"........++....++........", +".........++..++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/stick-pressed.xpm b/Tokyonight-dark/xfwm4/stick-pressed.xpm new file mode 100644 index 00000000..234d113b --- /dev/null +++ b/Tokyonight-dark/xfwm4/stick-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++..++.........", +"........++....++........", +"........++....++........", +".........++..++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/stick-toggled-active.xpm b/Tokyonight-dark/xfwm4/stick-toggled-active.xpm new file mode 100644 index 00000000..62444377 --- /dev/null +++ b/Tokyonight-dark/xfwm4/stick-toggled-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_active_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_FG%", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++++++.........", +"........++++++++........", +"........++++++++........", +".........++++++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/stick-toggled-inactive.xpm b/Tokyonight-dark/xfwm4/stick-toggled-inactive.xpm new file mode 100644 index 00000000..52b807cf --- /dev/null +++ b/Tokyonight-dark/xfwm4/stick-toggled-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%INACTIVE_HDR_FG%", +"@ c #%HDR_BG%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++++++.........", +"........++++++++........", +"........++++++++........", +".........++++++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/stick-toggled-prelight.xpm b/Tokyonight-dark/xfwm4/stick-toggled-prelight.xpm new file mode 100644 index 00000000..d0528462 --- /dev/null +++ b/Tokyonight-dark/xfwm4/stick-toggled-prelight.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++++++.........", +"........++++++++........", +"........++++++++........", +".........++++++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/stick-toggled-pressed.xpm b/Tokyonight-dark/xfwm4/stick-toggled-pressed.xpm new file mode 100644 index 00000000..d0528462 --- /dev/null +++ b/Tokyonight-dark/xfwm4/stick-toggled-pressed.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * stick_toggled_prelight_xpm[] = { +"24 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%SEL_BG% s active_color_1", +"@ c #%WM_BORDER_FOCUS%", +"@@@@@@@@@@@@@@@@@@@@@@@@", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"...........++...........", +".........++++++.........", +".........++++++.........", +"........++++++++........", +"........++++++++........", +".........++++++.........", +".........++++++.........", +"...........++...........", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................", +"........................"}; diff --git a/Tokyonight-dark/xfwm4/themerc b/Tokyonight-dark/xfwm4/themerc new file mode 100644 index 00000000..9b7b5b01 --- /dev/null +++ b/Tokyonight-dark/xfwm4/themerc @@ -0,0 +1,23 @@ +# Name: Numix xfwm4 theme +# Author: Satyajit Sahoo <satyajit.happy@gmail.com> +# License: GPL-3.0+ + +active_text_color=#%HDR_FG% +inactive_text_color=#%INACTIVE_HDR_FG% +button_offset=3 +button_spacing=0 +show_app_icon=true +full_width_title=true +maximized_offset=0 +title_horizontal_offset=3 +title_shadow_active=false +title_shadow_inactive=false +title_vertical_offset_active=0 +title_vertical_offset_inactive=0 +title_shadow_active=false +title_shadow_inactive=false +shadow_delta_height=0 +shadow_delta_width=0 +shadow_delta_x=0 +shadow_delta_y=0 +shadow_opacity=30 diff --git a/Tokyonight-dark/xfwm4/title-1-active.xpm b/Tokyonight-dark/xfwm4/title-1-active.xpm new file mode 100644 index 00000000..de9729e8 --- /dev/null +++ b/Tokyonight-dark/xfwm4/title-1-active.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_1_active_xpm[] = { +"2 26 3 1", +" c None", +". c #%WM_BORDER_FOCUS%", +"+ c #%HDR_BG%", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/Tokyonight-dark/xfwm4/title-1-inactive.xpm b/Tokyonight-dark/xfwm4/title-1-inactive.xpm new file mode 100644 index 00000000..42291354 --- /dev/null +++ b/Tokyonight-dark/xfwm4/title-1-inactive.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_1_inactive_xpm[] = { +"2 26 3 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_BG%", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/Tokyonight-dark/xfwm4/title-2-active.xpm b/Tokyonight-dark/xfwm4/title-2-active.xpm new file mode 100644 index 00000000..716601df --- /dev/null +++ b/Tokyonight-dark/xfwm4/title-2-active.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_2_active_xpm[] = { +"2 26 3 1", +" c None", +". c #%WM_BORDER_FOCUS%", +"+ c #%HDR_BG%", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/Tokyonight-dark/xfwm4/title-2-inactive.xpm b/Tokyonight-dark/xfwm4/title-2-inactive.xpm new file mode 100644 index 00000000..ce3c7dc8 --- /dev/null +++ b/Tokyonight-dark/xfwm4/title-2-inactive.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_2_inactive_xpm[] = { +"2 26 3 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_BG%", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/Tokyonight-dark/xfwm4/title-3-active.xpm b/Tokyonight-dark/xfwm4/title-3-active.xpm new file mode 100644 index 00000000..37dc0e6f --- /dev/null +++ b/Tokyonight-dark/xfwm4/title-3-active.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_3_active_xpm[] = { +"2 26 3 1", +" c None", +". c #%WM_BORDER_FOCUS%", +"+ c #%HDR_BG%", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/Tokyonight-dark/xfwm4/title-3-inactive.xpm b/Tokyonight-dark/xfwm4/title-3-inactive.xpm new file mode 100644 index 00000000..04725992 --- /dev/null +++ b/Tokyonight-dark/xfwm4/title-3-inactive.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_3_inactive_xpm[] = { +"2 26 3 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_BG%", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/Tokyonight-dark/xfwm4/title-4-active.xpm b/Tokyonight-dark/xfwm4/title-4-active.xpm new file mode 100644 index 00000000..b508aa8f --- /dev/null +++ b/Tokyonight-dark/xfwm4/title-4-active.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_4_active_xpm[] = { +"2 26 3 1", +" c None", +". c #%WM_BORDER_FOCUS%", +"+ c #%HDR_BG%", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/Tokyonight-dark/xfwm4/title-4-inactive.xpm b/Tokyonight-dark/xfwm4/title-4-inactive.xpm new file mode 100644 index 00000000..b87e5509 --- /dev/null +++ b/Tokyonight-dark/xfwm4/title-4-inactive.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_4_inactive_xpm[] = { +"2 26 3 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_BG%", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/Tokyonight-dark/xfwm4/title-5-active.xpm b/Tokyonight-dark/xfwm4/title-5-active.xpm new file mode 100644 index 00000000..c56ede58 --- /dev/null +++ b/Tokyonight-dark/xfwm4/title-5-active.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_5_active_xpm[] = { +"2 26 3 1", +" c None", +". c #%WM_BORDER_FOCUS%", +"+ c #%HDR_BG%", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/Tokyonight-dark/xfwm4/title-5-inactive.xpm b/Tokyonight-dark/xfwm4/title-5-inactive.xpm new file mode 100644 index 00000000..03cc94f3 --- /dev/null +++ b/Tokyonight-dark/xfwm4/title-5-inactive.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char * title_5_inactive_xpm[] = { +"2 26 3 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_BG%", +"..", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++", +"++"}; diff --git a/Tokyonight-dark/xfwm4/top-left-active.xpm b/Tokyonight-dark/xfwm4/top-left-active.xpm new file mode 100644 index 00000000..b300f604 --- /dev/null +++ b/Tokyonight-dark/xfwm4/top-left-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * top_left_active_xpm[] = { +"2 26 4 1", +" c None", +". c #%WM_BORDER_FOCUS%", +"+ c #%WM_BORDER_FOCUS%", +"@ c #%HDR_BG%", +" .", +".+", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@"}; diff --git a/Tokyonight-dark/xfwm4/top-left-inactive.xpm b/Tokyonight-dark/xfwm4/top-left-inactive.xpm new file mode 100644 index 00000000..55d0d5b3 --- /dev/null +++ b/Tokyonight-dark/xfwm4/top-left-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * top_left_inactive_xpm[] = { +"2 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_BG%", +"@ c #%HDR_BG%", +" .", +".+", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@", +".@"}; diff --git a/Tokyonight-dark/xfwm4/top-right-active.xpm b/Tokyonight-dark/xfwm4/top-right-active.xpm new file mode 100644 index 00000000..976d7017 --- /dev/null +++ b/Tokyonight-dark/xfwm4/top-right-active.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * top_right_active_xpm[] = { +"2 26 4 1", +" c None", +". c #%WM_BORDER_FOCUS%", +"+ c #%WM_BORDER_FOCUS%", +"@ c #%HDR_BG%", +". ", +"+.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@."}; diff --git a/Tokyonight-dark/xfwm4/top-right-inactive.xpm b/Tokyonight-dark/xfwm4/top-right-inactive.xpm new file mode 100644 index 00000000..f9b6ee2f --- /dev/null +++ b/Tokyonight-dark/xfwm4/top-right-inactive.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char * top_right_inactive_xpm[] = { +"2 26 4 1", +" c None", +". c #%HDR_BG%", +"+ c #%HDR_BG%", +"@ c #%HDR_BG%", +". ", +"+.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@.", +"@."}; diff --git a/tokyonight b/tokyonight deleted file mode 100644 index 91dd2360..00000000 --- a/tokyonight +++ /dev/null @@ -1,78 +0,0 @@ -ACCENT_BG=7aa2f7 -ARC_TRANSPARENCY=True -ARC_WIDGET_BORDER_COLOR=d4d4d4 -BASE16_GENERATE_DARK=False -BASE16_INVERT_TERMINAL=False -BASE16_MILD_TERMINAL=False -BG=1f2335 -BTN_BG=292e42 -BTN_FG=c0caf5 -BTN_OUTLINE_OFFSET=-3 -BTN_OUTLINE_WIDTH=1 -CARET1_FG=3b4261 -CARET2_FG=3b4261 -CARET_SIZE=0.04 -CINNAMON_OPACITY=1.0 -FG=a9b1d6 -GRADIENT=0.0 -GTK3_GENERATE_DARK=True -HDR_BG=24283b -HDR_BTN_BG=292e42 -HDR_BTN_FG=c0caf5 -HDR_FG=a9b1d6 -ICONS_ARCHDROID=f0544c -ICONS_DARK=3b4261 -ICONS_LIGHT=f0544c -ICONS_LIGHT_FOLDER=7aa2f7 -ICONS_MEDIUM=3d59a1 -ICONS_NUMIX_STYLE=0 -ICONS_STYLE=papirus_icons -ICONS_SYMBOLIC_ACTION=c0caf5 -ICONS_SYMBOLIC_PANEL=a9b1d6 -MATERIA_PANEL_OPACITY=0.6 -MATERIA_SELECTION_OPACITY=0.32 -MATERIA_STYLE_COMPACT=True -MENU_BG=444444 -MENU_FG=eeeeee -NAME="Tokyonight/numix" -OUTLINE_WIDTH=1 -ROUNDNESS=4 -SEL_BG=283457 -SEL_FG=c0caf5 -SPACING=3 -SPOTIFY_PROTO_BG=1a1b26 -SPOTIFY_PROTO_FG=c0caf5 -SPOTIFY_PROTO_SEL=7aa2f7 -SURUPLUS_GRADIENT1=b9b9b9 -SURUPLUS_GRADIENT2=f0544c -SURUPLUS_GRADIENT_ENABLED=False -TERMINAL_ACCENT_COLOR=283457 -TERMINAL_BACKGROUND=1a1b26 -TERMINAL_BASE_TEMPLATE=basic -TERMINAL_COLOR0=15161e -TERMINAL_COLOR1=f7768e -TERMINAL_COLOR10=9ece6a -TERMINAL_COLOR11=e0af68 -TERMINAL_COLOR12=7aa2f7 -TERMINAL_COLOR13=bb9af7 -TERMINAL_COLOR14=7dcfff -TERMINAL_COLOR15=c0caf5 -TERMINAL_COLOR2=9ece6a -TERMINAL_COLOR3=e0af68 -TERMINAL_COLOR4=7aa2f7 -TERMINAL_COLOR5=bb9af7 -TERMINAL_COLOR6=7dcfff -TERMINAL_COLOR7=a9b1d6 -TERMINAL_COLOR8=414868 -TERMINAL_COLOR9=f7768e -TERMINAL_FOREGROUND=c0caf5 -TERMINAL_THEME_ACCURACY=128 -TERMINAL_THEME_AUTO_BGFG=True -TERMINAL_THEME_EXTEND_PALETTE=False -TERMINAL_THEME_MODE=manual -THEME_STYLE=oomox -TXT_BG=292e42 -TXT_FG=c0caf5 -UNITY_DEFAULT_LAUNCHER_STYLE=False -WM_BORDER_FOCUS=7aa2f7 -WM_BORDER_UNFOCUS=383c4a