Skip to content

Commit 4bc37c1

Browse files
authored
Fix datetime theme color (#1111)
In Nushell 0.104.0, `date` are now `datetime` ([see blog](https://www.nushell.sh/blog/2025-04-29-nushell_0_104_0.html#date-is-now-datetime-toc)). I just change all `date` prop to `datetime` in all themes to fix them
1 parent 16e22d0 commit 4bc37c1

File tree

452 files changed

+452
-452
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

452 files changed

+452
-452
lines changed

themes/nu-themes/3024-day.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export def main [] {
1818

1919
bool: {|| if $in { '#cdab53' } else { '#fded02' } }
2020

21-
date: {|| (date now) - $in |
21+
datetime: {|| (date now) - $in |
2222
if $in < 1hr {
2323
{ fg: '#db2d20' attr: 'b' }
2424
} else if $in < 6hr {

themes/nu-themes/3024-night.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export def main [] {
1818

1919
bool: {|| if $in { '#cdab53' } else { '#fded02' } }
2020

21-
date: {|| (date now) - $in |
21+
datetime: {|| (date now) - $in |
2222
if $in < 1hr {
2323
{ fg: '#db2d20' attr: 'b' }
2424
} else if $in < 6hr {

themes/nu-themes/3024r.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export def main [] {
1818

1919
bool: {|| if $in { '#b5e4f4' } else { '#fded02' } }
2020

21-
date: {|| (date now) - $in |
21+
datetime: {|| (date now) - $in |
2222
if $in < 1hr {
2323
{ fg: '#db2d20' attr: 'b' }
2424
} else if $in < 6hr {

themes/nu-themes/abyss.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export def main [] {
1818

1919
bool: {|| if $in { '#2592d3' } else { '#1f6ca1' } }
2020

21-
date: {|| (date now) - $in |
21+
datetime: {|| (date now) - $in |
2222
if $in < 1hr {
2323
{ fg: '#48697e' attr: 'b' }
2424
} else if $in < 6hr {

themes/nu-themes/aci.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export def main [] {
1818

1919
bool: {|| if $in { '#1eff8e' } else { '#ff8308' } }
2020

21-
date: {|| (date now) - $in |
21+
datetime: {|| (date now) - $in |
2222
if $in < 1hr {
2323
{ fg: '#ff0883' attr: 'b' }
2424
} else if $in < 6hr {

themes/nu-themes/aco.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export def main [] {
1818

1919
bool: {|| if $in { '#1eff8e' } else { '#ff8308' } }
2020

21-
date: {|| (date now) - $in |
21+
datetime: {|| (date now) - $in |
2222
if $in < 1hr {
2323
{ fg: '#ff0883' attr: 'b' }
2424
} else if $in < 6hr {

themes/nu-themes/adventuretime.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export def main [] {
1818

1919
bool: {|| if $in { '#c8faf4' } else { '#e7741e' } }
2020

21-
date: {|| (date now) - $in |
21+
datetime: {|| (date now) - $in |
2222
if $in < 1hr {
2323
{ fg: '#bd0013' attr: 'b' }
2424
} else if $in < 6hr {

themes/nu-themes/afterglow.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export def main [] {
1818

1919
bool: {|| if $in { '#7dd6cf' } else { '#d3a04d' } }
2020

21-
date: {|| (date now) - $in |
21+
datetime: {|| (date now) - $in |
2222
if $in < 1hr {
2323
{ fg: '#a53c23' attr: 'b' }
2424
} else if $in < 6hr {

themes/nu-themes/alien-blood.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export def main [] {
1818

1919
bool: {|| if $in { '#00e0c4' } else { '#717f24' } }
2020

21-
date: {|| (date now) - $in |
21+
datetime: {|| (date now) - $in |
2222
if $in < 1hr {
2323
{ fg: '#7f2b27' attr: 'b' }
2424
} else if $in < 6hr {

themes/nu-themes/alucard.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export def main [] {
1818

1919
bool: {|| if $in { '#8ae9fc' } else { '#7f0a1f' } }
2020

21-
date: {|| (date now) - $in |
21+
datetime: {|| (date now) - $in |
2222
if $in < 1hr {
2323
{ fg: '#ff5555' attr: 'b' }
2424
} else if $in < 6hr {

0 commit comments

Comments
 (0)