This repository was archived by the owner on Jan 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,38 @@ A *No Dependency* python package for displaying the full spectrum of RGB colors
1010- * Nested* and * Inline* options to print StyleNest and Color makeup to the Console
1111- 140 predefined extended HTML colors
1212- By using the ` RGB ` object, you have access to print any RGB color to the console you desire
13-
13+
14+ ---
15+ ## Quick Examples
16+ Inline styling:
17+ ``` python
18+ from AthenaColor import Fore, Style
19+ print (
20+ f """
21+ { Style.Italic}{ Fore.SlateGray} AthenaColor Example: { Style.NoForeground}
22+ { Fore.Red} This is an of { Style.Bold} EXAMPLE { Style.NoBold} nested styling { Style.NoForeground}
23+ { Fore.SlateGray} As you can see, the color needs to be manually returned here { Style.NoForeground}{ Style.NoItalic}
24+ """
25+ )
26+ ```
27+ Nested Styling:
28+ ``` python
29+ from AthenaColor import ForeNest, StyleNest
30+
31+ print (
32+ StyleNest.Italic(ForeNest.SlateGray(
33+ " AthenaColor Example:" ,
34+ ForeNest.Red(
35+ " This is an" ,
36+ StyleNest.Bold(" EXAMPLE" ),
37+ " of nested styling"
38+ ),
39+ " As you can see, the correct color returns here by itself" ,
40+ sep = " \n "
41+ ))
42+ )
43+ ```
44+
1445---
1546## Documentation
1647Full documentation can be found at:
Original file line number Diff line number Diff line change 77# Custom Library
88
99# Custom Packages
10- import AthenaColor
1110
1211# ----------------------------------------------------------------------------------------------------------------------
1312# - All -
You can’t perform that action at this time.
0 commit comments