tag | 8530ac87191e11d68ae121871f8075c6004048fa | |
---|---|---|
tagger | tista500 <tista.gma500@gmail.com> | Mon Oct 01 03:26:50 2018 |
object | 251c4b53857fbb7f0988e47845025f8cb2afd34f |
3.95.0.1
commit | 251c4b53857fbb7f0988e47845025f8cb2afd34f | [log] [tgz] |
---|---|---|
author | tista500 <tista.gma500@gmail.com> | Mon Oct 01 03:24:07 2018 |
committer | tista500 <tista.gma500@gmail.com> | Mon Oct 01 03:24:07 2018 |
tree | 2b506d5cb226c434f2d6b7eca3f331d4b7f82a2c | |
parent | 45c9ff315492d654249812428d571d48739f1e04 [diff] |
Configure.ac: Bump version to 3.95.0 Still some papercut issues are remained though.
An adaptive Gtk+ theme based on Material Design Guidelines.
Adapta strongly depends on Material Design resources, especially its fonts.
Primary | Secondary | Fallback | |
---|---|---|---|
Gnome-Shell >= 3.26 | Roboto | Sans-serif | |
Gnome-Shell =< 3.24 | Roboto | Sans-serif | |
Cinnamon | Roboto | Sans-serif |
Note:
- Roboto is very nice with Adapta, but in some locales, it causes Tofu.
Adapta is designed with nominal 13px (or 14px) Roboto font. In Gnome, “window-scaling-factor = 1.0” means -gtk-dpi = 96
, it also means:
13 [px] x 72 [pt/inch] / 96 [px/inch] = 9.75 [pt] 14 [px] x 72 [pt/inch] / 96 [px/inch] = 10.5 [pt]
That's the reason why 13.33px = 10pt
is used for rem/px conversion in Gtk+ 3.2x theming.
Verify the fonts are rendered correctly via font-viewer tools like Gnome-Font-Viewer.
Adapta | Adapta-Brila | Adapta-Nokto | Adapta-Eta | Adapta-Brila-Eta | Adapta-Nokto-Eta | |
---|---|---|---|---|---|---|
Gtk+ 2.24.x | ||||||
Gtk+ 3.20.x | ||||||
Gtk+ 3.22.x | ||||||
Gtk+ 3.24.x | ||||||
Mutter | ||||||
Metacity | ||||||
Muffin | ||||||
XFwm4 | ||||||
Marco | ||||||
Openbox-3 |
Note:
- Brila is a complete light variant.
- Nokto is a dark variant.
- Eta is a tiny Gtk+ 2.x/3.2x Gtk+ widget variant for saving space.
- I suggest you use the Eta variants if your LCD resolution is lower than FHD (1080p). Eta draws widgets around -20% to -30% spacing.
- Metacity theming supports Eta variants (>= 3.2x).
Adapta supports Gtk+ 3.24.x, 3.22.x and 3.20.x
* Gtk+-3.0 >= 3.20.0 * Gtk+-2.0 >= 2.24.30 * gtk2-engines-pixbuf >= 2.24.30 * gtk2-engines-murrine >= 0.98.1
* GNOME-Shell >= 3.20.0 * GNOME-Flashback >= 3.20 * Budgie-Desktop >= 10.4 * Cinnamon >= 3.2.0 * XFce4 >= 4.12.2 * Mate >= 1.14.0 * LXDE >= 0.99.1 (Gtk+ 2.x only)
Note:
- Adapta does NOT support elementaryOS.
Package(s) can be found in the official main repositories of these distributions:
Arch (community)
Fedora
openSUSE (Tumbleweed)
Solus
Personal repository:
sudo rm -rf /usr/share/themes/{Adapta,Adapta-Eta,Adapta-Brila,Adapta-Brila-Eta,Adapta-Nokto,Adapta-Nokto-Eta} rm -rf ~/.local/share/themes/{Adapta,Adapta-Eta,Adapta-Brila,Adapta-Brila-Eta,Adapta-Nokto,Adapta-Nokto-Eta} rm -rf ~/.themes/{Adapta,Adapta-Eta,Adapta-Brila,Adapta-Brila-Eta,Adapta-Nokto,Adapta-Nokto-Eta}
* autoconf * automake * inkscape >= 0.91 * libgdk-pixbuf2.0-dev (gdk-pixbuf2-devel) >= 2.32.2 * libglib2.0-dev (glib2-devel) >= 2.48.0 * libxml2-utils (libxml2) * pkg-config (pkgconfig) * sassc >= 3.3 * parallel (if --enable-parallel)
Note:
In OpenSUSE, add an extra dependency:
gdk-pixbuf-devel >= 2.32.2Adapta employs SassC wrapper of
libsass
to generate CSS stylesheets.Adapta uses
inkscape
to generate installable PNG files.Adapta uses
glib-compile-resources
to compile the gresource files for Gtk+ and Gnome-Shell.
glib-2.0 >= 2.53
, Gnome-Shell 3.26 theming is used if--enable-gnome
.
./autogen.sh --prefix=/usr make sudo make install
Note:
- Default prefix is
/usr/local
.- All 6 variants are installed by default.
make
generates proper CSSs and PNGs to be installed. It will take about 5min to 15min to build. For example, Ubuntu's build-server takes 10min.sudo make install
installs multiple versioned theme and Gtk+ automatically selects the properly versioned one when running.
autogen.sh
:--enable-parallel enable parallel-build support (type: bool)
Note:
- This feature requires GNU
parallel
, so please addparallel
to build-requirements. Parallel can execute multiple scripts and binaries to be suitable for multi-threading. It could especially shorten the rendering-time viainkscape
.-jN
option to be passed to GNUmake
is surely usable, but Adapta currently employsparallel
.- This feature should not be applied when packaging on remote/shared build-servers.
autogen.sh
:--disable-gnome disable gnome-shell support (type: bool) --disable-cinnamon disable cinnamon support (type: bool) --disable-flashback disable flashback support (type: bool) --disable-xfce disable xfce support (type: bool) --disable-mate disable mate support (type: bool) --disable-openbox disable openbox support (type: bool)
Note:
- The installer installs Budgie-Desktop support even if all of options above were applied.
- Cinnamon/Mate support hooks
metacity-1
directory even if GNOME-Flashback support was disabled.
--enable-gtk_next enable Gtk+ 4.0 support (type: bool)
--with-selection_color Primary color for 'selected-items' (Default: #3F51B5 = Indigo500, type: string) --with-accent_color Secondary color for notifications and OSDs (Default: #7986CB = Indigo300, type: string) --with-suggestion_color Secondary color for 'suggested' buttons (Default: #673AB7 = DPurple500, type: string) --with-destruction_color Tertiary color for 'destructive' buttons (Default: #F44336 = Red500, type: string)
Note:
Color-codes are defined as
#
+ 6-digitHEX
s (Standard RGB definitions in HTML codes).The Material Design Color Palette can be found here.
Example: If you would like to use ‘Teal500’ as selection_color, use this:
./autogen.sh --with-selection_color=#009688
Basically
selection_color
andsuggestion_color
should use500
colors, andaccent_color
should use300
colors.While doing
make
, Adapta changes those 4 colors in all stylesheets and images, andmake clean
cleans up all generated files from source directories.This feature unfortunately is not supported in
Telegram 1.0
theming.
A theme file adapta.xml
is installed by default into Adapta(-Nokto)/gedit
directory, and adapta-brila.xml
is installed into Adapta-Brila/gedit
directory. See details in README.md.
Note:
- The color-scheme can be used in Gnome-Builder, Gnome-Sushi, Meld and Gedit if installed to
~/.local/share/gtksourceview-3.0/styles
or~/.local/share/gtksourceview-4/styles
directory.- A light-variant theming is experimental.
Linux-themes (Author: SolarLiner): Visual Studio Marketplace
Vscode-theme-adapted (Author: About-Code): Visual Studio Marketplace
To try our color samples for FirefoxColor test pilot, check these URLs:
Note:
We no longer support “Normal” UI layout in Chrome(ium). Use “Refresh” instead.
Vivaldi can make custom themes via settings like these:
Background: #F8F8F8 (#1D1D1D) Foreground: #111111 (#F5F5F5) Highlight: #3F51B5 Accent: #E7E7E7 (#080808) Accent Color from Active Page: [ ] Apply Accent Color to Window: [*] Transparent Tabs: [*] Corner Rounding: 2px
To try “Plank” theming, pass this option:
--enable-plank enable Plank support (type: bool)
Then select Gtk+
via plank --preferences
.
Note:
- Don't expect too much. Plank is NOT a themeable widget for me!
Compton is the famous stand-alone compositor that works well with the Openbox window-manager. The installer installs recommended configuration file compton.conf
into Adapta/openbox-3
directory if Openbox support is enabled.
Next, copy that file into ~/.config/
and restart compton to read the settings. That compositor still has some limitations in its features for Adapta, however.
To try “Telegram 1.0” theming, pass this option:
--enable-telegram enable Telegram 1.0 support (type: bool)
The installer installs compressed tdesktop-theme
files into Adapta/telegram
, Adapta-Brila/telegram
and Adapta-Nokto/telegram
directories if Telegram support is enabled. Then open the file via Telegram > Main Menu > Settings > Chat background > Choose from file.
Note:
- Bundled noise-texture images are for tiled mode.
- Telegram support is a W.I.P currently.
To try “Colordeck for Tweetdeck” extension theming, pass this option:
--enable-tweetdeck enable Tweetdeck-colordeck support (type: bool)
The installer installs cdk
files into Adapta*/tweetdeck
directories if Tweetdeck support is enabled. Then open the file via Colordeck -> import > “Colors” -> Choose File.
Note:
- Chrome Web Store
- Firefox Add-ons
- Light and dark variants are supported.
- Currently those files support “Colors” only, so enabling “Colors” checkbox is enough.
This is a list of community projects, related to Adapta:
GPLv2.0
Note:
SVG files are licensed under CC BY-SA 4.0. And an icon-theme in Cinnamon thumbnails: Paper Icons by Sam Hewitt is licensed under CC-SA-4.0.
Nana-4, the developer of Materia Gtk+ theme (formerly Flat-Plat)
Sam Hewitt, the developer of Paper Icon/Cursor Theme