Skip to content

Commit 9f29aa1

Browse files
committed
Add themes
1 parent 4afb306 commit 9f29aa1

File tree

4 files changed

+21
-25
lines changed

4 files changed

+21
-25
lines changed

style_list/README.md

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -277,41 +277,20 @@
277277
║ 2 ║ 30 40 35 30 ║
278278
╚═══╩═══════════════════╝
279279
```
280-
### `double_thin`
281-
282-
```
283-
╔═════╦═══════════════════════╗
284-
║ # ║ G H R S ║
285-
╟─────╫───────────────────────╢
286-
║ 1 ║ 30 40 35 30 ║
287-
╠═════╬═══════════════════════╣
288-
║ 2 ║ 30 40 35 30 ║
289-
╟─────╫───────────────────────╢
290-
║ SUM ║ 130 140 135 130 ║
291-
╚═════╩═══════════════════════╝
292-
293-
╔═══╦═══════════════════╗
294-
║ 1 ║ 30 40 35 30 ║
295-
╠═══╬═══════════════════╣
296-
║ 2 ║ 30 40 35 30 ║
297-
╚═══╩═══════════════════╝
298-
```
299280
### `double_thin_compact`
300281

301282
```
302283
╔═════╦═══════════════════════╗
303284
║ # ║ G H R S ║
304285
╟─────╫───────────────────────╢
305286
║ 1 ║ 30 40 35 30 ║
306-
╠═════╬═══════════════════════╣
307287
║ 2 ║ 30 40 35 30 ║
308288
╟─────╫───────────────────────╢
309289
║ SUM ║ 130 140 135 130 ║
310290
╚═════╩═══════════════════════╝
311291
312292
╔═══╦═══════════════════╗
313293
║ 1 ║ 30 40 35 30 ║
314-
╠═══╬═══════════════════╣
315294
║ 2 ║ 30 40 35 30 ║
316295
╚═══╩═══════════════════╝
317296
```
@@ -347,6 +326,23 @@
347326
1 ┃ 30 40 35 30
348327
2 ┃ 30 40 35 30
349328
```
329+
### `simple`
330+
331+
```
332+
═════ ═════ ═════ ═════ ═════
333+
# │ G H R S
334+
═════ ═════ ═════ ═════ ═════
335+
1 │ 30 40 35 30
336+
2 │ 30 40 35 30
337+
═════ ═════ ═════ ═════ ═════
338+
SUM │ 130 140 135 130
339+
═════ ═════ ═════ ═════ ═════
340+
341+
═══ ════ ════ ════ ════
342+
1 │ 30 40 35 30
343+
2 │ 30 40 35 30
344+
═══ ════ ════ ════ ════
345+
```
350346
### `ascii`
351347

352348
```

style_list/style_list.py renamed to style_list/generate_style_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
"double": styles.double,
2121
"double_box": styles.double_box,
2222
"double_compact": styles.double_compact,
23-
"double_thin": styles.double_thin,
2423
"double_thin_compact": styles.double_thin_compact,
2524
"minimalist": styles.minimalist,
2625
"borderless": styles.borderless,
26+
"simple": styles.simple,
2727
"ascii": styles.ascii,
2828
"ascii_box": styles.ascii_box,
2929
"ascii_compact": styles.ascii_compact,

table2ascii/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ class Options:
1717
last_col_heading: bool = False
1818
column_widths: Optional[List[int]] = None
1919
alignments: Optional[List[Alignment]] = None
20-
style: TableStyle = styles.double_thin
20+
style: TableStyle = styles.double_thin_compact

table2ascii/styles.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
double = TableStyle.from_string("╔═╦═╗║║ ╠═╬═╣╠═╬═╣╚╩═╝")
1616
double_box = TableStyle.from_string("╔═╦╦╗║║║╠═╬╬╣╠═╬╬╣╚╩╩╝")
1717
double_compact = TableStyle.from_string("╔═╦═╗║║ ╠═╬═╣ ╚╩═╝")
18-
double_thin = TableStyle.from_string("╔═╦═╗║║ ╟─╫─╢╠═╬═╣╚╩═╝")
19-
double_thin_compact = TableStyle.from_string("╔═╦═╗║║ ╟─╫─╢╠═╬═╣╚╩═╝")
18+
double_thin_compact = TableStyle.from_string("╔═╦═╗║║ ╟─╫─╢ ╚╩═╝")
2019
minimalist = TableStyle.from_string(" ─── │ ━━━ ─── ── ")
2120
borderless = TableStyle.from_string(" ┃ ━ ")
21+
simple = TableStyle.from_string(" ═ │ ═ ")
2222
ascii = TableStyle.from_string("+-+-+|| +-+-++-+-+++-+")
2323
ascii_box = TableStyle.from_string("+-+++|||+-++++-+++++++")
2424
ascii_compact = TableStyle.from_string("+-+-+|| +-+-+ ++-+")

0 commit comments

Comments
 (0)