ad51d0a528
Bumps actions/checkout from 2 to 3. Release notes Sourced from actions/checkout's releases. v3.0.0 Updated to the node16 runtime by default This requires a minimum Actions Runner version of v2.285.0 to run, which is by default available in GHES 3.4 or later. v2.4.2 What's Changed Add set-safe-directory input to allow customers to take control. (#770) by @TingluoHuang in actions/checkout#776 Prepare changelog for v2.4.2. by @TingluoHuang in actions/checkout#778 Full Changelog: actions/checkout@v2...v2.4.2 v2.4.1 Fixed an issue where checkout failed to run in container jobs due to the new git setting safe.directory v2.4.0 Convert SSH URLs like org-<ORG_ID>@github.com: to https://github.com/ - pr v2.3.5 Update dependencies v2.3.4 Add missing awaits Swap to Environment Files v2.3.3 Remove Unneeded commit information from build logs Add Licensed to verify third party dependencies v2.3.2 Add Third Party License Information to Dist Files v2.3.1 Fix default branch resolution for .wiki and when using SSH v2.3.0 Fallback to the default branch v2.2.0 Fetch all history for all tags and branches when fetch-depth=0 v2.1.1 Changes to support GHES (here and here) v2.1.0 Group output Changes to support GHES alpha release Persist core.sshCommand for submodules Add support ssh Convert submodule SSH URL to HTTPS, when not using SSH ... (truncated) Changelog Sourced from actions/checkout's changelog. Changelog v3.0.2 Add input set-safe-directory v3.0.1 Fixed an issue where checkout failed to run in container jobs due to the new git setting safe.directory Bumped various npm package versions v3.0.0 Update to node 16 v2.3.1 Fix default branch resolution for .wiki and when using SSH v2.3.0 Fallback to the default branch v2.2.0 Fetch all history for all tags and branches when fetch-depth=0 v2.1.1 Changes to support GHES (here and here) v2.1.0 Group output Changes to support GHES alpha release Persist core.sshCommand for submodules Add support ssh Convert submodule SSH URL to HTTPS, when not using SSH Add submodule support Follow proxy settings Fix ref for pr closed event when a pr is merged Fix issue checking detached when git less than 2.22 v2.0.0 Do not pass cred on command line Add input persist-credentials Fallback to REST API to download repo v2 (beta) Improved fetch performance ... (truncated) Commits 2541b12 Prepare changelog for v3.0.2. (#777) 0ffe6f9 Add set-safe-directory input to allow customers to take control. (#770) dcd71f6 Enforce safe directory (#762) add3486 Patch to fix the dependbot alert. (#744) 5126516 Bump minimist from 1.2.5 to 1.2.6 (#741) d50f8ea Add v3.0 release information to changelog (#740) 2d1c119 update test workflows to checkout v3 (#709) a12a394 update readme for v3 (#708) 8f9e05e Update to node 16 (#689) See full diff in compare view Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase. Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: @dependabot rebase will rebase this PR @dependabot recreate will recreate this PR, overwriting any edits that have been made to it @dependabot merge will merge this PR after your CI passes on it @dependabot squash and merge will squash and merge this PR after your CI passes on it @dependabot cancel merge will cancel a previously requested merge and block automerging @dependabot reopen will reopen this PR if it is closed @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) |
||
---|---|---|
.github | ||
data | ||
po | ||
src | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
com.github.GradienceTeam.Gradience.Devel.json | ||
com.github.GradienceTeam.Gradience.json | ||
LICENSE | ||
local.sh | ||
Makefile | ||
meson.build | ||
pylintrc | ||
pypi-dependencies.json | ||
README.md | ||
requirements.txt | ||
transifex.yml |
Gradience
Change the look of Adwaita, with ease
Gradience is a tool for customizing Libadwaita applications and the adw-gtk3 theme.
Building and Installing
[NOTE] See next
branch for latest commits.
Requirements:
- Python 3
python
- PyGObject
python-gobject
- Blueprint
blueprint-compiler
- GTK4
gtk4
- libadwaita (>= 1.2.alpha)
libadwaita
- Meson
meson
- Ninja
ninja
Building from source:
Install required Python libraries:
pip install -r requirements.txt
Global installation:
git clone https://github.com/GradienceTeam/Gradience.git
cd Gradience
meson builddir --prefix=/usr/local
sudo ninja -C builddir install
Local build (for testing and development purposes):
git clone https://github.com/GradienceTeam/Gradience.git
cd Gradience
meson builddir
meson configure builddir -Dprefix="$(pwd)/builddir/testdir"
ninja -C builddir install
ninja -C builddir run
[NOTE] During testing and developement, as a convenience, you can use the local.sh
script to quickly rebuild local builds.
Building using flatpak-builder:
- Open Terminal
- Run
git clone https://github.com/GradienceTeam/Gradience.git && cd Gradience
- Add the
gnome-nightly
Flatpak repositoryflatpak remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo
- Install the
master
version of GNOME SDK:flatpak install org.gnome.Sdk/x86_64/master org.gnome.Platform/x86_64/master
- Run
flatpak-builder --install --user --force-clean repo/ com.github.GradienceTeam.Gradience.json
Alternatively, open the project with GNOME Builder, then build and run it.
Setup Tutorial
Libadwaita applications
No additional setup is required for native Libadwaita applications.
For Flatpak Libadwaita applications, you need to override their permissions:
- Run
sudo flatpak override --filesystem=xdg-config/gtk-4.0
or - Use Flatseal and adding
xdg-config/gtk-4.0
to Other files in the Filesystem section of All Applications
Vanilla GTK 4 applications
Use this guide to theme vanilla GTK 4 applications.
GTK 3 applications
- Install and apply the adw-gtk3 theme (don't forget to install the Flatpak package!)
- For Flatpak applications, you need to override their permissions:
- Run
sudo flatpak override --filesystem=xdg-config/gtk-3.0
or - Use Flatseal and adding
xdg-config/gtk-3.0
to Other files in the Filesystem section of All Applications
- Run
Roadmap
This tool is currently WIP, but it already has a plenty of features and is very usable. Below is the roadmap, where all the checked features are already implemented:
- Customize named colors, either with a color picker or with text
- Explanations for some named colors
- Partial theme preview
- Built-in presets for Adwaita and Adwaita Dark (based on default libadwaita colors)
- Apply changes to libadwaita, GTK4 (with extracted libadwaita theme) and GTK3 (with the adw-gtk3 theme) applications
- Load and create custom presets
- View adw-gtk3's support of variables
- View parsing errors
- Customize palette colors
- Add custom CSS code
- Localization support
- Normalize color variables
- Make the code more secure
- Add plugin support. Will help integration with others tools.
- Release on Flathub
- Full theme preview
- Customize GNOME Shell
- Customize GDM
- Customize KvLibadwaita
- Customize Firefox GNOME theme
Contribute
Code
Fork this repository, then create a push request when you're done adding features or fixing bugs.
Localisation
About Name
Gradience is originally named Adwaita Manager
Meaning of Gradience is: https://en.wiktionary.org/wiki/gradience
Meaning of an icon is: "A Paint Roller repaints Adwaita window keeping it's functionality"