mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 07:07:46 +00:00
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
This commit is contained in:
parent
16e22d07da
commit
4bc37c125f
452 changed files with 452 additions and 452 deletions
|
@ -18,7 +18,7 @@ export def main [] {
|
|||
|
||||
bool: {|| if $in { '#7adff2' } else { '#d3bf00' } }
|
||||
|
||||
date: {|| (date now) - $in |
|
||||
datetime: {|| (date now) - $in |
|
||||
if $in < 1hr {
|
||||
{ fg: '#ff0000' attr: 'b' }
|
||||
} else if $in < 6hr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue