You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UI Style Lang is a simple CSS-like language which allows for drawing and styling wxPython elements. Many UI Style Lang properties are the same as the normal (not short-hand) CSS3 properties. This provides a familiar syntax, especially for those with experience with CSS3.
@@ -14,23 +10,15 @@ If you are looking for an easy way to:
14
10
***Style the native wxPython widgets** from a stylesheet
15
11
***Create your own custom widgets in wxPython** that can be styled with a CSS-like stylesheet
16
12
17
-
...then UI Style Lang is likely the module you're looking for.
18
-
19
-
20
-
# Direction of this project
13
+
then UI Style Lang is likely the module you're looking for.
21
14
22
-
The direction of this project will mainly focus towards creating custom widgets which are styl-able via the UI Style Language. The aim is to imitate how (Qt Style Sheets) qss is to Qt except with wxPython custom-made widgets and UI Style Language.
23
15
24
-
If you would like to help out or have ideas, feel free to open a Github issue or contact me directly via my email. :)
16
+
## Background
25
17
18
+
This was originally created as a "scratch-an-itch" project to get an idea I had for using the wxPython drawing API in a CSS way out of my head. Whether or not this is a good idea I don't know, but it's fun creating it.
26
19
27
-
# WIP/ TODO
28
20
29
-
* Custom widgets (spinbox, slider, buttons, etc)
30
-
* SVG support(?)
31
-
32
-
33
-
# Features
21
+
## Features
34
22
35
23
***Written in pure Python with minimal dependancies (just wxPython and the standard library)**
36
24
@@ -46,15 +34,15 @@ If you would like to help out or have ideas, feel free to open a Github issue or
46
34
* Supports loading from a stylesheet for easy theming
47
35
* Support for styling app, panels, frames and static text widgets
48
36
49
-
...and more.
37
+
and more.
50
38
51
39
52
-
# Usage and Examples
40
+
##Usage and Examples
53
41
54
-
See the [documentation](https://ui-style-lang.readthedocs.io/en/latest/) at Read the Docs and [full demo examples](https://github.com/Correct-Syntax/ui-style-lang/tree/master/demo) for information on usage...
42
+
See the [documentation](https://ui-style-lang.readthedocs.io/en/latest/) at Read the Docs and [full demo examples](https://github.com/Correct-Syntax/ui-style-lang/tree/master/demo) for information on usage.
55
43
56
44
57
-
# What does the syntax look like?
45
+
##What does the syntax look like?
58
46
59
47
UI Style Lang (Stylesheet API) example:
60
48
@@ -96,11 +84,14 @@ Python API example:
96
84
97
85
```
98
86
99
-
# Development
87
+
88
+
## Contributing
89
+
90
+
If you would like to help out or have ideas, feel free to open a Github issue.
100
91
101
92
Pull requests and/or feature suggestions are welcome!
102
93
103
94
104
-
# License
95
+
##License
105
96
106
-
UI Style Lang is licensed under the BSD 3-Clause license
97
+
UI Style Lang is licensed under the BSD 3-Clause license.
0 commit comments