mirror of
https://github.com/UN-GCPDS/qt-material.git
synced 2025-01-13 16:42:56 +08:00
Added invitation for user's themes.
This commit is contained in:
parent
189316fdb1
commit
58affdd802
@ -6,8 +6,8 @@
|
||||
Qt Material
|
||||
===========
|
||||
|
||||
This is another stylesheet for **PySide6**, **PySide2** and **PyQt5**, this time looks like Material
|
||||
Design (close enough).
|
||||
This is another stylesheet for **PySide6**, **PySide2** and **PyQt5**, which
|
||||
looks like Material Design (close enough).
|
||||
|
||||
|GitHub top language| |PyPI - License| |PyPI| |PyPI - Status| |PyPI -
|
||||
Python Version| |GitHub last commit| |CodeFactor Grade| |Documentation
|
||||
@ -122,13 +122,21 @@ Save it as `my_theme.xml` or similar and apply the style sheet from Python.
|
||||
Light themes
|
||||
------------
|
||||
|
||||
Light will need to add `light_secondary` argument as `True`.
|
||||
Light themes will need to add `light_secondary` argument as `True`.
|
||||
|
||||
.. code:: python
|
||||
|
||||
apply_stylesheet(app, theme='dark_teal.xml', light_secondary=True)
|
||||
|
||||
|
||||
New Themes
|
||||
----------
|
||||
|
||||
Do you have a custom theme? it looks good? create a
|
||||
`pull request <https://github.com/UN-GCPDS/qt-material/pulls>`_ in
|
||||
`<https://github.com/UN-GCPDS/qt-material/tree/master/qt_material/themes>`_ and
|
||||
share it with all users.
|
||||
|
||||
|
||||
|
||||
.. |GitHub top language| image:: https://img.shields.io/github/languages/top/un-gcpds/qt-material
|
||||
@ -143,8 +151,6 @@ Light will need to add `light_secondary` argument as `True`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user