mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 12:14:16 +02:00
[ui] feature: themes
This commit is contained in:
40
CHANGELOG.md
40
CHANGELOG.md
@@ -5,11 +5,51 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
## [0.9.9]
|
||||
### Features
|
||||
- Themes (stylesheets)
|
||||
- new settings property "theme": it points to a file defining a set of customizations over the current style (QT). In other words, a stylesheet file. At the moment 3 will come bundled with bauh:
|
||||
- [Light](https://raw.githubusercontent.com/vinifmor/bauh-files/master/pictures/releases/0.9.9/light.png): default light theme
|
||||
- [Darcula](https://raw.githubusercontent.com/vinifmor/bauh-files/master/pictures/releases/0.9.9/darcula.png): dark based on JetBrain's Darcula theme
|
||||
- [Sublime](https://raw.githubusercontent.com/vinifmor/bauh-files/master/pictures/releases/0.9.9/sublime.png): dark based on Sublime Text's editor theme
|
||||
- the theme can be changed through the new lower bar button:
|
||||
<p align="center">
|
||||
<img src="https://raw.githubusercontent.com/vinifmor/bauh-files/master/pictures/releases/0.9.9/bt_themes.png">
|
||||
</p>
|
||||
|
||||
- you can provide custom themes by putting the required files at **~/.local/share/bauh/themes**. There are 2 required and 1 optional file for each theme (all files related to a theme must share the same name):
|
||||
- **my_theme.qss**: file with the qss rules. Example: [light.qss](https://raw.githubusercontent.com/vinifmor/bauh/qss/bauh/view/resources/style/light/light.qss)
|
||||
- **my_theme.meta**: file defining the data about the theme (display name, description, version, ...). Example: [light.meta](https://raw.githubusercontent.com/vinifmor/bauh/qss/bauh/view/resources/style/light/light.meta)
|
||||
- **my_theme.vars**: optional file defining `key=value` variables that will be available for the .qss file through the symbol '@' (e.g: @my_var). Example: [light.vars](https://raw.githubusercontent.com/vinifmor/bauh/qss/bauh/view/resources/style/light/light.vars)
|
||||
- common theme variables available:
|
||||
- **style_dir**: path to the .qss file directory. Example: @style_dir/my_icon.svg
|
||||
- **images**: path to bauh's icons (gem icons are not available through this variable). Example: @images/logo.svg
|
||||
|
||||
### Improvements
|
||||
- UI
|
||||
- root dialog design and behavior
|
||||
- tooltip for the label displaying the number of applications on the table/available [#138](https://github.com/vinifmor/bauh/issues/138)
|
||||
- screenshots dialog resizing behavior
|
||||
- "name filter" now requires ENTER or click to be triggered
|
||||
- some app actions icons are now displayed with a different picture when disabled to prevent confusion (e.g: launch, screenshots) [#138](https://github.com/vinifmor/bauh/issues/138)
|
||||
- suggestions button moved to the lower bar (label removed)
|
||||
<p align="center">
|
||||
<img src="https://raw.githubusercontent.com/vinifmor/bauh-files/master/pictures/releases/0.9.9/suggestions.png">
|
||||
</p>
|
||||
|
||||
- Settings
|
||||
- new property **system_theme** (UI -> System theme): merges the system's theme/stylesheet with bauh's (default: false)
|
||||
- property **style** renamed to **qt_style** and its default value now is **fusion**. If this property is set to **null**, **fusion** will be considered as well. Fusion is the default style that all default themes (stylesheets) are based on, so if you change this property the final style may not look like as expected.
|
||||
- **Applications displayed** property (Interface) tooltip now informs that 0 (zero) can be used for no limit [#138](https://github.com/vinifmor/bauh/issues/138)
|
||||
- Parameters
|
||||
- new parameter **--offline**: it assumes the internet connection is off. Useful if the connection is bad/unstable and you just want to check your installed packages.
|
||||
|
||||
### Fixes
|
||||
- Arch:
|
||||
- search: not able to find installed packages that were renamed on the repositories (e.g: xapps -> xapp)
|
||||
- not able to replace an installed package for a new one that replaces it during conflict resolutions (e.g: xapp replaces xapps)
|
||||
- AUR: not able to find some repository dependencies when their names are not an exact match (e.g: sc-controller [0.4.7-1] relies on "pylibacl". This dependency now is called "python-pylibacl")
|
||||
- UI
|
||||
- wrong tooltips
|
||||
|
||||
### i18n
|
||||
- French translations by [KINFOO](https://github.com/KINFOO): [#143](https://github.com/vinifmor/bauh/pull/143)
|
||||
|
||||
Reference in New Issue
Block a user