1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

Update theme preview scripts and screenshots (#909)

Lots of changes - Pretty every change needed to be made before updating
the preview screenshots, so they all end up in the same PR here:

* `preview-generate-screenshots.nu` now generates the previews and
screenshots all in one pass rather than requiring a separate file.

* Adds a new method for generating screenshots using PowerShell with no
third-party application required. Created new function for choosing the
method that is used to generate screenshots.

* Fixes background color on `nushell-dark` and `nushell-light` themes.

* Fixes bug where `cursor` setting (and perhaps one other) was getting
dropped from the preview table (`math ceil` was needed rather than `math
floor`)

* Fixes `cellpath` setting - Was changed to `cell-path` a while back but
never updated in the themes. All themes and their previews were
regenerated. Custom themes were manually adjusted.

* **Important:** I did not update `make.nu` to fix this (yet) since
@amtoine has a open PR against it that has not been merged yet. Easier
to either put that change in that PR or do it after that one has been
merged.

* Adds `mod.nu` in the root of the `themes` module. Moves some of the
previous script commands such as `preview_terminal`,
`preview_theme_small`, etc. over to the module. Makes for cleaner usage.

* Note: The completion functions in the scripts have been broken for
several months. I did not fix this at this point.

* `preview_theme_small` (and others) renamed to use spaces in command
name, so it is now `preview theme small`.

* Fixes bug of my own making that prevented several custom themes from
working.

* Refactors the "list to columns" code to use `group` (will need to be
updated to `chunks` in 0.96)
* Suppresses the indices column in the preview table
* Removes the column headers entirely since they don't serve any purpose
in this type of "columnar table"
This commit is contained in:
NotTheDr01ds 2024-07-22 15:21:28 -04:00 committed by GitHub
parent 770dfe6d4e
commit 995c1ea21c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
915 changed files with 1019 additions and 5353 deletions

View file

@ -1,5 +1,5 @@
# Preview the current nushell theme
def preview_theme [] {
export def "preview theme" [] {
let ansi_names = (ansi --list | get name)
let all_ansi_names = $ansi_names ++ (ansi --list | get 'short name' | range 133..388)
let color_config = ($env.config.color_config | transpose key value)
@ -64,7 +64,7 @@ def preview_small [theme: string@"nu-complete list themes"] {
}
# Preview the current nushell theme, small mode
def preview_theme_small [] {
export def "preview theme small" [] {
let ansi_names = (ansi --list | get name)
let all_ansi_names = $ansi_names ++ (ansi --list | get 'short name' | range 133..388)
let color_config = ($env.config.color_config | transpose key value)
@ -86,6 +86,8 @@ def preview_theme_small [] {
} else {
[[key]; [$source_code_replaced]]
}
} else if ($row.key == 'background') {
[[key]; [$"($row.key) - ($row.value)"]]
} else if ($row.value | describe | str contains 'record') {
[[key]; [$"(ansi ($row.value))($row.key) - ($row.value)(ansi reset)"]]
} else if ($row.value | str starts-with '#') {
@ -103,10 +105,56 @@ def preview_theme_small [] {
# echo $table1 | merge $table2
# This draws the table with three tables merged
let row_count = ($color_table | length)
let row_count_third = (($color_table | length) / 3 | math floor)
let table1 = ($color_table | range 0..$row_count_third | rename key1 val1)
let table2 = ($color_table | range $row_count_third..($row_count_third * 2) | rename key2 val2)
let table3 = ($color_table | range ($row_count_third * 2)..$row_count | rename key3 val3)
echo $table1 | merge $table2 | merge $table3
let row_count = (
$color_table
| length
| $in / 3
| math ceil
)
#return ($color_table | group 19)
let table1 = ($color_table | group $row_count | get 0 | rename "Column 1")
let table2 = ($color_table | group $row_count | get 1 | rename "Column 2")
let table3 = ($color_table | group $row_count | get 2 | rename "Column 3")
$table1
| merge $table2
| merge $table3
| default '' "Column 3"
| table -e -i false
# Remove heading
| str replace -r '^([^\n]+)(\n[^\n]+){2}' '$1'
}
# Preview what your terminal theme looks like
export def 'preview terminal' [] {
def preview [attr: string] {
let color = $in
$"(ansi -e {fg: $color attr: $attr})($color)(ansi reset)"
}
let colors = [
[normal rgb];
[black '#000000']
[red '#FF0000']
[green '#00FF00']
[yellow '#FFFF00']
[blue '#0000FF']
[magenta '#FF00FF']
[purple '#FF00FF']
[cyan '#00FFFF']
[white '#FFFFFF']
]
$colors | each {|color| {
dimmed: ($color.normal | preview d)
normal: ($color.normal | preview n)
bold: ($color.normal | preview b)
rgb_dimmed: ($color.rgb | preview d)
rgb_normal: ($color.rgb | preview n)
rgb_bold: ($color.rgb | preview b)
}}
}

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#a5a2a2'
nothing: '#a5a2a2'
binary: '#a5a2a2'
cellpath: '#a5a2a2'
cell-path: '#a5a2a2'
row_index: { fg: '#01a252' attr: 'b' }
record: '#a5a2a2'
list: '#a5a2a2'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#a5a2a2'
nothing: '#a5a2a2'
binary: '#a5a2a2'
cellpath: '#a5a2a2'
cell-path: '#a5a2a2'
row_index: { fg: '#01a252' attr: 'b' }
record: '#a5a2a2'
list: '#a5a2a2'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#a5a2a2'
nothing: '#a5a2a2'
binary: '#a5a2a2'
cellpath: '#a5a2a2'
cell-path: '#a5a2a2'
row_index: { fg: '#01a252' attr: 'b' }
record: '#a5a2a2'
list: '#a5a2a2'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#a0cce2'
nothing: '#a0cce2'
binary: '#a0cce2'
cellpath: '#a0cce2'
cell-path: '#a0cce2'
row_index: { fg: '#10598b' attr: 'b' }
record: '#a0cce2'
list: '#a0cce2'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#b6b6b6'
nothing: '#b6b6b6'
binary: '#b6b6b6'
cellpath: '#b6b6b6'
cell-path: '#b6b6b6'
row_index: { fg: '#83ff08' attr: 'b' }
record: '#b6b6b6'
list: '#b6b6b6'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#bebebe'
nothing: '#bebebe'
binary: '#bebebe'
cellpath: '#bebebe'
cell-path: '#bebebe'
row_index: { fg: '#83ff08' attr: 'b' }
record: '#bebebe'
list: '#bebebe'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#f8dcc0'
nothing: '#f8dcc0'
binary: '#f8dcc0'
cellpath: '#f8dcc0'
cell-path: '#f8dcc0'
row_index: { fg: '#4ab118' attr: 'b' }
record: '#f8dcc0'
list: '#f8dcc0'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#d0d0d0'
nothing: '#d0d0d0'
binary: '#d0d0d0'
cellpath: '#d0d0d0'
cell-path: '#d0d0d0'
row_index: { fg: '#7b9246' attr: 'b' }
record: '#d0d0d0'
list: '#d0d0d0'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#647d75'
nothing: '#647d75'
binary: '#647d75'
cellpath: '#647d75'
cell-path: '#647d75'
row_index: { fg: '#2f7e25' attr: 'b' }
record: '#647d75'
list: '#647d75'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#bbbbbb'
nothing: '#bbbbbb'
binary: '#bbbbbb'
cellpath: '#bbbbbb'
cell-path: '#bbbbbb'
row_index: { fg: '#fa0074' attr: 'b' }
record: '#bbbbbb'
list: '#bbbbbb'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#dedbeb'
nothing: '#dedbeb'
binary: '#dedbeb'
cellpath: '#dedbeb'
cell-path: '#dedbeb'
row_index: { fg: '#a2baa8' attr: 'b' }
record: '#dedbeb'
list: '#dedbeb'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#81b5ac'
nothing: '#81b5ac'
binary: '#81b5ac'
cellpath: '#81b5ac'
cell-path: '#81b5ac'
row_index: { fg: '#883e96' attr: 'b' }
record: '#81b5ac'
list: '#81b5ac'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#bcbcbc'
nothing: '#bcbcbc'
binary: '#bcbcbc'
cellpath: '#bcbcbc'
cell-path: '#bcbcbc'
row_index: { fg: '#87af87' attr: 'b' }
record: '#bcbcbc'
list: '#bcbcbc'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#ffffff'
nothing: '#ffffff'
binary: '#ffffff'
cellpath: '#ffffff'
cell-path: '#ffffff'
row_index: { fg: '#8ce10b' attr: 'b' }
record: '#ffffff'
list: '#ffffff'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#bbaa99'
nothing: '#bbaa99'
binary: '#bbaa99'
cellpath: '#bbaa99'
cell-path: '#bbaa99'
row_index: { fg: '#86af80' attr: 'b' }
record: '#bbaa99'
list: '#bbaa99'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c7ccd1'
nothing: '#c7ccd1'
binary: '#c7ccd1'
cellpath: '#c7ccd1'
cell-path: '#c7ccd1'
row_index: { fg: '#95c7ae' attr: 'b' }
record: '#c7ccd1'
list: '#c7ccd1'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#585260'
nothing: '#585260'
binary: '#585260'
cellpath: '#585260'
cell-path: '#585260'
row_index: { fg: '#2a9292' attr: 'b' }
record: '#585260'
list: '#585260'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#8b8792'
nothing: '#8b8792'
binary: '#8b8792'
cellpath: '#8b8792'
cell-path: '#8b8792'
row_index: { fg: '#2a9292' attr: 'b' }
record: '#8b8792'
list: '#8b8792'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#6e6b5e'
nothing: '#6e6b5e'
binary: '#6e6b5e'
cellpath: '#6e6b5e'
cell-path: '#6e6b5e'
row_index: { fg: '#60ac39' attr: 'b' }
record: '#6e6b5e'
list: '#6e6b5e'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#a6a28c'
nothing: '#a6a28c'
binary: '#a6a28c'
cellpath: '#a6a28c'
cell-path: '#a6a28c'
row_index: { fg: '#60ac39' attr: 'b' }
record: '#a6a28c'
list: '#a6a28c'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#5f5e4e'
nothing: '#5f5e4e'
binary: '#5f5e4e'
cellpath: '#5f5e4e'
cell-path: '#5f5e4e'
row_index: { fg: '#7d9726' attr: 'b' }
record: '#5f5e4e'
list: '#5f5e4e'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#929181'
nothing: '#929181'
binary: '#929181'
cellpath: '#929181'
cell-path: '#929181'
row_index: { fg: '#7d9726' attr: 'b' }
record: '#929181'
list: '#929181'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#68615e'
nothing: '#68615e'
binary: '#68615e'
cellpath: '#68615e'
cell-path: '#68615e'
row_index: { fg: '#7b9726' attr: 'b' }
record: '#68615e'
list: '#68615e'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#a8a19f'
nothing: '#a8a19f'
binary: '#a8a19f'
cellpath: '#a8a19f'
cell-path: '#a8a19f'
row_index: { fg: '#7b9726' attr: 'b' }
record: '#a8a19f'
list: '#a8a19f'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#695d69'
nothing: '#695d69'
binary: '#695d69'
cellpath: '#695d69'
cell-path: '#695d69'
row_index: { fg: '#918b3b' attr: 'b' }
record: '#695d69'
list: '#695d69'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#ab9bab'
nothing: '#ab9bab'
binary: '#ab9bab'
cellpath: '#ab9bab'
cell-path: '#ab9bab'
row_index: { fg: '#918b3b' attr: 'b' }
record: '#ab9bab'
list: '#ab9bab'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#516d7b'
nothing: '#516d7b'
binary: '#516d7b'
cellpath: '#516d7b'
cell-path: '#516d7b'
row_index: { fg: '#568c3b' attr: 'b' }
record: '#516d7b'
list: '#516d7b'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#7ea2b4'
nothing: '#7ea2b4'
binary: '#7ea2b4'
cellpath: '#7ea2b4'
cell-path: '#7ea2b4'
row_index: { fg: '#568c3b' attr: 'b' }
record: '#7ea2b4'
list: '#7ea2b4'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#585050'
nothing: '#585050'
binary: '#585050'
cellpath: '#585050'
cell-path: '#585050'
row_index: { fg: '#4b8b8b' attr: 'b' }
record: '#585050'
list: '#585050'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#8a8585'
nothing: '#8a8585'
binary: '#8a8585'
cellpath: '#8a8585'
cell-path: '#8a8585'
row_index: { fg: '#4b8b8b' attr: 'b' }
record: '#8a8585'
list: '#8a8585'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#526057'
nothing: '#526057'
binary: '#526057'
cellpath: '#526057'
cell-path: '#526057'
row_index: { fg: '#489963' attr: 'b' }
record: '#526057'
list: '#526057'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#87928a'
nothing: '#87928a'
binary: '#87928a'
cellpath: '#87928a'
cell-path: '#87928a'
row_index: { fg: '#489963' attr: 'b' }
record: '#87928a'
list: '#87928a'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#5e6e5e'
nothing: '#5e6e5e'
binary: '#5e6e5e'
cellpath: '#5e6e5e'
cell-path: '#5e6e5e'
row_index: { fg: '#29a329' attr: 'b' }
record: '#5e6e5e'
list: '#5e6e5e'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#8ca68c'
nothing: '#8ca68c'
binary: '#8ca68c'
cellpath: '#8ca68c'
cell-path: '#8ca68c'
row_index: { fg: '#29a329' attr: 'b' }
record: '#8ca68c'
list: '#8ca68c'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#5e6687'
nothing: '#5e6687'
binary: '#5e6687'
cellpath: '#5e6687'
cell-path: '#5e6687'
row_index: { fg: '#ac9739' attr: 'b' }
record: '#5e6687'
list: '#5e6687'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#979db4'
nothing: '#979db4'
binary: '#979db4'
cellpath: '#979db4'
cell-path: '#979db4'
row_index: { fg: '#ac9739' attr: 'b' }
record: '#979db4'
list: '#979db4'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#a1a19a'
nothing: '#a1a19a'
binary: '#a1a19a'
cellpath: '#a1a19a'
cell-path: '#a1a19a'
row_index: { fg: '#7fc06e' attr: 'b' }
record: '#a1a19a'
list: '#a1a19a'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#bbbbbb'
nothing: '#bbbbbb'
binary: '#bbbbbb'
cellpath: '#bbbbbb'
cell-path: '#bbbbbb'
row_index: { fg: '#3e953a' attr: 'b' }
record: '#bbbbbb'
list: '#bbbbbb'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#e0e0e0'
nothing: '#e0e0e0'
binary: '#e0e0e0'
cellpath: '#e0e0e0'
cell-path: '#e0e0e0'
row_index: { fg: '#87c38a' attr: 'b' }
record: '#e0e0e0'
list: '#e0e0e0'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#ffffff'
nothing: '#ffffff'
binary: '#ffffff'
cellpath: '#ffffff'
cell-path: '#ffffff'
row_index: { fg: '#86b200' attr: 'b' }
record: '#ffffff'
list: '#ffffff'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c7c7c7'
nothing: '#c7c7c7'
binary: '#c7c7c7'
cellpath: '#c7c7c7'
cell-path: '#c7c7c7'
row_index: { fg: '#a6cc70' attr: 'b' }
record: '#c7c7c7'
list: '#c7c7c7'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c7c7c7'
nothing: '#c7c7c7'
binary: '#c7c7c7'
cellpath: '#c7c7c7'
cell-path: '#c7c7c7'
row_index: { fg: '#a6cc70' attr: 'b' }
record: '#c7c7c7'
list: '#c7c7c7'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#ffffff'
nothing: '#ffffff'
binary: '#ffffff'
cellpath: '#ffffff'
cell-path: '#ffffff'
row_index: { fg: '#b8cc52' attr: 'b' }
record: '#ffffff'
list: '#ffffff'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#e6e6e6'
nothing: '#e6e6e6'
binary: '#e6e6e6'
cellpath: '#e6e6e6'
cell-path: '#e6e6e6'
row_index: { fg: '#74ac6d' attr: 'b' }
record: '#e6e6e6'
list: '#e6e6e6'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c5c5be'
nothing: '#c5c5be'
binary: '#c5c5be'
cellpath: '#c5c5be'
cell-path: '#c5c5be'
row_index: { fg: '#c8be46' attr: 'b' }
record: '#c5c5be'
list: '#c5c5be'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#968c83'
nothing: '#968c83'
binary: '#968c83'
cellpath: '#968c83'
cell-path: '#968c83'
row_index: { fg: '#858162' attr: 'b' }
record: '#968c83'
list: '#968c83'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#968c83'
nothing: '#968c83'
binary: '#968c83'
cellpath: '#968c83'
cell-path: '#968c83'
row_index: { fg: '#858162' attr: 'b' }
record: '#968c83'
list: '#968c83'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#8a8986'
nothing: '#8a8986'
binary: '#8a8986'
cellpath: '#8a8986'
cell-path: '#8a8986'
row_index: { fg: '#54be0d' attr: 'b' }
record: '#8a8986'
list: '#8a8986'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#918988'
nothing: '#918988'
binary: '#918988'
cellpath: '#918988'
cell-path: '#918988'
row_index: { fg: '#a9ee55' attr: 'b' }
record: '#918988'
list: '#918988'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#e0dbb7'
nothing: '#e0dbb7'
binary: '#e0dbb7'
cellpath: '#e0dbb7'
cell-path: '#e0dbb7'
row_index: { fg: '#6ba18a' attr: 'b' }
record: '#e0dbb7'
list: '#e0dbb7'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c1c1c1'
nothing: '#c1c1c1'
binary: '#c1c1c1'
cellpath: '#c1c1c1'
cell-path: '#c1c1c1'
row_index: { fg: '#fbcb97' attr: 'b' }
record: '#c1c1c1'
list: '#c1c1c1'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c1c1c1'
nothing: '#c1c1c1'
binary: '#c1c1c1'
cellpath: '#c1c1c1'
cell-path: '#c1c1c1'
row_index: { fg: '#ddeecc' attr: 'b' }
record: '#c1c1c1'
list: '#c1c1c1'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c1c1c1'
nothing: '#c1c1c1'
binary: '#c1c1c1'
cellpath: '#c1c1c1'
cell-path: '#c1c1c1'
row_index: { fg: '#d0dfee' attr: 'b' }
record: '#c1c1c1'
list: '#c1c1c1'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c1c1c1'
nothing: '#c1c1c1'
binary: '#c1c1c1'
cellpath: '#c1c1c1'
cell-path: '#c1c1c1'
row_index: { fg: '#9b8d7f' attr: 'b' }
record: '#c1c1c1'
list: '#c1c1c1'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c1c1c1'
nothing: '#c1c1c1'
binary: '#c1c1c1'
cellpath: '#c1c1c1'
cell-path: '#c1c1c1'
row_index: { fg: '#7799bb' attr: 'b' }
record: '#c1c1c1'
list: '#c1c1c1'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c1c1c1'
nothing: '#c1c1c1'
binary: '#c1c1c1'
cellpath: '#c1c1c1'
cell-path: '#c1c1c1'
row_index: { fg: '#eceee3' attr: 'b' }
record: '#c1c1c1'
list: '#c1c1c1'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c1c1c1'
nothing: '#c1c1c1'
binary: '#c1c1c1'
cellpath: '#c1c1c1'
cell-path: '#c1c1c1'
row_index: { fg: '#a5aaa7' attr: 'b' }
record: '#c1c1c1'
list: '#c1c1c1'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c1c1c1'
nothing: '#c1c1c1'
binary: '#c1c1c1'
cellpath: '#c1c1c1'
cell-path: '#c1c1c1'
row_index: { fg: '#f3ecd4' attr: 'b' }
record: '#c1c1c1'
list: '#c1c1c1'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c1c1c1'
nothing: '#c1c1c1'
binary: '#c1c1c1'
cellpath: '#c1c1c1'
cell-path: '#c1c1c1'
row_index: { fg: '#aa9988' attr: 'b' }
record: '#c1c1c1'
list: '#c1c1c1'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c1c1c1'
nothing: '#c1c1c1'
binary: '#c1c1c1'
cellpath: '#c1c1c1'
cell-path: '#c1c1c1'
row_index: { fg: '#f8f7f2' attr: 'b' }
record: '#c1c1c1'
list: '#c1c1c1'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c1c1c1'
nothing: '#c1c1c1'
binary: '#c1c1c1'
cellpath: '#c1c1c1'
cell-path: '#c1c1c1'
row_index: { fg: '#dd9999' attr: 'b' }
record: '#c1c1c1'
list: '#c1c1c1'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#d9d9d9'
nothing: '#d9d9d9'
binary: '#d9d9d9'
cellpath: '#d9d9d9'
cell-path: '#d9d9d9'
row_index: { fg: '#7ab87a' attr: 'b' }
record: '#d9d9d9'
list: '#d9d9d9'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#eeeeee'
nothing: '#eeeeee'
binary: '#eeeeee'
cellpath: '#eeeeee'
cell-path: '#eeeeee'
row_index: { fg: '#a8ff60' attr: 'b' }
record: '#eeeeee'
list: '#eeeeee'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#b7b8b9'
nothing: '#b7b8b9'
binary: '#b7b8b9'
cellpath: '#b7b8b9'
cell-path: '#b7b8b9'
row_index: { fg: '#31a354' attr: 'b' }
record: '#b7b8b9'
list: '#b7b8b9'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c1c8d6'
nothing: '#c1c8d6'
binary: '#c1c8d6'
cellpath: '#c1c8d6'
cell-path: '#c1c8d6'
row_index: { fg: '#b6e875' attr: 'b' }
record: '#c1c8d6'
list: '#c1c8d6'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#e0e0e0'
nothing: '#e0e0e0'
binary: '#e0e0e0'
cellpath: '#e0e0e0'
cell-path: '#e0e0e0'
row_index: { fg: '#a1c659' attr: 'b' }
record: '#e0e0e0'
list: '#e0e0e0'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#ffffff'
nothing: '#ffffff'
binary: '#ffffff'
cellpath: '#ffffff'
cell-path: '#ffffff'
row_index: { fg: '#519f50' attr: 'b' }
record: '#ffffff'
list: '#ffffff'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#4e5ab7'
nothing: '#4e5ab7'
binary: '#4e5ab7'
cellpath: '#4e5ab7'
cell-path: '#4e5ab7'
row_index: { fg: '#f3bd09' attr: 'b' }
record: '#4e5ab7'
list: '#4e5ab7'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#b0c5c8'
nothing: '#b0c5c8'
binary: '#b0c5c8'
cellpath: '#b0c5c8'
cell-path: '#b0c5c8'
row_index: { fg: '#87b386' attr: 'b' }
record: '#b0c5c8'
list: '#b0c5c8'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#6d828e'
nothing: '#6d828e'
binary: '#6d828e'
cellpath: '#6d828e'
cell-path: '#6d828e'
row_index: { fg: '#87b386' attr: 'b' }
record: '#6d828e'
list: '#6d828e'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#ffffff'
nothing: '#ffffff'
binary: '#ffffff'
cellpath: '#ffffff'
cell-path: '#ffffff'
row_index: { fg: '#55a049' attr: 'b' }
record: '#ffffff'
list: '#ffffff'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#808080'
nothing: '#808080'
binary: '#808080'
cellpath: '#808080'
cell-path: '#808080'
row_index: { fg: '#4dca27' attr: 'b' }
record: '#808080'
list: '#808080'

View file

@ -1,5 +1,5 @@
# Retrieve the theme settings
export def main [] {
export def main [] {
const color_palette = {
rosewater: "#dc8a78"
flamingo: "#dd7878"
@ -68,7 +68,7 @@ export def main [] {
string: $color_palette.text
nothing: $color_palette.text
binary: $color_palette.text
cellpath: $color_palette.text
'cell-path': $color_palette.text
row_index: { fg: $color_palette.mauve attr: "b" }
record: $color_palette.text
list: $color_palette.text

View file

@ -1,5 +1,5 @@
# Retrieve the theme settings
export def main [] {
export def main [] {
const color_palette = {
rosewater: "#f5e0dc"
flamingo: "#f2cdcd"
@ -27,8 +27,8 @@ export def main [] {
base: "#1e1e2e"
mantle: "#181825"
crust: "#11111b"
}
}
return {
separator: $color_palette.overlay0
leading_trailing_space_bg: { attr: "n" }
@ -68,7 +68,7 @@ export def main [] {
string: $color_palette.text
nothing: $color_palette.text
binary: $color_palette.text
cellpath: $color_palette.text
'cell-path': $color_palette.text
row_index: { fg: $color_palette.mauve attr: "b" }
record: $color_palette.text
list: $color_palette.text

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#d0d0d0'
nothing: '#d0d0d0'
binary: '#d0d0d0'
cellpath: '#d0d0d0'
cell-path: '#d0d0d0'
row_index: { fg: '#acc267' attr: 'b' }
record: '#d0d0d0'
list: '#d0d0d0'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#d9d9d9'
nothing: '#d9d9d9'
binary: '#d9d9d9'
cellpath: '#d9d9d9'
cell-path: '#d9d9d9'
row_index: { fg: '#72c373' attr: 'b' }
record: '#d9d9d9'
list: '#d9d9d9'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#cbe3e7'
nothing: '#cbe3e7'
binary: '#cbe3e7'
cellpath: '#cbe3e7'
cell-path: '#cbe3e7'
row_index: { fg: '#95ffa4' attr: 'b' }
record: '#cbe3e7'
list: '#cbe3e7'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#aea47f'
nothing: '#aea47f'
binary: '#aea47f'
cellpath: '#aea47f'
cell-path: '#aea47f'
row_index: { fg: '#48513b' attr: 'b' }
record: '#aea47f'
list: '#aea47f'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#a7a7a7'
nothing: '#a7a7a7'
binary: '#a7a7a7'
cellpath: '#a7a7a7'
cell-path: '#a7a7a7'
row_index: { fg: '#84b97c' attr: 'b' }
record: '#a7a7a7'
list: '#a7a7a7'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#d0d0d0'
nothing: '#d0d0d0'
binary: '#d0d0d0'
cellpath: '#d0d0d0'
cell-path: '#d0d0d0'
row_index: { fg: '#90a959' attr: 'b' }
record: '#d0d0d0'
list: '#d0d0d0'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#303030'
nothing: '#303030'
binary: '#303030'
cellpath: '#303030'
cell-path: '#303030'
row_index: { fg: '#90a959' attr: 'b' }
record: '#303030'
list: '#303030'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#d3d7cf'
nothing: '#d3d7cf'
binary: '#d3d7cf'
cellpath: '#d3d7cf'
cell-path: '#d3d7cf'
row_index: { fg: '#4e9a06' attr: 'b' }
record: '#d3d7cf'
list: '#d3d7cf'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#b3b3b3'
nothing: '#b3b3b3'
binary: '#b3b3b3'
cellpath: '#b3b3b3'
cell-path: '#b3b3b3'
row_index: { fg: '#328a5d' attr: 'b' }
record: '#b3b3b3'
list: '#b3b3b3'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#ba46b2'
nothing: '#ba46b2'
binary: '#ba46b2'
cellpath: '#ba46b2'
cell-path: '#ba46b2'
row_index: { fg: '#3ba5ff' attr: 'b' }
record: '#ba46b2'
list: '#ba46b2'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#bbbbbb'
nothing: '#bbbbbb'
binary: '#bbbbbb'
cellpath: '#bbbbbb'
cell-path: '#bbbbbb'
row_index: { fg: '#38de21' attr: 'b' }
record: '#bbbbbb'
list: '#bbbbbb'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#9ea7a6'
nothing: '#9ea7a6'
binary: '#9ea7a6'
cellpath: '#9ea7a6'
cell-path: '#9ea7a6'
row_index: { fg: '#237986' attr: 'b' }
record: '#9ea7a6'
list: '#9ea7a6'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c6c6c6'
nothing: '#c6c6c6'
binary: '#c6c6c6'
cellpath: '#c6c6c6'
cell-path: '#c6c6c6'
row_index: { fg: '#87af5f' attr: 'b' }
record: '#c6c6c6'
list: '#c6c6c6'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#68525a'
nothing: '#68525a'
binary: '#68525a'
cellpath: '#68525a'
cell-path: '#68525a'
row_index: { fg: '#579524' attr: 'b' }
record: '#68525a'
list: '#68525a'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#8b8198'
nothing: '#8b8198'
binary: '#8b8198'
cellpath: '#8b8198'
cell-path: '#8b8198'
row_index: { fg: '#a3b367' attr: 'b' }
record: '#8b8198'
list: '#8b8198'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#404040'
nothing: '#404040'
binary: '#404040'
cellpath: '#404040'
cell-path: '#404040'
row_index: { fg: '#007400' attr: 'b' }
record: '#404040'
list: '#404040'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#e0f0ef'
nothing: '#e0f0ef'
binary: '#e0f0ef'
cellpath: '#e0f0ef'
cell-path: '#e0f0ef'
row_index: { fg: '#8ab361' attr: 'b' }
record: '#e0f0ef'
list: '#e0f0ef'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#a9b7c6'
nothing: '#a9b7c6'
binary: '#a9b7c6'
cellpath: '#a9b7c6'
cell-path: '#a9b7c6'
row_index: { fg: '#6a8759' attr: 'b' }
record: '#a9b7c6'
list: '#a9b7c6'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#bbbbbb'
nothing: '#bbbbbb'
binary: '#bbbbbb'
cellpath: '#bbbbbb'
cell-path: '#bbbbbb'
row_index: { fg: '#55ff55' attr: 'b' }
record: '#bbbbbb'
list: '#bbbbbb'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#c7c7a5'
nothing: '#c7c7a5'
binary: '#c7c7a5'
cellpath: '#c7c7a5'
cell-path: '#c7c7a5'
row_index: { fg: '#499180' attr: 'b' }
record: '#c7c7a5'
list: '#c7c7a5'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#bababa'
nothing: '#bababa'
binary: '#bababa'
cellpath: '#bababa'
cell-path: '#bababa'
row_index: { fg: '#68c256' attr: 'b' }
record: '#bababa'
list: '#bababa'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#a89984'
nothing: '#a89984'
binary: '#a89984'
cellpath: '#a89984'
cell-path: '#a89984'
row_index: { fg: '#95c085' attr: 'b' }
record: '#a89984'
list: '#a89984'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#b08ae6'
nothing: '#b08ae6'
binary: '#b08ae6'
cellpath: '#b08ae6'
cell-path: '#b08ae6'
row_index: { fg: '#4595e6' attr: 'b' }
record: '#b08ae6'
list: '#b08ae6'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#cccccc'
nothing: '#cccccc'
binary: '#cccccc'
cellpath: '#cccccc'
cell-path: '#cccccc'
row_index: { fg: '#beda78' attr: 'b' }
record: '#cccccc'
list: '#cccccc'

View file

@ -37,7 +37,7 @@ export def main [] {
string: '#d8d8d8'
nothing: '#d8d8d8'
binary: '#d8d8d8'
cellpath: '#d8d8d8'
cell-path: '#d8d8d8'
row_index: { fg: '#a1b56c' attr: 'b' }
record: '#d8d8d8'
list: '#d8d8d8'

Some files were not shown because too many files have changed in this diff Show more