From c6fc7f515c647740ef8feb88f41ec48347552a51 Mon Sep 17 00:00:00 2001 From: Edwin Pratt <34472632+EdThePro101@users.noreply.github.com> Date: Thu, 29 Jun 2023 20:20:44 +0200 Subject: [PATCH 1/2] Update installation.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed spelling 😇 --- docs/gettingstarted/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/gettingstarted/installation.md b/docs/gettingstarted/installation.md index c5b72168..305fc60f 100644 --- a/docs/gettingstarted/installation.md +++ b/docs/gettingstarted/installation.md @@ -7,7 +7,7 @@ Easy peezy. python -m pip install ttkbootstrap ``` -Lemon squeeze. +Lemon squeezy. !!! note "Github Installation" ```bash From c7c87db717149158eefe575587d644ec0a7e6201 Mon Sep 17 00:00:00 2001 From: Edwin Pratt <34472632+EdThePro101@users.noreply.github.com> Date: Thu, 29 Jun 2023 20:34:10 +0200 Subject: [PATCH 2/2] Update tutorial.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed some wording 😇 --- docs/gettingstarted/tutorial.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/gettingstarted/tutorial.md b/docs/gettingstarted/tutorial.md index 26fc8948..af2b80ba 100644 --- a/docs/gettingstarted/tutorial.md +++ b/docs/gettingstarted/tutorial.md @@ -80,7 +80,7 @@ style = ttk.Style("darkly") root = ttk.Window(themename="darkly") ``` -## Use themed widgets +## Using themed widgets ttkbootstrap widgets have [dozens of predefined styles](../styleguide/index.md) which are applied using **keywords** that modify both the **type** and **color** @@ -173,13 +173,13 @@ transformed from a **solid** to an **outline** button type. ### Keyword usage -On final note on using keywords... the **bootstyle** parameter is VERY flexible. +One final note on using keywords. The **bootstyle** parameter is VERY flexible. It doesn't really matter how the keyword looks. There is a regex expression in the background that parses the input and converts it into the appropriate ttk style. You can pass in a _string_ of keywords, or an _iterable_ of keywords such as with a `list` or `tuple`. -All of the following variations are legal and will result in the same style. +All of the following variations are legal and will result in the same style: * `"info-outline"` * `"infooutline"` @@ -189,8 +189,8 @@ All of the following variations are legal and will result in the same style. * `(INFO, OUTLINE)` !!! note "The recommended keyword separator is a dash" - If using **strings** for keywords, it is recommended to separate the + If you are using **strings** for keywords, it is recommended to separate the keywords using a dash when possible, as in the _first_ example above. - If using **constants**, and you are using more than one keyword, you will use - a `list` or `tuple` as in the _last_ example above. \ No newline at end of file + If you are using **constants**, and you are using more than one keyword, you will use + a `list` or `tuple` as in the _last_ example above.