That's the reason why 13.33px = 10pt is used for rem/px conversion in Gtk+ 3.2x theming (In Gtk+ 3.18.x theming, em unit is directly used).
Note:
NotoSans CJK (ChineseJapaneseKorean) opentype fonts are actually 0.1em taller than Roboto fonts, so if 10pt Roboto was suitable on your LCDs, set 9pt for NotoSans CJK families.
Verify the fonts are rendered correctly via font-viewer tools like Gnome-Font-Viewer.
Variant Matrix
Adapta
Adapta-Nokto
Adapta-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:
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.
Check build-requirements:
Currently Adapta bundles neither pre-generated stylesheets nor PNG images.
So users and/or contributors should generate proper CSSs, PNGs and gresources at build-time.
Adapta 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.
Build and install system-wide:
./autogen.sh --prefix=/usr
make
sudo make install
Note:
Default prefix is /usr/local.
All 4 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.
To speed up by using concurrency-build, pass this specific option to autogen.sh:
--enable-parallel enable parallel-build support (type: bool)
Note:
This feature requires GNU parallel, so please add parallel to build-requirements.
Parallel can execute multiple scripts and binaries to be suitable for multi-threading.
It could especially shorten the rendering-time via inkscape.
-jN option to be passed to GNU make is surely usable, but Adapta currently employs parallel.
This feature should not be applied when packaging on remote/shared build-servers.
To disable some DE supports, pass these specific options to 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.
To enable extra Gtk+ release support, pass these options:
--enable-gtk_next enable Gtk+ 4.0 support (type: bool)
To change the default 4 Key-Colors, pass these options:
--with-selection_color Primary color for 'selected-items' (Default: #00BCD4 = Cyan500, type: string)
--with-accent_color Secondary color for notifications and OSDs (Default: #4DB6AC = Teal300, type: string)
--with-suggestion_color Secondary color for 'suggested' buttons (Default: #009688 = Teal500, type: string)
--with-destruction_color Tertiary color for 'destructive' buttons (Default: #FF5252 = RedA200, type: string)
Note:
Color-codes are defined as # + 6-digit HEXs (Standard RGB definitions in HTML codes).
Uppercases are strongly recommended in Adapta code-base.
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
This switchese the theme to almost Teal key colors.
Basically selection_color and suggestion_color should use 500 colors,
and accent_color should use 300 colors.
While doing make, Adapta changes those 4 colors in all stylesheets and images,
and make clean cleans up all generated files from source directories.
This feature unfortunately is not supported in Openbox-3 and Telegram 1.0 theming.
GtkSourceView/Gedit Color Scheme Support
A theme file adapta.xml is installed by default into Adapta(-Nokto)/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.
To try legacy Chrome(ium) specific theming (< 59.0.30xx), pass this option:
--enable-chrome-legacy enable legacy Chrome(ium) support (type: bool)
The compressed crx files will be installed into Adapta/chrome and Adapta-Nokto/chrome.
Note:
Chrome(ium) 59.0.30xx or newer, theming is pulled from Gtk+ 3.x directly.
So Settings > Appearance > Themes should be GTK+.
Vivaldi can make custom themes via settings like these:
Background: #FAFBFC (#263238)
Foreground: #263238 (#CFD8DC)
Highlight: #00BCD4
Accent: #222D32
Accent Color from Active Page: [ ]
Apply Accent Color to Window: [*]
Transparent Tabs: [*]
Corner Rounding: 2px
Extra Dock Support
To try "Plank" theming, pass this option:
--enable-plank enable Plank support (type: bool)
Then select Gtk+ via plank --preferences.
Note:
Both Adapta and Adapta-Nokto shares the same theming.
Don't expect too much. Plank is NOT a themeable widget for me!
Extra Compositor Support
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.
Extra Telegram Support
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 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:
The adapta.tdesktop-theme is for light-variant, and adapta-nokto.tdesktop-theme is for dark-variant.
Bundled noise-texture images are for tiled mode.
Telegram support is a W.I.P currently.
Extra Tweetdeck Support
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.
请发表评论