1
Fork 0
mirror of https://github.com/RGBCube/ThemeNix synced 2025-07-27 16:37:46 +00:00
This commit is contained in:
RGBCube 2023-12-03 13:16:51 +03:00
parent f542cc71cf
commit 58c0eb5480
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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)"