mirror of
https://github.com/RGBCube/ThemeNix
synced 2025-07-27 16:37:46 +00:00
Format
This commit is contained in:
parent
f542cc71cf
commit
58c0eb5480
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ def theme-to-nix [
|
|||
theme: record # The theme to convert to Nix.
|
||||
] {
|
||||
$theme
|
||||
| items { |key, value|
|
||||
| items {|key, value|
|
||||
let key = match $key {
|
||||
"scheme" => "name "
|
||||
_ => $key
|
||||
|
|
|
@ -16,7 +16,7 @@ def main [
|
|||
$theme
|
||||
| reject name author
|
||||
| transpose key value
|
||||
| each { |it|
|
||||
| each {|it|
|
||||
let color = { bg: ("#" + $it.value) }
|
||||
|
||||
echo $"($it.key): (ansi $color) (ansi reset)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue