-
Notifications
You must be signed in to change notification settings - Fork 7
Description
v4.0 of the upstream skin is going to be a big update with a few new options and refactored installer.
It's still WIP and is probably not going to be done for some time, but I'm letting you know sooner so you can support it in AdwSteamGtk.
See PR tkashkin/Adwaita-for-Steam#338 for details and leave your suggestions there if you have any.
Most of the old options should be the same as before, though there may be some breaking changes.
All current options
$ ./install.py -h
Adwaita-for-Steam 4.0 installer
-t, --target {default,flatpak,snap,PATH} [{default,flatpak,snap,PATH} ...]
install to one or more Steam installation paths
-u, --uninstall uninstall from one or more Steam installation paths
-d, --debug show more debug output
-l, --list-options list available color themes and extras and exit
-h, --help show this help message and exit
-v, --version show program's version number and exit
style:
-e, --extra, --extras EXTRA [EXTRA ...]
enable one or multiple theme extras
-f, --font {adwaita,cantarell}
set font family
--custom-css enable custom CSS
colors:
-c, --color-theme THEME
use one of the available color themes
-a, --accent-color {auto,blue,teal,green,yellow,orange,red,pink,purple,slate,ACCENT_COLOR}
set accent color
'auto' will use your system accent color if possible
custom colors must be formatted as '#RGB', '#RRGGBB', or 'rgb(r, g, b)'
-s, --color-scheme {auto,dark,light}
set color scheme
'auto' will use your system settings for dark or light appearance if supported
window controls:
--windowcontrols-theme {auto,adwaita,breeze,windows,macos}
set window controls theme
--windowcontrols-layout {auto,gnome,pantheon,kde,windows,macos,LAYOUT}
set window controls layout
custom layout must be a GNOME-compatible button layout string like 'close,minimize:maximize'
New features
Accent color
auto
will try to use the system accent color.
On GNOME it should use one of the named Adwaita accent colors.
On other DEs and platforms it should try to get the raw system accent color and use it directly.
Custom colors can technically be any CSS color expression, but for simplicity installer will only accept #RGB
, #RRGGBB
, or rgb(r, g, b)
for now.
Accent color and window controls layout defaults
Installer now tries to read system settings from the XDG settings portal through dbus (with fallback on gsettings
).
I think it should work directly from the Flatpak sandbox, so you may not need to do that in AdwSteamGtk anymore.
Color scheme
auto
, light
, and dark
color schemes are now supported. auto
will allow CEF to use system appearance, other options will force the selected color scheme.
High contrast mode
Uses Steam's accessibility settings and CSS media queries. No changes required in the installer.
Likely breaking changes
Installer output
Installer was completely refactored and output format has been changed. Could be breaking if AdwSteamGtk somehow relies on it.
Renamed extras
Extras were renamed to replace underscores with dashes for more consitency with color theme names.
Color themes (not updated yet)
Format will be changed once again to use regular CSS colors, probably to something like this.
No need for --color-rgb: r, g, b;
hacks anymore because the skin now uses color-mix()
to derive all needed colors and opacities like the original libadwaita stylesheet does.
I'm also considering separating color themes into normal, dark-only and light-only groups since some of them only make sense in one color scheme. But maybe there's no need for that and themes can just set a fixed color scheme.
--dev
option removed
It wasn't really that useful, it's often easier to press F5 or reopen a secondary window in Steam anyway.