From b9ec76b49340955eff09d6404eac11689398ae4e Mon Sep 17 00:00:00 2001 From: Antoine Stevan <44101798+amtoine@users.noreply.github.com> Date: Wed, 5 Apr 2023 19:52:15 +0200 Subject: [PATCH] rewrite the theme generation (#437) * remove the template * update the theme generation script * fix the local path to the lemnos themes * use the real `export der main` module template * remove the empty lines and the comments from theme files * adapt the default config file theme to the template This commit uses closures for `filesize`, `date` and `bool`. * put quotes around all the colors in the template * fix the `else` of `filesize` => returns a true record now * use default colors for the filesize * regenerate all the themes with `./make.nu` --- themes/make.nu | 138 +++++++++++++---- themes/template.nu | 61 -------- themes/themes/3024-day.nu | 140 ++++++++++-------- themes/themes/3024-night.nu | 140 ++++++++++-------- themes/themes/3024.nu | 140 ++++++++++-------- themes/themes/abyss.nu | 140 ++++++++++-------- themes/themes/aci.nu | 140 ++++++++++-------- themes/themes/aco.nu | 140 ++++++++++-------- themes/themes/adventuretime.nu | 140 ++++++++++-------- themes/themes/afterglow.nu | 140 ++++++++++-------- themes/themes/alien-blood.nu | 140 ++++++++++-------- themes/themes/alucard.nu | 140 ++++++++++-------- themes/themes/amora.nu | 140 ++++++++++-------- themes/themes/apathy.nu | 140 ++++++++++-------- themes/themes/apprentice.nu | 140 ++++++++++-------- themes/themes/argonaut.nu | 140 ++++++++++-------- themes/themes/arthur.nu | 140 ++++++++++-------- themes/themes/ashes.nu | 140 ++++++++++-------- themes/themes/atelier-cave-light.nu | 140 ++++++++++-------- themes/themes/atelier-cave.nu | 140 ++++++++++-------- themes/themes/atelier-dune-light.nu | 140 ++++++++++-------- themes/themes/atelier-dune.nu | 140 ++++++++++-------- themes/themes/atelier-estuary-light.nu | 140 ++++++++++-------- themes/themes/atelier-estuary.nu | 140 ++++++++++-------- themes/themes/atelier-forest-light.nu | 140 ++++++++++-------- themes/themes/atelier-forest.nu | 140 ++++++++++-------- themes/themes/atelier-heath-light.nu | 140 ++++++++++-------- themes/themes/atelier-heath.nu | 140 ++++++++++-------- themes/themes/atelier-lakeside-light.nu | 140 ++++++++++-------- themes/themes/atelier-lakeside.nu | 140 ++++++++++-------- themes/themes/atelier-plateau-light.nu | 140 ++++++++++-------- themes/themes/atelier-plateau.nu | 140 ++++++++++-------- themes/themes/atelier-savanna-light.nu | 140 ++++++++++-------- themes/themes/atelier-savanna.nu | 140 ++++++++++-------- themes/themes/atelier-seaside-light.nu | 140 ++++++++++-------- themes/themes/atelier-seaside.nu | 140 ++++++++++-------- themes/themes/atelier-sulphurpool-light.nu | 140 ++++++++++-------- themes/themes/atelier-sulphurpool.nu | 140 ++++++++++-------- themes/themes/atlas.nu | 140 ++++++++++-------- themes/themes/atom-one-light.nu | 140 ++++++++++-------- themes/themes/atom.nu | 140 ++++++++++-------- themes/themes/ayu-light.nu | 140 ++++++++++-------- themes/themes/ayu-mirage-simple-cursor.nu | 140 ++++++++++-------- themes/themes/ayu-mirage.nu | 140 ++++++++++-------- themes/themes/ayu.nu | 140 ++++++++++-------- themes/themes/azu.nu | 140 ++++++++++-------- themes/themes/batman.nu | 140 ++++++++++-------- themes/themes/belafonte-day.nu | 140 ++++++++++-------- themes/themes/belafonte-night.nu | 140 ++++++++++-------- themes/themes/bespin.nu | 140 ++++++++++-------- themes/themes/bim.nu | 140 ++++++++++-------- themes/themes/birds-of-paradise.nu | 140 ++++++++++-------- themes/themes/black-metal-bathory.nu | 140 ++++++++++-------- themes/themes/black-metal-burzum.nu | 140 ++++++++++-------- themes/themes/black-metal-dark-funeral.nu | 140 ++++++++++-------- themes/themes/black-metal-gorgoroth.nu | 140 ++++++++++-------- themes/themes/black-metal-immortal.nu | 140 ++++++++++-------- themes/themes/black-metal-khold.nu | 140 ++++++++++-------- themes/themes/black-metal-marduk.nu | 140 ++++++++++-------- themes/themes/black-metal-mayhem.nu | 140 ++++++++++-------- themes/themes/black-metal-nile.nu | 140 ++++++++++-------- themes/themes/black-metal-venom.nu | 140 ++++++++++-------- themes/themes/black-metal.nu | 140 ++++++++++-------- themes/themes/blazer.nu | 140 ++++++++++-------- themes/themes/borland.nu | 140 ++++++++++-------- themes/themes/brewer.nu | 140 ++++++++++-------- themes/themes/bright-lights.nu | 140 ++++++++++-------- themes/themes/bright.nu | 140 ++++++++++-------- themes/themes/broadcast.nu | 140 ++++++++++-------- themes/themes/brogrammer.nu | 140 ++++++++++-------- themes/themes/brushtrees-dark.nu | 140 ++++++++++-------- themes/themes/brushtrees.nu | 140 ++++++++++-------- themes/themes/c64.nu | 140 ++++++++++-------- themes/themes/cai.nu | 140 ++++++++++-------- themes/themes/chalk.nu | 140 ++++++++++-------- themes/themes/chalkboard.nu | 140 ++++++++++-------- themes/themes/challenger-deep.nu | 140 ++++++++++-------- themes/themes/ciapre.nu | 140 ++++++++++-------- themes/themes/circus.nu | 140 ++++++++++-------- themes/themes/classic-dark.nu | 140 ++++++++++-------- themes/themes/classic-light.nu | 140 ++++++++++-------- themes/themes/clone-of-ubuntu.nu | 140 ++++++++++-------- themes/themes/clrs.nu | 140 ++++++++++-------- themes/themes/cobalt-neon.nu | 140 ++++++++++-------- themes/themes/cobalt2.nu | 140 ++++++++++-------- themes/themes/codeschool.nu | 140 ++++++++++-------- themes/themes/corvine.nu | 140 ++++++++++-------- themes/themes/crayon-pony-fish.nu | 140 ++++++++++-------- themes/themes/cupcake.nu | 140 ++++++++++-------- themes/themes/cupertino.nu | 140 ++++++++++-------- themes/themes/danqing.nu | 140 ++++++++++-------- themes/themes/darcula.nu | 140 ++++++++++-------- themes/themes/dark-pastel.nu | 140 ++++++++++-------- themes/themes/darkmoss.nu | 140 ++++++++++-------- themes/themes/darkside.nu | 140 ++++++++++-------- themes/themes/darktooth.nu | 140 ++++++++++-------- themes/themes/darkviolet.nu | 140 ++++++++++-------- themes/themes/decaf.nu | 140 ++++++++++-------- themes/themes/default-dark.nu | 140 ++++++++++-------- themes/themes/default-light.nu | 140 ++++++++++-------- themes/themes/desert-night.nu | 140 ++++++++++-------- themes/themes/desert.nu | 140 ++++++++++-------- themes/themes/dimmed-monokai.nu | 140 ++++++++++-------- themes/themes/dirtysea.nu | 140 ++++++++++-------- themes/themes/dot-gov.nu | 140 ++++++++++-------- themes/themes/dracula.nu | 140 ++++++++++-------- themes/themes/dumbledore.nu | 140 ++++++++++-------- themes/themes/duotone-dark.nu | 140 ++++++++++-------- themes/themes/e-n-c-o-m.nu | 140 ++++++++++-------- themes/themes/earthsong.nu | 140 ++++++++++-------- themes/themes/edge-dark.nu | 140 ++++++++++-------- themes/themes/edge-light.nu | 140 ++++++++++-------- themes/themes/eighties.nu | 140 ++++++++++-------- themes/themes/elemental.nu | 140 ++++++++++-------- themes/themes/elementary.nu | 140 ++++++++++-------- themes/themes/elic.nu | 140 ++++++++++-------- themes/themes/elio.nu | 140 ++++++++++-------- themes/themes/embark.nu | 140 ++++++++++-------- themes/themes/embers.nu | 140 ++++++++++-------- themes/themes/equilibrium-dark.nu | 140 ++++++++++-------- themes/themes/equilibrium-gray-dark.nu | 140 ++++++++++-------- themes/themes/equilibrium-gray-light.nu | 140 ++++++++++-------- themes/themes/equilibrium-light.nu | 140 ++++++++++-------- themes/themes/espresso-libre.nu | 140 ++++++++++-------- themes/themes/espresso.nu | 140 ++++++++++-------- themes/themes/eva-dim.nu | 140 ++++++++++-------- themes/themes/eva.nu | 140 ++++++++++-------- themes/themes/everforest-light.nu | 140 ++++++++++-------- themes/themes/everforest.nu | 140 ++++++++++-------- themes/themes/falcon.nu | 140 ++++++++++-------- themes/themes/farin.nu | 140 ++++++++++-------- themes/themes/ffive.nu | 140 ++++++++++-------- themes/themes/fideloper.nu | 140 ++++++++++-------- themes/themes/fishtank.nu | 140 ++++++++++-------- themes/themes/flat.nu | 140 ++++++++++-------- themes/themes/flatland.nu | 140 ++++++++++-------- themes/themes/floraverse.nu | 140 ++++++++++-------- themes/themes/forest-night.nu | 140 ++++++++++-------- themes/themes/foxnightly.nu | 140 ++++++++++-------- themes/themes/framer.nu | 140 ++++++++++-------- themes/themes/freya.nu | 140 ++++++++++-------- themes/themes/frontend-delight.nu | 140 ++++++++++-------- themes/themes/frontend-fun-forrest.nu | 140 ++++++++++-------- themes/themes/frontend-galaxy.nu | 140 ++++++++++-------- themes/themes/fruit-soda.nu | 140 ++++++++++-------- themes/themes/gigavolt.nu | 140 ++++++++++-------- themes/themes/github-dark-colorblind.nu | 140 ++++++++++-------- themes/themes/github-dark-default.nu | 140 ++++++++++-------- themes/themes/github-dark.nu | 140 ++++++++++-------- themes/themes/github-dimmed.nu | 140 ++++++++++-------- themes/themes/github-light-colorblind.nu | 140 ++++++++++-------- themes/themes/github-light-default.nu | 140 ++++++++++-------- themes/themes/github-light.nu | 140 ++++++++++-------- themes/themes/github.nu | 140 ++++++++++-------- themes/themes/glacier.nu | 140 ++++++++++-------- themes/themes/goa-base.nu | 140 ++++++++++-------- themes/themes/gooey.nu | 140 ++++++++++-------- themes/themes/google-dark.nu | 140 ++++++++++-------- themes/themes/google-light.nu | 140 ++++++++++-------- themes/themes/grape.nu | 140 ++++++++++-------- themes/themes/grass.nu | 140 ++++++++++-------- themes/themes/grayscale-dark.nu | 140 ++++++++++-------- themes/themes/grayscale-light.nu | 140 ++++++++++-------- themes/themes/green-screen.nu | 140 ++++++++++-------- themes/themes/greenscreen.nu | 140 ++++++++++-------- themes/themes/gruvbit.nu | 140 ++++++++++-------- themes/themes/gruvbox-dark-hard.nu | 140 ++++++++++-------- themes/themes/gruvbox-dark-medium.nu | 140 ++++++++++-------- themes/themes/gruvbox-dark-pale.nu | 140 ++++++++++-------- themes/themes/gruvbox-dark-soft.nu | 140 ++++++++++-------- themes/themes/gruvbox-dark.nu | 140 ++++++++++-------- themes/themes/gruvbox-light-hard.nu | 140 ++++++++++-------- themes/themes/gruvbox-light-medium.nu | 140 ++++++++++-------- themes/themes/gruvbox-light-soft.nu | 140 ++++++++++-------- themes/themes/gruvbox-material-dark-hard.nu | 140 ++++++++++-------- themes/themes/gruvbox-material-dark-medium.nu | 140 ++++++++++-------- themes/themes/gruvbox-material-dark-soft.nu | 140 ++++++++++-------- themes/themes/gruvbox-material-light-hard.nu | 140 ++++++++++-------- .../themes/gruvbox-material-light-medium.nu | 140 ++++++++++-------- themes/themes/gruvbox-material-light-soft.nu | 140 ++++++++++-------- themes/themes/gruvbox-mix-dark-hard.nu | 140 ++++++++++-------- themes/themes/gruvbox-mix-dark-medium.nu | 140 ++++++++++-------- themes/themes/gruvbox-mix-dark-soft.nu | 140 ++++++++++-------- themes/themes/gruvbox-mix-light-hard.nu | 140 ++++++++++-------- themes/themes/gruvbox-mix-light-medium.nu | 140 ++++++++++-------- themes/themes/gruvbox-mix-light-soft.nu | 140 ++++++++++-------- themes/themes/gruvbox-original-dark-hard.nu | 140 ++++++++++-------- themes/themes/gruvbox-original-dark-medium.nu | 140 ++++++++++-------- themes/themes/gruvbox-original-dark-soft.nu | 140 ++++++++++-------- themes/themes/gruvbox-original-light-hard.nu | 140 ++++++++++-------- .../themes/gruvbox-original-light-medium.nu | 140 ++++++++++-------- themes/themes/gruvbox-original-light-soft.nu | 140 ++++++++++-------- themes/themes/gruvbox.nu | 140 ++++++++++-------- themes/themes/hardcore.nu | 140 ++++++++++-------- themes/themes/harmonic-dark.nu | 140 ++++++++++-------- themes/themes/harmonic-light.nu | 140 ++++++++++-------- themes/themes/harmonic16-dark.nu | 140 ++++++++++-------- themes/themes/harmonic16-light.nu | 140 ++++++++++-------- themes/themes/harper.nu | 140 ++++++++++-------- themes/themes/heetch-light.nu | 140 ++++++++++-------- themes/themes/heetch.nu | 140 ++++++++++-------- themes/themes/helios.nu | 140 ++++++++++-------- themes/themes/hemisu-dark.nu | 140 ++++++++++-------- themes/themes/hemisu-light.nu | 140 ++++++++++-------- themes/themes/highway.nu | 140 ++++++++++-------- themes/themes/hipster-green.nu | 140 ++++++++++-------- themes/themes/homebrew.nu | 140 ++++++++++-------- themes/themes/hopscotch.nu | 140 ++++++++++-------- themes/themes/horizon-dark.nu | 140 ++++++++++-------- themes/themes/horizon-light.nu | 140 ++++++++++-------- themes/themes/horizon-terminal-dark.nu | 140 ++++++++++-------- themes/themes/horizon-terminal-light.nu | 140 ++++++++++-------- themes/themes/humanoid-dark.nu | 140 ++++++++++-------- themes/themes/humanoid-light.nu | 140 ++++++++++-------- themes/themes/hurtado.nu | 140 ++++++++++-------- themes/themes/hybrid.nu | 140 ++++++++++-------- themes/themes/ia-dark.nu | 140 ++++++++++-------- themes/themes/ia-light.nu | 140 ++++++++++-------- themes/themes/ibm3270.nu | 140 ++++++++++-------- themes/themes/ic-green-ppl.nu | 140 ++++++++++-------- themes/themes/ic-orange-ppl.nu | 140 ++++++++++-------- themes/themes/iceberg-light.nu | 140 ++++++++++-------- themes/themes/icy.nu | 140 ++++++++++-------- themes/themes/idle-toes.nu | 140 ++++++++++-------- themes/themes/idm_3b.nu | 140 ++++++++++-------- themes/themes/ir-black.nu | 140 ++++++++++-------- themes/themes/irblack.nu | 140 ++++++++++-------- themes/themes/isotope.nu | 140 ++++++++++-------- themes/themes/jackie-brown.nu | 140 ++++++++++-------- themes/themes/japanesque.nu | 140 ++++++++++-------- themes/themes/jellybeans.nu | 140 ++++++++++-------- themes/themes/jet-brains-darcula.nu | 140 ++++++++++-------- themes/themes/jup.nu | 140 ++++++++++-------- themes/themes/kibble.nu | 140 ++++++++++-------- themes/themes/kimber.nu | 140 ++++++++++-------- themes/themes/later-this-evening.nu | 140 ++++++++++-------- themes/themes/lavandula.nu | 140 ++++++++++-------- themes/themes/liquid-carbon-transparent.nu | 140 ++++++++++-------- themes/themes/liquid-carbon.nu | 140 ++++++++++-------- themes/themes/london-tube.nu | 140 ++++++++++-------- themes/themes/macintosh.nu | 140 ++++++++++-------- themes/themes/maia.nu | 140 ++++++++++-------- themes/themes/man-page.nu | 140 ++++++++++-------- themes/themes/mar.nu | 140 ++++++++++-------- themes/themes/marrakesh.nu | 140 ++++++++++-------- themes/themes/materia.nu | 140 ++++++++++-------- themes/themes/material-dark.nu | 140 ++++++++++-------- themes/themes/material-darker.nu | 140 ++++++++++-------- themes/themes/material-lighter.nu | 140 ++++++++++-------- themes/themes/material-palenight.nu | 140 ++++++++++-------- themes/themes/material-vivid.nu | 140 ++++++++++-------- themes/themes/material.nu | 140 ++++++++++-------- themes/themes/mathias.nu | 140 ++++++++++-------- themes/themes/medallion.nu | 140 ++++++++++-------- themes/themes/mellow-purple.nu | 140 ++++++++++-------- themes/themes/mexico-light.nu | 140 ++++++++++-------- themes/themes/miramare.nu | 140 ++++++++++-------- themes/themes/misterioso.nu | 140 ++++++++++-------- themes/themes/miu.nu | 140 ++++++++++-------- themes/themes/mocha.nu | 140 ++++++++++-------- themes/themes/molokai.nu | 140 ++++++++++-------- themes/themes/mona-lisa.nu | 140 ++++++++++-------- themes/themes/mono-amber.nu | 140 ++++++++++-------- themes/themes/mono-cyan.nu | 140 ++++++++++-------- themes/themes/mono-green.nu | 140 ++++++++++-------- themes/themes/mono-red.nu | 140 ++++++++++-------- themes/themes/mono-white.nu | 140 ++++++++++-------- themes/themes/mono-yellow.nu | 140 ++++++++++-------- themes/themes/monokai-dark.nu | 140 ++++++++++-------- themes/themes/monokai-soda.nu | 140 ++++++++++-------- themes/themes/monokai.nu | 140 ++++++++++-------- themes/themes/mountaineer-grey.nu | 140 ++++++++++-------- themes/themes/mountaineer.nu | 140 ++++++++++-------- themes/themes/n0tch2k.nu | 140 ++++++++++-------- themes/themes/nebula.nu | 140 ++++++++++-------- themes/themes/neon-night.nu | 140 ++++++++++-------- themes/themes/neopolitan.nu | 140 ++++++++++-------- themes/themes/nep.nu | 140 ++++++++++-------- themes/themes/neutron.nu | 140 ++++++++++-------- themes/themes/nightfly.nu | 140 ++++++++++-------- themes/themes/nightlion-v1.nu | 140 ++++++++++-------- themes/themes/nightlion-v2.nu | 140 ++++++++++-------- themes/themes/nighty.nu | 140 ++++++++++-------- themes/themes/nord-alt.nu | 140 ++++++++++-------- themes/themes/nord-light.nu | 140 ++++++++++-------- themes/themes/nord.nu | 140 ++++++++++-------- themes/themes/nova.nu | 140 ++++++++++-------- themes/themes/novel.nu | 140 ++++++++++-------- themes/themes/obsidian.nu | 140 ++++++++++-------- themes/themes/ocean-dark.nu | 140 ++++++++++-------- themes/themes/ocean.nu | 140 ++++++++++-------- themes/themes/oceanic-material.nu | 140 ++++++++++-------- themes/themes/oceanic-next.nu | 140 ++++++++++-------- themes/themes/oceanicnext.nu | 140 ++++++++++-------- themes/themes/ollie.nu | 140 ++++++++++-------- themes/themes/one-dark.nu | 140 ++++++++++-------- themes/themes/one-half-black.nu | 140 ++++++++++-------- themes/themes/one-half-light.nu | 140 ++++++++++-------- themes/themes/one-light.nu | 140 ++++++++++-------- themes/themes/onedark.nu | 140 ++++++++++-------- themes/themes/orbital.nu | 140 ++++++++++-------- themes/themes/outrun-dark.nu | 140 ++++++++++-------- themes/themes/pali.nu | 140 ++++++++++-------- themes/themes/palmtree.nu | 140 ++++++++++-------- themes/themes/papercolor-dark.nu | 140 ++++++++++-------- themes/themes/papercolor-light.nu | 140 ++++++++++-------- themes/themes/paraiso-dark.nu | 140 ++++++++++-------- themes/themes/paraiso.nu | 140 ++++++++++-------- themes/themes/pasque.nu | 140 ++++++++++-------- themes/themes/paul-millr.nu | 140 ++++++++++-------- themes/themes/pencil-dark.nu | 140 ++++++++++-------- themes/themes/pencil-light.nu | 140 ++++++++++-------- themes/themes/peppermint.nu | 140 ++++++++++-------- themes/themes/phd.nu | 140 ++++++++++-------- themes/themes/piatto-light.nu | 140 ++++++++++-------- themes/themes/pico.nu | 140 ++++++++++-------- themes/themes/pnevma.nu | 140 ++++++++++-------- themes/themes/pop.nu | 140 ++++++++++-------- themes/themes/porple.nu | 140 ++++++++++-------- themes/themes/pro.nu | 140 ++++++++++-------- themes/themes/railscasts.nu | 140 ++++++++++-------- themes/themes/rebecca.nu | 140 ++++++++++-------- themes/themes/red-alert.nu | 140 ++++++++++-------- themes/themes/red-sands.nu | 140 ++++++++++-------- themes/themes/relaxed-afterglow.nu | 140 ++++++++++-------- themes/themes/renault-style-light.nu | 140 ++++++++++-------- themes/themes/rippedcasts.nu | 140 ++++++++++-------- themes/themes/rose-pine-dawn.nu | 140 ++++++++++-------- themes/themes/rose-pine-moon.nu | 140 ++++++++++-------- themes/themes/rose-pine.nu | 140 ++++++++++-------- themes/themes/royal.nu | 140 ++++++++++-------- themes/themes/sagelight.nu | 140 ++++++++++-------- themes/themes/sandcastle.nu | 140 ++++++++++-------- themes/themes/sat.nu | 140 ++++++++++-------- themes/themes/sea-shells.nu | 140 ++++++++++-------- themes/themes/seafoam-pastel.nu | 140 ++++++++++-------- themes/themes/selenized-black.nu | 140 ++++++++++-------- themes/themes/selenized-dark.nu | 140 ++++++++++-------- themes/themes/selenized-light.nu | 140 ++++++++++-------- themes/themes/selenized-white.nu | 140 ++++++++++-------- themes/themes/seoul256.nu | 140 ++++++++++-------- themes/themes/seti-ui.nu | 140 ++++++++++-------- themes/themes/seti.nu | 140 ++++++++++-------- themes/themes/shaman.nu | 140 ++++++++++-------- themes/themes/shapeshifter.nu | 140 ++++++++++-------- themes/themes/shel.nu | 140 ++++++++++-------- themes/themes/sierra.nu | 140 ++++++++++-------- themes/themes/silk-dark.nu | 140 ++++++++++-------- themes/themes/silk-light.nu | 140 ++++++++++-------- themes/themes/slate.nu | 140 ++++++++++-------- themes/themes/smyck.nu | 140 ++++++++++-------- themes/themes/snazzy.nu | 140 ++++++++++-------- themes/themes/snow-dark.nu | 140 ++++++++++-------- themes/themes/snow-light.nu | 140 ++++++++++-------- themes/themes/soft-server.nu | 140 ++++++++++-------- themes/themes/solar-flare.nu | 140 ++++++++++-------- themes/themes/solarflare-light.nu | 140 ++++++++++-------- themes/themes/solarflare.nu | 140 ++++++++++-------- themes/themes/solarized-darcula.nu | 140 ++++++++++-------- .../themes/solarized-dark-higher-contrast.nu | 140 ++++++++++-------- themes/themes/solarized-dark.nu | 140 ++++++++++-------- themes/themes/solarized-light.nu | 140 ++++++++++-------- themes/themes/source-code-x.nu | 140 ++++++++++-------- themes/themes/sourcerer.nu | 140 ++++++++++-------- themes/themes/sourcerer2.nu | 140 ++++++++++-------- themes/themes/spaceduck.nu | 140 ++++++++++-------- themes/themes/spacedust.nu | 140 ++++++++++-------- themes/themes/spacegray-eighties-dull.nu | 140 ++++++++++-------- themes/themes/spacegray-eighties.nu | 140 ++++++++++-------- themes/themes/spacegray.nu | 140 ++++++++++-------- themes/themes/spacemacs.nu | 140 ++++++++++-------- themes/themes/spiderman.nu | 140 ++++++++++-------- themes/themes/spring.nu | 140 ++++++++++-------- themes/themes/square.nu | 140 ++++++++++-------- themes/themes/srcery.nu | 140 ++++++++++-------- themes/themes/substrata.nu | 140 ++++++++++-------- themes/themes/summercamp.nu | 140 ++++++++++-------- themes/themes/summerfruit-dark.nu | 140 ++++++++++-------- themes/themes/summerfruit-light.nu | 140 ++++++++++-------- themes/themes/sundried.nu | 140 ++++++++++-------- themes/themes/symphonic.nu | 140 ++++++++++-------- themes/themes/synth-midnight-dark.nu | 140 ++++++++++-------- themes/themes/synth-midnight-light.nu | 140 ++++++++++-------- themes/themes/tango-dark.nu | 140 ++++++++++-------- themes/themes/tango-light.nu | 140 ++++++++++-------- themes/themes/tango.nu | 140 ++++++++++-------- themes/themes/teerb.nu | 140 ++++++++++-------- themes/themes/tempus-autumn.nu | 140 ++++++++++-------- themes/themes/tempus-classic.nu | 140 ++++++++++-------- themes/themes/tempus-dawn.nu | 140 ++++++++++-------- themes/themes/tempus-day.nu | 140 ++++++++++-------- themes/themes/tempus-dusk.nu | 140 ++++++++++-------- themes/themes/tempus-fugit.nu | 140 ++++++++++-------- themes/themes/tempus-future.nu | 140 ++++++++++-------- themes/themes/tempus-night.nu | 140 ++++++++++-------- themes/themes/tempus-past.nu | 140 ++++++++++-------- themes/themes/tempus-rift.nu | 140 ++++++++++-------- themes/themes/tempus-spring.nu | 140 ++++++++++-------- themes/themes/tempus-summer.nu | 140 ++++++++++-------- themes/themes/tempus-tempest.nu | 140 ++++++++++-------- themes/themes/tempus-totus.nu | 140 ++++++++++-------- themes/themes/tempus-warp.nu | 140 ++++++++++-------- themes/themes/tempus-winter.nu | 140 ++++++++++-------- themes/themes/tender.nu | 140 ++++++++++-------- themes/themes/terminal-basic.nu | 140 ++++++++++-------- themes/themes/terminix-dark.nu | 140 ++++++++++-------- themes/themes/thayer-bright.nu | 140 ++++++++++-------- themes/themes/the-hulk.nu | 140 ++++++++++-------- themes/themes/tin.nu | 140 ++++++++++-------- themes/themes/tokyo-day.nu | 140 ++++++++++-------- themes/themes/tokyo-night.nu | 140 ++++++++++-------- themes/themes/tokyo-storm.nu | 140 ++++++++++-------- themes/themes/tomorrow-night-blue.nu | 140 ++++++++++-------- themes/themes/tomorrow-night-bright.nu | 140 ++++++++++-------- themes/themes/tomorrow-night-eighties.nu | 140 ++++++++++-------- themes/themes/tomorrow-night.nu | 140 ++++++++++-------- themes/themes/tomorrow.nu | 140 ++++++++++-------- themes/themes/toy-chest.nu | 140 ++++++++++-------- themes/themes/treehouse.nu | 140 ++++++++++-------- themes/themes/tube.nu | 140 ++++++++++-------- themes/themes/twilight.nu | 140 ++++++++++-------- themes/themes/two-firewatch.nu | 140 ++++++++++-------- themes/themes/unikitty-dark.nu | 140 ++++++++++-------- themes/themes/unikitty-light.nu | 140 ++++++++++-------- themes/themes/ura.nu | 140 ++++++++++-------- themes/themes/urple.nu | 140 ++++++++++-------- themes/themes/vag.nu | 140 ++++++++++-------- themes/themes/vaughn.nu | 140 ++++++++++-------- themes/themes/vibrant-ink.nu | 140 ++++++++++-------- themes/themes/vs-code-dark-plus.nu | 140 ++++++++++-------- themes/themes/vulcan.nu | 140 ++++++++++-------- themes/themes/warm-neon.nu | 140 ++++++++++-------- themes/themes/wez.nu | 140 ++++++++++-------- themes/themes/wild-cherry.nu | 140 ++++++++++-------- themes/themes/windows-10-light.nu | 140 ++++++++++-------- themes/themes/windows-10.nu | 140 ++++++++++-------- themes/themes/windows-95-light.nu | 140 ++++++++++-------- themes/themes/windows-95.nu | 140 ++++++++++-------- themes/themes/windows-highcontrast-light.nu | 140 ++++++++++-------- themes/themes/windows-highcontrast.nu | 140 ++++++++++-------- themes/themes/windows-nt-light.nu | 140 ++++++++++-------- themes/themes/windows-nt.nu | 140 ++++++++++-------- themes/themes/wombat.nu | 140 ++++++++++-------- themes/themes/woodland.nu | 140 ++++++++++-------- themes/themes/wryan.nu | 140 ++++++++++-------- themes/themes/xcode-dusk.nu | 140 ++++++++++-------- themes/themes/yachiyo.nu | 140 ++++++++++-------- themes/themes/zenburn.nu | 140 ++++++++++-------- 448 files changed, 35791 insertions(+), 26848 deletions(-) delete mode 100644 themes/template.nu diff --git a/themes/make.nu b/themes/make.nu index 4140e95..0e32095 100755 --- a/themes/make.nu +++ b/themes/make.nu @@ -1,41 +1,125 @@ #!/usr/bin/env nu -let RAW = "lemnos/themes" +let SOURCE = { + dir: ([lemnos themes] | path join) + local: "lemnos" + remote: "https://github.com/lemnos/theme.sh" +} let THEMES = "themes" - -def make-theme [theme: string] { +def make-theme [name: string] { let colors = ( - open $"($RAW)/($theme)" | - lines | - split column " " | - rename name rgb + open ($SOURCE.dir | path join $name) + | lines --skip-empty + | find --invert --regex '^#' + | split column " " + | rename name rgb + | transpose -r + | into record ) - let theme_file = $"($THEMES)/($theme).nu" - cp template.nu $theme_file + $'export def main [] { return { + separator: "($colors.color7)" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "($colors.color2)" attr: "b" } + empty: "($colors.color4)" + bool: {|| if $in { "($colors.color14)" } else { "light_gray" } } + int: "($colors.color7)" + filesize: {|e| + if $e == 0b { + "($colors.color7)" + } else if $e < 1mb { + "($colors.color6)" + } else {{ fg: "($colors.color4)" }} + } + duration: "($colors.color7)" + date: {|| (char lparen)date now(char rparen) - $in | + if $in < 1hr { + { fg: "($colors.color1)" attr: "b" } + } else if $in < 6hr { + "($colors.color1)" + } else if $in < 1day { + "($colors.color3)" + } else if $in < 3day { + "($colors.color2)" + } else if $in < 1wk { + { fg: "($colors.color2)" attr: "b" } + } else if $in < 6wk { + "($colors.color6)" + } else if $in < 52wk { + "($colors.color4)" + } else { "dark_gray" } + } + range: "($colors.color7)" + float: "($colors.color7)" + string: "($colors.color7)" + nothing: "($colors.color7)" + binary: "($colors.color7)" + cellpath: "($colors.color7)" + row_index: { fg: "($colors.color2)" attr: "b" } + record: "($colors.color7)" + list: "($colors.color7)" + block: "($colors.color7)" + hints: "dark_gray" - $colors | - each { - |it| - open $theme_file --raw | - str replace $"{{($it.name)}}" $it.rgb --all | - save $theme_file - } + shape_and: { fg: "($colors.color5)" attr: "b" } + shape_binary: { fg: "($colors.color5)" attr: "b" } + shape_block: { fg: "($colors.color4)" attr: "b" } + shape_bool: "($colors.color14)" + shape_custom: "($colors.color2)" + shape_datetime: { fg: "($colors.color6)" attr: "b" } + shape_directory: "($colors.color6)" + shape_external: "($colors.color6)" + shape_externalarg: { fg: "($colors.color2)" attr: "b" } + shape_filepath: "($colors.color6)" + shape_flag: { fg: "($colors.color4)" attr: "b" } + shape_float: { fg: "($colors.color5)" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "($colors.color6)" attr: "b" } + shape_int: { fg: "($colors.color5)" attr: "b" } + shape_internalcall: { fg: "($colors.color6)" attr: "b" } + shape_list: { fg: "($colors.color6)" attr: "b" } + shape_literal: "($colors.color4)" + shape_match_pattern: "($colors.color2)" + shape_matching_brackets: { attr: "u" } + shape_nothing: "($colors.color14)" + shape_operator: "($colors.color3)" + shape_or: { fg: "($colors.color5)" attr: "b" } + shape_pipe: { fg: "($colors.color5)" attr: "b" } + shape_range: { fg: "($colors.color3)" attr: "b" } + shape_record: { fg: "($colors.color6)" attr: "b" } + shape_redirection: { fg: "($colors.color5)" attr: "b" } + shape_signature: { fg: "($colors.color2)" attr: "b" } + shape_string: "($colors.color2)" + shape_string_interpolation: { fg: "($colors.color6)" attr: "b" } + shape_table: { fg: "($colors.color4)" attr: "b" } + shape_variable: "($colors.color5)" - open $theme_file --raw | - str replace "{{theme}}" ($theme | str replace '-' '_') --all | - save $theme_file + background: "($colors.background)" + foreground: "($colors.foreground)" + cursor: "($colors.cursor)" +}}' + | save --force ({ + parent: $THEMES + stem: $name + extension: "nu" + } | path join) } +def main [] { + mkdir $THEMES -mkdir $THEMES + try { git clone $SOURCE.remote $SOURCE.local } -ls $RAW | - get name | - str replace $"($RAW)/" "" | - each { - |it| - print $it - make-theme $it + ls $SOURCE.dir + | get name + | path parse + | get stem + | each {|theme| + print -n $"(ansi erase_line)($theme)\r" + make-theme $theme } + | ignore + + print "all done" +} diff --git a/themes/template.nu b/themes/template.nu deleted file mode 100644 index 5ace1ad..0000000 --- a/themes/template.nu +++ /dev/null @@ -1,61 +0,0 @@ -export def main [] { - # extra desired values for the {{theme}} theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "{{background}}" - # foreground: "{{foreground}}" - # cursor: "{{cursor}}" - - { - # color for nushell primitives - separator: "{{color15}}" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "{{color10}}" - empty: "{{color4}}" - bool: "{{color15}}" - int: "{{color15}}" - filesize: "{{color15}}" - duration: "{{color15}}" - date: "{{color15}}" - range: "{{color15}}" - float: "{{color15}}" - string: "{{color15}}" - nothing: "{{color15}}" - binary: "{{color15}}" - cellpath: "{{color15}}" - row_index: "{{color10}}" - record: "{{color15}}" - list: "{{color15}}" - block: "{{color15}}" - hints: "{{color8}}" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "{{color13}}" - shape_bool: "{{color14}}" - shape_int: "{{color13}}" - shape_float: "{{color13}}" - shape_range: "{{color11}}" - shape_internalcall: "{{color14}}" - shape_external: "{{color6}}" - shape_externalarg: "{{color10}}" - shape_literal: "{{color4}}" - shape_operator: "{{color3}}" - shape_signature: "{{color10}}" - shape_string: "{{color2}}" - shape_string_interpolation: "{{color14}}" - shape_datetime: "{{color14}}" - shape_list: "{{color14}}" - shape_table: "{{color12}}" - shape_record: "{{color14}}" - shape_block: "{{color12}}" - shape_filepath: "{{color6}}" - shape_globpattern: "{{color14}}" - shape_variable: "{{color5}}" - shape_flag: "{{color12}}" - shape_custom: "{{color2}}" - shape_nothing: "{{color14}}" - } -} diff --git a/themes/themes/3024-day.nu b/themes/themes/3024-day.nu index 2c20890..7c4f202 100644 --- a/themes/themes/3024-day.nu +++ b/themes/themes/3024-day.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the 3024_day theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f7f7f7" - # foreground: "#4a4543" - # cursor: "#4a4543" - - { - # color for nushell primitives - separator: "#f7f7f7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#3a3432" - empty: "#01a0e4" - bool: "#f7f7f7" - int: "#f7f7f7" - filesize: "#f7f7f7" - duration: "#f7f7f7" - date: "#f7f7f7" - range: "#f7f7f7" - float: "#f7f7f7" - string: "#f7f7f7" - nothing: "#f7f7f7" - binary: "#f7f7f7" - cellpath: "#f7f7f7" - row_index: "#3a3432" - record: "#f7f7f7" - list: "#f7f7f7" - block: "#f7f7f7" - hints: "#5c5855" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d6d5d4" - shape_bool: "#cdab53" - shape_int: "#d6d5d4" - shape_float: "#d6d5d4" - shape_range: "#4a4543" - shape_internalcall: "#cdab53" - shape_external: "#b5e4f4" - shape_externalarg: "#3a3432" - shape_literal: "#01a0e4" - shape_operator: "#fded02" - shape_signature: "#3a3432" - shape_string: "#01a252" - shape_string_interpolation: "#cdab53" - shape_datetime: "#cdab53" - shape_list: "#cdab53" - shape_table: "#807d7c" - shape_record: "#cdab53" - shape_block: "#807d7c" - shape_filepath: "#b5e4f4" - shape_globpattern: "#cdab53" - shape_variable: "#a16a94" - shape_flag: "#807d7c" - shape_custom: "#01a252" - shape_nothing: "#cdab53" +export def main [] { return { + separator: "#a5a2a2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#01a252" attr: "b" } + empty: "#01a0e4" + bool: {|| if $in { "#cdab53" } else { "light_gray" } } + int: "#a5a2a2" + filesize: {|e| + if $e == 0b { + "#a5a2a2" + } else if $e < 1mb { + "#b5e4f4" + } else {{ fg: "#01a0e4" }} } -} + duration: "#a5a2a2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#db2d20" attr: "b" } + } else if $in < 6hr { + "#db2d20" + } else if $in < 1day { + "#fded02" + } else if $in < 3day { + "#01a252" + } else if $in < 1wk { + { fg: "#01a252" attr: "b" } + } else if $in < 6wk { + "#b5e4f4" + } else if $in < 52wk { + "#01a0e4" + } else { "dark_gray" } + } + range: "#a5a2a2" + float: "#a5a2a2" + string: "#a5a2a2" + nothing: "#a5a2a2" + binary: "#a5a2a2" + cellpath: "#a5a2a2" + row_index: { fg: "#01a252" attr: "b" } + record: "#a5a2a2" + list: "#a5a2a2" + block: "#a5a2a2" + hints: "dark_gray" + + shape_and: { fg: "#a16a94" attr: "b" } + shape_binary: { fg: "#a16a94" attr: "b" } + shape_block: { fg: "#01a0e4" attr: "b" } + shape_bool: "#cdab53" + shape_custom: "#01a252" + shape_datetime: { fg: "#b5e4f4" attr: "b" } + shape_directory: "#b5e4f4" + shape_external: "#b5e4f4" + shape_externalarg: { fg: "#01a252" attr: "b" } + shape_filepath: "#b5e4f4" + shape_flag: { fg: "#01a0e4" attr: "b" } + shape_float: { fg: "#a16a94" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#b5e4f4" attr: "b" } + shape_int: { fg: "#a16a94" attr: "b" } + shape_internalcall: { fg: "#b5e4f4" attr: "b" } + shape_list: { fg: "#b5e4f4" attr: "b" } + shape_literal: "#01a0e4" + shape_match_pattern: "#01a252" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#cdab53" + shape_operator: "#fded02" + shape_or: { fg: "#a16a94" attr: "b" } + shape_pipe: { fg: "#a16a94" attr: "b" } + shape_range: { fg: "#fded02" attr: "b" } + shape_record: { fg: "#b5e4f4" attr: "b" } + shape_redirection: { fg: "#a16a94" attr: "b" } + shape_signature: { fg: "#01a252" attr: "b" } + shape_string: "#01a252" + shape_string_interpolation: { fg: "#b5e4f4" attr: "b" } + shape_table: { fg: "#01a0e4" attr: "b" } + shape_variable: "#a16a94" + + background: "#f7f7f7" + foreground: "#4a4543" + cursor: "#4a4543" +}} \ No newline at end of file diff --git a/themes/themes/3024-night.nu b/themes/themes/3024-night.nu index 3933e20..ba33678 100644 --- a/themes/themes/3024-night.nu +++ b/themes/themes/3024-night.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the 3024_night theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#090300" - # foreground: "#a5a2a2" - # cursor: "#a5a2a2" - - { - # color for nushell primitives - separator: "#f7f7f7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#3a3432" - empty: "#01a0e4" - bool: "#f7f7f7" - int: "#f7f7f7" - filesize: "#f7f7f7" - duration: "#f7f7f7" - date: "#f7f7f7" - range: "#f7f7f7" - float: "#f7f7f7" - string: "#f7f7f7" - nothing: "#f7f7f7" - binary: "#f7f7f7" - cellpath: "#f7f7f7" - row_index: "#3a3432" - record: "#f7f7f7" - list: "#f7f7f7" - block: "#f7f7f7" - hints: "#5c5855" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d6d5d4" - shape_bool: "#cdab53" - shape_int: "#d6d5d4" - shape_float: "#d6d5d4" - shape_range: "#4a4543" - shape_internalcall: "#cdab53" - shape_external: "#b5e4f4" - shape_externalarg: "#3a3432" - shape_literal: "#01a0e4" - shape_operator: "#fded02" - shape_signature: "#3a3432" - shape_string: "#01a252" - shape_string_interpolation: "#cdab53" - shape_datetime: "#cdab53" - shape_list: "#cdab53" - shape_table: "#807d7c" - shape_record: "#cdab53" - shape_block: "#807d7c" - shape_filepath: "#b5e4f4" - shape_globpattern: "#cdab53" - shape_variable: "#a16a94" - shape_flag: "#807d7c" - shape_custom: "#01a252" - shape_nothing: "#cdab53" +export def main [] { return { + separator: "#a5a2a2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#01a252" attr: "b" } + empty: "#01a0e4" + bool: {|| if $in { "#cdab53" } else { "light_gray" } } + int: "#a5a2a2" + filesize: {|e| + if $e == 0b { + "#a5a2a2" + } else if $e < 1mb { + "#b5e4f4" + } else {{ fg: "#01a0e4" }} } -} + duration: "#a5a2a2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#db2d20" attr: "b" } + } else if $in < 6hr { + "#db2d20" + } else if $in < 1day { + "#fded02" + } else if $in < 3day { + "#01a252" + } else if $in < 1wk { + { fg: "#01a252" attr: "b" } + } else if $in < 6wk { + "#b5e4f4" + } else if $in < 52wk { + "#01a0e4" + } else { "dark_gray" } + } + range: "#a5a2a2" + float: "#a5a2a2" + string: "#a5a2a2" + nothing: "#a5a2a2" + binary: "#a5a2a2" + cellpath: "#a5a2a2" + row_index: { fg: "#01a252" attr: "b" } + record: "#a5a2a2" + list: "#a5a2a2" + block: "#a5a2a2" + hints: "dark_gray" + + shape_and: { fg: "#a16a94" attr: "b" } + shape_binary: { fg: "#a16a94" attr: "b" } + shape_block: { fg: "#01a0e4" attr: "b" } + shape_bool: "#cdab53" + shape_custom: "#01a252" + shape_datetime: { fg: "#b5e4f4" attr: "b" } + shape_directory: "#b5e4f4" + shape_external: "#b5e4f4" + shape_externalarg: { fg: "#01a252" attr: "b" } + shape_filepath: "#b5e4f4" + shape_flag: { fg: "#01a0e4" attr: "b" } + shape_float: { fg: "#a16a94" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#b5e4f4" attr: "b" } + shape_int: { fg: "#a16a94" attr: "b" } + shape_internalcall: { fg: "#b5e4f4" attr: "b" } + shape_list: { fg: "#b5e4f4" attr: "b" } + shape_literal: "#01a0e4" + shape_match_pattern: "#01a252" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#cdab53" + shape_operator: "#fded02" + shape_or: { fg: "#a16a94" attr: "b" } + shape_pipe: { fg: "#a16a94" attr: "b" } + shape_range: { fg: "#fded02" attr: "b" } + shape_record: { fg: "#b5e4f4" attr: "b" } + shape_redirection: { fg: "#a16a94" attr: "b" } + shape_signature: { fg: "#01a252" attr: "b" } + shape_string: "#01a252" + shape_string_interpolation: { fg: "#b5e4f4" attr: "b" } + shape_table: { fg: "#01a0e4" attr: "b" } + shape_variable: "#a16a94" + + background: "#090300" + foreground: "#a5a2a2" + cursor: "#a5a2a2" +}} \ No newline at end of file diff --git a/themes/themes/3024.nu b/themes/themes/3024.nu index 2dad3dd..a17a641 100644 --- a/themes/themes/3024.nu +++ b/themes/themes/3024.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the 3024 theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#090300" - # foreground: "#a5a2a2" - # cursor: "#a5a2a2" - - { - # color for nushell primitives - separator: "#f7f7f7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#01a252" - empty: "#01a0e4" - bool: "#f7f7f7" - int: "#f7f7f7" - filesize: "#f7f7f7" - duration: "#f7f7f7" - date: "#f7f7f7" - range: "#f7f7f7" - float: "#f7f7f7" - string: "#f7f7f7" - nothing: "#f7f7f7" - binary: "#f7f7f7" - cellpath: "#f7f7f7" - row_index: "#01a252" - record: "#f7f7f7" - list: "#f7f7f7" - block: "#f7f7f7" - hints: "#5c5855" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a16a94" - shape_bool: "#b5e4f4" - shape_int: "#a16a94" - shape_float: "#a16a94" - shape_range: "#fded02" - shape_internalcall: "#b5e4f4" - shape_external: "#b5e4f4" - shape_externalarg: "#01a252" - shape_literal: "#01a0e4" - shape_operator: "#fded02" - shape_signature: "#01a252" - shape_string: "#01a252" - shape_string_interpolation: "#b5e4f4" - shape_datetime: "#b5e4f4" - shape_list: "#b5e4f4" - shape_table: "#01a0e4" - shape_record: "#b5e4f4" - shape_block: "#01a0e4" - shape_filepath: "#b5e4f4" - shape_globpattern: "#b5e4f4" - shape_variable: "#a16a94" - shape_flag: "#01a0e4" - shape_custom: "#01a252" - shape_nothing: "#b5e4f4" +export def main [] { return { + separator: "#a5a2a2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#01a252" attr: "b" } + empty: "#01a0e4" + bool: {|| if $in { "#b5e4f4" } else { "light_gray" } } + int: "#a5a2a2" + filesize: {|e| + if $e == 0b { + "#a5a2a2" + } else if $e < 1mb { + "#b5e4f4" + } else {{ fg: "#01a0e4" }} } -} + duration: "#a5a2a2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#db2d20" attr: "b" } + } else if $in < 6hr { + "#db2d20" + } else if $in < 1day { + "#fded02" + } else if $in < 3day { + "#01a252" + } else if $in < 1wk { + { fg: "#01a252" attr: "b" } + } else if $in < 6wk { + "#b5e4f4" + } else if $in < 52wk { + "#01a0e4" + } else { "dark_gray" } + } + range: "#a5a2a2" + float: "#a5a2a2" + string: "#a5a2a2" + nothing: "#a5a2a2" + binary: "#a5a2a2" + cellpath: "#a5a2a2" + row_index: { fg: "#01a252" attr: "b" } + record: "#a5a2a2" + list: "#a5a2a2" + block: "#a5a2a2" + hints: "dark_gray" + + shape_and: { fg: "#a16a94" attr: "b" } + shape_binary: { fg: "#a16a94" attr: "b" } + shape_block: { fg: "#01a0e4" attr: "b" } + shape_bool: "#b5e4f4" + shape_custom: "#01a252" + shape_datetime: { fg: "#b5e4f4" attr: "b" } + shape_directory: "#b5e4f4" + shape_external: "#b5e4f4" + shape_externalarg: { fg: "#01a252" attr: "b" } + shape_filepath: "#b5e4f4" + shape_flag: { fg: "#01a0e4" attr: "b" } + shape_float: { fg: "#a16a94" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#b5e4f4" attr: "b" } + shape_int: { fg: "#a16a94" attr: "b" } + shape_internalcall: { fg: "#b5e4f4" attr: "b" } + shape_list: { fg: "#b5e4f4" attr: "b" } + shape_literal: "#01a0e4" + shape_match_pattern: "#01a252" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#b5e4f4" + shape_operator: "#fded02" + shape_or: { fg: "#a16a94" attr: "b" } + shape_pipe: { fg: "#a16a94" attr: "b" } + shape_range: { fg: "#fded02" attr: "b" } + shape_record: { fg: "#b5e4f4" attr: "b" } + shape_redirection: { fg: "#a16a94" attr: "b" } + shape_signature: { fg: "#01a252" attr: "b" } + shape_string: "#01a252" + shape_string_interpolation: { fg: "#b5e4f4" attr: "b" } + shape_table: { fg: "#01a0e4" attr: "b" } + shape_variable: "#a16a94" + + background: "#090300" + foreground: "#a5a2a2" + cursor: "#a5a2a2" +}} \ No newline at end of file diff --git a/themes/themes/abyss.nu b/themes/themes/abyss.nu index 93cffb1..609ff26 100644 --- a/themes/themes/abyss.nu +++ b/themes/themes/abyss.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the abyss theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#040f18" - # foreground: "#c0c7ca" - # cursor: "#10598b" - - { - # color for nushell primitives - separator: "#a0cce2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#10598b" - empty: "#277bb1" - bool: "#a0cce2" - int: "#a0cce2" - filesize: "#a0cce2" - duration: "#a0cce2" - date: "#a0cce2" - range: "#a0cce2" - float: "#a0cce2" - string: "#a0cce2" - nothing: "#a0cce2" - binary: "#a0cce2" - cellpath: "#a0cce2" - row_index: "#10598b" - record: "#a0cce2" - list: "#a0cce2" - block: "#a0cce2" - hints: "#708e9e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#4595bd" - shape_bool: "#2592d3" - shape_int: "#4595bd" - shape_float: "#4595bd" - shape_range: "#1f6ca1" - shape_internalcall: "#2592d3" - shape_external: "#2592d3" - shape_externalarg: "#10598b" - shape_literal: "#277bb1" - shape_operator: "#1f6ca1" - shape_signature: "#10598b" - shape_string: "#10598b" - shape_string_interpolation: "#2592d3" - shape_datetime: "#2592d3" - shape_list: "#2592d3" - shape_table: "#277bb1" - shape_record: "#2592d3" - shape_block: "#277bb1" - shape_filepath: "#2592d3" - shape_globpattern: "#2592d3" - shape_variable: "#4595bd" - shape_flag: "#277bb1" - shape_custom: "#10598b" - shape_nothing: "#2592d3" +export def main [] { return { + separator: "#a0cce2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#10598b" attr: "b" } + empty: "#277bb1" + bool: {|| if $in { "#2592d3" } else { "light_gray" } } + int: "#a0cce2" + filesize: {|e| + if $e == 0b { + "#a0cce2" + } else if $e < 1mb { + "#2592d3" + } else {{ fg: "#277bb1" }} } -} + duration: "#a0cce2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#48697e" attr: "b" } + } else if $in < 6hr { + "#48697e" + } else if $in < 1day { + "#1f6ca1" + } else if $in < 3day { + "#10598b" + } else if $in < 1wk { + { fg: "#10598b" attr: "b" } + } else if $in < 6wk { + "#2592d3" + } else if $in < 52wk { + "#277bb1" + } else { "dark_gray" } + } + range: "#a0cce2" + float: "#a0cce2" + string: "#a0cce2" + nothing: "#a0cce2" + binary: "#a0cce2" + cellpath: "#a0cce2" + row_index: { fg: "#10598b" attr: "b" } + record: "#a0cce2" + list: "#a0cce2" + block: "#a0cce2" + hints: "dark_gray" + + shape_and: { fg: "#4595bd" attr: "b" } + shape_binary: { fg: "#4595bd" attr: "b" } + shape_block: { fg: "#277bb1" attr: "b" } + shape_bool: "#2592d3" + shape_custom: "#10598b" + shape_datetime: { fg: "#2592d3" attr: "b" } + shape_directory: "#2592d3" + shape_external: "#2592d3" + shape_externalarg: { fg: "#10598b" attr: "b" } + shape_filepath: "#2592d3" + shape_flag: { fg: "#277bb1" attr: "b" } + shape_float: { fg: "#4595bd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2592d3" attr: "b" } + shape_int: { fg: "#4595bd" attr: "b" } + shape_internalcall: { fg: "#2592d3" attr: "b" } + shape_list: { fg: "#2592d3" attr: "b" } + shape_literal: "#277bb1" + shape_match_pattern: "#10598b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2592d3" + shape_operator: "#1f6ca1" + shape_or: { fg: "#4595bd" attr: "b" } + shape_pipe: { fg: "#4595bd" attr: "b" } + shape_range: { fg: "#1f6ca1" attr: "b" } + shape_record: { fg: "#2592d3" attr: "b" } + shape_redirection: { fg: "#4595bd" attr: "b" } + shape_signature: { fg: "#10598b" attr: "b" } + shape_string: "#10598b" + shape_string_interpolation: { fg: "#2592d3" attr: "b" } + shape_table: { fg: "#277bb1" attr: "b" } + shape_variable: "#4595bd" + + background: "#040f18" + foreground: "#c0c7ca" + cursor: "#10598b" +}} \ No newline at end of file diff --git a/themes/themes/aci.nu b/themes/themes/aci.nu index b3aff59..9570dab 100644 --- a/themes/themes/aci.nu +++ b/themes/themes/aci.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the aci theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0d1926" - # foreground: "#b4e1fd" - # cursor: "#b4e1fd" - - { - # color for nushell primitives - separator: "#c2c2c2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8eff1e" - empty: "#0883ff" - bool: "#c2c2c2" - int: "#c2c2c2" - filesize: "#c2c2c2" - duration: "#c2c2c2" - date: "#c2c2c2" - range: "#c2c2c2" - float: "#c2c2c2" - string: "#c2c2c2" - nothing: "#c2c2c2" - binary: "#c2c2c2" - cellpath: "#c2c2c2" - row_index: "#8eff1e" - record: "#c2c2c2" - list: "#c2c2c2" - block: "#c2c2c2" - hints: "#424242" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8e1eff" - shape_bool: "#1eff8e" - shape_int: "#8e1eff" - shape_float: "#8e1eff" - shape_range: "#ff8e1e" - shape_internalcall: "#1eff8e" - shape_external: "#08ff83" - shape_externalarg: "#8eff1e" - shape_literal: "#0883ff" - shape_operator: "#ff8308" - shape_signature: "#8eff1e" - shape_string: "#83ff08" - shape_string_interpolation: "#1eff8e" - shape_datetime: "#1eff8e" - shape_list: "#1eff8e" - shape_table: "#1e8eff" - shape_record: "#1eff8e" - shape_block: "#1e8eff" - shape_filepath: "#08ff83" - shape_globpattern: "#1eff8e" - shape_variable: "#8308ff" - shape_flag: "#1e8eff" - shape_custom: "#83ff08" - shape_nothing: "#1eff8e" +export def main [] { return { + separator: "#b6b6b6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#83ff08" attr: "b" } + empty: "#0883ff" + bool: {|| if $in { "#1eff8e" } else { "light_gray" } } + int: "#b6b6b6" + filesize: {|e| + if $e == 0b { + "#b6b6b6" + } else if $e < 1mb { + "#08ff83" + } else {{ fg: "#0883ff" }} } -} + duration: "#b6b6b6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff0883" attr: "b" } + } else if $in < 6hr { + "#ff0883" + } else if $in < 1day { + "#ff8308" + } else if $in < 3day { + "#83ff08" + } else if $in < 1wk { + { fg: "#83ff08" attr: "b" } + } else if $in < 6wk { + "#08ff83" + } else if $in < 52wk { + "#0883ff" + } else { "dark_gray" } + } + range: "#b6b6b6" + float: "#b6b6b6" + string: "#b6b6b6" + nothing: "#b6b6b6" + binary: "#b6b6b6" + cellpath: "#b6b6b6" + row_index: { fg: "#83ff08" attr: "b" } + record: "#b6b6b6" + list: "#b6b6b6" + block: "#b6b6b6" + hints: "dark_gray" + + shape_and: { fg: "#8308ff" attr: "b" } + shape_binary: { fg: "#8308ff" attr: "b" } + shape_block: { fg: "#0883ff" attr: "b" } + shape_bool: "#1eff8e" + shape_custom: "#83ff08" + shape_datetime: { fg: "#08ff83" attr: "b" } + shape_directory: "#08ff83" + shape_external: "#08ff83" + shape_externalarg: { fg: "#83ff08" attr: "b" } + shape_filepath: "#08ff83" + shape_flag: { fg: "#0883ff" attr: "b" } + shape_float: { fg: "#8308ff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#08ff83" attr: "b" } + shape_int: { fg: "#8308ff" attr: "b" } + shape_internalcall: { fg: "#08ff83" attr: "b" } + shape_list: { fg: "#08ff83" attr: "b" } + shape_literal: "#0883ff" + shape_match_pattern: "#83ff08" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1eff8e" + shape_operator: "#ff8308" + shape_or: { fg: "#8308ff" attr: "b" } + shape_pipe: { fg: "#8308ff" attr: "b" } + shape_range: { fg: "#ff8308" attr: "b" } + shape_record: { fg: "#08ff83" attr: "b" } + shape_redirection: { fg: "#8308ff" attr: "b" } + shape_signature: { fg: "#83ff08" attr: "b" } + shape_string: "#83ff08" + shape_string_interpolation: { fg: "#08ff83" attr: "b" } + shape_table: { fg: "#0883ff" attr: "b" } + shape_variable: "#8308ff" + + background: "#0d1926" + foreground: "#b4e1fd" + cursor: "#b4e1fd" +}} \ No newline at end of file diff --git a/themes/themes/aco.nu b/themes/themes/aco.nu index 3685019..57124bb 100644 --- a/themes/themes/aco.nu +++ b/themes/themes/aco.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the aco theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1f1305" - # foreground: "#b4e1fd" - # cursor: "#b4e1fd" - - { - # color for nushell primitives - separator: "#c4c4c4" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8eff1e" - empty: "#0883ff" - bool: "#c4c4c4" - int: "#c4c4c4" - filesize: "#c4c4c4" - duration: "#c4c4c4" - date: "#c4c4c4" - range: "#c4c4c4" - float: "#c4c4c4" - string: "#c4c4c4" - nothing: "#c4c4c4" - binary: "#c4c4c4" - cellpath: "#c4c4c4" - row_index: "#8eff1e" - record: "#c4c4c4" - list: "#c4c4c4" - block: "#c4c4c4" - hints: "#474747" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8e1eff" - shape_bool: "#1eff8e" - shape_int: "#8e1eff" - shape_float: "#8e1eff" - shape_range: "#ff8e1e" - shape_internalcall: "#1eff8e" - shape_external: "#08ff83" - shape_externalarg: "#8eff1e" - shape_literal: "#0883ff" - shape_operator: "#ff8308" - shape_signature: "#8eff1e" - shape_string: "#83ff08" - shape_string_interpolation: "#1eff8e" - shape_datetime: "#1eff8e" - shape_list: "#1eff8e" - shape_table: "#1e8eff" - shape_record: "#1eff8e" - shape_block: "#1e8eff" - shape_filepath: "#08ff83" - shape_globpattern: "#1eff8e" - shape_variable: "#8308ff" - shape_flag: "#1e8eff" - shape_custom: "#83ff08" - shape_nothing: "#1eff8e" +export def main [] { return { + separator: "#bebebe" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#83ff08" attr: "b" } + empty: "#0883ff" + bool: {|| if $in { "#1eff8e" } else { "light_gray" } } + int: "#bebebe" + filesize: {|e| + if $e == 0b { + "#bebebe" + } else if $e < 1mb { + "#08ff83" + } else {{ fg: "#0883ff" }} } -} + duration: "#bebebe" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff0883" attr: "b" } + } else if $in < 6hr { + "#ff0883" + } else if $in < 1day { + "#ff8308" + } else if $in < 3day { + "#83ff08" + } else if $in < 1wk { + { fg: "#83ff08" attr: "b" } + } else if $in < 6wk { + "#08ff83" + } else if $in < 52wk { + "#0883ff" + } else { "dark_gray" } + } + range: "#bebebe" + float: "#bebebe" + string: "#bebebe" + nothing: "#bebebe" + binary: "#bebebe" + cellpath: "#bebebe" + row_index: { fg: "#83ff08" attr: "b" } + record: "#bebebe" + list: "#bebebe" + block: "#bebebe" + hints: "dark_gray" + + shape_and: { fg: "#8308ff" attr: "b" } + shape_binary: { fg: "#8308ff" attr: "b" } + shape_block: { fg: "#0883ff" attr: "b" } + shape_bool: "#1eff8e" + shape_custom: "#83ff08" + shape_datetime: { fg: "#08ff83" attr: "b" } + shape_directory: "#08ff83" + shape_external: "#08ff83" + shape_externalarg: { fg: "#83ff08" attr: "b" } + shape_filepath: "#08ff83" + shape_flag: { fg: "#0883ff" attr: "b" } + shape_float: { fg: "#8308ff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#08ff83" attr: "b" } + shape_int: { fg: "#8308ff" attr: "b" } + shape_internalcall: { fg: "#08ff83" attr: "b" } + shape_list: { fg: "#08ff83" attr: "b" } + shape_literal: "#0883ff" + shape_match_pattern: "#83ff08" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1eff8e" + shape_operator: "#ff8308" + shape_or: { fg: "#8308ff" attr: "b" } + shape_pipe: { fg: "#8308ff" attr: "b" } + shape_range: { fg: "#ff8308" attr: "b" } + shape_record: { fg: "#08ff83" attr: "b" } + shape_redirection: { fg: "#8308ff" attr: "b" } + shape_signature: { fg: "#83ff08" attr: "b" } + shape_string: "#83ff08" + shape_string_interpolation: { fg: "#08ff83" attr: "b" } + shape_table: { fg: "#0883ff" attr: "b" } + shape_variable: "#8308ff" + + background: "#1f1305" + foreground: "#b4e1fd" + cursor: "#b4e1fd" +}} \ No newline at end of file diff --git a/themes/themes/adventuretime.nu b/themes/themes/adventuretime.nu index 6e7375a..15ce94d 100644 --- a/themes/themes/adventuretime.nu +++ b/themes/themes/adventuretime.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the adventuretime theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1f1d45" - # foreground: "#f8dcc0" - # cursor: "#f8dcc0" - - { - # color for nushell primitives - separator: "#f6f5fb" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#9eff6e" - empty: "#0f4ac6" - bool: "#f6f5fb" - int: "#f6f5fb" - filesize: "#f6f5fb" - duration: "#f6f5fb" - date: "#f6f5fb" - range: "#f6f5fb" - float: "#f6f5fb" - string: "#f6f5fb" - nothing: "#f6f5fb" - binary: "#f6f5fb" - cellpath: "#f6f5fb" - row_index: "#9eff6e" - record: "#f6f5fb" - list: "#f6f5fb" - block: "#f6f5fb" - hints: "#4e7cbf" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9b5953" - shape_bool: "#c8faf4" - shape_int: "#9b5953" - shape_float: "#9b5953" - shape_range: "#efc11a" - shape_internalcall: "#c8faf4" - shape_external: "#70a598" - shape_externalarg: "#9eff6e" - shape_literal: "#0f4ac6" - shape_operator: "#e7741e" - shape_signature: "#9eff6e" - shape_string: "#4ab118" - shape_string_interpolation: "#c8faf4" - shape_datetime: "#c8faf4" - shape_list: "#c8faf4" - shape_table: "#1997c6" - shape_record: "#c8faf4" - shape_block: "#1997c6" - shape_filepath: "#70a598" - shape_globpattern: "#c8faf4" - shape_variable: "#665993" - shape_flag: "#1997c6" - shape_custom: "#4ab118" - shape_nothing: "#c8faf4" +export def main [] { return { + separator: "#f8dcc0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4ab118" attr: "b" } + empty: "#0f4ac6" + bool: {|| if $in { "#c8faf4" } else { "light_gray" } } + int: "#f8dcc0" + filesize: {|e| + if $e == 0b { + "#f8dcc0" + } else if $e < 1mb { + "#70a598" + } else {{ fg: "#0f4ac6" }} } -} + duration: "#f8dcc0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bd0013" attr: "b" } + } else if $in < 6hr { + "#bd0013" + } else if $in < 1day { + "#e7741e" + } else if $in < 3day { + "#4ab118" + } else if $in < 1wk { + { fg: "#4ab118" attr: "b" } + } else if $in < 6wk { + "#70a598" + } else if $in < 52wk { + "#0f4ac6" + } else { "dark_gray" } + } + range: "#f8dcc0" + float: "#f8dcc0" + string: "#f8dcc0" + nothing: "#f8dcc0" + binary: "#f8dcc0" + cellpath: "#f8dcc0" + row_index: { fg: "#4ab118" attr: "b" } + record: "#f8dcc0" + list: "#f8dcc0" + block: "#f8dcc0" + hints: "dark_gray" + + shape_and: { fg: "#665993" attr: "b" } + shape_binary: { fg: "#665993" attr: "b" } + shape_block: { fg: "#0f4ac6" attr: "b" } + shape_bool: "#c8faf4" + shape_custom: "#4ab118" + shape_datetime: { fg: "#70a598" attr: "b" } + shape_directory: "#70a598" + shape_external: "#70a598" + shape_externalarg: { fg: "#4ab118" attr: "b" } + shape_filepath: "#70a598" + shape_flag: { fg: "#0f4ac6" attr: "b" } + shape_float: { fg: "#665993" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#70a598" attr: "b" } + shape_int: { fg: "#665993" attr: "b" } + shape_internalcall: { fg: "#70a598" attr: "b" } + shape_list: { fg: "#70a598" attr: "b" } + shape_literal: "#0f4ac6" + shape_match_pattern: "#4ab118" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#c8faf4" + shape_operator: "#e7741e" + shape_or: { fg: "#665993" attr: "b" } + shape_pipe: { fg: "#665993" attr: "b" } + shape_range: { fg: "#e7741e" attr: "b" } + shape_record: { fg: "#70a598" attr: "b" } + shape_redirection: { fg: "#665993" attr: "b" } + shape_signature: { fg: "#4ab118" attr: "b" } + shape_string: "#4ab118" + shape_string_interpolation: { fg: "#70a598" attr: "b" } + shape_table: { fg: "#0f4ac6" attr: "b" } + shape_variable: "#665993" + + background: "#1f1d45" + foreground: "#f8dcc0" + cursor: "#f8dcc0" +}} \ No newline at end of file diff --git a/themes/themes/afterglow.nu b/themes/themes/afterglow.nu index a8a2859..e3ee672 100644 --- a/themes/themes/afterglow.nu +++ b/themes/themes/afterglow.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the afterglow theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222222" - # foreground: "#d0d0d0" - # cursor: "#d0d0d0" - - { - # color for nushell primitives - separator: "#f5f5f5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7b9246" - empty: "#6c99bb" - bool: "#f5f5f5" - int: "#f5f5f5" - filesize: "#f5f5f5" - duration: "#f5f5f5" - date: "#f5f5f5" - range: "#f5f5f5" - float: "#f5f5f5" - string: "#f5f5f5" - nothing: "#f5f5f5" - binary: "#f5f5f5" - cellpath: "#f5f5f5" - row_index: "#7b9246" - record: "#f5f5f5" - list: "#f5f5f5" - block: "#f5f5f5" - hints: "#505050" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9f4e85" - shape_bool: "#7dd6cf" - shape_int: "#9f4e85" - shape_float: "#9f4e85" - shape_range: "#d3a04d" - shape_internalcall: "#7dd6cf" - shape_external: "#7dd6cf" - shape_externalarg: "#7b9246" - shape_literal: "#6c99bb" - shape_operator: "#d3a04d" - shape_signature: "#7b9246" - shape_string: "#7b9246" - shape_string_interpolation: "#7dd6cf" - shape_datetime: "#7dd6cf" - shape_list: "#7dd6cf" - shape_table: "#547c99" - shape_record: "#7dd6cf" - shape_block: "#547c99" - shape_filepath: "#7dd6cf" - shape_globpattern: "#7dd6cf" - shape_variable: "#9f4e85" - shape_flag: "#547c99" - shape_custom: "#7b9246" - shape_nothing: "#7dd6cf" +export def main [] { return { + separator: "#d0d0d0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7b9246" attr: "b" } + empty: "#6c99bb" + bool: {|| if $in { "#7dd6cf" } else { "light_gray" } } + int: "#d0d0d0" + filesize: {|e| + if $e == 0b { + "#d0d0d0" + } else if $e < 1mb { + "#7dd6cf" + } else {{ fg: "#6c99bb" }} } -} + duration: "#d0d0d0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a53c23" attr: "b" } + } else if $in < 6hr { + "#a53c23" + } else if $in < 1day { + "#d3a04d" + } else if $in < 3day { + "#7b9246" + } else if $in < 1wk { + { fg: "#7b9246" attr: "b" } + } else if $in < 6wk { + "#7dd6cf" + } else if $in < 52wk { + "#6c99bb" + } else { "dark_gray" } + } + range: "#d0d0d0" + float: "#d0d0d0" + string: "#d0d0d0" + nothing: "#d0d0d0" + binary: "#d0d0d0" + cellpath: "#d0d0d0" + row_index: { fg: "#7b9246" attr: "b" } + record: "#d0d0d0" + list: "#d0d0d0" + block: "#d0d0d0" + hints: "dark_gray" + + shape_and: { fg: "#9f4e85" attr: "b" } + shape_binary: { fg: "#9f4e85" attr: "b" } + shape_block: { fg: "#6c99bb" attr: "b" } + shape_bool: "#7dd6cf" + shape_custom: "#7b9246" + shape_datetime: { fg: "#7dd6cf" attr: "b" } + shape_directory: "#7dd6cf" + shape_external: "#7dd6cf" + shape_externalarg: { fg: "#7b9246" attr: "b" } + shape_filepath: "#7dd6cf" + shape_flag: { fg: "#6c99bb" attr: "b" } + shape_float: { fg: "#9f4e85" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7dd6cf" attr: "b" } + shape_int: { fg: "#9f4e85" attr: "b" } + shape_internalcall: { fg: "#7dd6cf" attr: "b" } + shape_list: { fg: "#7dd6cf" attr: "b" } + shape_literal: "#6c99bb" + shape_match_pattern: "#7b9246" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7dd6cf" + shape_operator: "#d3a04d" + shape_or: { fg: "#9f4e85" attr: "b" } + shape_pipe: { fg: "#9f4e85" attr: "b" } + shape_range: { fg: "#d3a04d" attr: "b" } + shape_record: { fg: "#7dd6cf" attr: "b" } + shape_redirection: { fg: "#9f4e85" attr: "b" } + shape_signature: { fg: "#7b9246" attr: "b" } + shape_string: "#7b9246" + shape_string_interpolation: { fg: "#7dd6cf" attr: "b" } + shape_table: { fg: "#6c99bb" attr: "b" } + shape_variable: "#9f4e85" + + background: "#222222" + foreground: "#d0d0d0" + cursor: "#d0d0d0" +}} \ No newline at end of file diff --git a/themes/themes/alien-blood.nu b/themes/themes/alien-blood.nu index c495e8a..3faeedf 100644 --- a/themes/themes/alien-blood.nu +++ b/themes/themes/alien-blood.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the alien_blood theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0f1610" - # foreground: "#637d75" - # cursor: "#637d75" - - { - # color for nushell primitives - separator: "#73fa91" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#18e000" - empty: "#2f6a7f" - bool: "#73fa91" - int: "#73fa91" - filesize: "#73fa91" - duration: "#73fa91" - date: "#73fa91" - range: "#73fa91" - float: "#73fa91" - string: "#73fa91" - nothing: "#73fa91" - binary: "#73fa91" - cellpath: "#73fa91" - row_index: "#18e000" - record: "#73fa91" - list: "#73fa91" - block: "#73fa91" - hints: "#3c4812" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#0058e0" - shape_bool: "#00e0c4" - shape_int: "#0058e0" - shape_float: "#0058e0" - shape_range: "#bde000" - shape_internalcall: "#00e0c4" - shape_external: "#327f77" - shape_externalarg: "#18e000" - shape_literal: "#2f6a7f" - shape_operator: "#717f24" - shape_signature: "#18e000" - shape_string: "#2f7e25" - shape_string_interpolation: "#00e0c4" - shape_datetime: "#00e0c4" - shape_list: "#00e0c4" - shape_table: "#00aae0" - shape_record: "#00e0c4" - shape_block: "#00aae0" - shape_filepath: "#327f77" - shape_globpattern: "#00e0c4" - shape_variable: "#47587f" - shape_flag: "#00aae0" - shape_custom: "#2f7e25" - shape_nothing: "#00e0c4" +export def main [] { return { + separator: "#647d75" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#2f7e25" attr: "b" } + empty: "#2f6a7f" + bool: {|| if $in { "#00e0c4" } else { "light_gray" } } + int: "#647d75" + filesize: {|e| + if $e == 0b { + "#647d75" + } else if $e < 1mb { + "#327f77" + } else {{ fg: "#2f6a7f" }} } -} + duration: "#647d75" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#7f2b27" attr: "b" } + } else if $in < 6hr { + "#7f2b27" + } else if $in < 1day { + "#717f24" + } else if $in < 3day { + "#2f7e25" + } else if $in < 1wk { + { fg: "#2f7e25" attr: "b" } + } else if $in < 6wk { + "#327f77" + } else if $in < 52wk { + "#2f6a7f" + } else { "dark_gray" } + } + range: "#647d75" + float: "#647d75" + string: "#647d75" + nothing: "#647d75" + binary: "#647d75" + cellpath: "#647d75" + row_index: { fg: "#2f7e25" attr: "b" } + record: "#647d75" + list: "#647d75" + block: "#647d75" + hints: "dark_gray" + + shape_and: { fg: "#47587f" attr: "b" } + shape_binary: { fg: "#47587f" attr: "b" } + shape_block: { fg: "#2f6a7f" attr: "b" } + shape_bool: "#00e0c4" + shape_custom: "#2f7e25" + shape_datetime: { fg: "#327f77" attr: "b" } + shape_directory: "#327f77" + shape_external: "#327f77" + shape_externalarg: { fg: "#2f7e25" attr: "b" } + shape_filepath: "#327f77" + shape_flag: { fg: "#2f6a7f" attr: "b" } + shape_float: { fg: "#47587f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#327f77" attr: "b" } + shape_int: { fg: "#47587f" attr: "b" } + shape_internalcall: { fg: "#327f77" attr: "b" } + shape_list: { fg: "#327f77" attr: "b" } + shape_literal: "#2f6a7f" + shape_match_pattern: "#2f7e25" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00e0c4" + shape_operator: "#717f24" + shape_or: { fg: "#47587f" attr: "b" } + shape_pipe: { fg: "#47587f" attr: "b" } + shape_range: { fg: "#717f24" attr: "b" } + shape_record: { fg: "#327f77" attr: "b" } + shape_redirection: { fg: "#47587f" attr: "b" } + shape_signature: { fg: "#2f7e25" attr: "b" } + shape_string: "#2f7e25" + shape_string_interpolation: { fg: "#327f77" attr: "b" } + shape_table: { fg: "#2f6a7f" attr: "b" } + shape_variable: "#47587f" + + background: "#0f1610" + foreground: "#637d75" + cursor: "#637d75" +}} \ No newline at end of file diff --git a/themes/themes/alucard.nu b/themes/themes/alucard.nu index 28d32f8..e603a85 100644 --- a/themes/themes/alucard.nu +++ b/themes/themes/alucard.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the alucard theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222330" - # foreground: "#cef3ff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#50fa7b" - empty: "#3282ff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#50fa7b" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#545454" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff78c5" - shape_bool: "#8ae9fc" - shape_int: "#ff78c5" - shape_float: "#ff78c5" - shape_range: "#f0fa8b" - shape_internalcall: "#8ae9fc" - shape_external: "#0037fc" - shape_externalarg: "#50fa7b" - shape_literal: "#3282ff" - shape_operator: "#7f0a1f" - shape_signature: "#50fa7b" - shape_string: "#fa0074" - shape_string_interpolation: "#8ae9fc" - shape_datetime: "#8ae9fc" - shape_list: "#8ae9fc" - shape_table: "#1200f8" - shape_record: "#8ae9fc" - shape_block: "#1200f8" - shape_filepath: "#0037fc" - shape_globpattern: "#8ae9fc" - shape_variable: "#1b3cff" - shape_flag: "#1200f8" - shape_custom: "#fa0074" - shape_nothing: "#8ae9fc" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#fa0074" attr: "b" } + empty: "#3282ff" + bool: {|| if $in { "#8ae9fc" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#0037fc" + } else {{ fg: "#3282ff" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff5555" attr: "b" } + } else if $in < 6hr { + "#ff5555" + } else if $in < 1day { + "#7f0a1f" + } else if $in < 3day { + "#fa0074" + } else if $in < 1wk { + { fg: "#fa0074" attr: "b" } + } else if $in < 6wk { + "#0037fc" + } else if $in < 52wk { + "#3282ff" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#fa0074" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#1b3cff" attr: "b" } + shape_binary: { fg: "#1b3cff" attr: "b" } + shape_block: { fg: "#3282ff" attr: "b" } + shape_bool: "#8ae9fc" + shape_custom: "#fa0074" + shape_datetime: { fg: "#0037fc" attr: "b" } + shape_directory: "#0037fc" + shape_external: "#0037fc" + shape_externalarg: { fg: "#fa0074" attr: "b" } + shape_filepath: "#0037fc" + shape_flag: { fg: "#3282ff" attr: "b" } + shape_float: { fg: "#1b3cff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0037fc" attr: "b" } + shape_int: { fg: "#1b3cff" attr: "b" } + shape_internalcall: { fg: "#0037fc" attr: "b" } + shape_list: { fg: "#0037fc" attr: "b" } + shape_literal: "#3282ff" + shape_match_pattern: "#fa0074" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8ae9fc" + shape_operator: "#7f0a1f" + shape_or: { fg: "#1b3cff" attr: "b" } + shape_pipe: { fg: "#1b3cff" attr: "b" } + shape_range: { fg: "#7f0a1f" attr: "b" } + shape_record: { fg: "#0037fc" attr: "b" } + shape_redirection: { fg: "#1b3cff" attr: "b" } + shape_signature: { fg: "#fa0074" attr: "b" } + shape_string: "#fa0074" + shape_string_interpolation: { fg: "#0037fc" attr: "b" } + shape_table: { fg: "#3282ff" attr: "b" } + shape_variable: "#1b3cff" + + background: "#222330" + foreground: "#cef3ff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/amora.nu b/themes/themes/amora.nu index 302cbcf..d7aaf1e 100644 --- a/themes/themes/amora.nu +++ b/themes/themes/amora.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the amora theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2a2331" - # foreground: "#dedbeb" - # cursor: "#dedbeb" - - { - # color for nushell primitives - separator: "#edebf7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#bfd1c3" - empty: "#9985d1" - bool: "#edebf7" - int: "#edebf7" - filesize: "#edebf7" - duration: "#edebf7" - date: "#edebf7" - range: "#edebf7" - float: "#edebf7" - string: "#edebf7" - nothing: "#edebf7" - binary: "#edebf7" - cellpath: "#edebf7" - row_index: "#bfd1c3" - record: "#edebf7" - list: "#edebf7" - block: "#edebf7" - hints: "#302838" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#edabd2" - shape_bool: "#c4d1f5" - shape_int: "#edabd2" - shape_float: "#edabd2" - shape_range: "#f0ddd8" - shape_internalcall: "#c4d1f5" - shape_external: "#aabae7" - shape_externalarg: "#bfd1c3" - shape_literal: "#9985d1" - shape_operator: "#eacac0" - shape_signature: "#bfd1c3" - shape_string: "#a2baa8" - shape_string_interpolation: "#c4d1f5" - shape_datetime: "#c4d1f5" - shape_list: "#c4d1f5" - shape_table: "#b4a4de" - shape_record: "#c4d1f5" - shape_block: "#b4a4de" - shape_filepath: "#aabae7" - shape_globpattern: "#c4d1f5" - shape_variable: "#e68ac1" - shape_flag: "#b4a4de" - shape_custom: "#a2baa8" - shape_nothing: "#c4d1f5" +export def main [] { return { + separator: "#dedbeb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a2baa8" attr: "b" } + empty: "#9985d1" + bool: {|| if $in { "#c4d1f5" } else { "light_gray" } } + int: "#dedbeb" + filesize: {|e| + if $e == 0b { + "#dedbeb" + } else if $e < 1mb { + "#aabae7" + } else {{ fg: "#9985d1" }} } -} + duration: "#dedbeb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ed3f7f" attr: "b" } + } else if $in < 6hr { + "#ed3f7f" + } else if $in < 1day { + "#eacac0" + } else if $in < 3day { + "#a2baa8" + } else if $in < 1wk { + { fg: "#a2baa8" attr: "b" } + } else if $in < 6wk { + "#aabae7" + } else if $in < 52wk { + "#9985d1" + } else { "dark_gray" } + } + range: "#dedbeb" + float: "#dedbeb" + string: "#dedbeb" + nothing: "#dedbeb" + binary: "#dedbeb" + cellpath: "#dedbeb" + row_index: { fg: "#a2baa8" attr: "b" } + record: "#dedbeb" + list: "#dedbeb" + block: "#dedbeb" + hints: "dark_gray" + + shape_and: { fg: "#e68ac1" attr: "b" } + shape_binary: { fg: "#e68ac1" attr: "b" } + shape_block: { fg: "#9985d1" attr: "b" } + shape_bool: "#c4d1f5" + shape_custom: "#a2baa8" + shape_datetime: { fg: "#aabae7" attr: "b" } + shape_directory: "#aabae7" + shape_external: "#aabae7" + shape_externalarg: { fg: "#a2baa8" attr: "b" } + shape_filepath: "#aabae7" + shape_flag: { fg: "#9985d1" attr: "b" } + shape_float: { fg: "#e68ac1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aabae7" attr: "b" } + shape_int: { fg: "#e68ac1" attr: "b" } + shape_internalcall: { fg: "#aabae7" attr: "b" } + shape_list: { fg: "#aabae7" attr: "b" } + shape_literal: "#9985d1" + shape_match_pattern: "#a2baa8" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#c4d1f5" + shape_operator: "#eacac0" + shape_or: { fg: "#e68ac1" attr: "b" } + shape_pipe: { fg: "#e68ac1" attr: "b" } + shape_range: { fg: "#eacac0" attr: "b" } + shape_record: { fg: "#aabae7" attr: "b" } + shape_redirection: { fg: "#e68ac1" attr: "b" } + shape_signature: { fg: "#a2baa8" attr: "b" } + shape_string: "#a2baa8" + shape_string_interpolation: { fg: "#aabae7" attr: "b" } + shape_table: { fg: "#9985d1" attr: "b" } + shape_variable: "#e68ac1" + + background: "#2a2331" + foreground: "#dedbeb" + cursor: "#dedbeb" +}} \ No newline at end of file diff --git a/themes/themes/apathy.nu b/themes/themes/apathy.nu index 74a1800..760a993 100644 --- a/themes/themes/apathy.nu +++ b/themes/themes/apathy.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the apathy theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#031a16" - # foreground: "#81b5ac" - # cursor: "#81b5ac" - - { - # color for nushell primitives - separator: "#d2e7e4" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#883e96" - empty: "#96883e" - bool: "#d2e7e4" - int: "#d2e7e4" - filesize: "#d2e7e4" - duration: "#d2e7e4" - date: "#d2e7e4" - range: "#d2e7e4" - float: "#d2e7e4" - string: "#d2e7e4" - nothing: "#d2e7e4" - binary: "#d2e7e4" - cellpath: "#d2e7e4" - row_index: "#883e96" - record: "#d2e7e4" - list: "#d2e7e4" - block: "#d2e7e4" - hints: "#2b685e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#4c963e" - shape_bool: "#963e4c" - shape_int: "#4c963e" - shape_float: "#4c963e" - shape_range: "#3e4c96" - shape_internalcall: "#963e4c" - shape_external: "#963e4c" - shape_externalarg: "#883e96" - shape_literal: "#96883e" - shape_operator: "#3e4c96" - shape_signature: "#883e96" - shape_string: "#883e96" - shape_string_interpolation: "#963e4c" - shape_datetime: "#963e4c" - shape_list: "#963e4c" - shape_table: "#96883e" - shape_record: "#963e4c" - shape_block: "#96883e" - shape_filepath: "#963e4c" - shape_globpattern: "#963e4c" - shape_variable: "#4c963e" - shape_flag: "#96883e" - shape_custom: "#883e96" - shape_nothing: "#963e4c" +export def main [] { return { + separator: "#81b5ac" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#883e96" attr: "b" } + empty: "#96883e" + bool: {|| if $in { "#963e4c" } else { "light_gray" } } + int: "#81b5ac" + filesize: {|e| + if $e == 0b { + "#81b5ac" + } else if $e < 1mb { + "#963e4c" + } else {{ fg: "#96883e" }} } -} + duration: "#81b5ac" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#3e9688" attr: "b" } + } else if $in < 6hr { + "#3e9688" + } else if $in < 1day { + "#3e4c96" + } else if $in < 3day { + "#883e96" + } else if $in < 1wk { + { fg: "#883e96" attr: "b" } + } else if $in < 6wk { + "#963e4c" + } else if $in < 52wk { + "#96883e" + } else { "dark_gray" } + } + range: "#81b5ac" + float: "#81b5ac" + string: "#81b5ac" + nothing: "#81b5ac" + binary: "#81b5ac" + cellpath: "#81b5ac" + row_index: { fg: "#883e96" attr: "b" } + record: "#81b5ac" + list: "#81b5ac" + block: "#81b5ac" + hints: "dark_gray" + + shape_and: { fg: "#4c963e" attr: "b" } + shape_binary: { fg: "#4c963e" attr: "b" } + shape_block: { fg: "#96883e" attr: "b" } + shape_bool: "#963e4c" + shape_custom: "#883e96" + shape_datetime: { fg: "#963e4c" attr: "b" } + shape_directory: "#963e4c" + shape_external: "#963e4c" + shape_externalarg: { fg: "#883e96" attr: "b" } + shape_filepath: "#963e4c" + shape_flag: { fg: "#96883e" attr: "b" } + shape_float: { fg: "#4c963e" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#963e4c" attr: "b" } + shape_int: { fg: "#4c963e" attr: "b" } + shape_internalcall: { fg: "#963e4c" attr: "b" } + shape_list: { fg: "#963e4c" attr: "b" } + shape_literal: "#96883e" + shape_match_pattern: "#883e96" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#963e4c" + shape_operator: "#3e4c96" + shape_or: { fg: "#4c963e" attr: "b" } + shape_pipe: { fg: "#4c963e" attr: "b" } + shape_range: { fg: "#3e4c96" attr: "b" } + shape_record: { fg: "#963e4c" attr: "b" } + shape_redirection: { fg: "#4c963e" attr: "b" } + shape_signature: { fg: "#883e96" attr: "b" } + shape_string: "#883e96" + shape_string_interpolation: { fg: "#963e4c" attr: "b" } + shape_table: { fg: "#96883e" attr: "b" } + shape_variable: "#4c963e" + + background: "#031a16" + foreground: "#81b5ac" + cursor: "#81b5ac" +}} \ No newline at end of file diff --git a/themes/themes/apprentice.nu b/themes/themes/apprentice.nu index f9ffa11..2af1364 100644 --- a/themes/themes/apprentice.nu +++ b/themes/themes/apprentice.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the apprentice theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#262626" - # foreground: "#bcbcbc" - # cursor: "#bcbcbc" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#87af87" - empty: "#ffffaf" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#87af87" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#6c6c6c" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#87afd7" - shape_bool: "#5f875f" - shape_int: "#87afd7" - shape_float: "#87afd7" - shape_range: "#5f8787" - shape_internalcall: "#5f875f" - shape_external: "#5f875f" - shape_externalarg: "#87af87" - shape_literal: "#ffffaf" - shape_operator: "#5f8787" - shape_signature: "#87af87" - shape_string: "#87af87" - shape_string_interpolation: "#5f875f" - shape_datetime: "#5f875f" - shape_list: "#5f875f" - shape_table: "#ffffaf" - shape_record: "#5f875f" - shape_block: "#ffffaf" - shape_filepath: "#5f875f" - shape_globpattern: "#5f875f" - shape_variable: "#87afd7" - shape_flag: "#ffffaf" - shape_custom: "#87af87" - shape_nothing: "#5f875f" +export def main [] { return { + separator: "#bcbcbc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#87af87" attr: "b" } + empty: "#ffffaf" + bool: {|| if $in { "#5f875f" } else { "light_gray" } } + int: "#bcbcbc" + filesize: {|e| + if $e == 0b { + "#bcbcbc" + } else if $e < 1mb { + "#5f875f" + } else {{ fg: "#ffffaf" }} } -} + duration: "#bcbcbc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f8787" attr: "b" } + } else if $in < 6hr { + "#5f8787" + } else if $in < 1day { + "#5f8787" + } else if $in < 3day { + "#87af87" + } else if $in < 1wk { + { fg: "#87af87" attr: "b" } + } else if $in < 6wk { + "#5f875f" + } else if $in < 52wk { + "#ffffaf" + } else { "dark_gray" } + } + range: "#bcbcbc" + float: "#bcbcbc" + string: "#bcbcbc" + nothing: "#bcbcbc" + binary: "#bcbcbc" + cellpath: "#bcbcbc" + row_index: { fg: "#87af87" attr: "b" } + record: "#bcbcbc" + list: "#bcbcbc" + block: "#bcbcbc" + hints: "dark_gray" + + shape_and: { fg: "#87afd7" attr: "b" } + shape_binary: { fg: "#87afd7" attr: "b" } + shape_block: { fg: "#ffffaf" attr: "b" } + shape_bool: "#5f875f" + shape_custom: "#87af87" + shape_datetime: { fg: "#5f875f" attr: "b" } + shape_directory: "#5f875f" + shape_external: "#5f875f" + shape_externalarg: { fg: "#87af87" attr: "b" } + shape_filepath: "#5f875f" + shape_flag: { fg: "#ffffaf" attr: "b" } + shape_float: { fg: "#87afd7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5f875f" attr: "b" } + shape_int: { fg: "#87afd7" attr: "b" } + shape_internalcall: { fg: "#5f875f" attr: "b" } + shape_list: { fg: "#5f875f" attr: "b" } + shape_literal: "#ffffaf" + shape_match_pattern: "#87af87" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5f875f" + shape_operator: "#5f8787" + shape_or: { fg: "#87afd7" attr: "b" } + shape_pipe: { fg: "#87afd7" attr: "b" } + shape_range: { fg: "#5f8787" attr: "b" } + shape_record: { fg: "#5f875f" attr: "b" } + shape_redirection: { fg: "#87afd7" attr: "b" } + shape_signature: { fg: "#87af87" attr: "b" } + shape_string: "#87af87" + shape_string_interpolation: { fg: "#5f875f" attr: "b" } + shape_table: { fg: "#ffffaf" attr: "b" } + shape_variable: "#87afd7" + + background: "#262626" + foreground: "#bcbcbc" + cursor: "#bcbcbc" +}} \ No newline at end of file diff --git a/themes/themes/argonaut.nu b/themes/themes/argonaut.nu index 085c33f..e0e94d1 100644 --- a/themes/themes/argonaut.nu +++ b/themes/themes/argonaut.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the argonaut theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0e1019" - # foreground: "#fffaf4" - # cursor: "#fffaf4" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#abe15b" - empty: "#008df8" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#abe15b" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#444444" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9a5feb" - shape_bool: "#67fff0" - shape_int: "#9a5feb" - shape_float: "#9a5feb" - shape_range: "#ffd242" - shape_internalcall: "#67fff0" - shape_external: "#00d8eb" - shape_externalarg: "#abe15b" - shape_literal: "#008df8" - shape_operator: "#ffb900" - shape_signature: "#abe15b" - shape_string: "#8ce10b" - shape_string_interpolation: "#67fff0" - shape_datetime: "#67fff0" - shape_list: "#67fff0" - shape_table: "#0092ff" - shape_record: "#67fff0" - shape_block: "#0092ff" - shape_filepath: "#00d8eb" - shape_globpattern: "#67fff0" - shape_variable: "#6d43a6" - shape_flag: "#0092ff" - shape_custom: "#8ce10b" - shape_nothing: "#67fff0" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8ce10b" attr: "b" } + empty: "#008df8" + bool: {|| if $in { "#67fff0" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#00d8eb" + } else {{ fg: "#008df8" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff000f" attr: "b" } + } else if $in < 6hr { + "#ff000f" + } else if $in < 1day { + "#ffb900" + } else if $in < 3day { + "#8ce10b" + } else if $in < 1wk { + { fg: "#8ce10b" attr: "b" } + } else if $in < 6wk { + "#00d8eb" + } else if $in < 52wk { + "#008df8" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#8ce10b" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#6d43a6" attr: "b" } + shape_binary: { fg: "#6d43a6" attr: "b" } + shape_block: { fg: "#008df8" attr: "b" } + shape_bool: "#67fff0" + shape_custom: "#8ce10b" + shape_datetime: { fg: "#00d8eb" attr: "b" } + shape_directory: "#00d8eb" + shape_external: "#00d8eb" + shape_externalarg: { fg: "#8ce10b" attr: "b" } + shape_filepath: "#00d8eb" + shape_flag: { fg: "#008df8" attr: "b" } + shape_float: { fg: "#6d43a6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00d8eb" attr: "b" } + shape_int: { fg: "#6d43a6" attr: "b" } + shape_internalcall: { fg: "#00d8eb" attr: "b" } + shape_list: { fg: "#00d8eb" attr: "b" } + shape_literal: "#008df8" + shape_match_pattern: "#8ce10b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#67fff0" + shape_operator: "#ffb900" + shape_or: { fg: "#6d43a6" attr: "b" } + shape_pipe: { fg: "#6d43a6" attr: "b" } + shape_range: { fg: "#ffb900" attr: "b" } + shape_record: { fg: "#00d8eb" attr: "b" } + shape_redirection: { fg: "#6d43a6" attr: "b" } + shape_signature: { fg: "#8ce10b" attr: "b" } + shape_string: "#8ce10b" + shape_string_interpolation: { fg: "#00d8eb" attr: "b" } + shape_table: { fg: "#008df8" attr: "b" } + shape_variable: "#6d43a6" + + background: "#0e1019" + foreground: "#fffaf4" + cursor: "#fffaf4" +}} \ No newline at end of file diff --git a/themes/themes/arthur.nu b/themes/themes/arthur.nu index 573d3a5..37d2c65 100644 --- a/themes/themes/arthur.nu +++ b/themes/themes/arthur.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the arthur theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1c1c1c" - # foreground: "#ddeedd" - # cursor: "#ddeedd" - - { - # color for nushell primitives - separator: "#ddccbb" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#88aa22" - empty: "#6495ed" - bool: "#ddccbb" - int: "#ddccbb" - filesize: "#ddccbb" - duration: "#ddccbb" - date: "#ddccbb" - range: "#ddccbb" - float: "#ddccbb" - string: "#ddccbb" - nothing: "#ddccbb" - binary: "#ddccbb" - cellpath: "#ddccbb" - row_index: "#88aa22" - record: "#ddccbb" - list: "#ddccbb" - block: "#ddccbb" - hints: "#554444" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#996600" - shape_bool: "#b0c4de" - shape_int: "#996600" - shape_float: "#996600" - shape_range: "#ffa75d" - shape_internalcall: "#b0c4de" - shape_external: "#b0c4de" - shape_externalarg: "#88aa22" - shape_literal: "#6495ed" - shape_operator: "#e8ae5b" - shape_signature: "#88aa22" - shape_string: "#86af80" - shape_string_interpolation: "#b0c4de" - shape_datetime: "#b0c4de" - shape_list: "#b0c4de" - shape_table: "#87ceeb" - shape_record: "#b0c4de" - shape_block: "#87ceeb" - shape_filepath: "#b0c4de" - shape_globpattern: "#b0c4de" - shape_variable: "#deb887" - shape_flag: "#87ceeb" - shape_custom: "#86af80" - shape_nothing: "#b0c4de" +export def main [] { return { + separator: "#bbaa99" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#86af80" attr: "b" } + empty: "#6495ed" + bool: {|| if $in { "#b0c4de" } else { "light_gray" } } + int: "#bbaa99" + filesize: {|e| + if $e == 0b { + "#bbaa99" + } else if $e < 1mb { + "#b0c4de" + } else {{ fg: "#6495ed" }} } -} + duration: "#bbaa99" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cd5c5c" attr: "b" } + } else if $in < 6hr { + "#cd5c5c" + } else if $in < 1day { + "#e8ae5b" + } else if $in < 3day { + "#86af80" + } else if $in < 1wk { + { fg: "#86af80" attr: "b" } + } else if $in < 6wk { + "#b0c4de" + } else if $in < 52wk { + "#6495ed" + } else { "dark_gray" } + } + range: "#bbaa99" + float: "#bbaa99" + string: "#bbaa99" + nothing: "#bbaa99" + binary: "#bbaa99" + cellpath: "#bbaa99" + row_index: { fg: "#86af80" attr: "b" } + record: "#bbaa99" + list: "#bbaa99" + block: "#bbaa99" + hints: "dark_gray" + + shape_and: { fg: "#deb887" attr: "b" } + shape_binary: { fg: "#deb887" attr: "b" } + shape_block: { fg: "#6495ed" attr: "b" } + shape_bool: "#b0c4de" + shape_custom: "#86af80" + shape_datetime: { fg: "#b0c4de" attr: "b" } + shape_directory: "#b0c4de" + shape_external: "#b0c4de" + shape_externalarg: { fg: "#86af80" attr: "b" } + shape_filepath: "#b0c4de" + shape_flag: { fg: "#6495ed" attr: "b" } + shape_float: { fg: "#deb887" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#b0c4de" attr: "b" } + shape_int: { fg: "#deb887" attr: "b" } + shape_internalcall: { fg: "#b0c4de" attr: "b" } + shape_list: { fg: "#b0c4de" attr: "b" } + shape_literal: "#6495ed" + shape_match_pattern: "#86af80" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#b0c4de" + shape_operator: "#e8ae5b" + shape_or: { fg: "#deb887" attr: "b" } + shape_pipe: { fg: "#deb887" attr: "b" } + shape_range: { fg: "#e8ae5b" attr: "b" } + shape_record: { fg: "#b0c4de" attr: "b" } + shape_redirection: { fg: "#deb887" attr: "b" } + shape_signature: { fg: "#86af80" attr: "b" } + shape_string: "#86af80" + shape_string_interpolation: { fg: "#b0c4de" attr: "b" } + shape_table: { fg: "#6495ed" attr: "b" } + shape_variable: "#deb887" + + background: "#1c1c1c" + foreground: "#ddeedd" + cursor: "#ddeedd" +}} \ No newline at end of file diff --git a/themes/themes/ashes.nu b/themes/themes/ashes.nu index 6906c38..5425067 100644 --- a/themes/themes/ashes.nu +++ b/themes/themes/ashes.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ashes theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1c2023" - # foreground: "#c7ccd1" - # cursor: "#c7ccd1" - - { - # color for nushell primitives - separator: "#f3f4f5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#95c7ae" - empty: "#ae95c7" - bool: "#f3f4f5" - int: "#f3f4f5" - filesize: "#f3f4f5" - duration: "#f3f4f5" - date: "#f3f4f5" - range: "#f3f4f5" - float: "#f3f4f5" - string: "#f3f4f5" - nothing: "#f3f4f5" - binary: "#f3f4f5" - cellpath: "#f3f4f5" - row_index: "#95c7ae" - record: "#f3f4f5" - list: "#f3f4f5" - block: "#f3f4f5" - hints: "#747c84" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c795ae" - shape_bool: "#95aec7" - shape_int: "#c795ae" - shape_float: "#c795ae" - shape_range: "#aec795" - shape_internalcall: "#95aec7" - shape_external: "#95aec7" - shape_externalarg: "#95c7ae" - shape_literal: "#ae95c7" - shape_operator: "#aec795" - shape_signature: "#95c7ae" - shape_string: "#95c7ae" - shape_string_interpolation: "#95aec7" - shape_datetime: "#95aec7" - shape_list: "#95aec7" - shape_table: "#ae95c7" - shape_record: "#95aec7" - shape_block: "#ae95c7" - shape_filepath: "#95aec7" - shape_globpattern: "#95aec7" - shape_variable: "#c795ae" - shape_flag: "#ae95c7" - shape_custom: "#95c7ae" - shape_nothing: "#95aec7" +export def main [] { return { + separator: "#c7ccd1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#95c7ae" attr: "b" } + empty: "#ae95c7" + bool: {|| if $in { "#95aec7" } else { "light_gray" } } + int: "#c7ccd1" + filesize: {|e| + if $e == 0b { + "#c7ccd1" + } else if $e < 1mb { + "#95aec7" + } else {{ fg: "#ae95c7" }} } -} + duration: "#c7ccd1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c7ae95" attr: "b" } + } else if $in < 6hr { + "#c7ae95" + } else if $in < 1day { + "#aec795" + } else if $in < 3day { + "#95c7ae" + } else if $in < 1wk { + { fg: "#95c7ae" attr: "b" } + } else if $in < 6wk { + "#95aec7" + } else if $in < 52wk { + "#ae95c7" + } else { "dark_gray" } + } + range: "#c7ccd1" + float: "#c7ccd1" + string: "#c7ccd1" + nothing: "#c7ccd1" + binary: "#c7ccd1" + cellpath: "#c7ccd1" + row_index: { fg: "#95c7ae" attr: "b" } + record: "#c7ccd1" + list: "#c7ccd1" + block: "#c7ccd1" + hints: "dark_gray" + + shape_and: { fg: "#c795ae" attr: "b" } + shape_binary: { fg: "#c795ae" attr: "b" } + shape_block: { fg: "#ae95c7" attr: "b" } + shape_bool: "#95aec7" + shape_custom: "#95c7ae" + shape_datetime: { fg: "#95aec7" attr: "b" } + shape_directory: "#95aec7" + shape_external: "#95aec7" + shape_externalarg: { fg: "#95c7ae" attr: "b" } + shape_filepath: "#95aec7" + shape_flag: { fg: "#ae95c7" attr: "b" } + shape_float: { fg: "#c795ae" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#95aec7" attr: "b" } + shape_int: { fg: "#c795ae" attr: "b" } + shape_internalcall: { fg: "#95aec7" attr: "b" } + shape_list: { fg: "#95aec7" attr: "b" } + shape_literal: "#ae95c7" + shape_match_pattern: "#95c7ae" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#95aec7" + shape_operator: "#aec795" + shape_or: { fg: "#c795ae" attr: "b" } + shape_pipe: { fg: "#c795ae" attr: "b" } + shape_range: { fg: "#aec795" attr: "b" } + shape_record: { fg: "#95aec7" attr: "b" } + shape_redirection: { fg: "#c795ae" attr: "b" } + shape_signature: { fg: "#95c7ae" attr: "b" } + shape_string: "#95c7ae" + shape_string_interpolation: { fg: "#95aec7" attr: "b" } + shape_table: { fg: "#ae95c7" attr: "b" } + shape_variable: "#c795ae" + + background: "#1c2023" + foreground: "#c7ccd1" + cursor: "#c7ccd1" +}} \ No newline at end of file diff --git a/themes/themes/atelier-cave-light.nu b/themes/themes/atelier-cave-light.nu index ffb4810..d6413b3 100644 --- a/themes/themes/atelier-cave-light.nu +++ b/themes/themes/atelier-cave-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_cave-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#efecf4" - # foreground: "#585260" - # cursor: "#585260" - - { - # color for nushell primitives - separator: "#19171c" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#2a9292" - empty: "#576ddb" - bool: "#19171c" - int: "#19171c" - filesize: "#19171c" - duration: "#19171c" - date: "#19171c" - range: "#19171c" - float: "#19171c" - string: "#19171c" - nothing: "#19171c" - binary: "#19171c" - cellpath: "#19171c" - row_index: "#2a9292" - record: "#19171c" - list: "#19171c" - block: "#19171c" - hints: "#7e7887" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#955ae7" - shape_bool: "#398bc6" - shape_int: "#955ae7" - shape_float: "#955ae7" - shape_range: "#a06e3b" - shape_internalcall: "#398bc6" - shape_external: "#398bc6" - shape_externalarg: "#2a9292" - shape_literal: "#576ddb" - shape_operator: "#a06e3b" - shape_signature: "#2a9292" - shape_string: "#2a9292" - shape_string_interpolation: "#398bc6" - shape_datetime: "#398bc6" - shape_list: "#398bc6" - shape_table: "#576ddb" - shape_record: "#398bc6" - shape_block: "#576ddb" - shape_filepath: "#398bc6" - shape_globpattern: "#398bc6" - shape_variable: "#955ae7" - shape_flag: "#576ddb" - shape_custom: "#2a9292" - shape_nothing: "#398bc6" +export def main [] { return { + separator: "#585260" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#2a9292" attr: "b" } + empty: "#576ddb" + bool: {|| if $in { "#398bc6" } else { "light_gray" } } + int: "#585260" + filesize: {|e| + if $e == 0b { + "#585260" + } else if $e < 1mb { + "#398bc6" + } else {{ fg: "#576ddb" }} } -} + duration: "#585260" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#be4678" attr: "b" } + } else if $in < 6hr { + "#be4678" + } else if $in < 1day { + "#a06e3b" + } else if $in < 3day { + "#2a9292" + } else if $in < 1wk { + { fg: "#2a9292" attr: "b" } + } else if $in < 6wk { + "#398bc6" + } else if $in < 52wk { + "#576ddb" + } else { "dark_gray" } + } + range: "#585260" + float: "#585260" + string: "#585260" + nothing: "#585260" + binary: "#585260" + cellpath: "#585260" + row_index: { fg: "#2a9292" attr: "b" } + record: "#585260" + list: "#585260" + block: "#585260" + hints: "dark_gray" + + shape_and: { fg: "#955ae7" attr: "b" } + shape_binary: { fg: "#955ae7" attr: "b" } + shape_block: { fg: "#576ddb" attr: "b" } + shape_bool: "#398bc6" + shape_custom: "#2a9292" + shape_datetime: { fg: "#398bc6" attr: "b" } + shape_directory: "#398bc6" + shape_external: "#398bc6" + shape_externalarg: { fg: "#2a9292" attr: "b" } + shape_filepath: "#398bc6" + shape_flag: { fg: "#576ddb" attr: "b" } + shape_float: { fg: "#955ae7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#398bc6" attr: "b" } + shape_int: { fg: "#955ae7" attr: "b" } + shape_internalcall: { fg: "#398bc6" attr: "b" } + shape_list: { fg: "#398bc6" attr: "b" } + shape_literal: "#576ddb" + shape_match_pattern: "#2a9292" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#398bc6" + shape_operator: "#a06e3b" + shape_or: { fg: "#955ae7" attr: "b" } + shape_pipe: { fg: "#955ae7" attr: "b" } + shape_range: { fg: "#a06e3b" attr: "b" } + shape_record: { fg: "#398bc6" attr: "b" } + shape_redirection: { fg: "#955ae7" attr: "b" } + shape_signature: { fg: "#2a9292" attr: "b" } + shape_string: "#2a9292" + shape_string_interpolation: { fg: "#398bc6" attr: "b" } + shape_table: { fg: "#576ddb" attr: "b" } + shape_variable: "#955ae7" + + background: "#efecf4" + foreground: "#585260" + cursor: "#585260" +}} \ No newline at end of file diff --git a/themes/themes/atelier-cave.nu b/themes/themes/atelier-cave.nu index ddb33fa..1dddb1d 100644 --- a/themes/themes/atelier-cave.nu +++ b/themes/themes/atelier-cave.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_cave theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#19171c" - # foreground: "#8b8792" - # cursor: "#8b8792" - - { - # color for nushell primitives - separator: "#efecf4" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#2a9292" - empty: "#576ddb" - bool: "#efecf4" - int: "#efecf4" - filesize: "#efecf4" - duration: "#efecf4" - date: "#efecf4" - range: "#efecf4" - float: "#efecf4" - string: "#efecf4" - nothing: "#efecf4" - binary: "#efecf4" - cellpath: "#efecf4" - row_index: "#2a9292" - record: "#efecf4" - list: "#efecf4" - block: "#efecf4" - hints: "#655f6d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#955ae7" - shape_bool: "#398bc6" - shape_int: "#955ae7" - shape_float: "#955ae7" - shape_range: "#a06e3b" - shape_internalcall: "#398bc6" - shape_external: "#398bc6" - shape_externalarg: "#2a9292" - shape_literal: "#576ddb" - shape_operator: "#a06e3b" - shape_signature: "#2a9292" - shape_string: "#2a9292" - shape_string_interpolation: "#398bc6" - shape_datetime: "#398bc6" - shape_list: "#398bc6" - shape_table: "#576ddb" - shape_record: "#398bc6" - shape_block: "#576ddb" - shape_filepath: "#398bc6" - shape_globpattern: "#398bc6" - shape_variable: "#955ae7" - shape_flag: "#576ddb" - shape_custom: "#2a9292" - shape_nothing: "#398bc6" +export def main [] { return { + separator: "#8b8792" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#2a9292" attr: "b" } + empty: "#576ddb" + bool: {|| if $in { "#398bc6" } else { "light_gray" } } + int: "#8b8792" + filesize: {|e| + if $e == 0b { + "#8b8792" + } else if $e < 1mb { + "#398bc6" + } else {{ fg: "#576ddb" }} } -} + duration: "#8b8792" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#be4678" attr: "b" } + } else if $in < 6hr { + "#be4678" + } else if $in < 1day { + "#a06e3b" + } else if $in < 3day { + "#2a9292" + } else if $in < 1wk { + { fg: "#2a9292" attr: "b" } + } else if $in < 6wk { + "#398bc6" + } else if $in < 52wk { + "#576ddb" + } else { "dark_gray" } + } + range: "#8b8792" + float: "#8b8792" + string: "#8b8792" + nothing: "#8b8792" + binary: "#8b8792" + cellpath: "#8b8792" + row_index: { fg: "#2a9292" attr: "b" } + record: "#8b8792" + list: "#8b8792" + block: "#8b8792" + hints: "dark_gray" + + shape_and: { fg: "#955ae7" attr: "b" } + shape_binary: { fg: "#955ae7" attr: "b" } + shape_block: { fg: "#576ddb" attr: "b" } + shape_bool: "#398bc6" + shape_custom: "#2a9292" + shape_datetime: { fg: "#398bc6" attr: "b" } + shape_directory: "#398bc6" + shape_external: "#398bc6" + shape_externalarg: { fg: "#2a9292" attr: "b" } + shape_filepath: "#398bc6" + shape_flag: { fg: "#576ddb" attr: "b" } + shape_float: { fg: "#955ae7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#398bc6" attr: "b" } + shape_int: { fg: "#955ae7" attr: "b" } + shape_internalcall: { fg: "#398bc6" attr: "b" } + shape_list: { fg: "#398bc6" attr: "b" } + shape_literal: "#576ddb" + shape_match_pattern: "#2a9292" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#398bc6" + shape_operator: "#a06e3b" + shape_or: { fg: "#955ae7" attr: "b" } + shape_pipe: { fg: "#955ae7" attr: "b" } + shape_range: { fg: "#a06e3b" attr: "b" } + shape_record: { fg: "#398bc6" attr: "b" } + shape_redirection: { fg: "#955ae7" attr: "b" } + shape_signature: { fg: "#2a9292" attr: "b" } + shape_string: "#2a9292" + shape_string_interpolation: { fg: "#398bc6" attr: "b" } + shape_table: { fg: "#576ddb" attr: "b" } + shape_variable: "#955ae7" + + background: "#19171c" + foreground: "#8b8792" + cursor: "#8b8792" +}} \ No newline at end of file diff --git a/themes/themes/atelier-dune-light.nu b/themes/themes/atelier-dune-light.nu index e6ef557..0fb7eba 100644 --- a/themes/themes/atelier-dune-light.nu +++ b/themes/themes/atelier-dune-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_dune-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fefbec" - # foreground: "#6e6b5e" - # cursor: "#6e6b5e" - - { - # color for nushell primitives - separator: "#20201d" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#60ac39" - empty: "#6684e1" - bool: "#20201d" - int: "#20201d" - filesize: "#20201d" - duration: "#20201d" - date: "#20201d" - range: "#20201d" - float: "#20201d" - string: "#20201d" - nothing: "#20201d" - binary: "#20201d" - cellpath: "#20201d" - row_index: "#60ac39" - record: "#20201d" - list: "#20201d" - block: "#20201d" - hints: "#999580" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b854d4" - shape_bool: "#1fad83" - shape_int: "#b854d4" - shape_float: "#b854d4" - shape_range: "#ae9513" - shape_internalcall: "#1fad83" - shape_external: "#1fad83" - shape_externalarg: "#60ac39" - shape_literal: "#6684e1" - shape_operator: "#ae9513" - shape_signature: "#60ac39" - shape_string: "#60ac39" - shape_string_interpolation: "#1fad83" - shape_datetime: "#1fad83" - shape_list: "#1fad83" - shape_table: "#6684e1" - shape_record: "#1fad83" - shape_block: "#6684e1" - shape_filepath: "#1fad83" - shape_globpattern: "#1fad83" - shape_variable: "#b854d4" - shape_flag: "#6684e1" - shape_custom: "#60ac39" - shape_nothing: "#1fad83" +export def main [] { return { + separator: "#6e6b5e" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#60ac39" attr: "b" } + empty: "#6684e1" + bool: {|| if $in { "#1fad83" } else { "light_gray" } } + int: "#6e6b5e" + filesize: {|e| + if $e == 0b { + "#6e6b5e" + } else if $e < 1mb { + "#1fad83" + } else {{ fg: "#6684e1" }} } -} + duration: "#6e6b5e" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d73737" attr: "b" } + } else if $in < 6hr { + "#d73737" + } else if $in < 1day { + "#ae9513" + } else if $in < 3day { + "#60ac39" + } else if $in < 1wk { + { fg: "#60ac39" attr: "b" } + } else if $in < 6wk { + "#1fad83" + } else if $in < 52wk { + "#6684e1" + } else { "dark_gray" } + } + range: "#6e6b5e" + float: "#6e6b5e" + string: "#6e6b5e" + nothing: "#6e6b5e" + binary: "#6e6b5e" + cellpath: "#6e6b5e" + row_index: { fg: "#60ac39" attr: "b" } + record: "#6e6b5e" + list: "#6e6b5e" + block: "#6e6b5e" + hints: "dark_gray" + + shape_and: { fg: "#b854d4" attr: "b" } + shape_binary: { fg: "#b854d4" attr: "b" } + shape_block: { fg: "#6684e1" attr: "b" } + shape_bool: "#1fad83" + shape_custom: "#60ac39" + shape_datetime: { fg: "#1fad83" attr: "b" } + shape_directory: "#1fad83" + shape_external: "#1fad83" + shape_externalarg: { fg: "#60ac39" attr: "b" } + shape_filepath: "#1fad83" + shape_flag: { fg: "#6684e1" attr: "b" } + shape_float: { fg: "#b854d4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1fad83" attr: "b" } + shape_int: { fg: "#b854d4" attr: "b" } + shape_internalcall: { fg: "#1fad83" attr: "b" } + shape_list: { fg: "#1fad83" attr: "b" } + shape_literal: "#6684e1" + shape_match_pattern: "#60ac39" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1fad83" + shape_operator: "#ae9513" + shape_or: { fg: "#b854d4" attr: "b" } + shape_pipe: { fg: "#b854d4" attr: "b" } + shape_range: { fg: "#ae9513" attr: "b" } + shape_record: { fg: "#1fad83" attr: "b" } + shape_redirection: { fg: "#b854d4" attr: "b" } + shape_signature: { fg: "#60ac39" attr: "b" } + shape_string: "#60ac39" + shape_string_interpolation: { fg: "#1fad83" attr: "b" } + shape_table: { fg: "#6684e1" attr: "b" } + shape_variable: "#b854d4" + + background: "#fefbec" + foreground: "#6e6b5e" + cursor: "#6e6b5e" +}} \ No newline at end of file diff --git a/themes/themes/atelier-dune.nu b/themes/themes/atelier-dune.nu index 27d037f..15e407c 100644 --- a/themes/themes/atelier-dune.nu +++ b/themes/themes/atelier-dune.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_dune theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#20201d" - # foreground: "#a6a28c" - # cursor: "#a6a28c" - - { - # color for nushell primitives - separator: "#fefbec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#60ac39" - empty: "#6684e1" - bool: "#fefbec" - int: "#fefbec" - filesize: "#fefbec" - duration: "#fefbec" - date: "#fefbec" - range: "#fefbec" - float: "#fefbec" - string: "#fefbec" - nothing: "#fefbec" - binary: "#fefbec" - cellpath: "#fefbec" - row_index: "#60ac39" - record: "#fefbec" - list: "#fefbec" - block: "#fefbec" - hints: "#7d7a68" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b854d4" - shape_bool: "#1fad83" - shape_int: "#b854d4" - shape_float: "#b854d4" - shape_range: "#ae9513" - shape_internalcall: "#1fad83" - shape_external: "#1fad83" - shape_externalarg: "#60ac39" - shape_literal: "#6684e1" - shape_operator: "#ae9513" - shape_signature: "#60ac39" - shape_string: "#60ac39" - shape_string_interpolation: "#1fad83" - shape_datetime: "#1fad83" - shape_list: "#1fad83" - shape_table: "#6684e1" - shape_record: "#1fad83" - shape_block: "#6684e1" - shape_filepath: "#1fad83" - shape_globpattern: "#1fad83" - shape_variable: "#b854d4" - shape_flag: "#6684e1" - shape_custom: "#60ac39" - shape_nothing: "#1fad83" +export def main [] { return { + separator: "#a6a28c" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#60ac39" attr: "b" } + empty: "#6684e1" + bool: {|| if $in { "#1fad83" } else { "light_gray" } } + int: "#a6a28c" + filesize: {|e| + if $e == 0b { + "#a6a28c" + } else if $e < 1mb { + "#1fad83" + } else {{ fg: "#6684e1" }} } -} + duration: "#a6a28c" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d73737" attr: "b" } + } else if $in < 6hr { + "#d73737" + } else if $in < 1day { + "#ae9513" + } else if $in < 3day { + "#60ac39" + } else if $in < 1wk { + { fg: "#60ac39" attr: "b" } + } else if $in < 6wk { + "#1fad83" + } else if $in < 52wk { + "#6684e1" + } else { "dark_gray" } + } + range: "#a6a28c" + float: "#a6a28c" + string: "#a6a28c" + nothing: "#a6a28c" + binary: "#a6a28c" + cellpath: "#a6a28c" + row_index: { fg: "#60ac39" attr: "b" } + record: "#a6a28c" + list: "#a6a28c" + block: "#a6a28c" + hints: "dark_gray" + + shape_and: { fg: "#b854d4" attr: "b" } + shape_binary: { fg: "#b854d4" attr: "b" } + shape_block: { fg: "#6684e1" attr: "b" } + shape_bool: "#1fad83" + shape_custom: "#60ac39" + shape_datetime: { fg: "#1fad83" attr: "b" } + shape_directory: "#1fad83" + shape_external: "#1fad83" + shape_externalarg: { fg: "#60ac39" attr: "b" } + shape_filepath: "#1fad83" + shape_flag: { fg: "#6684e1" attr: "b" } + shape_float: { fg: "#b854d4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1fad83" attr: "b" } + shape_int: { fg: "#b854d4" attr: "b" } + shape_internalcall: { fg: "#1fad83" attr: "b" } + shape_list: { fg: "#1fad83" attr: "b" } + shape_literal: "#6684e1" + shape_match_pattern: "#60ac39" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1fad83" + shape_operator: "#ae9513" + shape_or: { fg: "#b854d4" attr: "b" } + shape_pipe: { fg: "#b854d4" attr: "b" } + shape_range: { fg: "#ae9513" attr: "b" } + shape_record: { fg: "#1fad83" attr: "b" } + shape_redirection: { fg: "#b854d4" attr: "b" } + shape_signature: { fg: "#60ac39" attr: "b" } + shape_string: "#60ac39" + shape_string_interpolation: { fg: "#1fad83" attr: "b" } + shape_table: { fg: "#6684e1" attr: "b" } + shape_variable: "#b854d4" + + background: "#20201d" + foreground: "#a6a28c" + cursor: "#a6a28c" +}} \ No newline at end of file diff --git a/themes/themes/atelier-estuary-light.nu b/themes/themes/atelier-estuary-light.nu index ff04a58..2430e99 100644 --- a/themes/themes/atelier-estuary-light.nu +++ b/themes/themes/atelier-estuary-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_estuary-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f4f3ec" - # foreground: "#5f5e4e" - # cursor: "#5f5e4e" - - { - # color for nushell primitives - separator: "#22221b" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7d9726" - empty: "#36a166" - bool: "#22221b" - int: "#22221b" - filesize: "#22221b" - duration: "#22221b" - date: "#22221b" - range: "#22221b" - float: "#22221b" - string: "#22221b" - nothing: "#22221b" - binary: "#22221b" - cellpath: "#22221b" - row_index: "#7d9726" - record: "#22221b" - list: "#22221b" - block: "#22221b" - hints: "#878573" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#5f9182" - shape_bool: "#5b9d48" - shape_int: "#5f9182" - shape_float: "#5f9182" - shape_range: "#a5980d" - shape_internalcall: "#5b9d48" - shape_external: "#5b9d48" - shape_externalarg: "#7d9726" - shape_literal: "#36a166" - shape_operator: "#a5980d" - shape_signature: "#7d9726" - shape_string: "#7d9726" - shape_string_interpolation: "#5b9d48" - shape_datetime: "#5b9d48" - shape_list: "#5b9d48" - shape_table: "#36a166" - shape_record: "#5b9d48" - shape_block: "#36a166" - shape_filepath: "#5b9d48" - shape_globpattern: "#5b9d48" - shape_variable: "#5f9182" - shape_flag: "#36a166" - shape_custom: "#7d9726" - shape_nothing: "#5b9d48" +export def main [] { return { + separator: "#5f5e4e" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7d9726" attr: "b" } + empty: "#36a166" + bool: {|| if $in { "#5b9d48" } else { "light_gray" } } + int: "#5f5e4e" + filesize: {|e| + if $e == 0b { + "#5f5e4e" + } else if $e < 1mb { + "#5b9d48" + } else {{ fg: "#36a166" }} } -} + duration: "#5f5e4e" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ba6236" attr: "b" } + } else if $in < 6hr { + "#ba6236" + } else if $in < 1day { + "#a5980d" + } else if $in < 3day { + "#7d9726" + } else if $in < 1wk { + { fg: "#7d9726" attr: "b" } + } else if $in < 6wk { + "#5b9d48" + } else if $in < 52wk { + "#36a166" + } else { "dark_gray" } + } + range: "#5f5e4e" + float: "#5f5e4e" + string: "#5f5e4e" + nothing: "#5f5e4e" + binary: "#5f5e4e" + cellpath: "#5f5e4e" + row_index: { fg: "#7d9726" attr: "b" } + record: "#5f5e4e" + list: "#5f5e4e" + block: "#5f5e4e" + hints: "dark_gray" + + shape_and: { fg: "#5f9182" attr: "b" } + shape_binary: { fg: "#5f9182" attr: "b" } + shape_block: { fg: "#36a166" attr: "b" } + shape_bool: "#5b9d48" + shape_custom: "#7d9726" + shape_datetime: { fg: "#5b9d48" attr: "b" } + shape_directory: "#5b9d48" + shape_external: "#5b9d48" + shape_externalarg: { fg: "#7d9726" attr: "b" } + shape_filepath: "#5b9d48" + shape_flag: { fg: "#36a166" attr: "b" } + shape_float: { fg: "#5f9182" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5b9d48" attr: "b" } + shape_int: { fg: "#5f9182" attr: "b" } + shape_internalcall: { fg: "#5b9d48" attr: "b" } + shape_list: { fg: "#5b9d48" attr: "b" } + shape_literal: "#36a166" + shape_match_pattern: "#7d9726" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5b9d48" + shape_operator: "#a5980d" + shape_or: { fg: "#5f9182" attr: "b" } + shape_pipe: { fg: "#5f9182" attr: "b" } + shape_range: { fg: "#a5980d" attr: "b" } + shape_record: { fg: "#5b9d48" attr: "b" } + shape_redirection: { fg: "#5f9182" attr: "b" } + shape_signature: { fg: "#7d9726" attr: "b" } + shape_string: "#7d9726" + shape_string_interpolation: { fg: "#5b9d48" attr: "b" } + shape_table: { fg: "#36a166" attr: "b" } + shape_variable: "#5f9182" + + background: "#f4f3ec" + foreground: "#5f5e4e" + cursor: "#5f5e4e" +}} \ No newline at end of file diff --git a/themes/themes/atelier-estuary.nu b/themes/themes/atelier-estuary.nu index d13a0fd..7a66296 100644 --- a/themes/themes/atelier-estuary.nu +++ b/themes/themes/atelier-estuary.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_estuary theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#22221b" - # foreground: "#929181" - # cursor: "#929181" - - { - # color for nushell primitives - separator: "#f4f3ec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7d9726" - empty: "#36a166" - bool: "#f4f3ec" - int: "#f4f3ec" - filesize: "#f4f3ec" - duration: "#f4f3ec" - date: "#f4f3ec" - range: "#f4f3ec" - float: "#f4f3ec" - string: "#f4f3ec" - nothing: "#f4f3ec" - binary: "#f4f3ec" - cellpath: "#f4f3ec" - row_index: "#7d9726" - record: "#f4f3ec" - list: "#f4f3ec" - block: "#f4f3ec" - hints: "#6c6b5a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#5f9182" - shape_bool: "#5b9d48" - shape_int: "#5f9182" - shape_float: "#5f9182" - shape_range: "#a5980d" - shape_internalcall: "#5b9d48" - shape_external: "#5b9d48" - shape_externalarg: "#7d9726" - shape_literal: "#36a166" - shape_operator: "#a5980d" - shape_signature: "#7d9726" - shape_string: "#7d9726" - shape_string_interpolation: "#5b9d48" - shape_datetime: "#5b9d48" - shape_list: "#5b9d48" - shape_table: "#36a166" - shape_record: "#5b9d48" - shape_block: "#36a166" - shape_filepath: "#5b9d48" - shape_globpattern: "#5b9d48" - shape_variable: "#5f9182" - shape_flag: "#36a166" - shape_custom: "#7d9726" - shape_nothing: "#5b9d48" +export def main [] { return { + separator: "#929181" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7d9726" attr: "b" } + empty: "#36a166" + bool: {|| if $in { "#5b9d48" } else { "light_gray" } } + int: "#929181" + filesize: {|e| + if $e == 0b { + "#929181" + } else if $e < 1mb { + "#5b9d48" + } else {{ fg: "#36a166" }} } -} + duration: "#929181" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ba6236" attr: "b" } + } else if $in < 6hr { + "#ba6236" + } else if $in < 1day { + "#a5980d" + } else if $in < 3day { + "#7d9726" + } else if $in < 1wk { + { fg: "#7d9726" attr: "b" } + } else if $in < 6wk { + "#5b9d48" + } else if $in < 52wk { + "#36a166" + } else { "dark_gray" } + } + range: "#929181" + float: "#929181" + string: "#929181" + nothing: "#929181" + binary: "#929181" + cellpath: "#929181" + row_index: { fg: "#7d9726" attr: "b" } + record: "#929181" + list: "#929181" + block: "#929181" + hints: "dark_gray" + + shape_and: { fg: "#5f9182" attr: "b" } + shape_binary: { fg: "#5f9182" attr: "b" } + shape_block: { fg: "#36a166" attr: "b" } + shape_bool: "#5b9d48" + shape_custom: "#7d9726" + shape_datetime: { fg: "#5b9d48" attr: "b" } + shape_directory: "#5b9d48" + shape_external: "#5b9d48" + shape_externalarg: { fg: "#7d9726" attr: "b" } + shape_filepath: "#5b9d48" + shape_flag: { fg: "#36a166" attr: "b" } + shape_float: { fg: "#5f9182" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5b9d48" attr: "b" } + shape_int: { fg: "#5f9182" attr: "b" } + shape_internalcall: { fg: "#5b9d48" attr: "b" } + shape_list: { fg: "#5b9d48" attr: "b" } + shape_literal: "#36a166" + shape_match_pattern: "#7d9726" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5b9d48" + shape_operator: "#a5980d" + shape_or: { fg: "#5f9182" attr: "b" } + shape_pipe: { fg: "#5f9182" attr: "b" } + shape_range: { fg: "#a5980d" attr: "b" } + shape_record: { fg: "#5b9d48" attr: "b" } + shape_redirection: { fg: "#5f9182" attr: "b" } + shape_signature: { fg: "#7d9726" attr: "b" } + shape_string: "#7d9726" + shape_string_interpolation: { fg: "#5b9d48" attr: "b" } + shape_table: { fg: "#36a166" attr: "b" } + shape_variable: "#5f9182" + + background: "#22221b" + foreground: "#929181" + cursor: "#929181" +}} \ No newline at end of file diff --git a/themes/themes/atelier-forest-light.nu b/themes/themes/atelier-forest-light.nu index 67c45fe..8f17d5a 100644 --- a/themes/themes/atelier-forest-light.nu +++ b/themes/themes/atelier-forest-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_forest-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f1efee" - # foreground: "#68615e" - # cursor: "#68615e" - - { - # color for nushell primitives - separator: "#1b1918" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7b9726" - empty: "#407ee7" - bool: "#1b1918" - int: "#1b1918" - filesize: "#1b1918" - duration: "#1b1918" - date: "#1b1918" - range: "#1b1918" - float: "#1b1918" - string: "#1b1918" - nothing: "#1b1918" - binary: "#1b1918" - cellpath: "#1b1918" - row_index: "#7b9726" - record: "#1b1918" - list: "#1b1918" - block: "#1b1918" - hints: "#9c9491" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6666ea" - shape_bool: "#3d97b8" - shape_int: "#6666ea" - shape_float: "#6666ea" - shape_range: "#c38418" - shape_internalcall: "#3d97b8" - shape_external: "#3d97b8" - shape_externalarg: "#7b9726" - shape_literal: "#407ee7" - shape_operator: "#c38418" - shape_signature: "#7b9726" - shape_string: "#7b9726" - shape_string_interpolation: "#3d97b8" - shape_datetime: "#3d97b8" - shape_list: "#3d97b8" - shape_table: "#407ee7" - shape_record: "#3d97b8" - shape_block: "#407ee7" - shape_filepath: "#3d97b8" - shape_globpattern: "#3d97b8" - shape_variable: "#6666ea" - shape_flag: "#407ee7" - shape_custom: "#7b9726" - shape_nothing: "#3d97b8" +export def main [] { return { + separator: "#68615e" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7b9726" attr: "b" } + empty: "#407ee7" + bool: {|| if $in { "#3d97b8" } else { "light_gray" } } + int: "#68615e" + filesize: {|e| + if $e == 0b { + "#68615e" + } else if $e < 1mb { + "#3d97b8" + } else {{ fg: "#407ee7" }} } -} + duration: "#68615e" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f22c40" attr: "b" } + } else if $in < 6hr { + "#f22c40" + } else if $in < 1day { + "#c38418" + } else if $in < 3day { + "#7b9726" + } else if $in < 1wk { + { fg: "#7b9726" attr: "b" } + } else if $in < 6wk { + "#3d97b8" + } else if $in < 52wk { + "#407ee7" + } else { "dark_gray" } + } + range: "#68615e" + float: "#68615e" + string: "#68615e" + nothing: "#68615e" + binary: "#68615e" + cellpath: "#68615e" + row_index: { fg: "#7b9726" attr: "b" } + record: "#68615e" + list: "#68615e" + block: "#68615e" + hints: "dark_gray" + + shape_and: { fg: "#6666ea" attr: "b" } + shape_binary: { fg: "#6666ea" attr: "b" } + shape_block: { fg: "#407ee7" attr: "b" } + shape_bool: "#3d97b8" + shape_custom: "#7b9726" + shape_datetime: { fg: "#3d97b8" attr: "b" } + shape_directory: "#3d97b8" + shape_external: "#3d97b8" + shape_externalarg: { fg: "#7b9726" attr: "b" } + shape_filepath: "#3d97b8" + shape_flag: { fg: "#407ee7" attr: "b" } + shape_float: { fg: "#6666ea" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3d97b8" attr: "b" } + shape_int: { fg: "#6666ea" attr: "b" } + shape_internalcall: { fg: "#3d97b8" attr: "b" } + shape_list: { fg: "#3d97b8" attr: "b" } + shape_literal: "#407ee7" + shape_match_pattern: "#7b9726" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3d97b8" + shape_operator: "#c38418" + shape_or: { fg: "#6666ea" attr: "b" } + shape_pipe: { fg: "#6666ea" attr: "b" } + shape_range: { fg: "#c38418" attr: "b" } + shape_record: { fg: "#3d97b8" attr: "b" } + shape_redirection: { fg: "#6666ea" attr: "b" } + shape_signature: { fg: "#7b9726" attr: "b" } + shape_string: "#7b9726" + shape_string_interpolation: { fg: "#3d97b8" attr: "b" } + shape_table: { fg: "#407ee7" attr: "b" } + shape_variable: "#6666ea" + + background: "#f1efee" + foreground: "#68615e" + cursor: "#68615e" +}} \ No newline at end of file diff --git a/themes/themes/atelier-forest.nu b/themes/themes/atelier-forest.nu index 8b23803..b05afb6 100644 --- a/themes/themes/atelier-forest.nu +++ b/themes/themes/atelier-forest.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_forest theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1b1918" - # foreground: "#a8a19f" - # cursor: "#a8a19f" - - { - # color for nushell primitives - separator: "#f1efee" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7b9726" - empty: "#407ee7" - bool: "#f1efee" - int: "#f1efee" - filesize: "#f1efee" - duration: "#f1efee" - date: "#f1efee" - range: "#f1efee" - float: "#f1efee" - string: "#f1efee" - nothing: "#f1efee" - binary: "#f1efee" - cellpath: "#f1efee" - row_index: "#7b9726" - record: "#f1efee" - list: "#f1efee" - block: "#f1efee" - hints: "#766e6b" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6666ea" - shape_bool: "#3d97b8" - shape_int: "#6666ea" - shape_float: "#6666ea" - shape_range: "#c38418" - shape_internalcall: "#3d97b8" - shape_external: "#3d97b8" - shape_externalarg: "#7b9726" - shape_literal: "#407ee7" - shape_operator: "#c38418" - shape_signature: "#7b9726" - shape_string: "#7b9726" - shape_string_interpolation: "#3d97b8" - shape_datetime: "#3d97b8" - shape_list: "#3d97b8" - shape_table: "#407ee7" - shape_record: "#3d97b8" - shape_block: "#407ee7" - shape_filepath: "#3d97b8" - shape_globpattern: "#3d97b8" - shape_variable: "#6666ea" - shape_flag: "#407ee7" - shape_custom: "#7b9726" - shape_nothing: "#3d97b8" +export def main [] { return { + separator: "#a8a19f" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7b9726" attr: "b" } + empty: "#407ee7" + bool: {|| if $in { "#3d97b8" } else { "light_gray" } } + int: "#a8a19f" + filesize: {|e| + if $e == 0b { + "#a8a19f" + } else if $e < 1mb { + "#3d97b8" + } else {{ fg: "#407ee7" }} } -} + duration: "#a8a19f" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f22c40" attr: "b" } + } else if $in < 6hr { + "#f22c40" + } else if $in < 1day { + "#c38418" + } else if $in < 3day { + "#7b9726" + } else if $in < 1wk { + { fg: "#7b9726" attr: "b" } + } else if $in < 6wk { + "#3d97b8" + } else if $in < 52wk { + "#407ee7" + } else { "dark_gray" } + } + range: "#a8a19f" + float: "#a8a19f" + string: "#a8a19f" + nothing: "#a8a19f" + binary: "#a8a19f" + cellpath: "#a8a19f" + row_index: { fg: "#7b9726" attr: "b" } + record: "#a8a19f" + list: "#a8a19f" + block: "#a8a19f" + hints: "dark_gray" + + shape_and: { fg: "#6666ea" attr: "b" } + shape_binary: { fg: "#6666ea" attr: "b" } + shape_block: { fg: "#407ee7" attr: "b" } + shape_bool: "#3d97b8" + shape_custom: "#7b9726" + shape_datetime: { fg: "#3d97b8" attr: "b" } + shape_directory: "#3d97b8" + shape_external: "#3d97b8" + shape_externalarg: { fg: "#7b9726" attr: "b" } + shape_filepath: "#3d97b8" + shape_flag: { fg: "#407ee7" attr: "b" } + shape_float: { fg: "#6666ea" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3d97b8" attr: "b" } + shape_int: { fg: "#6666ea" attr: "b" } + shape_internalcall: { fg: "#3d97b8" attr: "b" } + shape_list: { fg: "#3d97b8" attr: "b" } + shape_literal: "#407ee7" + shape_match_pattern: "#7b9726" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3d97b8" + shape_operator: "#c38418" + shape_or: { fg: "#6666ea" attr: "b" } + shape_pipe: { fg: "#6666ea" attr: "b" } + shape_range: { fg: "#c38418" attr: "b" } + shape_record: { fg: "#3d97b8" attr: "b" } + shape_redirection: { fg: "#6666ea" attr: "b" } + shape_signature: { fg: "#7b9726" attr: "b" } + shape_string: "#7b9726" + shape_string_interpolation: { fg: "#3d97b8" attr: "b" } + shape_table: { fg: "#407ee7" attr: "b" } + shape_variable: "#6666ea" + + background: "#1b1918" + foreground: "#a8a19f" + cursor: "#a8a19f" +}} \ No newline at end of file diff --git a/themes/themes/atelier-heath-light.nu b/themes/themes/atelier-heath-light.nu index e95625f..8e86be2 100644 --- a/themes/themes/atelier-heath-light.nu +++ b/themes/themes/atelier-heath-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_heath-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f7f3f7" - # foreground: "#695d69" - # cursor: "#695d69" - - { - # color for nushell primitives - separator: "#1b181b" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#918b3b" - empty: "#516aec" - bool: "#1b181b" - int: "#1b181b" - filesize: "#1b181b" - duration: "#1b181b" - date: "#1b181b" - range: "#1b181b" - float: "#1b181b" - string: "#1b181b" - nothing: "#1b181b" - binary: "#1b181b" - cellpath: "#1b181b" - row_index: "#918b3b" - record: "#1b181b" - list: "#1b181b" - block: "#1b181b" - hints: "#9e8f9e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#7b59c0" - shape_bool: "#159393" - shape_int: "#7b59c0" - shape_float: "#7b59c0" - shape_range: "#bb8a35" - shape_internalcall: "#159393" - shape_external: "#159393" - shape_externalarg: "#918b3b" - shape_literal: "#516aec" - shape_operator: "#bb8a35" - shape_signature: "#918b3b" - shape_string: "#918b3b" - shape_string_interpolation: "#159393" - shape_datetime: "#159393" - shape_list: "#159393" - shape_table: "#516aec" - shape_record: "#159393" - shape_block: "#516aec" - shape_filepath: "#159393" - shape_globpattern: "#159393" - shape_variable: "#7b59c0" - shape_flag: "#516aec" - shape_custom: "#918b3b" - shape_nothing: "#159393" +export def main [] { return { + separator: "#695d69" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#918b3b" attr: "b" } + empty: "#516aec" + bool: {|| if $in { "#159393" } else { "light_gray" } } + int: "#695d69" + filesize: {|e| + if $e == 0b { + "#695d69" + } else if $e < 1mb { + "#159393" + } else {{ fg: "#516aec" }} } -} + duration: "#695d69" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ca402b" attr: "b" } + } else if $in < 6hr { + "#ca402b" + } else if $in < 1day { + "#bb8a35" + } else if $in < 3day { + "#918b3b" + } else if $in < 1wk { + { fg: "#918b3b" attr: "b" } + } else if $in < 6wk { + "#159393" + } else if $in < 52wk { + "#516aec" + } else { "dark_gray" } + } + range: "#695d69" + float: "#695d69" + string: "#695d69" + nothing: "#695d69" + binary: "#695d69" + cellpath: "#695d69" + row_index: { fg: "#918b3b" attr: "b" } + record: "#695d69" + list: "#695d69" + block: "#695d69" + hints: "dark_gray" + + shape_and: { fg: "#7b59c0" attr: "b" } + shape_binary: { fg: "#7b59c0" attr: "b" } + shape_block: { fg: "#516aec" attr: "b" } + shape_bool: "#159393" + shape_custom: "#918b3b" + shape_datetime: { fg: "#159393" attr: "b" } + shape_directory: "#159393" + shape_external: "#159393" + shape_externalarg: { fg: "#918b3b" attr: "b" } + shape_filepath: "#159393" + shape_flag: { fg: "#516aec" attr: "b" } + shape_float: { fg: "#7b59c0" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#159393" attr: "b" } + shape_int: { fg: "#7b59c0" attr: "b" } + shape_internalcall: { fg: "#159393" attr: "b" } + shape_list: { fg: "#159393" attr: "b" } + shape_literal: "#516aec" + shape_match_pattern: "#918b3b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#159393" + shape_operator: "#bb8a35" + shape_or: { fg: "#7b59c0" attr: "b" } + shape_pipe: { fg: "#7b59c0" attr: "b" } + shape_range: { fg: "#bb8a35" attr: "b" } + shape_record: { fg: "#159393" attr: "b" } + shape_redirection: { fg: "#7b59c0" attr: "b" } + shape_signature: { fg: "#918b3b" attr: "b" } + shape_string: "#918b3b" + shape_string_interpolation: { fg: "#159393" attr: "b" } + shape_table: { fg: "#516aec" attr: "b" } + shape_variable: "#7b59c0" + + background: "#f7f3f7" + foreground: "#695d69" + cursor: "#695d69" +}} \ No newline at end of file diff --git a/themes/themes/atelier-heath.nu b/themes/themes/atelier-heath.nu index e0e3364..b7a1ce1 100644 --- a/themes/themes/atelier-heath.nu +++ b/themes/themes/atelier-heath.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_heath theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1b181b" - # foreground: "#ab9bab" - # cursor: "#ab9bab" - - { - # color for nushell primitives - separator: "#f7f3f7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#918b3b" - empty: "#516aec" - bool: "#f7f3f7" - int: "#f7f3f7" - filesize: "#f7f3f7" - duration: "#f7f3f7" - date: "#f7f3f7" - range: "#f7f3f7" - float: "#f7f3f7" - string: "#f7f3f7" - nothing: "#f7f3f7" - binary: "#f7f3f7" - cellpath: "#f7f3f7" - row_index: "#918b3b" - record: "#f7f3f7" - list: "#f7f3f7" - block: "#f7f3f7" - hints: "#776977" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#7b59c0" - shape_bool: "#159393" - shape_int: "#7b59c0" - shape_float: "#7b59c0" - shape_range: "#bb8a35" - shape_internalcall: "#159393" - shape_external: "#159393" - shape_externalarg: "#918b3b" - shape_literal: "#516aec" - shape_operator: "#bb8a35" - shape_signature: "#918b3b" - shape_string: "#918b3b" - shape_string_interpolation: "#159393" - shape_datetime: "#159393" - shape_list: "#159393" - shape_table: "#516aec" - shape_record: "#159393" - shape_block: "#516aec" - shape_filepath: "#159393" - shape_globpattern: "#159393" - shape_variable: "#7b59c0" - shape_flag: "#516aec" - shape_custom: "#918b3b" - shape_nothing: "#159393" +export def main [] { return { + separator: "#ab9bab" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#918b3b" attr: "b" } + empty: "#516aec" + bool: {|| if $in { "#159393" } else { "light_gray" } } + int: "#ab9bab" + filesize: {|e| + if $e == 0b { + "#ab9bab" + } else if $e < 1mb { + "#159393" + } else {{ fg: "#516aec" }} } -} + duration: "#ab9bab" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ca402b" attr: "b" } + } else if $in < 6hr { + "#ca402b" + } else if $in < 1day { + "#bb8a35" + } else if $in < 3day { + "#918b3b" + } else if $in < 1wk { + { fg: "#918b3b" attr: "b" } + } else if $in < 6wk { + "#159393" + } else if $in < 52wk { + "#516aec" + } else { "dark_gray" } + } + range: "#ab9bab" + float: "#ab9bab" + string: "#ab9bab" + nothing: "#ab9bab" + binary: "#ab9bab" + cellpath: "#ab9bab" + row_index: { fg: "#918b3b" attr: "b" } + record: "#ab9bab" + list: "#ab9bab" + block: "#ab9bab" + hints: "dark_gray" + + shape_and: { fg: "#7b59c0" attr: "b" } + shape_binary: { fg: "#7b59c0" attr: "b" } + shape_block: { fg: "#516aec" attr: "b" } + shape_bool: "#159393" + shape_custom: "#918b3b" + shape_datetime: { fg: "#159393" attr: "b" } + shape_directory: "#159393" + shape_external: "#159393" + shape_externalarg: { fg: "#918b3b" attr: "b" } + shape_filepath: "#159393" + shape_flag: { fg: "#516aec" attr: "b" } + shape_float: { fg: "#7b59c0" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#159393" attr: "b" } + shape_int: { fg: "#7b59c0" attr: "b" } + shape_internalcall: { fg: "#159393" attr: "b" } + shape_list: { fg: "#159393" attr: "b" } + shape_literal: "#516aec" + shape_match_pattern: "#918b3b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#159393" + shape_operator: "#bb8a35" + shape_or: { fg: "#7b59c0" attr: "b" } + shape_pipe: { fg: "#7b59c0" attr: "b" } + shape_range: { fg: "#bb8a35" attr: "b" } + shape_record: { fg: "#159393" attr: "b" } + shape_redirection: { fg: "#7b59c0" attr: "b" } + shape_signature: { fg: "#918b3b" attr: "b" } + shape_string: "#918b3b" + shape_string_interpolation: { fg: "#159393" attr: "b" } + shape_table: { fg: "#516aec" attr: "b" } + shape_variable: "#7b59c0" + + background: "#1b181b" + foreground: "#ab9bab" + cursor: "#ab9bab" +}} \ No newline at end of file diff --git a/themes/themes/atelier-lakeside-light.nu b/themes/themes/atelier-lakeside-light.nu index ae3ed90..f96ed29 100644 --- a/themes/themes/atelier-lakeside-light.nu +++ b/themes/themes/atelier-lakeside-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_lakeside-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ebf8ff" - # foreground: "#516d7b" - # cursor: "#516d7b" - - { - # color for nushell primitives - separator: "#161b1d" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#568c3b" - empty: "#257fad" - bool: "#161b1d" - int: "#161b1d" - filesize: "#161b1d" - duration: "#161b1d" - date: "#161b1d" - range: "#161b1d" - float: "#161b1d" - string: "#161b1d" - nothing: "#161b1d" - binary: "#161b1d" - cellpath: "#161b1d" - row_index: "#568c3b" - record: "#161b1d" - list: "#161b1d" - block: "#161b1d" - hints: "#7195a8" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6b6bb8" - shape_bool: "#2d8f6f" - shape_int: "#6b6bb8" - shape_float: "#6b6bb8" - shape_range: "#8a8a0f" - shape_internalcall: "#2d8f6f" - shape_external: "#2d8f6f" - shape_externalarg: "#568c3b" - shape_literal: "#257fad" - shape_operator: "#8a8a0f" - shape_signature: "#568c3b" - shape_string: "#568c3b" - shape_string_interpolation: "#2d8f6f" - shape_datetime: "#2d8f6f" - shape_list: "#2d8f6f" - shape_table: "#257fad" - shape_record: "#2d8f6f" - shape_block: "#257fad" - shape_filepath: "#2d8f6f" - shape_globpattern: "#2d8f6f" - shape_variable: "#6b6bb8" - shape_flag: "#257fad" - shape_custom: "#568c3b" - shape_nothing: "#2d8f6f" +export def main [] { return { + separator: "#516d7b" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#568c3b" attr: "b" } + empty: "#257fad" + bool: {|| if $in { "#2d8f6f" } else { "light_gray" } } + int: "#516d7b" + filesize: {|e| + if $e == 0b { + "#516d7b" + } else if $e < 1mb { + "#2d8f6f" + } else {{ fg: "#257fad" }} } -} + duration: "#516d7b" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d22d72" attr: "b" } + } else if $in < 6hr { + "#d22d72" + } else if $in < 1day { + "#8a8a0f" + } else if $in < 3day { + "#568c3b" + } else if $in < 1wk { + { fg: "#568c3b" attr: "b" } + } else if $in < 6wk { + "#2d8f6f" + } else if $in < 52wk { + "#257fad" + } else { "dark_gray" } + } + range: "#516d7b" + float: "#516d7b" + string: "#516d7b" + nothing: "#516d7b" + binary: "#516d7b" + cellpath: "#516d7b" + row_index: { fg: "#568c3b" attr: "b" } + record: "#516d7b" + list: "#516d7b" + block: "#516d7b" + hints: "dark_gray" + + shape_and: { fg: "#6b6bb8" attr: "b" } + shape_binary: { fg: "#6b6bb8" attr: "b" } + shape_block: { fg: "#257fad" attr: "b" } + shape_bool: "#2d8f6f" + shape_custom: "#568c3b" + shape_datetime: { fg: "#2d8f6f" attr: "b" } + shape_directory: "#2d8f6f" + shape_external: "#2d8f6f" + shape_externalarg: { fg: "#568c3b" attr: "b" } + shape_filepath: "#2d8f6f" + shape_flag: { fg: "#257fad" attr: "b" } + shape_float: { fg: "#6b6bb8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2d8f6f" attr: "b" } + shape_int: { fg: "#6b6bb8" attr: "b" } + shape_internalcall: { fg: "#2d8f6f" attr: "b" } + shape_list: { fg: "#2d8f6f" attr: "b" } + shape_literal: "#257fad" + shape_match_pattern: "#568c3b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2d8f6f" + shape_operator: "#8a8a0f" + shape_or: { fg: "#6b6bb8" attr: "b" } + shape_pipe: { fg: "#6b6bb8" attr: "b" } + shape_range: { fg: "#8a8a0f" attr: "b" } + shape_record: { fg: "#2d8f6f" attr: "b" } + shape_redirection: { fg: "#6b6bb8" attr: "b" } + shape_signature: { fg: "#568c3b" attr: "b" } + shape_string: "#568c3b" + shape_string_interpolation: { fg: "#2d8f6f" attr: "b" } + shape_table: { fg: "#257fad" attr: "b" } + shape_variable: "#6b6bb8" + + background: "#ebf8ff" + foreground: "#516d7b" + cursor: "#516d7b" +}} \ No newline at end of file diff --git a/themes/themes/atelier-lakeside.nu b/themes/themes/atelier-lakeside.nu index 73a5b59..98d37d3 100644 --- a/themes/themes/atelier-lakeside.nu +++ b/themes/themes/atelier-lakeside.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_lakeside theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#161b1d" - # foreground: "#7ea2b4" - # cursor: "#7ea2b4" - - { - # color for nushell primitives - separator: "#ebf8ff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#568c3b" - empty: "#257fad" - bool: "#ebf8ff" - int: "#ebf8ff" - filesize: "#ebf8ff" - duration: "#ebf8ff" - date: "#ebf8ff" - range: "#ebf8ff" - float: "#ebf8ff" - string: "#ebf8ff" - nothing: "#ebf8ff" - binary: "#ebf8ff" - cellpath: "#ebf8ff" - row_index: "#568c3b" - record: "#ebf8ff" - list: "#ebf8ff" - block: "#ebf8ff" - hints: "#5a7b8c" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6b6bb8" - shape_bool: "#2d8f6f" - shape_int: "#6b6bb8" - shape_float: "#6b6bb8" - shape_range: "#8a8a0f" - shape_internalcall: "#2d8f6f" - shape_external: "#2d8f6f" - shape_externalarg: "#568c3b" - shape_literal: "#257fad" - shape_operator: "#8a8a0f" - shape_signature: "#568c3b" - shape_string: "#568c3b" - shape_string_interpolation: "#2d8f6f" - shape_datetime: "#2d8f6f" - shape_list: "#2d8f6f" - shape_table: "#257fad" - shape_record: "#2d8f6f" - shape_block: "#257fad" - shape_filepath: "#2d8f6f" - shape_globpattern: "#2d8f6f" - shape_variable: "#6b6bb8" - shape_flag: "#257fad" - shape_custom: "#568c3b" - shape_nothing: "#2d8f6f" +export def main [] { return { + separator: "#7ea2b4" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#568c3b" attr: "b" } + empty: "#257fad" + bool: {|| if $in { "#2d8f6f" } else { "light_gray" } } + int: "#7ea2b4" + filesize: {|e| + if $e == 0b { + "#7ea2b4" + } else if $e < 1mb { + "#2d8f6f" + } else {{ fg: "#257fad" }} } -} + duration: "#7ea2b4" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d22d72" attr: "b" } + } else if $in < 6hr { + "#d22d72" + } else if $in < 1day { + "#8a8a0f" + } else if $in < 3day { + "#568c3b" + } else if $in < 1wk { + { fg: "#568c3b" attr: "b" } + } else if $in < 6wk { + "#2d8f6f" + } else if $in < 52wk { + "#257fad" + } else { "dark_gray" } + } + range: "#7ea2b4" + float: "#7ea2b4" + string: "#7ea2b4" + nothing: "#7ea2b4" + binary: "#7ea2b4" + cellpath: "#7ea2b4" + row_index: { fg: "#568c3b" attr: "b" } + record: "#7ea2b4" + list: "#7ea2b4" + block: "#7ea2b4" + hints: "dark_gray" + + shape_and: { fg: "#6b6bb8" attr: "b" } + shape_binary: { fg: "#6b6bb8" attr: "b" } + shape_block: { fg: "#257fad" attr: "b" } + shape_bool: "#2d8f6f" + shape_custom: "#568c3b" + shape_datetime: { fg: "#2d8f6f" attr: "b" } + shape_directory: "#2d8f6f" + shape_external: "#2d8f6f" + shape_externalarg: { fg: "#568c3b" attr: "b" } + shape_filepath: "#2d8f6f" + shape_flag: { fg: "#257fad" attr: "b" } + shape_float: { fg: "#6b6bb8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2d8f6f" attr: "b" } + shape_int: { fg: "#6b6bb8" attr: "b" } + shape_internalcall: { fg: "#2d8f6f" attr: "b" } + shape_list: { fg: "#2d8f6f" attr: "b" } + shape_literal: "#257fad" + shape_match_pattern: "#568c3b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2d8f6f" + shape_operator: "#8a8a0f" + shape_or: { fg: "#6b6bb8" attr: "b" } + shape_pipe: { fg: "#6b6bb8" attr: "b" } + shape_range: { fg: "#8a8a0f" attr: "b" } + shape_record: { fg: "#2d8f6f" attr: "b" } + shape_redirection: { fg: "#6b6bb8" attr: "b" } + shape_signature: { fg: "#568c3b" attr: "b" } + shape_string: "#568c3b" + shape_string_interpolation: { fg: "#2d8f6f" attr: "b" } + shape_table: { fg: "#257fad" attr: "b" } + shape_variable: "#6b6bb8" + + background: "#161b1d" + foreground: "#7ea2b4" + cursor: "#7ea2b4" +}} \ No newline at end of file diff --git a/themes/themes/atelier-plateau-light.nu b/themes/themes/atelier-plateau-light.nu index 282db5f..c8239a0 100644 --- a/themes/themes/atelier-plateau-light.nu +++ b/themes/themes/atelier-plateau-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_plateau-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f4ecec" - # foreground: "#585050" - # cursor: "#585050" - - { - # color for nushell primitives - separator: "#1b1818" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#4b8b8b" - empty: "#7272ca" - bool: "#1b1818" - int: "#1b1818" - filesize: "#1b1818" - duration: "#1b1818" - date: "#1b1818" - range: "#1b1818" - float: "#1b1818" - string: "#1b1818" - nothing: "#1b1818" - binary: "#1b1818" - cellpath: "#1b1818" - row_index: "#4b8b8b" - record: "#1b1818" - list: "#1b1818" - block: "#1b1818" - hints: "#7e7777" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8464c4" - shape_bool: "#5485b6" - shape_int: "#8464c4" - shape_float: "#8464c4" - shape_range: "#a06e3b" - shape_internalcall: "#5485b6" - shape_external: "#5485b6" - shape_externalarg: "#4b8b8b" - shape_literal: "#7272ca" - shape_operator: "#a06e3b" - shape_signature: "#4b8b8b" - shape_string: "#4b8b8b" - shape_string_interpolation: "#5485b6" - shape_datetime: "#5485b6" - shape_list: "#5485b6" - shape_table: "#7272ca" - shape_record: "#5485b6" - shape_block: "#7272ca" - shape_filepath: "#5485b6" - shape_globpattern: "#5485b6" - shape_variable: "#8464c4" - shape_flag: "#7272ca" - shape_custom: "#4b8b8b" - shape_nothing: "#5485b6" +export def main [] { return { + separator: "#585050" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4b8b8b" attr: "b" } + empty: "#7272ca" + bool: {|| if $in { "#5485b6" } else { "light_gray" } } + int: "#585050" + filesize: {|e| + if $e == 0b { + "#585050" + } else if $e < 1mb { + "#5485b6" + } else {{ fg: "#7272ca" }} } -} + duration: "#585050" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ca4949" attr: "b" } + } else if $in < 6hr { + "#ca4949" + } else if $in < 1day { + "#a06e3b" + } else if $in < 3day { + "#4b8b8b" + } else if $in < 1wk { + { fg: "#4b8b8b" attr: "b" } + } else if $in < 6wk { + "#5485b6" + } else if $in < 52wk { + "#7272ca" + } else { "dark_gray" } + } + range: "#585050" + float: "#585050" + string: "#585050" + nothing: "#585050" + binary: "#585050" + cellpath: "#585050" + row_index: { fg: "#4b8b8b" attr: "b" } + record: "#585050" + list: "#585050" + block: "#585050" + hints: "dark_gray" + + shape_and: { fg: "#8464c4" attr: "b" } + shape_binary: { fg: "#8464c4" attr: "b" } + shape_block: { fg: "#7272ca" attr: "b" } + shape_bool: "#5485b6" + shape_custom: "#4b8b8b" + shape_datetime: { fg: "#5485b6" attr: "b" } + shape_directory: "#5485b6" + shape_external: "#5485b6" + shape_externalarg: { fg: "#4b8b8b" attr: "b" } + shape_filepath: "#5485b6" + shape_flag: { fg: "#7272ca" attr: "b" } + shape_float: { fg: "#8464c4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5485b6" attr: "b" } + shape_int: { fg: "#8464c4" attr: "b" } + shape_internalcall: { fg: "#5485b6" attr: "b" } + shape_list: { fg: "#5485b6" attr: "b" } + shape_literal: "#7272ca" + shape_match_pattern: "#4b8b8b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5485b6" + shape_operator: "#a06e3b" + shape_or: { fg: "#8464c4" attr: "b" } + shape_pipe: { fg: "#8464c4" attr: "b" } + shape_range: { fg: "#a06e3b" attr: "b" } + shape_record: { fg: "#5485b6" attr: "b" } + shape_redirection: { fg: "#8464c4" attr: "b" } + shape_signature: { fg: "#4b8b8b" attr: "b" } + shape_string: "#4b8b8b" + shape_string_interpolation: { fg: "#5485b6" attr: "b" } + shape_table: { fg: "#7272ca" attr: "b" } + shape_variable: "#8464c4" + + background: "#f4ecec" + foreground: "#585050" + cursor: "#585050" +}} \ No newline at end of file diff --git a/themes/themes/atelier-plateau.nu b/themes/themes/atelier-plateau.nu index d954e1e..38c2cef 100644 --- a/themes/themes/atelier-plateau.nu +++ b/themes/themes/atelier-plateau.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_plateau theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1b1818" - # foreground: "#8a8585" - # cursor: "#8a8585" - - { - # color for nushell primitives - separator: "#f4ecec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#4b8b8b" - empty: "#7272ca" - bool: "#f4ecec" - int: "#f4ecec" - filesize: "#f4ecec" - duration: "#f4ecec" - date: "#f4ecec" - range: "#f4ecec" - float: "#f4ecec" - string: "#f4ecec" - nothing: "#f4ecec" - binary: "#f4ecec" - cellpath: "#f4ecec" - row_index: "#4b8b8b" - record: "#f4ecec" - list: "#f4ecec" - block: "#f4ecec" - hints: "#655d5d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8464c4" - shape_bool: "#5485b6" - shape_int: "#8464c4" - shape_float: "#8464c4" - shape_range: "#a06e3b" - shape_internalcall: "#5485b6" - shape_external: "#5485b6" - shape_externalarg: "#4b8b8b" - shape_literal: "#7272ca" - shape_operator: "#a06e3b" - shape_signature: "#4b8b8b" - shape_string: "#4b8b8b" - shape_string_interpolation: "#5485b6" - shape_datetime: "#5485b6" - shape_list: "#5485b6" - shape_table: "#7272ca" - shape_record: "#5485b6" - shape_block: "#7272ca" - shape_filepath: "#5485b6" - shape_globpattern: "#5485b6" - shape_variable: "#8464c4" - shape_flag: "#7272ca" - shape_custom: "#4b8b8b" - shape_nothing: "#5485b6" +export def main [] { return { + separator: "#8a8585" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4b8b8b" attr: "b" } + empty: "#7272ca" + bool: {|| if $in { "#5485b6" } else { "light_gray" } } + int: "#8a8585" + filesize: {|e| + if $e == 0b { + "#8a8585" + } else if $e < 1mb { + "#5485b6" + } else {{ fg: "#7272ca" }} } -} + duration: "#8a8585" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ca4949" attr: "b" } + } else if $in < 6hr { + "#ca4949" + } else if $in < 1day { + "#a06e3b" + } else if $in < 3day { + "#4b8b8b" + } else if $in < 1wk { + { fg: "#4b8b8b" attr: "b" } + } else if $in < 6wk { + "#5485b6" + } else if $in < 52wk { + "#7272ca" + } else { "dark_gray" } + } + range: "#8a8585" + float: "#8a8585" + string: "#8a8585" + nothing: "#8a8585" + binary: "#8a8585" + cellpath: "#8a8585" + row_index: { fg: "#4b8b8b" attr: "b" } + record: "#8a8585" + list: "#8a8585" + block: "#8a8585" + hints: "dark_gray" + + shape_and: { fg: "#8464c4" attr: "b" } + shape_binary: { fg: "#8464c4" attr: "b" } + shape_block: { fg: "#7272ca" attr: "b" } + shape_bool: "#5485b6" + shape_custom: "#4b8b8b" + shape_datetime: { fg: "#5485b6" attr: "b" } + shape_directory: "#5485b6" + shape_external: "#5485b6" + shape_externalarg: { fg: "#4b8b8b" attr: "b" } + shape_filepath: "#5485b6" + shape_flag: { fg: "#7272ca" attr: "b" } + shape_float: { fg: "#8464c4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5485b6" attr: "b" } + shape_int: { fg: "#8464c4" attr: "b" } + shape_internalcall: { fg: "#5485b6" attr: "b" } + shape_list: { fg: "#5485b6" attr: "b" } + shape_literal: "#7272ca" + shape_match_pattern: "#4b8b8b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5485b6" + shape_operator: "#a06e3b" + shape_or: { fg: "#8464c4" attr: "b" } + shape_pipe: { fg: "#8464c4" attr: "b" } + shape_range: { fg: "#a06e3b" attr: "b" } + shape_record: { fg: "#5485b6" attr: "b" } + shape_redirection: { fg: "#8464c4" attr: "b" } + shape_signature: { fg: "#4b8b8b" attr: "b" } + shape_string: "#4b8b8b" + shape_string_interpolation: { fg: "#5485b6" attr: "b" } + shape_table: { fg: "#7272ca" attr: "b" } + shape_variable: "#8464c4" + + background: "#1b1818" + foreground: "#8a8585" + cursor: "#8a8585" +}} \ No newline at end of file diff --git a/themes/themes/atelier-savanna-light.nu b/themes/themes/atelier-savanna-light.nu index febc51f..e52b8e2 100644 --- a/themes/themes/atelier-savanna-light.nu +++ b/themes/themes/atelier-savanna-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_savanna-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ecf4ee" - # foreground: "#526057" - # cursor: "#526057" - - { - # color for nushell primitives - separator: "#171c19" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#489963" - empty: "#478c90" - bool: "#171c19" - int: "#171c19" - filesize: "#171c19" - duration: "#171c19" - date: "#171c19" - range: "#171c19" - float: "#171c19" - string: "#171c19" - nothing: "#171c19" - binary: "#171c19" - cellpath: "#171c19" - row_index: "#489963" - record: "#171c19" - list: "#171c19" - block: "#171c19" - hints: "#78877d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#55859b" - shape_bool: "#1c9aa0" - shape_int: "#55859b" - shape_float: "#55859b" - shape_range: "#a07e3b" - shape_internalcall: "#1c9aa0" - shape_external: "#1c9aa0" - shape_externalarg: "#489963" - shape_literal: "#478c90" - shape_operator: "#a07e3b" - shape_signature: "#489963" - shape_string: "#489963" - shape_string_interpolation: "#1c9aa0" - shape_datetime: "#1c9aa0" - shape_list: "#1c9aa0" - shape_table: "#478c90" - shape_record: "#1c9aa0" - shape_block: "#478c90" - shape_filepath: "#1c9aa0" - shape_globpattern: "#1c9aa0" - shape_variable: "#55859b" - shape_flag: "#478c90" - shape_custom: "#489963" - shape_nothing: "#1c9aa0" +export def main [] { return { + separator: "#526057" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#489963" attr: "b" } + empty: "#478c90" + bool: {|| if $in { "#1c9aa0" } else { "light_gray" } } + int: "#526057" + filesize: {|e| + if $e == 0b { + "#526057" + } else if $e < 1mb { + "#1c9aa0" + } else {{ fg: "#478c90" }} } -} + duration: "#526057" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b16139" attr: "b" } + } else if $in < 6hr { + "#b16139" + } else if $in < 1day { + "#a07e3b" + } else if $in < 3day { + "#489963" + } else if $in < 1wk { + { fg: "#489963" attr: "b" } + } else if $in < 6wk { + "#1c9aa0" + } else if $in < 52wk { + "#478c90" + } else { "dark_gray" } + } + range: "#526057" + float: "#526057" + string: "#526057" + nothing: "#526057" + binary: "#526057" + cellpath: "#526057" + row_index: { fg: "#489963" attr: "b" } + record: "#526057" + list: "#526057" + block: "#526057" + hints: "dark_gray" + + shape_and: { fg: "#55859b" attr: "b" } + shape_binary: { fg: "#55859b" attr: "b" } + shape_block: { fg: "#478c90" attr: "b" } + shape_bool: "#1c9aa0" + shape_custom: "#489963" + shape_datetime: { fg: "#1c9aa0" attr: "b" } + shape_directory: "#1c9aa0" + shape_external: "#1c9aa0" + shape_externalarg: { fg: "#489963" attr: "b" } + shape_filepath: "#1c9aa0" + shape_flag: { fg: "#478c90" attr: "b" } + shape_float: { fg: "#55859b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1c9aa0" attr: "b" } + shape_int: { fg: "#55859b" attr: "b" } + shape_internalcall: { fg: "#1c9aa0" attr: "b" } + shape_list: { fg: "#1c9aa0" attr: "b" } + shape_literal: "#478c90" + shape_match_pattern: "#489963" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1c9aa0" + shape_operator: "#a07e3b" + shape_or: { fg: "#55859b" attr: "b" } + shape_pipe: { fg: "#55859b" attr: "b" } + shape_range: { fg: "#a07e3b" attr: "b" } + shape_record: { fg: "#1c9aa0" attr: "b" } + shape_redirection: { fg: "#55859b" attr: "b" } + shape_signature: { fg: "#489963" attr: "b" } + shape_string: "#489963" + shape_string_interpolation: { fg: "#1c9aa0" attr: "b" } + shape_table: { fg: "#478c90" attr: "b" } + shape_variable: "#55859b" + + background: "#ecf4ee" + foreground: "#526057" + cursor: "#526057" +}} \ No newline at end of file diff --git a/themes/themes/atelier-savanna.nu b/themes/themes/atelier-savanna.nu index e2bccd7..a240aa1 100644 --- a/themes/themes/atelier-savanna.nu +++ b/themes/themes/atelier-savanna.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_savanna theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#171c19" - # foreground: "#87928a" - # cursor: "#87928a" - - { - # color for nushell primitives - separator: "#ecf4ee" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#489963" - empty: "#478c90" - bool: "#ecf4ee" - int: "#ecf4ee" - filesize: "#ecf4ee" - duration: "#ecf4ee" - date: "#ecf4ee" - range: "#ecf4ee" - float: "#ecf4ee" - string: "#ecf4ee" - nothing: "#ecf4ee" - binary: "#ecf4ee" - cellpath: "#ecf4ee" - row_index: "#489963" - record: "#ecf4ee" - list: "#ecf4ee" - block: "#ecf4ee" - hints: "#5f6d64" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#55859b" - shape_bool: "#1c9aa0" - shape_int: "#55859b" - shape_float: "#55859b" - shape_range: "#a07e3b" - shape_internalcall: "#1c9aa0" - shape_external: "#1c9aa0" - shape_externalarg: "#489963" - shape_literal: "#478c90" - shape_operator: "#a07e3b" - shape_signature: "#489963" - shape_string: "#489963" - shape_string_interpolation: "#1c9aa0" - shape_datetime: "#1c9aa0" - shape_list: "#1c9aa0" - shape_table: "#478c90" - shape_record: "#1c9aa0" - shape_block: "#478c90" - shape_filepath: "#1c9aa0" - shape_globpattern: "#1c9aa0" - shape_variable: "#55859b" - shape_flag: "#478c90" - shape_custom: "#489963" - shape_nothing: "#1c9aa0" +export def main [] { return { + separator: "#87928a" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#489963" attr: "b" } + empty: "#478c90" + bool: {|| if $in { "#1c9aa0" } else { "light_gray" } } + int: "#87928a" + filesize: {|e| + if $e == 0b { + "#87928a" + } else if $e < 1mb { + "#1c9aa0" + } else {{ fg: "#478c90" }} } -} + duration: "#87928a" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b16139" attr: "b" } + } else if $in < 6hr { + "#b16139" + } else if $in < 1day { + "#a07e3b" + } else if $in < 3day { + "#489963" + } else if $in < 1wk { + { fg: "#489963" attr: "b" } + } else if $in < 6wk { + "#1c9aa0" + } else if $in < 52wk { + "#478c90" + } else { "dark_gray" } + } + range: "#87928a" + float: "#87928a" + string: "#87928a" + nothing: "#87928a" + binary: "#87928a" + cellpath: "#87928a" + row_index: { fg: "#489963" attr: "b" } + record: "#87928a" + list: "#87928a" + block: "#87928a" + hints: "dark_gray" + + shape_and: { fg: "#55859b" attr: "b" } + shape_binary: { fg: "#55859b" attr: "b" } + shape_block: { fg: "#478c90" attr: "b" } + shape_bool: "#1c9aa0" + shape_custom: "#489963" + shape_datetime: { fg: "#1c9aa0" attr: "b" } + shape_directory: "#1c9aa0" + shape_external: "#1c9aa0" + shape_externalarg: { fg: "#489963" attr: "b" } + shape_filepath: "#1c9aa0" + shape_flag: { fg: "#478c90" attr: "b" } + shape_float: { fg: "#55859b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1c9aa0" attr: "b" } + shape_int: { fg: "#55859b" attr: "b" } + shape_internalcall: { fg: "#1c9aa0" attr: "b" } + shape_list: { fg: "#1c9aa0" attr: "b" } + shape_literal: "#478c90" + shape_match_pattern: "#489963" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1c9aa0" + shape_operator: "#a07e3b" + shape_or: { fg: "#55859b" attr: "b" } + shape_pipe: { fg: "#55859b" attr: "b" } + shape_range: { fg: "#a07e3b" attr: "b" } + shape_record: { fg: "#1c9aa0" attr: "b" } + shape_redirection: { fg: "#55859b" attr: "b" } + shape_signature: { fg: "#489963" attr: "b" } + shape_string: "#489963" + shape_string_interpolation: { fg: "#1c9aa0" attr: "b" } + shape_table: { fg: "#478c90" attr: "b" } + shape_variable: "#55859b" + + background: "#171c19" + foreground: "#87928a" + cursor: "#87928a" +}} \ No newline at end of file diff --git a/themes/themes/atelier-seaside-light.nu b/themes/themes/atelier-seaside-light.nu index 2135955..0366545 100644 --- a/themes/themes/atelier-seaside-light.nu +++ b/themes/themes/atelier-seaside-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_seaside-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f4fbf4" - # foreground: "#5e6e5e" - # cursor: "#5e6e5e" - - { - # color for nushell primitives - separator: "#131513" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#29a329" - empty: "#3d62f5" - bool: "#131513" - int: "#131513" - filesize: "#131513" - duration: "#131513" - date: "#131513" - range: "#131513" - float: "#131513" - string: "#131513" - nothing: "#131513" - binary: "#131513" - cellpath: "#131513" - row_index: "#29a329" - record: "#131513" - list: "#131513" - block: "#131513" - hints: "#809980" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ad2bee" - shape_bool: "#1999b3" - shape_int: "#ad2bee" - shape_float: "#ad2bee" - shape_range: "#98981b" - shape_internalcall: "#1999b3" - shape_external: "#1999b3" - shape_externalarg: "#29a329" - shape_literal: "#3d62f5" - shape_operator: "#98981b" - shape_signature: "#29a329" - shape_string: "#29a329" - shape_string_interpolation: "#1999b3" - shape_datetime: "#1999b3" - shape_list: "#1999b3" - shape_table: "#3d62f5" - shape_record: "#1999b3" - shape_block: "#3d62f5" - shape_filepath: "#1999b3" - shape_globpattern: "#1999b3" - shape_variable: "#ad2bee" - shape_flag: "#3d62f5" - shape_custom: "#29a329" - shape_nothing: "#1999b3" +export def main [] { return { + separator: "#5e6e5e" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#29a329" attr: "b" } + empty: "#3d62f5" + bool: {|| if $in { "#1999b3" } else { "light_gray" } } + int: "#5e6e5e" + filesize: {|e| + if $e == 0b { + "#5e6e5e" + } else if $e < 1mb { + "#1999b3" + } else {{ fg: "#3d62f5" }} } -} + duration: "#5e6e5e" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e6193c" attr: "b" } + } else if $in < 6hr { + "#e6193c" + } else if $in < 1day { + "#98981b" + } else if $in < 3day { + "#29a329" + } else if $in < 1wk { + { fg: "#29a329" attr: "b" } + } else if $in < 6wk { + "#1999b3" + } else if $in < 52wk { + "#3d62f5" + } else { "dark_gray" } + } + range: "#5e6e5e" + float: "#5e6e5e" + string: "#5e6e5e" + nothing: "#5e6e5e" + binary: "#5e6e5e" + cellpath: "#5e6e5e" + row_index: { fg: "#29a329" attr: "b" } + record: "#5e6e5e" + list: "#5e6e5e" + block: "#5e6e5e" + hints: "dark_gray" + + shape_and: { fg: "#ad2bee" attr: "b" } + shape_binary: { fg: "#ad2bee" attr: "b" } + shape_block: { fg: "#3d62f5" attr: "b" } + shape_bool: "#1999b3" + shape_custom: "#29a329" + shape_datetime: { fg: "#1999b3" attr: "b" } + shape_directory: "#1999b3" + shape_external: "#1999b3" + shape_externalarg: { fg: "#29a329" attr: "b" } + shape_filepath: "#1999b3" + shape_flag: { fg: "#3d62f5" attr: "b" } + shape_float: { fg: "#ad2bee" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1999b3" attr: "b" } + shape_int: { fg: "#ad2bee" attr: "b" } + shape_internalcall: { fg: "#1999b3" attr: "b" } + shape_list: { fg: "#1999b3" attr: "b" } + shape_literal: "#3d62f5" + shape_match_pattern: "#29a329" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1999b3" + shape_operator: "#98981b" + shape_or: { fg: "#ad2bee" attr: "b" } + shape_pipe: { fg: "#ad2bee" attr: "b" } + shape_range: { fg: "#98981b" attr: "b" } + shape_record: { fg: "#1999b3" attr: "b" } + shape_redirection: { fg: "#ad2bee" attr: "b" } + shape_signature: { fg: "#29a329" attr: "b" } + shape_string: "#29a329" + shape_string_interpolation: { fg: "#1999b3" attr: "b" } + shape_table: { fg: "#3d62f5" attr: "b" } + shape_variable: "#ad2bee" + + background: "#f4fbf4" + foreground: "#5e6e5e" + cursor: "#5e6e5e" +}} \ No newline at end of file diff --git a/themes/themes/atelier-seaside.nu b/themes/themes/atelier-seaside.nu index 8e3fe9e..6d52d4c 100644 --- a/themes/themes/atelier-seaside.nu +++ b/themes/themes/atelier-seaside.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_seaside theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#131513" - # foreground: "#8ca68c" - # cursor: "#8ca68c" - - { - # color for nushell primitives - separator: "#f4fbf4" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#29a329" - empty: "#3d62f5" - bool: "#f4fbf4" - int: "#f4fbf4" - filesize: "#f4fbf4" - duration: "#f4fbf4" - date: "#f4fbf4" - range: "#f4fbf4" - float: "#f4fbf4" - string: "#f4fbf4" - nothing: "#f4fbf4" - binary: "#f4fbf4" - cellpath: "#f4fbf4" - row_index: "#29a329" - record: "#f4fbf4" - list: "#f4fbf4" - block: "#f4fbf4" - hints: "#687d68" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ad2bee" - shape_bool: "#1999b3" - shape_int: "#ad2bee" - shape_float: "#ad2bee" - shape_range: "#98981b" - shape_internalcall: "#1999b3" - shape_external: "#1999b3" - shape_externalarg: "#29a329" - shape_literal: "#3d62f5" - shape_operator: "#98981b" - shape_signature: "#29a329" - shape_string: "#29a329" - shape_string_interpolation: "#1999b3" - shape_datetime: "#1999b3" - shape_list: "#1999b3" - shape_table: "#3d62f5" - shape_record: "#1999b3" - shape_block: "#3d62f5" - shape_filepath: "#1999b3" - shape_globpattern: "#1999b3" - shape_variable: "#ad2bee" - shape_flag: "#3d62f5" - shape_custom: "#29a329" - shape_nothing: "#1999b3" +export def main [] { return { + separator: "#8ca68c" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#29a329" attr: "b" } + empty: "#3d62f5" + bool: {|| if $in { "#1999b3" } else { "light_gray" } } + int: "#8ca68c" + filesize: {|e| + if $e == 0b { + "#8ca68c" + } else if $e < 1mb { + "#1999b3" + } else {{ fg: "#3d62f5" }} } -} + duration: "#8ca68c" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e6193c" attr: "b" } + } else if $in < 6hr { + "#e6193c" + } else if $in < 1day { + "#98981b" + } else if $in < 3day { + "#29a329" + } else if $in < 1wk { + { fg: "#29a329" attr: "b" } + } else if $in < 6wk { + "#1999b3" + } else if $in < 52wk { + "#3d62f5" + } else { "dark_gray" } + } + range: "#8ca68c" + float: "#8ca68c" + string: "#8ca68c" + nothing: "#8ca68c" + binary: "#8ca68c" + cellpath: "#8ca68c" + row_index: { fg: "#29a329" attr: "b" } + record: "#8ca68c" + list: "#8ca68c" + block: "#8ca68c" + hints: "dark_gray" + + shape_and: { fg: "#ad2bee" attr: "b" } + shape_binary: { fg: "#ad2bee" attr: "b" } + shape_block: { fg: "#3d62f5" attr: "b" } + shape_bool: "#1999b3" + shape_custom: "#29a329" + shape_datetime: { fg: "#1999b3" attr: "b" } + shape_directory: "#1999b3" + shape_external: "#1999b3" + shape_externalarg: { fg: "#29a329" attr: "b" } + shape_filepath: "#1999b3" + shape_flag: { fg: "#3d62f5" attr: "b" } + shape_float: { fg: "#ad2bee" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1999b3" attr: "b" } + shape_int: { fg: "#ad2bee" attr: "b" } + shape_internalcall: { fg: "#1999b3" attr: "b" } + shape_list: { fg: "#1999b3" attr: "b" } + shape_literal: "#3d62f5" + shape_match_pattern: "#29a329" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1999b3" + shape_operator: "#98981b" + shape_or: { fg: "#ad2bee" attr: "b" } + shape_pipe: { fg: "#ad2bee" attr: "b" } + shape_range: { fg: "#98981b" attr: "b" } + shape_record: { fg: "#1999b3" attr: "b" } + shape_redirection: { fg: "#ad2bee" attr: "b" } + shape_signature: { fg: "#29a329" attr: "b" } + shape_string: "#29a329" + shape_string_interpolation: { fg: "#1999b3" attr: "b" } + shape_table: { fg: "#3d62f5" attr: "b" } + shape_variable: "#ad2bee" + + background: "#131513" + foreground: "#8ca68c" + cursor: "#8ca68c" +}} \ No newline at end of file diff --git a/themes/themes/atelier-sulphurpool-light.nu b/themes/themes/atelier-sulphurpool-light.nu index f043865..f5af112 100644 --- a/themes/themes/atelier-sulphurpool-light.nu +++ b/themes/themes/atelier-sulphurpool-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_sulphurpool-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f5f7ff" - # foreground: "#5e6687" - # cursor: "#5e6687" - - { - # color for nushell primitives - separator: "#202746" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ac9739" - empty: "#3d8fd1" - bool: "#202746" - int: "#202746" - filesize: "#202746" - duration: "#202746" - date: "#202746" - range: "#202746" - float: "#202746" - string: "#202746" - nothing: "#202746" - binary: "#202746" - cellpath: "#202746" - row_index: "#ac9739" - record: "#202746" - list: "#202746" - block: "#202746" - hints: "#898ea4" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6679cc" - shape_bool: "#22a2c9" - shape_int: "#6679cc" - shape_float: "#6679cc" - shape_range: "#c08b30" - shape_internalcall: "#22a2c9" - shape_external: "#22a2c9" - shape_externalarg: "#ac9739" - shape_literal: "#3d8fd1" - shape_operator: "#c08b30" - shape_signature: "#ac9739" - shape_string: "#ac9739" - shape_string_interpolation: "#22a2c9" - shape_datetime: "#22a2c9" - shape_list: "#22a2c9" - shape_table: "#3d8fd1" - shape_record: "#22a2c9" - shape_block: "#3d8fd1" - shape_filepath: "#22a2c9" - shape_globpattern: "#22a2c9" - shape_variable: "#6679cc" - shape_flag: "#3d8fd1" - shape_custom: "#ac9739" - shape_nothing: "#22a2c9" +export def main [] { return { + separator: "#5e6687" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#ac9739" attr: "b" } + empty: "#3d8fd1" + bool: {|| if $in { "#22a2c9" } else { "light_gray" } } + int: "#5e6687" + filesize: {|e| + if $e == 0b { + "#5e6687" + } else if $e < 1mb { + "#22a2c9" + } else {{ fg: "#3d8fd1" }} } -} + duration: "#5e6687" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c94922" attr: "b" } + } else if $in < 6hr { + "#c94922" + } else if $in < 1day { + "#c08b30" + } else if $in < 3day { + "#ac9739" + } else if $in < 1wk { + { fg: "#ac9739" attr: "b" } + } else if $in < 6wk { + "#22a2c9" + } else if $in < 52wk { + "#3d8fd1" + } else { "dark_gray" } + } + range: "#5e6687" + float: "#5e6687" + string: "#5e6687" + nothing: "#5e6687" + binary: "#5e6687" + cellpath: "#5e6687" + row_index: { fg: "#ac9739" attr: "b" } + record: "#5e6687" + list: "#5e6687" + block: "#5e6687" + hints: "dark_gray" + + shape_and: { fg: "#6679cc" attr: "b" } + shape_binary: { fg: "#6679cc" attr: "b" } + shape_block: { fg: "#3d8fd1" attr: "b" } + shape_bool: "#22a2c9" + shape_custom: "#ac9739" + shape_datetime: { fg: "#22a2c9" attr: "b" } + shape_directory: "#22a2c9" + shape_external: "#22a2c9" + shape_externalarg: { fg: "#ac9739" attr: "b" } + shape_filepath: "#22a2c9" + shape_flag: { fg: "#3d8fd1" attr: "b" } + shape_float: { fg: "#6679cc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#22a2c9" attr: "b" } + shape_int: { fg: "#6679cc" attr: "b" } + shape_internalcall: { fg: "#22a2c9" attr: "b" } + shape_list: { fg: "#22a2c9" attr: "b" } + shape_literal: "#3d8fd1" + shape_match_pattern: "#ac9739" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#22a2c9" + shape_operator: "#c08b30" + shape_or: { fg: "#6679cc" attr: "b" } + shape_pipe: { fg: "#6679cc" attr: "b" } + shape_range: { fg: "#c08b30" attr: "b" } + shape_record: { fg: "#22a2c9" attr: "b" } + shape_redirection: { fg: "#6679cc" attr: "b" } + shape_signature: { fg: "#ac9739" attr: "b" } + shape_string: "#ac9739" + shape_string_interpolation: { fg: "#22a2c9" attr: "b" } + shape_table: { fg: "#3d8fd1" attr: "b" } + shape_variable: "#6679cc" + + background: "#f5f7ff" + foreground: "#5e6687" + cursor: "#5e6687" +}} \ No newline at end of file diff --git a/themes/themes/atelier-sulphurpool.nu b/themes/themes/atelier-sulphurpool.nu index 4143c35..9527e71 100644 --- a/themes/themes/atelier-sulphurpool.nu +++ b/themes/themes/atelier-sulphurpool.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atelier_sulphurpool theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#202746" - # foreground: "#979db4" - # cursor: "#979db4" - - { - # color for nushell primitives - separator: "#f5f7ff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ac9739" - empty: "#3d8fd1" - bool: "#f5f7ff" - int: "#f5f7ff" - filesize: "#f5f7ff" - duration: "#f5f7ff" - date: "#f5f7ff" - range: "#f5f7ff" - float: "#f5f7ff" - string: "#f5f7ff" - nothing: "#f5f7ff" - binary: "#f5f7ff" - cellpath: "#f5f7ff" - row_index: "#ac9739" - record: "#f5f7ff" - list: "#f5f7ff" - block: "#f5f7ff" - hints: "#6b7394" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6679cc" - shape_bool: "#22a2c9" - shape_int: "#6679cc" - shape_float: "#6679cc" - shape_range: "#c08b30" - shape_internalcall: "#22a2c9" - shape_external: "#22a2c9" - shape_externalarg: "#ac9739" - shape_literal: "#3d8fd1" - shape_operator: "#c08b30" - shape_signature: "#ac9739" - shape_string: "#ac9739" - shape_string_interpolation: "#22a2c9" - shape_datetime: "#22a2c9" - shape_list: "#22a2c9" - shape_table: "#3d8fd1" - shape_record: "#22a2c9" - shape_block: "#3d8fd1" - shape_filepath: "#22a2c9" - shape_globpattern: "#22a2c9" - shape_variable: "#6679cc" - shape_flag: "#3d8fd1" - shape_custom: "#ac9739" - shape_nothing: "#22a2c9" +export def main [] { return { + separator: "#979db4" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#ac9739" attr: "b" } + empty: "#3d8fd1" + bool: {|| if $in { "#22a2c9" } else { "light_gray" } } + int: "#979db4" + filesize: {|e| + if $e == 0b { + "#979db4" + } else if $e < 1mb { + "#22a2c9" + } else {{ fg: "#3d8fd1" }} } -} + duration: "#979db4" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c94922" attr: "b" } + } else if $in < 6hr { + "#c94922" + } else if $in < 1day { + "#c08b30" + } else if $in < 3day { + "#ac9739" + } else if $in < 1wk { + { fg: "#ac9739" attr: "b" } + } else if $in < 6wk { + "#22a2c9" + } else if $in < 52wk { + "#3d8fd1" + } else { "dark_gray" } + } + range: "#979db4" + float: "#979db4" + string: "#979db4" + nothing: "#979db4" + binary: "#979db4" + cellpath: "#979db4" + row_index: { fg: "#ac9739" attr: "b" } + record: "#979db4" + list: "#979db4" + block: "#979db4" + hints: "dark_gray" + + shape_and: { fg: "#6679cc" attr: "b" } + shape_binary: { fg: "#6679cc" attr: "b" } + shape_block: { fg: "#3d8fd1" attr: "b" } + shape_bool: "#22a2c9" + shape_custom: "#ac9739" + shape_datetime: { fg: "#22a2c9" attr: "b" } + shape_directory: "#22a2c9" + shape_external: "#22a2c9" + shape_externalarg: { fg: "#ac9739" attr: "b" } + shape_filepath: "#22a2c9" + shape_flag: { fg: "#3d8fd1" attr: "b" } + shape_float: { fg: "#6679cc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#22a2c9" attr: "b" } + shape_int: { fg: "#6679cc" attr: "b" } + shape_internalcall: { fg: "#22a2c9" attr: "b" } + shape_list: { fg: "#22a2c9" attr: "b" } + shape_literal: "#3d8fd1" + shape_match_pattern: "#ac9739" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#22a2c9" + shape_operator: "#c08b30" + shape_or: { fg: "#6679cc" attr: "b" } + shape_pipe: { fg: "#6679cc" attr: "b" } + shape_range: { fg: "#c08b30" attr: "b" } + shape_record: { fg: "#22a2c9" attr: "b" } + shape_redirection: { fg: "#6679cc" attr: "b" } + shape_signature: { fg: "#ac9739" attr: "b" } + shape_string: "#ac9739" + shape_string_interpolation: { fg: "#22a2c9" attr: "b" } + shape_table: { fg: "#3d8fd1" attr: "b" } + shape_variable: "#6679cc" + + background: "#202746" + foreground: "#979db4" + cursor: "#979db4" +}} \ No newline at end of file diff --git a/themes/themes/atlas.nu b/themes/themes/atlas.nu index eeff982..9f9b4d1 100644 --- a/themes/themes/atlas.nu +++ b/themes/themes/atlas.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atlas theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#002635" - # foreground: "#a1a19a" - # cursor: "#a1a19a" - - { - # color for nushell primitives - separator: "#fafaf8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7fc06e" - empty: "#5dd7b9" - bool: "#fafaf8" - int: "#fafaf8" - filesize: "#fafaf8" - duration: "#fafaf8" - date: "#fafaf8" - range: "#fafaf8" - float: "#fafaf8" - string: "#fafaf8" - nothing: "#fafaf8" - binary: "#fafaf8" - cellpath: "#fafaf8" - row_index: "#7fc06e" - record: "#fafaf8" - list: "#fafaf8" - block: "#fafaf8" - hints: "#6c8b91" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9a70a4" - shape_bool: "#14747e" - shape_int: "#9a70a4" - shape_float: "#9a70a4" - shape_range: "#ffcc1b" - shape_internalcall: "#14747e" - shape_external: "#14747e" - shape_externalarg: "#7fc06e" - shape_literal: "#5dd7b9" - shape_operator: "#ffcc1b" - shape_signature: "#7fc06e" - shape_string: "#7fc06e" - shape_string_interpolation: "#14747e" - shape_datetime: "#14747e" - shape_list: "#14747e" - shape_table: "#5dd7b9" - shape_record: "#14747e" - shape_block: "#5dd7b9" - shape_filepath: "#14747e" - shape_globpattern: "#14747e" - shape_variable: "#9a70a4" - shape_flag: "#5dd7b9" - shape_custom: "#7fc06e" - shape_nothing: "#14747e" +export def main [] { return { + separator: "#a1a19a" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7fc06e" attr: "b" } + empty: "#5dd7b9" + bool: {|| if $in { "#14747e" } else { "light_gray" } } + int: "#a1a19a" + filesize: {|e| + if $e == 0b { + "#a1a19a" + } else if $e < 1mb { + "#14747e" + } else {{ fg: "#5dd7b9" }} } -} + duration: "#a1a19a" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff5a67" attr: "b" } + } else if $in < 6hr { + "#ff5a67" + } else if $in < 1day { + "#ffcc1b" + } else if $in < 3day { + "#7fc06e" + } else if $in < 1wk { + { fg: "#7fc06e" attr: "b" } + } else if $in < 6wk { + "#14747e" + } else if $in < 52wk { + "#5dd7b9" + } else { "dark_gray" } + } + range: "#a1a19a" + float: "#a1a19a" + string: "#a1a19a" + nothing: "#a1a19a" + binary: "#a1a19a" + cellpath: "#a1a19a" + row_index: { fg: "#7fc06e" attr: "b" } + record: "#a1a19a" + list: "#a1a19a" + block: "#a1a19a" + hints: "dark_gray" + + shape_and: { fg: "#9a70a4" attr: "b" } + shape_binary: { fg: "#9a70a4" attr: "b" } + shape_block: { fg: "#5dd7b9" attr: "b" } + shape_bool: "#14747e" + shape_custom: "#7fc06e" + shape_datetime: { fg: "#14747e" attr: "b" } + shape_directory: "#14747e" + shape_external: "#14747e" + shape_externalarg: { fg: "#7fc06e" attr: "b" } + shape_filepath: "#14747e" + shape_flag: { fg: "#5dd7b9" attr: "b" } + shape_float: { fg: "#9a70a4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#14747e" attr: "b" } + shape_int: { fg: "#9a70a4" attr: "b" } + shape_internalcall: { fg: "#14747e" attr: "b" } + shape_list: { fg: "#14747e" attr: "b" } + shape_literal: "#5dd7b9" + shape_match_pattern: "#7fc06e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#14747e" + shape_operator: "#ffcc1b" + shape_or: { fg: "#9a70a4" attr: "b" } + shape_pipe: { fg: "#9a70a4" attr: "b" } + shape_range: { fg: "#ffcc1b" attr: "b" } + shape_record: { fg: "#14747e" attr: "b" } + shape_redirection: { fg: "#9a70a4" attr: "b" } + shape_signature: { fg: "#7fc06e" attr: "b" } + shape_string: "#7fc06e" + shape_string_interpolation: { fg: "#14747e" attr: "b" } + shape_table: { fg: "#5dd7b9" attr: "b" } + shape_variable: "#9a70a4" + + background: "#002635" + foreground: "#a1a19a" + cursor: "#a1a19a" +}} \ No newline at end of file diff --git a/themes/themes/atom-one-light.nu b/themes/themes/atom-one-light.nu index d39cd7c..ff9ddd9 100644 --- a/themes/themes/atom-one-light.nu +++ b/themes/themes/atom-one-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atom_one-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f8f8f8" - # foreground: "#2a2b33" - # cursor: "#bbbbbb" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#3e953a" - empty: "#2f5af3" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#3e953a" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#000000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a00095" - shape_bool: "#3e953a" - shape_int: "#a00095" - shape_float: "#a00095" - shape_range: "#d2b67b" - shape_internalcall: "#3e953a" - shape_external: "#3e953a" - shape_externalarg: "#3e953a" - shape_literal: "#2f5af3" - shape_operator: "#d2b67b" - shape_signature: "#3e953a" - shape_string: "#3e953a" - shape_string_interpolation: "#3e953a" - shape_datetime: "#3e953a" - shape_list: "#3e953a" - shape_table: "#2f5af3" - shape_record: "#3e953a" - shape_block: "#2f5af3" - shape_filepath: "#3e953a" - shape_globpattern: "#3e953a" - shape_variable: "#950095" - shape_flag: "#2f5af3" - shape_custom: "#3e953a" - shape_nothing: "#3e953a" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#3e953a" attr: "b" } + empty: "#2f5af3" + bool: {|| if $in { "#3e953a" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#3e953a" + } else {{ fg: "#2f5af3" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#de3d35" attr: "b" } + } else if $in < 6hr { + "#de3d35" + } else if $in < 1day { + "#d2b67b" + } else if $in < 3day { + "#3e953a" + } else if $in < 1wk { + { fg: "#3e953a" attr: "b" } + } else if $in < 6wk { + "#3e953a" + } else if $in < 52wk { + "#2f5af3" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#3e953a" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#950095" attr: "b" } + shape_binary: { fg: "#950095" attr: "b" } + shape_block: { fg: "#2f5af3" attr: "b" } + shape_bool: "#3e953a" + shape_custom: "#3e953a" + shape_datetime: { fg: "#3e953a" attr: "b" } + shape_directory: "#3e953a" + shape_external: "#3e953a" + shape_externalarg: { fg: "#3e953a" attr: "b" } + shape_filepath: "#3e953a" + shape_flag: { fg: "#2f5af3" attr: "b" } + shape_float: { fg: "#950095" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3e953a" attr: "b" } + shape_int: { fg: "#950095" attr: "b" } + shape_internalcall: { fg: "#3e953a" attr: "b" } + shape_list: { fg: "#3e953a" attr: "b" } + shape_literal: "#2f5af3" + shape_match_pattern: "#3e953a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3e953a" + shape_operator: "#d2b67b" + shape_or: { fg: "#950095" attr: "b" } + shape_pipe: { fg: "#950095" attr: "b" } + shape_range: { fg: "#d2b67b" attr: "b" } + shape_record: { fg: "#3e953a" attr: "b" } + shape_redirection: { fg: "#950095" attr: "b" } + shape_signature: { fg: "#3e953a" attr: "b" } + shape_string: "#3e953a" + shape_string_interpolation: { fg: "#3e953a" attr: "b" } + shape_table: { fg: "#2f5af3" attr: "b" } + shape_variable: "#950095" + + background: "#f8f8f8" + foreground: "#2a2b33" + cursor: "#bbbbbb" +}} \ No newline at end of file diff --git a/themes/themes/atom.nu b/themes/themes/atom.nu index 8d992c4..43e233c 100644 --- a/themes/themes/atom.nu +++ b/themes/themes/atom.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the atom theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#161719" - # foreground: "#c5c8c6" - # cursor: "#c5c8c6" - - { - # color for nushell primitives - separator: "#e0e0e0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#94fa36" - empty: "#85befd" - bool: "#e0e0e0" - int: "#e0e0e0" - filesize: "#e0e0e0" - duration: "#e0e0e0" - date: "#e0e0e0" - range: "#e0e0e0" - float: "#e0e0e0" - string: "#e0e0e0" - nothing: "#e0e0e0" - binary: "#e0e0e0" - cellpath: "#e0e0e0" - row_index: "#94fa36" - record: "#e0e0e0" - list: "#e0e0e0" - block: "#e0e0e0" - hints: "#000000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b9b6fc" - shape_bool: "#85befd" - shape_int: "#b9b6fc" - shape_float: "#b9b6fc" - shape_range: "#f5ffa8" - shape_internalcall: "#85befd" - shape_external: "#85befd" - shape_externalarg: "#94fa36" - shape_literal: "#85befd" - shape_operator: "#ffd7b1" - shape_signature: "#94fa36" - shape_string: "#87c38a" - shape_string_interpolation: "#85befd" - shape_datetime: "#85befd" - shape_list: "#85befd" - shape_table: "#96cbfe" - shape_record: "#85befd" - shape_block: "#96cbfe" - shape_filepath: "#85befd" - shape_globpattern: "#85befd" - shape_variable: "#b9b6fc" - shape_flag: "#96cbfe" - shape_custom: "#87c38a" - shape_nothing: "#85befd" +export def main [] { return { + separator: "#e0e0e0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#87c38a" attr: "b" } + empty: "#85befd" + bool: {|| if $in { "#85befd" } else { "light_gray" } } + int: "#e0e0e0" + filesize: {|e| + if $e == 0b { + "#e0e0e0" + } else if $e < 1mb { + "#85befd" + } else {{ fg: "#85befd" }} } -} + duration: "#e0e0e0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fd5ff1" attr: "b" } + } else if $in < 6hr { + "#fd5ff1" + } else if $in < 1day { + "#ffd7b1" + } else if $in < 3day { + "#87c38a" + } else if $in < 1wk { + { fg: "#87c38a" attr: "b" } + } else if $in < 6wk { + "#85befd" + } else if $in < 52wk { + "#85befd" + } else { "dark_gray" } + } + range: "#e0e0e0" + float: "#e0e0e0" + string: "#e0e0e0" + nothing: "#e0e0e0" + binary: "#e0e0e0" + cellpath: "#e0e0e0" + row_index: { fg: "#87c38a" attr: "b" } + record: "#e0e0e0" + list: "#e0e0e0" + block: "#e0e0e0" + hints: "dark_gray" + + shape_and: { fg: "#b9b6fc" attr: "b" } + shape_binary: { fg: "#b9b6fc" attr: "b" } + shape_block: { fg: "#85befd" attr: "b" } + shape_bool: "#85befd" + shape_custom: "#87c38a" + shape_datetime: { fg: "#85befd" attr: "b" } + shape_directory: "#85befd" + shape_external: "#85befd" + shape_externalarg: { fg: "#87c38a" attr: "b" } + shape_filepath: "#85befd" + shape_flag: { fg: "#85befd" attr: "b" } + shape_float: { fg: "#b9b6fc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#85befd" attr: "b" } + shape_int: { fg: "#b9b6fc" attr: "b" } + shape_internalcall: { fg: "#85befd" attr: "b" } + shape_list: { fg: "#85befd" attr: "b" } + shape_literal: "#85befd" + shape_match_pattern: "#87c38a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#85befd" + shape_operator: "#ffd7b1" + shape_or: { fg: "#b9b6fc" attr: "b" } + shape_pipe: { fg: "#b9b6fc" attr: "b" } + shape_range: { fg: "#ffd7b1" attr: "b" } + shape_record: { fg: "#85befd" attr: "b" } + shape_redirection: { fg: "#b9b6fc" attr: "b" } + shape_signature: { fg: "#87c38a" attr: "b" } + shape_string: "#87c38a" + shape_string_interpolation: { fg: "#85befd" attr: "b" } + shape_table: { fg: "#85befd" attr: "b" } + shape_variable: "#b9b6fc" + + background: "#161719" + foreground: "#c5c8c6" + cursor: "#c5c8c6" +}} \ No newline at end of file diff --git a/themes/themes/ayu-light.nu b/themes/themes/ayu-light.nu index 3c1c6c6..911fcd0 100644 --- a/themes/themes/ayu-light.nu +++ b/themes/themes/ayu-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ayu_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fafafa" - # foreground: "#5b6673" - # cursor: "#ff6900" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b8e532" - empty: "#41a6d9" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#b8e532" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#323232" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ffa3aa" - shape_bool: "#7ff0cb" - shape_int: "#ffa3aa" - shape_float: "#ffa3aa" - shape_range: "#ffc849" - shape_internalcall: "#7ff0cb" - shape_external: "#4cbe99" - shape_externalarg: "#b8e532" - shape_literal: "#41a6d9" - shape_operator: "#f19618" - shape_signature: "#b8e532" - shape_string: "#86b200" - shape_string_interpolation: "#7ff0cb" - shape_datetime: "#7ff0cb" - shape_list: "#7ff0cb" - shape_table: "#73d7ff" - shape_record: "#7ff0cb" - shape_block: "#73d7ff" - shape_filepath: "#4cbe99" - shape_globpattern: "#7ff0cb" - shape_variable: "#f07078" - shape_flag: "#73d7ff" - shape_custom: "#86b200" - shape_nothing: "#7ff0cb" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#86b200" attr: "b" } + empty: "#41a6d9" + bool: {|| if $in { "#7ff0cb" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#4cbe99" + } else {{ fg: "#41a6d9" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff3333" attr: "b" } + } else if $in < 6hr { + "#ff3333" + } else if $in < 1day { + "#f19618" + } else if $in < 3day { + "#86b200" + } else if $in < 1wk { + { fg: "#86b200" attr: "b" } + } else if $in < 6wk { + "#4cbe99" + } else if $in < 52wk { + "#41a6d9" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#86b200" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#f07078" attr: "b" } + shape_binary: { fg: "#f07078" attr: "b" } + shape_block: { fg: "#41a6d9" attr: "b" } + shape_bool: "#7ff0cb" + shape_custom: "#86b200" + shape_datetime: { fg: "#4cbe99" attr: "b" } + shape_directory: "#4cbe99" + shape_external: "#4cbe99" + shape_externalarg: { fg: "#86b200" attr: "b" } + shape_filepath: "#4cbe99" + shape_flag: { fg: "#41a6d9" attr: "b" } + shape_float: { fg: "#f07078" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#4cbe99" attr: "b" } + shape_int: { fg: "#f07078" attr: "b" } + shape_internalcall: { fg: "#4cbe99" attr: "b" } + shape_list: { fg: "#4cbe99" attr: "b" } + shape_literal: "#41a6d9" + shape_match_pattern: "#86b200" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7ff0cb" + shape_operator: "#f19618" + shape_or: { fg: "#f07078" attr: "b" } + shape_pipe: { fg: "#f07078" attr: "b" } + shape_range: { fg: "#f19618" attr: "b" } + shape_record: { fg: "#4cbe99" attr: "b" } + shape_redirection: { fg: "#f07078" attr: "b" } + shape_signature: { fg: "#86b200" attr: "b" } + shape_string: "#86b200" + shape_string_interpolation: { fg: "#4cbe99" attr: "b" } + shape_table: { fg: "#41a6d9" attr: "b" } + shape_variable: "#f07078" + + background: "#fafafa" + foreground: "#5b6673" + cursor: "#ff6900" +}} \ No newline at end of file diff --git a/themes/themes/ayu-mirage-simple-cursor.nu b/themes/themes/ayu-mirage-simple-cursor.nu index 0280a6e..5218193 100644 --- a/themes/themes/ayu-mirage-simple-cursor.nu +++ b/themes/themes/ayu-mirage-simple-cursor.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ayu_mirage-simple-cursor theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#212733" - # foreground: "#d9d7ce" - # cursor: "#d9d7ce" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#bae67e" - empty: "#6dcbfa" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#bae67e" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#686868" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d4bfff" - shape_bool: "#95e6cb" - shape_int: "#d4bfff" - shape_float: "#d4bfff" - shape_range: "#ffd580" - shape_internalcall: "#95e6cb" - shape_external: "#90e1c6" - shape_externalarg: "#bae67e" - shape_literal: "#6dcbfa" - shape_operator: "#fad07b" - shape_signature: "#bae67e" - shape_string: "#a6cc70" - shape_string_interpolation: "#95e6cb" - shape_datetime: "#95e6cb" - shape_list: "#95e6cb" - shape_table: "#73d0ff" - shape_record: "#95e6cb" - shape_block: "#73d0ff" - shape_filepath: "#90e1c6" - shape_globpattern: "#95e6cb" - shape_variable: "#cfbafa" - shape_flag: "#73d0ff" - shape_custom: "#a6cc70" - shape_nothing: "#95e6cb" +export def main [] { return { + separator: "#c7c7c7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a6cc70" attr: "b" } + empty: "#6dcbfa" + bool: {|| if $in { "#95e6cb" } else { "light_gray" } } + int: "#c7c7c7" + filesize: {|e| + if $e == 0b { + "#c7c7c7" + } else if $e < 1mb { + "#90e1c6" + } else {{ fg: "#6dcbfa" }} } -} + duration: "#c7c7c7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ed8274" attr: "b" } + } else if $in < 6hr { + "#ed8274" + } else if $in < 1day { + "#fad07b" + } else if $in < 3day { + "#a6cc70" + } else if $in < 1wk { + { fg: "#a6cc70" attr: "b" } + } else if $in < 6wk { + "#90e1c6" + } else if $in < 52wk { + "#6dcbfa" + } else { "dark_gray" } + } + range: "#c7c7c7" + float: "#c7c7c7" + string: "#c7c7c7" + nothing: "#c7c7c7" + binary: "#c7c7c7" + cellpath: "#c7c7c7" + row_index: { fg: "#a6cc70" attr: "b" } + record: "#c7c7c7" + list: "#c7c7c7" + block: "#c7c7c7" + hints: "dark_gray" + + shape_and: { fg: "#cfbafa" attr: "b" } + shape_binary: { fg: "#cfbafa" attr: "b" } + shape_block: { fg: "#6dcbfa" attr: "b" } + shape_bool: "#95e6cb" + shape_custom: "#a6cc70" + shape_datetime: { fg: "#90e1c6" attr: "b" } + shape_directory: "#90e1c6" + shape_external: "#90e1c6" + shape_externalarg: { fg: "#a6cc70" attr: "b" } + shape_filepath: "#90e1c6" + shape_flag: { fg: "#6dcbfa" attr: "b" } + shape_float: { fg: "#cfbafa" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#90e1c6" attr: "b" } + shape_int: { fg: "#cfbafa" attr: "b" } + shape_internalcall: { fg: "#90e1c6" attr: "b" } + shape_list: { fg: "#90e1c6" attr: "b" } + shape_literal: "#6dcbfa" + shape_match_pattern: "#a6cc70" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#95e6cb" + shape_operator: "#fad07b" + shape_or: { fg: "#cfbafa" attr: "b" } + shape_pipe: { fg: "#cfbafa" attr: "b" } + shape_range: { fg: "#fad07b" attr: "b" } + shape_record: { fg: "#90e1c6" attr: "b" } + shape_redirection: { fg: "#cfbafa" attr: "b" } + shape_signature: { fg: "#a6cc70" attr: "b" } + shape_string: "#a6cc70" + shape_string_interpolation: { fg: "#90e1c6" attr: "b" } + shape_table: { fg: "#6dcbfa" attr: "b" } + shape_variable: "#cfbafa" + + background: "#212733" + foreground: "#d9d7ce" + cursor: "#d9d7ce" +}} \ No newline at end of file diff --git a/themes/themes/ayu-mirage.nu b/themes/themes/ayu-mirage.nu index 91b50d8..7ee88ce 100644 --- a/themes/themes/ayu-mirage.nu +++ b/themes/themes/ayu-mirage.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ayu_mirage theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#212733" - # foreground: "#d9d7ce" - # cursor: "#ffcc66" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#bae67e" - empty: "#6dcbfa" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#bae67e" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#686868" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d4bfff" - shape_bool: "#95e6cb" - shape_int: "#d4bfff" - shape_float: "#d4bfff" - shape_range: "#ffd580" - shape_internalcall: "#95e6cb" - shape_external: "#90e1c6" - shape_externalarg: "#bae67e" - shape_literal: "#6dcbfa" - shape_operator: "#fad07b" - shape_signature: "#bae67e" - shape_string: "#a6cc70" - shape_string_interpolation: "#95e6cb" - shape_datetime: "#95e6cb" - shape_list: "#95e6cb" - shape_table: "#73d0ff" - shape_record: "#95e6cb" - shape_block: "#73d0ff" - shape_filepath: "#90e1c6" - shape_globpattern: "#95e6cb" - shape_variable: "#cfbafa" - shape_flag: "#73d0ff" - shape_custom: "#a6cc70" - shape_nothing: "#95e6cb" +export def main [] { return { + separator: "#c7c7c7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a6cc70" attr: "b" } + empty: "#6dcbfa" + bool: {|| if $in { "#95e6cb" } else { "light_gray" } } + int: "#c7c7c7" + filesize: {|e| + if $e == 0b { + "#c7c7c7" + } else if $e < 1mb { + "#90e1c6" + } else {{ fg: "#6dcbfa" }} } -} + duration: "#c7c7c7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ed8274" attr: "b" } + } else if $in < 6hr { + "#ed8274" + } else if $in < 1day { + "#fad07b" + } else if $in < 3day { + "#a6cc70" + } else if $in < 1wk { + { fg: "#a6cc70" attr: "b" } + } else if $in < 6wk { + "#90e1c6" + } else if $in < 52wk { + "#6dcbfa" + } else { "dark_gray" } + } + range: "#c7c7c7" + float: "#c7c7c7" + string: "#c7c7c7" + nothing: "#c7c7c7" + binary: "#c7c7c7" + cellpath: "#c7c7c7" + row_index: { fg: "#a6cc70" attr: "b" } + record: "#c7c7c7" + list: "#c7c7c7" + block: "#c7c7c7" + hints: "dark_gray" + + shape_and: { fg: "#cfbafa" attr: "b" } + shape_binary: { fg: "#cfbafa" attr: "b" } + shape_block: { fg: "#6dcbfa" attr: "b" } + shape_bool: "#95e6cb" + shape_custom: "#a6cc70" + shape_datetime: { fg: "#90e1c6" attr: "b" } + shape_directory: "#90e1c6" + shape_external: "#90e1c6" + shape_externalarg: { fg: "#a6cc70" attr: "b" } + shape_filepath: "#90e1c6" + shape_flag: { fg: "#6dcbfa" attr: "b" } + shape_float: { fg: "#cfbafa" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#90e1c6" attr: "b" } + shape_int: { fg: "#cfbafa" attr: "b" } + shape_internalcall: { fg: "#90e1c6" attr: "b" } + shape_list: { fg: "#90e1c6" attr: "b" } + shape_literal: "#6dcbfa" + shape_match_pattern: "#a6cc70" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#95e6cb" + shape_operator: "#fad07b" + shape_or: { fg: "#cfbafa" attr: "b" } + shape_pipe: { fg: "#cfbafa" attr: "b" } + shape_range: { fg: "#fad07b" attr: "b" } + shape_record: { fg: "#90e1c6" attr: "b" } + shape_redirection: { fg: "#cfbafa" attr: "b" } + shape_signature: { fg: "#a6cc70" attr: "b" } + shape_string: "#a6cc70" + shape_string_interpolation: { fg: "#90e1c6" attr: "b" } + shape_table: { fg: "#6dcbfa" attr: "b" } + shape_variable: "#cfbafa" + + background: "#212733" + foreground: "#d9d7ce" + cursor: "#ffcc66" +}} \ No newline at end of file diff --git a/themes/themes/ayu.nu b/themes/themes/ayu.nu index a00bc5a..8f226ca 100644 --- a/themes/themes/ayu.nu +++ b/themes/themes/ayu.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ayu theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0e1419" - # foreground: "#e5e1cf" - # cursor: "#f19618" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#e9fe83" - empty: "#36a3d9" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#e9fe83" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#323232" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ffa3aa" - shape_bool: "#c7fffc" - shape_int: "#ffa3aa" - shape_float: "#ffa3aa" - shape_range: "#fff778" - shape_internalcall: "#c7fffc" - shape_external: "#95e5cb" - shape_externalarg: "#e9fe83" - shape_literal: "#36a3d9" - shape_operator: "#e6c446" - shape_signature: "#e9fe83" - shape_string: "#b8cc52" - shape_string_interpolation: "#c7fffc" - shape_datetime: "#c7fffc" - shape_list: "#c7fffc" - shape_table: "#68d4ff" - shape_record: "#c7fffc" - shape_block: "#68d4ff" - shape_filepath: "#95e5cb" - shape_globpattern: "#c7fffc" - shape_variable: "#f07078" - shape_flag: "#68d4ff" - shape_custom: "#b8cc52" - shape_nothing: "#c7fffc" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b8cc52" attr: "b" } + empty: "#36a3d9" + bool: {|| if $in { "#c7fffc" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#95e5cb" + } else {{ fg: "#36a3d9" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff3333" attr: "b" } + } else if $in < 6hr { + "#ff3333" + } else if $in < 1day { + "#e6c446" + } else if $in < 3day { + "#b8cc52" + } else if $in < 1wk { + { fg: "#b8cc52" attr: "b" } + } else if $in < 6wk { + "#95e5cb" + } else if $in < 52wk { + "#36a3d9" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#b8cc52" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#f07078" attr: "b" } + shape_binary: { fg: "#f07078" attr: "b" } + shape_block: { fg: "#36a3d9" attr: "b" } + shape_bool: "#c7fffc" + shape_custom: "#b8cc52" + shape_datetime: { fg: "#95e5cb" attr: "b" } + shape_directory: "#95e5cb" + shape_external: "#95e5cb" + shape_externalarg: { fg: "#b8cc52" attr: "b" } + shape_filepath: "#95e5cb" + shape_flag: { fg: "#36a3d9" attr: "b" } + shape_float: { fg: "#f07078" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#95e5cb" attr: "b" } + shape_int: { fg: "#f07078" attr: "b" } + shape_internalcall: { fg: "#95e5cb" attr: "b" } + shape_list: { fg: "#95e5cb" attr: "b" } + shape_literal: "#36a3d9" + shape_match_pattern: "#b8cc52" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#c7fffc" + shape_operator: "#e6c446" + shape_or: { fg: "#f07078" attr: "b" } + shape_pipe: { fg: "#f07078" attr: "b" } + shape_range: { fg: "#e6c446" attr: "b" } + shape_record: { fg: "#95e5cb" attr: "b" } + shape_redirection: { fg: "#f07078" attr: "b" } + shape_signature: { fg: "#b8cc52" attr: "b" } + shape_string: "#b8cc52" + shape_string_interpolation: { fg: "#95e5cb" attr: "b" } + shape_table: { fg: "#36a3d9" attr: "b" } + shape_variable: "#f07078" + + background: "#0e1419" + foreground: "#e5e1cf" + cursor: "#f19618" +}} \ No newline at end of file diff --git a/themes/themes/azu.nu b/themes/themes/azu.nu index d5ee2eb..8412ef1 100644 --- a/themes/themes/azu.nu +++ b/themes/themes/azu.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the azu theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#09111a" - # foreground: "#d9e6f2" - # cursor: "#d9e6f2" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#bcd6b8" - empty: "#6d74ac" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#bcd6b8" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#262626" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3b8d6" - shape_bool: "#b8d6d3" - shape_int: "#d3b8d6" - shape_float: "#d3b8d6" - shape_range: "#d6d3b8" - shape_internalcall: "#b8d6d3" - shape_external: "#6daca4" - shape_externalarg: "#bcd6b8" - shape_literal: "#6d74ac" - shape_operator: "#aca46d" - shape_signature: "#bcd6b8" - shape_string: "#74ac6d" - shape_string_interpolation: "#b8d6d3" - shape_datetime: "#b8d6d3" - shape_list: "#b8d6d3" - shape_table: "#b8bcd6" - shape_record: "#b8d6d3" - shape_block: "#b8bcd6" - shape_filepath: "#6daca4" - shape_globpattern: "#b8d6d3" - shape_variable: "#a46dac" - shape_flag: "#b8bcd6" - shape_custom: "#74ac6d" - shape_nothing: "#b8d6d3" +export def main [] { return { + separator: "#e6e6e6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#74ac6d" attr: "b" } + empty: "#6d74ac" + bool: {|| if $in { "#b8d6d3" } else { "light_gray" } } + int: "#e6e6e6" + filesize: {|e| + if $e == 0b { + "#e6e6e6" + } else if $e < 1mb { + "#6daca4" + } else {{ fg: "#6d74ac" }} } -} + duration: "#e6e6e6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ac6d74" attr: "b" } + } else if $in < 6hr { + "#ac6d74" + } else if $in < 1day { + "#aca46d" + } else if $in < 3day { + "#74ac6d" + } else if $in < 1wk { + { fg: "#74ac6d" attr: "b" } + } else if $in < 6wk { + "#6daca4" + } else if $in < 52wk { + "#6d74ac" + } else { "dark_gray" } + } + range: "#e6e6e6" + float: "#e6e6e6" + string: "#e6e6e6" + nothing: "#e6e6e6" + binary: "#e6e6e6" + cellpath: "#e6e6e6" + row_index: { fg: "#74ac6d" attr: "b" } + record: "#e6e6e6" + list: "#e6e6e6" + block: "#e6e6e6" + hints: "dark_gray" + + shape_and: { fg: "#a46dac" attr: "b" } + shape_binary: { fg: "#a46dac" attr: "b" } + shape_block: { fg: "#6d74ac" attr: "b" } + shape_bool: "#b8d6d3" + shape_custom: "#74ac6d" + shape_datetime: { fg: "#6daca4" attr: "b" } + shape_directory: "#6daca4" + shape_external: "#6daca4" + shape_externalarg: { fg: "#74ac6d" attr: "b" } + shape_filepath: "#6daca4" + shape_flag: { fg: "#6d74ac" attr: "b" } + shape_float: { fg: "#a46dac" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#6daca4" attr: "b" } + shape_int: { fg: "#a46dac" attr: "b" } + shape_internalcall: { fg: "#6daca4" attr: "b" } + shape_list: { fg: "#6daca4" attr: "b" } + shape_literal: "#6d74ac" + shape_match_pattern: "#74ac6d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#b8d6d3" + shape_operator: "#aca46d" + shape_or: { fg: "#a46dac" attr: "b" } + shape_pipe: { fg: "#a46dac" attr: "b" } + shape_range: { fg: "#aca46d" attr: "b" } + shape_record: { fg: "#6daca4" attr: "b" } + shape_redirection: { fg: "#a46dac" attr: "b" } + shape_signature: { fg: "#74ac6d" attr: "b" } + shape_string: "#74ac6d" + shape_string_interpolation: { fg: "#6daca4" attr: "b" } + shape_table: { fg: "#6d74ac" attr: "b" } + shape_variable: "#a46dac" + + background: "#09111a" + foreground: "#d9e6f2" + cursor: "#d9e6f2" +}} \ No newline at end of file diff --git a/themes/themes/batman.nu b/themes/themes/batman.nu index 3196d85..3592df3 100644 --- a/themes/themes/batman.nu +++ b/themes/themes/batman.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the batman theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1b1d1e" - # foreground: "#6e6e6e" - # cursor: "#fcee0b" - - { - # color for nushell primitives - separator: "#dadad5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#fff27c" - empty: "#737074" - bool: "#dadad5" - int: "#dadad5" - filesize: "#dadad5" - duration: "#dadad5" - date: "#dadad5" - range: "#dadad5" - float: "#dadad5" - string: "#dadad5" - nothing: "#dadad5" - binary: "#dadad5" - cellpath: "#dadad5" - row_index: "#fff27c" - record: "#dadad5" - list: "#dadad5" - block: "#dadad5" - hints: "#505354" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9a999d" - shape_bool: "#a2a2a5" - shape_int: "#9a999d" - shape_float: "#9a999d" - shape_range: "#feed6c" - shape_internalcall: "#a2a2a5" - shape_external: "#615f5e" - shape_externalarg: "#fff27c" - shape_literal: "#737074" - shape_operator: "#f3fd21" - shape_signature: "#fff27c" - shape_string: "#c8be46" - shape_string_interpolation: "#a2a2a5" - shape_datetime: "#a2a2a5" - shape_list: "#a2a2a5" - shape_table: "#909495" - shape_record: "#a2a2a5" - shape_block: "#909495" - shape_filepath: "#615f5e" - shape_globpattern: "#a2a2a5" - shape_variable: "#737271" - shape_flag: "#909495" - shape_custom: "#c8be46" - shape_nothing: "#a2a2a5" +export def main [] { return { + separator: "#c5c5be" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#c8be46" attr: "b" } + empty: "#737074" + bool: {|| if $in { "#a2a2a5" } else { "light_gray" } } + int: "#c5c5be" + filesize: {|e| + if $e == 0b { + "#c5c5be" + } else if $e < 1mb { + "#615f5e" + } else {{ fg: "#737074" }} } -} + duration: "#c5c5be" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e6db43" attr: "b" } + } else if $in < 6hr { + "#e6db43" + } else if $in < 1day { + "#f3fd21" + } else if $in < 3day { + "#c8be46" + } else if $in < 1wk { + { fg: "#c8be46" attr: "b" } + } else if $in < 6wk { + "#615f5e" + } else if $in < 52wk { + "#737074" + } else { "dark_gray" } + } + range: "#c5c5be" + float: "#c5c5be" + string: "#c5c5be" + nothing: "#c5c5be" + binary: "#c5c5be" + cellpath: "#c5c5be" + row_index: { fg: "#c8be46" attr: "b" } + record: "#c5c5be" + list: "#c5c5be" + block: "#c5c5be" + hints: "dark_gray" + + shape_and: { fg: "#737271" attr: "b" } + shape_binary: { fg: "#737271" attr: "b" } + shape_block: { fg: "#737074" attr: "b" } + shape_bool: "#a2a2a5" + shape_custom: "#c8be46" + shape_datetime: { fg: "#615f5e" attr: "b" } + shape_directory: "#615f5e" + shape_external: "#615f5e" + shape_externalarg: { fg: "#c8be46" attr: "b" } + shape_filepath: "#615f5e" + shape_flag: { fg: "#737074" attr: "b" } + shape_float: { fg: "#737271" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#615f5e" attr: "b" } + shape_int: { fg: "#737271" attr: "b" } + shape_internalcall: { fg: "#615f5e" attr: "b" } + shape_list: { fg: "#615f5e" attr: "b" } + shape_literal: "#737074" + shape_match_pattern: "#c8be46" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#a2a2a5" + shape_operator: "#f3fd21" + shape_or: { fg: "#737271" attr: "b" } + shape_pipe: { fg: "#737271" attr: "b" } + shape_range: { fg: "#f3fd21" attr: "b" } + shape_record: { fg: "#615f5e" attr: "b" } + shape_redirection: { fg: "#737271" attr: "b" } + shape_signature: { fg: "#c8be46" attr: "b" } + shape_string: "#c8be46" + shape_string_interpolation: { fg: "#615f5e" attr: "b" } + shape_table: { fg: "#737074" attr: "b" } + shape_variable: "#737271" + + background: "#1b1d1e" + foreground: "#6e6e6e" + cursor: "#fcee0b" +}} \ No newline at end of file diff --git a/themes/themes/belafonte-day.nu b/themes/themes/belafonte-day.nu index db4e273..bb0ba44 100644 --- a/themes/themes/belafonte-day.nu +++ b/themes/themes/belafonte-day.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the belafonte_day theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#d5ccba" - # foreground: "#45373c" - # cursor: "#45373c" - - { - # color for nushell primitives - separator: "#d5ccba" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#858162" - empty: "#426a79" - bool: "#d5ccba" - int: "#d5ccba" - filesize: "#d5ccba" - duration: "#d5ccba" - date: "#d5ccba" - range: "#d5ccba" - float: "#d5ccba" - string: "#d5ccba" - nothing: "#d5ccba" - binary: "#d5ccba" - cellpath: "#d5ccba" - row_index: "#858162" - record: "#d5ccba" - list: "#d5ccba" - block: "#d5ccba" - hints: "#5e5252" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#97522c" - shape_bool: "#989a9c" - shape_int: "#97522c" - shape_float: "#97522c" - shape_range: "#eaa549" - shape_internalcall: "#989a9c" - shape_external: "#989a9c" - shape_externalarg: "#858162" - shape_literal: "#426a79" - shape_operator: "#eaa549" - shape_signature: "#858162" - shape_string: "#858162" - shape_string_interpolation: "#989a9c" - shape_datetime: "#989a9c" - shape_list: "#989a9c" - shape_table: "#426a79" - shape_record: "#989a9c" - shape_block: "#426a79" - shape_filepath: "#989a9c" - shape_globpattern: "#989a9c" - shape_variable: "#97522c" - shape_flag: "#426a79" - shape_custom: "#858162" - shape_nothing: "#989a9c" +export def main [] { return { + separator: "#968c83" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#858162" attr: "b" } + empty: "#426a79" + bool: {|| if $in { "#989a9c" } else { "light_gray" } } + int: "#968c83" + filesize: {|e| + if $e == 0b { + "#968c83" + } else if $e < 1mb { + "#989a9c" + } else {{ fg: "#426a79" }} } -} + duration: "#968c83" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#be100e" attr: "b" } + } else if $in < 6hr { + "#be100e" + } else if $in < 1day { + "#eaa549" + } else if $in < 3day { + "#858162" + } else if $in < 1wk { + { fg: "#858162" attr: "b" } + } else if $in < 6wk { + "#989a9c" + } else if $in < 52wk { + "#426a79" + } else { "dark_gray" } + } + range: "#968c83" + float: "#968c83" + string: "#968c83" + nothing: "#968c83" + binary: "#968c83" + cellpath: "#968c83" + row_index: { fg: "#858162" attr: "b" } + record: "#968c83" + list: "#968c83" + block: "#968c83" + hints: "dark_gray" + + shape_and: { fg: "#97522c" attr: "b" } + shape_binary: { fg: "#97522c" attr: "b" } + shape_block: { fg: "#426a79" attr: "b" } + shape_bool: "#989a9c" + shape_custom: "#858162" + shape_datetime: { fg: "#989a9c" attr: "b" } + shape_directory: "#989a9c" + shape_external: "#989a9c" + shape_externalarg: { fg: "#858162" attr: "b" } + shape_filepath: "#989a9c" + shape_flag: { fg: "#426a79" attr: "b" } + shape_float: { fg: "#97522c" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#989a9c" attr: "b" } + shape_int: { fg: "#97522c" attr: "b" } + shape_internalcall: { fg: "#989a9c" attr: "b" } + shape_list: { fg: "#989a9c" attr: "b" } + shape_literal: "#426a79" + shape_match_pattern: "#858162" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#989a9c" + shape_operator: "#eaa549" + shape_or: { fg: "#97522c" attr: "b" } + shape_pipe: { fg: "#97522c" attr: "b" } + shape_range: { fg: "#eaa549" attr: "b" } + shape_record: { fg: "#989a9c" attr: "b" } + shape_redirection: { fg: "#97522c" attr: "b" } + shape_signature: { fg: "#858162" attr: "b" } + shape_string: "#858162" + shape_string_interpolation: { fg: "#989a9c" attr: "b" } + shape_table: { fg: "#426a79" attr: "b" } + shape_variable: "#97522c" + + background: "#d5ccba" + foreground: "#45373c" + cursor: "#45373c" +}} \ No newline at end of file diff --git a/themes/themes/belafonte-night.nu b/themes/themes/belafonte-night.nu index d5f8481..bd8d453 100644 --- a/themes/themes/belafonte-night.nu +++ b/themes/themes/belafonte-night.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the belafonte_night theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#20111b" - # foreground: "#968c83" - # cursor: "#968c83" - - { - # color for nushell primitives - separator: "#d5ccba" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#858162" - empty: "#426a79" - bool: "#d5ccba" - int: "#d5ccba" - filesize: "#d5ccba" - duration: "#d5ccba" - date: "#d5ccba" - range: "#d5ccba" - float: "#d5ccba" - string: "#d5ccba" - nothing: "#d5ccba" - binary: "#d5ccba" - cellpath: "#d5ccba" - row_index: "#858162" - record: "#d5ccba" - list: "#d5ccba" - block: "#d5ccba" - hints: "#5e5252" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#97522c" - shape_bool: "#989a9c" - shape_int: "#97522c" - shape_float: "#97522c" - shape_range: "#eaa549" - shape_internalcall: "#989a9c" - shape_external: "#989a9c" - shape_externalarg: "#858162" - shape_literal: "#426a79" - shape_operator: "#eaa549" - shape_signature: "#858162" - shape_string: "#858162" - shape_string_interpolation: "#989a9c" - shape_datetime: "#989a9c" - shape_list: "#989a9c" - shape_table: "#426a79" - shape_record: "#989a9c" - shape_block: "#426a79" - shape_filepath: "#989a9c" - shape_globpattern: "#989a9c" - shape_variable: "#97522c" - shape_flag: "#426a79" - shape_custom: "#858162" - shape_nothing: "#989a9c" +export def main [] { return { + separator: "#968c83" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#858162" attr: "b" } + empty: "#426a79" + bool: {|| if $in { "#989a9c" } else { "light_gray" } } + int: "#968c83" + filesize: {|e| + if $e == 0b { + "#968c83" + } else if $e < 1mb { + "#989a9c" + } else {{ fg: "#426a79" }} } -} + duration: "#968c83" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#be100e" attr: "b" } + } else if $in < 6hr { + "#be100e" + } else if $in < 1day { + "#eaa549" + } else if $in < 3day { + "#858162" + } else if $in < 1wk { + { fg: "#858162" attr: "b" } + } else if $in < 6wk { + "#989a9c" + } else if $in < 52wk { + "#426a79" + } else { "dark_gray" } + } + range: "#968c83" + float: "#968c83" + string: "#968c83" + nothing: "#968c83" + binary: "#968c83" + cellpath: "#968c83" + row_index: { fg: "#858162" attr: "b" } + record: "#968c83" + list: "#968c83" + block: "#968c83" + hints: "dark_gray" + + shape_and: { fg: "#97522c" attr: "b" } + shape_binary: { fg: "#97522c" attr: "b" } + shape_block: { fg: "#426a79" attr: "b" } + shape_bool: "#989a9c" + shape_custom: "#858162" + shape_datetime: { fg: "#989a9c" attr: "b" } + shape_directory: "#989a9c" + shape_external: "#989a9c" + shape_externalarg: { fg: "#858162" attr: "b" } + shape_filepath: "#989a9c" + shape_flag: { fg: "#426a79" attr: "b" } + shape_float: { fg: "#97522c" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#989a9c" attr: "b" } + shape_int: { fg: "#97522c" attr: "b" } + shape_internalcall: { fg: "#989a9c" attr: "b" } + shape_list: { fg: "#989a9c" attr: "b" } + shape_literal: "#426a79" + shape_match_pattern: "#858162" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#989a9c" + shape_operator: "#eaa549" + shape_or: { fg: "#97522c" attr: "b" } + shape_pipe: { fg: "#97522c" attr: "b" } + shape_range: { fg: "#eaa549" attr: "b" } + shape_record: { fg: "#989a9c" attr: "b" } + shape_redirection: { fg: "#97522c" attr: "b" } + shape_signature: { fg: "#858162" attr: "b" } + shape_string: "#858162" + shape_string_interpolation: { fg: "#989a9c" attr: "b" } + shape_table: { fg: "#426a79" attr: "b" } + shape_variable: "#97522c" + + background: "#20111b" + foreground: "#968c83" + cursor: "#968c83" +}} \ No newline at end of file diff --git a/themes/themes/bespin.nu b/themes/themes/bespin.nu index 52e9fb7..96213ba 100644 --- a/themes/themes/bespin.nu +++ b/themes/themes/bespin.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the bespin theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#28211c" - # foreground: "#8a8986" - # cursor: "#8a8986" - - { - # color for nushell primitives - separator: "#baae9e" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#54be0d" - empty: "#5ea6ea" - bool: "#baae9e" - int: "#baae9e" - filesize: "#baae9e" - duration: "#baae9e" - date: "#baae9e" - range: "#baae9e" - float: "#baae9e" - string: "#baae9e" - nothing: "#baae9e" - binary: "#baae9e" - cellpath: "#baae9e" - row_index: "#54be0d" - record: "#baae9e" - list: "#baae9e" - block: "#baae9e" - hints: "#666666" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9b859d" - shape_bool: "#afc4db" - shape_int: "#9b859d" - shape_float: "#9b859d" - shape_range: "#f9ee98" - shape_internalcall: "#afc4db" - shape_external: "#afc4db" - shape_externalarg: "#54be0d" - shape_literal: "#5ea6ea" - shape_operator: "#f9ee98" - shape_signature: "#54be0d" - shape_string: "#54be0d" - shape_string_interpolation: "#afc4db" - shape_datetime: "#afc4db" - shape_list: "#afc4db" - shape_table: "#5ea6ea" - shape_record: "#afc4db" - shape_block: "#5ea6ea" - shape_filepath: "#afc4db" - shape_globpattern: "#afc4db" - shape_variable: "#9b859d" - shape_flag: "#5ea6ea" - shape_custom: "#54be0d" - shape_nothing: "#afc4db" +export def main [] { return { + separator: "#8a8986" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#54be0d" attr: "b" } + empty: "#5ea6ea" + bool: {|| if $in { "#afc4db" } else { "light_gray" } } + int: "#8a8986" + filesize: {|e| + if $e == 0b { + "#8a8986" + } else if $e < 1mb { + "#afc4db" + } else {{ fg: "#5ea6ea" }} } -} + duration: "#8a8986" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cf6a4c" attr: "b" } + } else if $in < 6hr { + "#cf6a4c" + } else if $in < 1day { + "#f9ee98" + } else if $in < 3day { + "#54be0d" + } else if $in < 1wk { + { fg: "#54be0d" attr: "b" } + } else if $in < 6wk { + "#afc4db" + } else if $in < 52wk { + "#5ea6ea" + } else { "dark_gray" } + } + range: "#8a8986" + float: "#8a8986" + string: "#8a8986" + nothing: "#8a8986" + binary: "#8a8986" + cellpath: "#8a8986" + row_index: { fg: "#54be0d" attr: "b" } + record: "#8a8986" + list: "#8a8986" + block: "#8a8986" + hints: "dark_gray" + + shape_and: { fg: "#9b859d" attr: "b" } + shape_binary: { fg: "#9b859d" attr: "b" } + shape_block: { fg: "#5ea6ea" attr: "b" } + shape_bool: "#afc4db" + shape_custom: "#54be0d" + shape_datetime: { fg: "#afc4db" attr: "b" } + shape_directory: "#afc4db" + shape_external: "#afc4db" + shape_externalarg: { fg: "#54be0d" attr: "b" } + shape_filepath: "#afc4db" + shape_flag: { fg: "#5ea6ea" attr: "b" } + shape_float: { fg: "#9b859d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#afc4db" attr: "b" } + shape_int: { fg: "#9b859d" attr: "b" } + shape_internalcall: { fg: "#afc4db" attr: "b" } + shape_list: { fg: "#afc4db" attr: "b" } + shape_literal: "#5ea6ea" + shape_match_pattern: "#54be0d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#afc4db" + shape_operator: "#f9ee98" + shape_or: { fg: "#9b859d" attr: "b" } + shape_pipe: { fg: "#9b859d" attr: "b" } + shape_range: { fg: "#f9ee98" attr: "b" } + shape_record: { fg: "#afc4db" attr: "b" } + shape_redirection: { fg: "#9b859d" attr: "b" } + shape_signature: { fg: "#54be0d" attr: "b" } + shape_string: "#54be0d" + shape_string_interpolation: { fg: "#afc4db" attr: "b" } + shape_table: { fg: "#5ea6ea" attr: "b" } + shape_variable: "#9b859d" + + background: "#28211c" + foreground: "#8a8986" + cursor: "#8a8986" +}} \ No newline at end of file diff --git a/themes/themes/bim.nu b/themes/themes/bim.nu index 86e95d3..204ff48 100644 --- a/themes/themes/bim.nu +++ b/themes/themes/bim.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the bim theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#012849" - # foreground: "#a9bed8" - # cursor: "#a9bed8" - - { - # color for nushell primitives - separator: "#f5eeec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#bbee78" - empty: "#5ea2ec" - bool: "#f5eeec" - int: "#f5eeec" - filesize: "#f5eeec" - duration: "#f5eeec" - date: "#f5eeec" - range: "#f5eeec" - float: "#f5eeec" - string: "#f5eeec" - nothing: "#f5eeec" - binary: "#f5eeec" - cellpath: "#f5eeec" - row_index: "#bbee78" - record: "#f5eeec" - list: "#f5eeec" - block: "#f5eeec" - hints: "#918988" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bb79ec" - shape_bool: "#81eeb2" - shape_int: "#bb79ec" - shape_float: "#bb79ec" - shape_range: "#f5b378" - shape_internalcall: "#81eeb2" - shape_external: "#5eeea0" - shape_externalarg: "#bbee78" - shape_literal: "#5ea2ec" - shape_operator: "#f5a255" - shape_signature: "#bbee78" - shape_string: "#a9ee55" - shape_string_interpolation: "#81eeb2" - shape_datetime: "#81eeb2" - shape_list: "#81eeb2" - shape_table: "#81b3ec" - shape_record: "#81eeb2" - shape_block: "#81b3ec" - shape_filepath: "#5eeea0" - shape_globpattern: "#81eeb2" - shape_variable: "#a957ec" - shape_flag: "#81b3ec" - shape_custom: "#a9ee55" - shape_nothing: "#81eeb2" +export def main [] { return { + separator: "#918988" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a9ee55" attr: "b" } + empty: "#5ea2ec" + bool: {|| if $in { "#81eeb2" } else { "light_gray" } } + int: "#918988" + filesize: {|e| + if $e == 0b { + "#918988" + } else if $e < 1mb { + "#5eeea0" + } else {{ fg: "#5ea2ec" }} } -} + duration: "#918988" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f557a0" attr: "b" } + } else if $in < 6hr { + "#f557a0" + } else if $in < 1day { + "#f5a255" + } else if $in < 3day { + "#a9ee55" + } else if $in < 1wk { + { fg: "#a9ee55" attr: "b" } + } else if $in < 6wk { + "#5eeea0" + } else if $in < 52wk { + "#5ea2ec" + } else { "dark_gray" } + } + range: "#918988" + float: "#918988" + string: "#918988" + nothing: "#918988" + binary: "#918988" + cellpath: "#918988" + row_index: { fg: "#a9ee55" attr: "b" } + record: "#918988" + list: "#918988" + block: "#918988" + hints: "dark_gray" + + shape_and: { fg: "#a957ec" attr: "b" } + shape_binary: { fg: "#a957ec" attr: "b" } + shape_block: { fg: "#5ea2ec" attr: "b" } + shape_bool: "#81eeb2" + shape_custom: "#a9ee55" + shape_datetime: { fg: "#5eeea0" attr: "b" } + shape_directory: "#5eeea0" + shape_external: "#5eeea0" + shape_externalarg: { fg: "#a9ee55" attr: "b" } + shape_filepath: "#5eeea0" + shape_flag: { fg: "#5ea2ec" attr: "b" } + shape_float: { fg: "#a957ec" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5eeea0" attr: "b" } + shape_int: { fg: "#a957ec" attr: "b" } + shape_internalcall: { fg: "#5eeea0" attr: "b" } + shape_list: { fg: "#5eeea0" attr: "b" } + shape_literal: "#5ea2ec" + shape_match_pattern: "#a9ee55" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#81eeb2" + shape_operator: "#f5a255" + shape_or: { fg: "#a957ec" attr: "b" } + shape_pipe: { fg: "#a957ec" attr: "b" } + shape_range: { fg: "#f5a255" attr: "b" } + shape_record: { fg: "#5eeea0" attr: "b" } + shape_redirection: { fg: "#a957ec" attr: "b" } + shape_signature: { fg: "#a9ee55" attr: "b" } + shape_string: "#a9ee55" + shape_string_interpolation: { fg: "#5eeea0" attr: "b" } + shape_table: { fg: "#5ea2ec" attr: "b" } + shape_variable: "#a957ec" + + background: "#012849" + foreground: "#a9bed8" + cursor: "#a9bed8" +}} \ No newline at end of file diff --git a/themes/themes/birds-of-paradise.nu b/themes/themes/birds-of-paradise.nu index d33d42f..c05d276 100644 --- a/themes/themes/birds-of-paradise.nu +++ b/themes/themes/birds-of-paradise.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the birds_of-paradise theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2a1f1d" - # foreground: "#e0dbb7" - # cursor: "#e0dbb7" - - { - # color for nushell primitives - separator: "#fff9d5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#95d8ba" - empty: "#5a86ad" - bool: "#fff9d5" - int: "#fff9d5" - filesize: "#fff9d5" - duration: "#fff9d5" - date: "#fff9d5" - range: "#fff9d5" - float: "#fff9d5" - string: "#fff9d5" - nothing: "#fff9d5" - binary: "#fff9d5" - cellpath: "#fff9d5" - row_index: "#95d8ba" - record: "#fff9d5" - list: "#fff9d5" - block: "#fff9d5" - hints: "#9b6c4a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d19ecb" - shape_bool: "#93cfd7" - shape_int: "#d19ecb" - shape_float: "#d19ecb" - shape_range: "#d0d150" - shape_internalcall: "#93cfd7" - shape_external: "#74a6ad" - shape_externalarg: "#95d8ba" - shape_literal: "#5a86ad" - shape_operator: "#e99d2a" - shape_signature: "#95d8ba" - shape_string: "#6ba18a" - shape_string_interpolation: "#93cfd7" - shape_datetime: "#93cfd7" - shape_list: "#93cfd7" - shape_table: "#b8d3ed" - shape_record: "#93cfd7" - shape_block: "#b8d3ed" - shape_filepath: "#74a6ad" - shape_globpattern: "#93cfd7" - shape_variable: "#ac80a6" - shape_flag: "#b8d3ed" - shape_custom: "#6ba18a" - shape_nothing: "#93cfd7" +export def main [] { return { + separator: "#e0dbb7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6ba18a" attr: "b" } + empty: "#5a86ad" + bool: {|| if $in { "#93cfd7" } else { "light_gray" } } + int: "#e0dbb7" + filesize: {|e| + if $e == 0b { + "#e0dbb7" + } else if $e < 1mb { + "#74a6ad" + } else {{ fg: "#5a86ad" }} } -} + duration: "#e0dbb7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#be2d26" attr: "b" } + } else if $in < 6hr { + "#be2d26" + } else if $in < 1day { + "#e99d2a" + } else if $in < 3day { + "#6ba18a" + } else if $in < 1wk { + { fg: "#6ba18a" attr: "b" } + } else if $in < 6wk { + "#74a6ad" + } else if $in < 52wk { + "#5a86ad" + } else { "dark_gray" } + } + range: "#e0dbb7" + float: "#e0dbb7" + string: "#e0dbb7" + nothing: "#e0dbb7" + binary: "#e0dbb7" + cellpath: "#e0dbb7" + row_index: { fg: "#6ba18a" attr: "b" } + record: "#e0dbb7" + list: "#e0dbb7" + block: "#e0dbb7" + hints: "dark_gray" + + shape_and: { fg: "#ac80a6" attr: "b" } + shape_binary: { fg: "#ac80a6" attr: "b" } + shape_block: { fg: "#5a86ad" attr: "b" } + shape_bool: "#93cfd7" + shape_custom: "#6ba18a" + shape_datetime: { fg: "#74a6ad" attr: "b" } + shape_directory: "#74a6ad" + shape_external: "#74a6ad" + shape_externalarg: { fg: "#6ba18a" attr: "b" } + shape_filepath: "#74a6ad" + shape_flag: { fg: "#5a86ad" attr: "b" } + shape_float: { fg: "#ac80a6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#74a6ad" attr: "b" } + shape_int: { fg: "#ac80a6" attr: "b" } + shape_internalcall: { fg: "#74a6ad" attr: "b" } + shape_list: { fg: "#74a6ad" attr: "b" } + shape_literal: "#5a86ad" + shape_match_pattern: "#6ba18a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#93cfd7" + shape_operator: "#e99d2a" + shape_or: { fg: "#ac80a6" attr: "b" } + shape_pipe: { fg: "#ac80a6" attr: "b" } + shape_range: { fg: "#e99d2a" attr: "b" } + shape_record: { fg: "#74a6ad" attr: "b" } + shape_redirection: { fg: "#ac80a6" attr: "b" } + shape_signature: { fg: "#6ba18a" attr: "b" } + shape_string: "#6ba18a" + shape_string_interpolation: { fg: "#74a6ad" attr: "b" } + shape_table: { fg: "#5a86ad" attr: "b" } + shape_variable: "#ac80a6" + + background: "#2a1f1d" + foreground: "#e0dbb7" + cursor: "#e0dbb7" +}} \ No newline at end of file diff --git a/themes/themes/black-metal-bathory.nu b/themes/themes/black-metal-bathory.nu index b2b366a..585d31f 100644 --- a/themes/themes/black-metal-bathory.nu +++ b/themes/themes/black-metal-bathory.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the black_metal-bathory theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c1c1c1" - # cursor: "#c1c1c1" - - { - # color for nushell primitives - separator: "#c1c1c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#fbcb97" - empty: "#888888" - bool: "#c1c1c1" - int: "#c1c1c1" - filesize: "#c1c1c1" - duration: "#c1c1c1" - date: "#c1c1c1" - range: "#c1c1c1" - float: "#c1c1c1" - string: "#c1c1c1" - nothing: "#c1c1c1" - binary: "#c1c1c1" - cellpath: "#c1c1c1" - row_index: "#fbcb97" - record: "#c1c1c1" - list: "#c1c1c1" - block: "#c1c1c1" - hints: "#333333" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#999999" - shape_bool: "#aaaaaa" - shape_int: "#999999" - shape_float: "#999999" - shape_range: "#e78a53" - shape_internalcall: "#aaaaaa" - shape_external: "#aaaaaa" - shape_externalarg: "#fbcb97" - shape_literal: "#888888" - shape_operator: "#e78a53" - shape_signature: "#fbcb97" - shape_string: "#fbcb97" - shape_string_interpolation: "#aaaaaa" - shape_datetime: "#aaaaaa" - shape_list: "#aaaaaa" - shape_table: "#888888" - shape_record: "#aaaaaa" - shape_block: "#888888" - shape_filepath: "#aaaaaa" - shape_globpattern: "#aaaaaa" - shape_variable: "#999999" - shape_flag: "#888888" - shape_custom: "#fbcb97" - shape_nothing: "#aaaaaa" +export def main [] { return { + separator: "#c1c1c1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#fbcb97" attr: "b" } + empty: "#888888" + bool: {|| if $in { "#aaaaaa" } else { "light_gray" } } + int: "#c1c1c1" + filesize: {|e| + if $e == 0b { + "#c1c1c1" + } else if $e < 1mb { + "#aaaaaa" + } else {{ fg: "#888888" }} } -} + duration: "#c1c1c1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f8787" attr: "b" } + } else if $in < 6hr { + "#5f8787" + } else if $in < 1day { + "#e78a53" + } else if $in < 3day { + "#fbcb97" + } else if $in < 1wk { + { fg: "#fbcb97" attr: "b" } + } else if $in < 6wk { + "#aaaaaa" + } else if $in < 52wk { + "#888888" + } else { "dark_gray" } + } + range: "#c1c1c1" + float: "#c1c1c1" + string: "#c1c1c1" + nothing: "#c1c1c1" + binary: "#c1c1c1" + cellpath: "#c1c1c1" + row_index: { fg: "#fbcb97" attr: "b" } + record: "#c1c1c1" + list: "#c1c1c1" + block: "#c1c1c1" + hints: "dark_gray" + + shape_and: { fg: "#999999" attr: "b" } + shape_binary: { fg: "#999999" attr: "b" } + shape_block: { fg: "#888888" attr: "b" } + shape_bool: "#aaaaaa" + shape_custom: "#fbcb97" + shape_datetime: { fg: "#aaaaaa" attr: "b" } + shape_directory: "#aaaaaa" + shape_external: "#aaaaaa" + shape_externalarg: { fg: "#fbcb97" attr: "b" } + shape_filepath: "#aaaaaa" + shape_flag: { fg: "#888888" attr: "b" } + shape_float: { fg: "#999999" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aaaaaa" attr: "b" } + shape_int: { fg: "#999999" attr: "b" } + shape_internalcall: { fg: "#aaaaaa" attr: "b" } + shape_list: { fg: "#aaaaaa" attr: "b" } + shape_literal: "#888888" + shape_match_pattern: "#fbcb97" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#aaaaaa" + shape_operator: "#e78a53" + shape_or: { fg: "#999999" attr: "b" } + shape_pipe: { fg: "#999999" attr: "b" } + shape_range: { fg: "#e78a53" attr: "b" } + shape_record: { fg: "#aaaaaa" attr: "b" } + shape_redirection: { fg: "#999999" attr: "b" } + shape_signature: { fg: "#fbcb97" attr: "b" } + shape_string: "#fbcb97" + shape_string_interpolation: { fg: "#aaaaaa" attr: "b" } + shape_table: { fg: "#888888" attr: "b" } + shape_variable: "#999999" + + background: "#000000" + foreground: "#c1c1c1" + cursor: "#c1c1c1" +}} \ No newline at end of file diff --git a/themes/themes/black-metal-burzum.nu b/themes/themes/black-metal-burzum.nu index ba8c408..2d5bbf7 100644 --- a/themes/themes/black-metal-burzum.nu +++ b/themes/themes/black-metal-burzum.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the black_metal-burzum theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c1c1c1" - # cursor: "#c1c1c1" - - { - # color for nushell primitives - separator: "#c1c1c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ddeecc" - empty: "#888888" - bool: "#c1c1c1" - int: "#c1c1c1" - filesize: "#c1c1c1" - duration: "#c1c1c1" - date: "#c1c1c1" - range: "#c1c1c1" - float: "#c1c1c1" - string: "#c1c1c1" - nothing: "#c1c1c1" - binary: "#c1c1c1" - cellpath: "#c1c1c1" - row_index: "#ddeecc" - record: "#c1c1c1" - list: "#c1c1c1" - block: "#c1c1c1" - hints: "#333333" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#999999" - shape_bool: "#aaaaaa" - shape_int: "#999999" - shape_float: "#999999" - shape_range: "#99bbaa" - shape_internalcall: "#aaaaaa" - shape_external: "#aaaaaa" - shape_externalarg: "#ddeecc" - shape_literal: "#888888" - shape_operator: "#99bbaa" - shape_signature: "#ddeecc" - shape_string: "#ddeecc" - shape_string_interpolation: "#aaaaaa" - shape_datetime: "#aaaaaa" - shape_list: "#aaaaaa" - shape_table: "#888888" - shape_record: "#aaaaaa" - shape_block: "#888888" - shape_filepath: "#aaaaaa" - shape_globpattern: "#aaaaaa" - shape_variable: "#999999" - shape_flag: "#888888" - shape_custom: "#ddeecc" - shape_nothing: "#aaaaaa" +export def main [] { return { + separator: "#c1c1c1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#ddeecc" attr: "b" } + empty: "#888888" + bool: {|| if $in { "#aaaaaa" } else { "light_gray" } } + int: "#c1c1c1" + filesize: {|e| + if $e == 0b { + "#c1c1c1" + } else if $e < 1mb { + "#aaaaaa" + } else {{ fg: "#888888" }} } -} + duration: "#c1c1c1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f8787" attr: "b" } + } else if $in < 6hr { + "#5f8787" + } else if $in < 1day { + "#99bbaa" + } else if $in < 3day { + "#ddeecc" + } else if $in < 1wk { + { fg: "#ddeecc" attr: "b" } + } else if $in < 6wk { + "#aaaaaa" + } else if $in < 52wk { + "#888888" + } else { "dark_gray" } + } + range: "#c1c1c1" + float: "#c1c1c1" + string: "#c1c1c1" + nothing: "#c1c1c1" + binary: "#c1c1c1" + cellpath: "#c1c1c1" + row_index: { fg: "#ddeecc" attr: "b" } + record: "#c1c1c1" + list: "#c1c1c1" + block: "#c1c1c1" + hints: "dark_gray" + + shape_and: { fg: "#999999" attr: "b" } + shape_binary: { fg: "#999999" attr: "b" } + shape_block: { fg: "#888888" attr: "b" } + shape_bool: "#aaaaaa" + shape_custom: "#ddeecc" + shape_datetime: { fg: "#aaaaaa" attr: "b" } + shape_directory: "#aaaaaa" + shape_external: "#aaaaaa" + shape_externalarg: { fg: "#ddeecc" attr: "b" } + shape_filepath: "#aaaaaa" + shape_flag: { fg: "#888888" attr: "b" } + shape_float: { fg: "#999999" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aaaaaa" attr: "b" } + shape_int: { fg: "#999999" attr: "b" } + shape_internalcall: { fg: "#aaaaaa" attr: "b" } + shape_list: { fg: "#aaaaaa" attr: "b" } + shape_literal: "#888888" + shape_match_pattern: "#ddeecc" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#aaaaaa" + shape_operator: "#99bbaa" + shape_or: { fg: "#999999" attr: "b" } + shape_pipe: { fg: "#999999" attr: "b" } + shape_range: { fg: "#99bbaa" attr: "b" } + shape_record: { fg: "#aaaaaa" attr: "b" } + shape_redirection: { fg: "#999999" attr: "b" } + shape_signature: { fg: "#ddeecc" attr: "b" } + shape_string: "#ddeecc" + shape_string_interpolation: { fg: "#aaaaaa" attr: "b" } + shape_table: { fg: "#888888" attr: "b" } + shape_variable: "#999999" + + background: "#000000" + foreground: "#c1c1c1" + cursor: "#c1c1c1" +}} \ No newline at end of file diff --git a/themes/themes/black-metal-dark-funeral.nu b/themes/themes/black-metal-dark-funeral.nu index 5818f11..48be2c4 100644 --- a/themes/themes/black-metal-dark-funeral.nu +++ b/themes/themes/black-metal-dark-funeral.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the black_metal-dark-funeral theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c1c1c1" - # cursor: "#c1c1c1" - - { - # color for nushell primitives - separator: "#c1c1c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#d0dfee" - empty: "#888888" - bool: "#c1c1c1" - int: "#c1c1c1" - filesize: "#c1c1c1" - duration: "#c1c1c1" - date: "#c1c1c1" - range: "#c1c1c1" - float: "#c1c1c1" - string: "#c1c1c1" - nothing: "#c1c1c1" - binary: "#c1c1c1" - cellpath: "#c1c1c1" - row_index: "#d0dfee" - record: "#c1c1c1" - list: "#c1c1c1" - block: "#c1c1c1" - hints: "#333333" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#999999" - shape_bool: "#aaaaaa" - shape_int: "#999999" - shape_float: "#999999" - shape_range: "#5f81a5" - shape_internalcall: "#aaaaaa" - shape_external: "#aaaaaa" - shape_externalarg: "#d0dfee" - shape_literal: "#888888" - shape_operator: "#5f81a5" - shape_signature: "#d0dfee" - shape_string: "#d0dfee" - shape_string_interpolation: "#aaaaaa" - shape_datetime: "#aaaaaa" - shape_list: "#aaaaaa" - shape_table: "#888888" - shape_record: "#aaaaaa" - shape_block: "#888888" - shape_filepath: "#aaaaaa" - shape_globpattern: "#aaaaaa" - shape_variable: "#999999" - shape_flag: "#888888" - shape_custom: "#d0dfee" - shape_nothing: "#aaaaaa" +export def main [] { return { + separator: "#c1c1c1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#d0dfee" attr: "b" } + empty: "#888888" + bool: {|| if $in { "#aaaaaa" } else { "light_gray" } } + int: "#c1c1c1" + filesize: {|e| + if $e == 0b { + "#c1c1c1" + } else if $e < 1mb { + "#aaaaaa" + } else {{ fg: "#888888" }} } -} + duration: "#c1c1c1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f8787" attr: "b" } + } else if $in < 6hr { + "#5f8787" + } else if $in < 1day { + "#5f81a5" + } else if $in < 3day { + "#d0dfee" + } else if $in < 1wk { + { fg: "#d0dfee" attr: "b" } + } else if $in < 6wk { + "#aaaaaa" + } else if $in < 52wk { + "#888888" + } else { "dark_gray" } + } + range: "#c1c1c1" + float: "#c1c1c1" + string: "#c1c1c1" + nothing: "#c1c1c1" + binary: "#c1c1c1" + cellpath: "#c1c1c1" + row_index: { fg: "#d0dfee" attr: "b" } + record: "#c1c1c1" + list: "#c1c1c1" + block: "#c1c1c1" + hints: "dark_gray" + + shape_and: { fg: "#999999" attr: "b" } + shape_binary: { fg: "#999999" attr: "b" } + shape_block: { fg: "#888888" attr: "b" } + shape_bool: "#aaaaaa" + shape_custom: "#d0dfee" + shape_datetime: { fg: "#aaaaaa" attr: "b" } + shape_directory: "#aaaaaa" + shape_external: "#aaaaaa" + shape_externalarg: { fg: "#d0dfee" attr: "b" } + shape_filepath: "#aaaaaa" + shape_flag: { fg: "#888888" attr: "b" } + shape_float: { fg: "#999999" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aaaaaa" attr: "b" } + shape_int: { fg: "#999999" attr: "b" } + shape_internalcall: { fg: "#aaaaaa" attr: "b" } + shape_list: { fg: "#aaaaaa" attr: "b" } + shape_literal: "#888888" + shape_match_pattern: "#d0dfee" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#aaaaaa" + shape_operator: "#5f81a5" + shape_or: { fg: "#999999" attr: "b" } + shape_pipe: { fg: "#999999" attr: "b" } + shape_range: { fg: "#5f81a5" attr: "b" } + shape_record: { fg: "#aaaaaa" attr: "b" } + shape_redirection: { fg: "#999999" attr: "b" } + shape_signature: { fg: "#d0dfee" attr: "b" } + shape_string: "#d0dfee" + shape_string_interpolation: { fg: "#aaaaaa" attr: "b" } + shape_table: { fg: "#888888" attr: "b" } + shape_variable: "#999999" + + background: "#000000" + foreground: "#c1c1c1" + cursor: "#c1c1c1" +}} \ No newline at end of file diff --git a/themes/themes/black-metal-gorgoroth.nu b/themes/themes/black-metal-gorgoroth.nu index f5a66eb..0124c3d 100644 --- a/themes/themes/black-metal-gorgoroth.nu +++ b/themes/themes/black-metal-gorgoroth.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the black_metal-gorgoroth theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c1c1c1" - # cursor: "#c1c1c1" - - { - # color for nushell primitives - separator: "#c1c1c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#9b8d7f" - empty: "#888888" - bool: "#c1c1c1" - int: "#c1c1c1" - filesize: "#c1c1c1" - duration: "#c1c1c1" - date: "#c1c1c1" - range: "#c1c1c1" - float: "#c1c1c1" - string: "#c1c1c1" - nothing: "#c1c1c1" - binary: "#c1c1c1" - cellpath: "#c1c1c1" - row_index: "#9b8d7f" - record: "#c1c1c1" - list: "#c1c1c1" - block: "#c1c1c1" - hints: "#333333" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#999999" - shape_bool: "#aaaaaa" - shape_int: "#999999" - shape_float: "#999999" - shape_range: "#8c7f70" - shape_internalcall: "#aaaaaa" - shape_external: "#aaaaaa" - shape_externalarg: "#9b8d7f" - shape_literal: "#888888" - shape_operator: "#8c7f70" - shape_signature: "#9b8d7f" - shape_string: "#9b8d7f" - shape_string_interpolation: "#aaaaaa" - shape_datetime: "#aaaaaa" - shape_list: "#aaaaaa" - shape_table: "#888888" - shape_record: "#aaaaaa" - shape_block: "#888888" - shape_filepath: "#aaaaaa" - shape_globpattern: "#aaaaaa" - shape_variable: "#999999" - shape_flag: "#888888" - shape_custom: "#9b8d7f" - shape_nothing: "#aaaaaa" +export def main [] { return { + separator: "#c1c1c1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#9b8d7f" attr: "b" } + empty: "#888888" + bool: {|| if $in { "#aaaaaa" } else { "light_gray" } } + int: "#c1c1c1" + filesize: {|e| + if $e == 0b { + "#c1c1c1" + } else if $e < 1mb { + "#aaaaaa" + } else {{ fg: "#888888" }} } -} + duration: "#c1c1c1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f8787" attr: "b" } + } else if $in < 6hr { + "#5f8787" + } else if $in < 1day { + "#8c7f70" + } else if $in < 3day { + "#9b8d7f" + } else if $in < 1wk { + { fg: "#9b8d7f" attr: "b" } + } else if $in < 6wk { + "#aaaaaa" + } else if $in < 52wk { + "#888888" + } else { "dark_gray" } + } + range: "#c1c1c1" + float: "#c1c1c1" + string: "#c1c1c1" + nothing: "#c1c1c1" + binary: "#c1c1c1" + cellpath: "#c1c1c1" + row_index: { fg: "#9b8d7f" attr: "b" } + record: "#c1c1c1" + list: "#c1c1c1" + block: "#c1c1c1" + hints: "dark_gray" + + shape_and: { fg: "#999999" attr: "b" } + shape_binary: { fg: "#999999" attr: "b" } + shape_block: { fg: "#888888" attr: "b" } + shape_bool: "#aaaaaa" + shape_custom: "#9b8d7f" + shape_datetime: { fg: "#aaaaaa" attr: "b" } + shape_directory: "#aaaaaa" + shape_external: "#aaaaaa" + shape_externalarg: { fg: "#9b8d7f" attr: "b" } + shape_filepath: "#aaaaaa" + shape_flag: { fg: "#888888" attr: "b" } + shape_float: { fg: "#999999" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aaaaaa" attr: "b" } + shape_int: { fg: "#999999" attr: "b" } + shape_internalcall: { fg: "#aaaaaa" attr: "b" } + shape_list: { fg: "#aaaaaa" attr: "b" } + shape_literal: "#888888" + shape_match_pattern: "#9b8d7f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#aaaaaa" + shape_operator: "#8c7f70" + shape_or: { fg: "#999999" attr: "b" } + shape_pipe: { fg: "#999999" attr: "b" } + shape_range: { fg: "#8c7f70" attr: "b" } + shape_record: { fg: "#aaaaaa" attr: "b" } + shape_redirection: { fg: "#999999" attr: "b" } + shape_signature: { fg: "#9b8d7f" attr: "b" } + shape_string: "#9b8d7f" + shape_string_interpolation: { fg: "#aaaaaa" attr: "b" } + shape_table: { fg: "#888888" attr: "b" } + shape_variable: "#999999" + + background: "#000000" + foreground: "#c1c1c1" + cursor: "#c1c1c1" +}} \ No newline at end of file diff --git a/themes/themes/black-metal-immortal.nu b/themes/themes/black-metal-immortal.nu index 1faabb4..884408d 100644 --- a/themes/themes/black-metal-immortal.nu +++ b/themes/themes/black-metal-immortal.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the black_metal-immortal theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c1c1c1" - # cursor: "#c1c1c1" - - { - # color for nushell primitives - separator: "#c1c1c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7799bb" - empty: "#888888" - bool: "#c1c1c1" - int: "#c1c1c1" - filesize: "#c1c1c1" - duration: "#c1c1c1" - date: "#c1c1c1" - range: "#c1c1c1" - float: "#c1c1c1" - string: "#c1c1c1" - nothing: "#c1c1c1" - binary: "#c1c1c1" - cellpath: "#c1c1c1" - row_index: "#7799bb" - record: "#c1c1c1" - list: "#c1c1c1" - block: "#c1c1c1" - hints: "#333333" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#999999" - shape_bool: "#aaaaaa" - shape_int: "#999999" - shape_float: "#999999" - shape_range: "#556677" - shape_internalcall: "#aaaaaa" - shape_external: "#aaaaaa" - shape_externalarg: "#7799bb" - shape_literal: "#888888" - shape_operator: "#556677" - shape_signature: "#7799bb" - shape_string: "#7799bb" - shape_string_interpolation: "#aaaaaa" - shape_datetime: "#aaaaaa" - shape_list: "#aaaaaa" - shape_table: "#888888" - shape_record: "#aaaaaa" - shape_block: "#888888" - shape_filepath: "#aaaaaa" - shape_globpattern: "#aaaaaa" - shape_variable: "#999999" - shape_flag: "#888888" - shape_custom: "#7799bb" - shape_nothing: "#aaaaaa" +export def main [] { return { + separator: "#c1c1c1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7799bb" attr: "b" } + empty: "#888888" + bool: {|| if $in { "#aaaaaa" } else { "light_gray" } } + int: "#c1c1c1" + filesize: {|e| + if $e == 0b { + "#c1c1c1" + } else if $e < 1mb { + "#aaaaaa" + } else {{ fg: "#888888" }} } -} + duration: "#c1c1c1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f8787" attr: "b" } + } else if $in < 6hr { + "#5f8787" + } else if $in < 1day { + "#556677" + } else if $in < 3day { + "#7799bb" + } else if $in < 1wk { + { fg: "#7799bb" attr: "b" } + } else if $in < 6wk { + "#aaaaaa" + } else if $in < 52wk { + "#888888" + } else { "dark_gray" } + } + range: "#c1c1c1" + float: "#c1c1c1" + string: "#c1c1c1" + nothing: "#c1c1c1" + binary: "#c1c1c1" + cellpath: "#c1c1c1" + row_index: { fg: "#7799bb" attr: "b" } + record: "#c1c1c1" + list: "#c1c1c1" + block: "#c1c1c1" + hints: "dark_gray" + + shape_and: { fg: "#999999" attr: "b" } + shape_binary: { fg: "#999999" attr: "b" } + shape_block: { fg: "#888888" attr: "b" } + shape_bool: "#aaaaaa" + shape_custom: "#7799bb" + shape_datetime: { fg: "#aaaaaa" attr: "b" } + shape_directory: "#aaaaaa" + shape_external: "#aaaaaa" + shape_externalarg: { fg: "#7799bb" attr: "b" } + shape_filepath: "#aaaaaa" + shape_flag: { fg: "#888888" attr: "b" } + shape_float: { fg: "#999999" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aaaaaa" attr: "b" } + shape_int: { fg: "#999999" attr: "b" } + shape_internalcall: { fg: "#aaaaaa" attr: "b" } + shape_list: { fg: "#aaaaaa" attr: "b" } + shape_literal: "#888888" + shape_match_pattern: "#7799bb" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#aaaaaa" + shape_operator: "#556677" + shape_or: { fg: "#999999" attr: "b" } + shape_pipe: { fg: "#999999" attr: "b" } + shape_range: { fg: "#556677" attr: "b" } + shape_record: { fg: "#aaaaaa" attr: "b" } + shape_redirection: { fg: "#999999" attr: "b" } + shape_signature: { fg: "#7799bb" attr: "b" } + shape_string: "#7799bb" + shape_string_interpolation: { fg: "#aaaaaa" attr: "b" } + shape_table: { fg: "#888888" attr: "b" } + shape_variable: "#999999" + + background: "#000000" + foreground: "#c1c1c1" + cursor: "#c1c1c1" +}} \ No newline at end of file diff --git a/themes/themes/black-metal-khold.nu b/themes/themes/black-metal-khold.nu index 4f6b707..57141fe 100644 --- a/themes/themes/black-metal-khold.nu +++ b/themes/themes/black-metal-khold.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the black_metal-khold theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c1c1c1" - # cursor: "#c1c1c1" - - { - # color for nushell primitives - separator: "#c1c1c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#eceee3" - empty: "#888888" - bool: "#c1c1c1" - int: "#c1c1c1" - filesize: "#c1c1c1" - duration: "#c1c1c1" - date: "#c1c1c1" - range: "#c1c1c1" - float: "#c1c1c1" - string: "#c1c1c1" - nothing: "#c1c1c1" - binary: "#c1c1c1" - cellpath: "#c1c1c1" - row_index: "#eceee3" - record: "#c1c1c1" - list: "#c1c1c1" - block: "#c1c1c1" - hints: "#333333" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#999999" - shape_bool: "#aaaaaa" - shape_int: "#999999" - shape_float: "#999999" - shape_range: "#974b46" - shape_internalcall: "#aaaaaa" - shape_external: "#aaaaaa" - shape_externalarg: "#eceee3" - shape_literal: "#888888" - shape_operator: "#974b46" - shape_signature: "#eceee3" - shape_string: "#eceee3" - shape_string_interpolation: "#aaaaaa" - shape_datetime: "#aaaaaa" - shape_list: "#aaaaaa" - shape_table: "#888888" - shape_record: "#aaaaaa" - shape_block: "#888888" - shape_filepath: "#aaaaaa" - shape_globpattern: "#aaaaaa" - shape_variable: "#999999" - shape_flag: "#888888" - shape_custom: "#eceee3" - shape_nothing: "#aaaaaa" +export def main [] { return { + separator: "#c1c1c1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#eceee3" attr: "b" } + empty: "#888888" + bool: {|| if $in { "#aaaaaa" } else { "light_gray" } } + int: "#c1c1c1" + filesize: {|e| + if $e == 0b { + "#c1c1c1" + } else if $e < 1mb { + "#aaaaaa" + } else {{ fg: "#888888" }} } -} + duration: "#c1c1c1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f8787" attr: "b" } + } else if $in < 6hr { + "#5f8787" + } else if $in < 1day { + "#974b46" + } else if $in < 3day { + "#eceee3" + } else if $in < 1wk { + { fg: "#eceee3" attr: "b" } + } else if $in < 6wk { + "#aaaaaa" + } else if $in < 52wk { + "#888888" + } else { "dark_gray" } + } + range: "#c1c1c1" + float: "#c1c1c1" + string: "#c1c1c1" + nothing: "#c1c1c1" + binary: "#c1c1c1" + cellpath: "#c1c1c1" + row_index: { fg: "#eceee3" attr: "b" } + record: "#c1c1c1" + list: "#c1c1c1" + block: "#c1c1c1" + hints: "dark_gray" + + shape_and: { fg: "#999999" attr: "b" } + shape_binary: { fg: "#999999" attr: "b" } + shape_block: { fg: "#888888" attr: "b" } + shape_bool: "#aaaaaa" + shape_custom: "#eceee3" + shape_datetime: { fg: "#aaaaaa" attr: "b" } + shape_directory: "#aaaaaa" + shape_external: "#aaaaaa" + shape_externalarg: { fg: "#eceee3" attr: "b" } + shape_filepath: "#aaaaaa" + shape_flag: { fg: "#888888" attr: "b" } + shape_float: { fg: "#999999" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aaaaaa" attr: "b" } + shape_int: { fg: "#999999" attr: "b" } + shape_internalcall: { fg: "#aaaaaa" attr: "b" } + shape_list: { fg: "#aaaaaa" attr: "b" } + shape_literal: "#888888" + shape_match_pattern: "#eceee3" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#aaaaaa" + shape_operator: "#974b46" + shape_or: { fg: "#999999" attr: "b" } + shape_pipe: { fg: "#999999" attr: "b" } + shape_range: { fg: "#974b46" attr: "b" } + shape_record: { fg: "#aaaaaa" attr: "b" } + shape_redirection: { fg: "#999999" attr: "b" } + shape_signature: { fg: "#eceee3" attr: "b" } + shape_string: "#eceee3" + shape_string_interpolation: { fg: "#aaaaaa" attr: "b" } + shape_table: { fg: "#888888" attr: "b" } + shape_variable: "#999999" + + background: "#000000" + foreground: "#c1c1c1" + cursor: "#c1c1c1" +}} \ No newline at end of file diff --git a/themes/themes/black-metal-marduk.nu b/themes/themes/black-metal-marduk.nu index 9931337..d0793f9 100644 --- a/themes/themes/black-metal-marduk.nu +++ b/themes/themes/black-metal-marduk.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the black_metal-marduk theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c1c1c1" - # cursor: "#c1c1c1" - - { - # color for nushell primitives - separator: "#c1c1c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a5aaa7" - empty: "#888888" - bool: "#c1c1c1" - int: "#c1c1c1" - filesize: "#c1c1c1" - duration: "#c1c1c1" - date: "#c1c1c1" - range: "#c1c1c1" - float: "#c1c1c1" - string: "#c1c1c1" - nothing: "#c1c1c1" - binary: "#c1c1c1" - cellpath: "#c1c1c1" - row_index: "#a5aaa7" - record: "#c1c1c1" - list: "#c1c1c1" - block: "#c1c1c1" - hints: "#333333" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#999999" - shape_bool: "#aaaaaa" - shape_int: "#999999" - shape_float: "#999999" - shape_range: "#626b67" - shape_internalcall: "#aaaaaa" - shape_external: "#aaaaaa" - shape_externalarg: "#a5aaa7" - shape_literal: "#888888" - shape_operator: "#626b67" - shape_signature: "#a5aaa7" - shape_string: "#a5aaa7" - shape_string_interpolation: "#aaaaaa" - shape_datetime: "#aaaaaa" - shape_list: "#aaaaaa" - shape_table: "#888888" - shape_record: "#aaaaaa" - shape_block: "#888888" - shape_filepath: "#aaaaaa" - shape_globpattern: "#aaaaaa" - shape_variable: "#999999" - shape_flag: "#888888" - shape_custom: "#a5aaa7" - shape_nothing: "#aaaaaa" +export def main [] { return { + separator: "#c1c1c1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a5aaa7" attr: "b" } + empty: "#888888" + bool: {|| if $in { "#aaaaaa" } else { "light_gray" } } + int: "#c1c1c1" + filesize: {|e| + if $e == 0b { + "#c1c1c1" + } else if $e < 1mb { + "#aaaaaa" + } else {{ fg: "#888888" }} } -} + duration: "#c1c1c1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f8787" attr: "b" } + } else if $in < 6hr { + "#5f8787" + } else if $in < 1day { + "#626b67" + } else if $in < 3day { + "#a5aaa7" + } else if $in < 1wk { + { fg: "#a5aaa7" attr: "b" } + } else if $in < 6wk { + "#aaaaaa" + } else if $in < 52wk { + "#888888" + } else { "dark_gray" } + } + range: "#c1c1c1" + float: "#c1c1c1" + string: "#c1c1c1" + nothing: "#c1c1c1" + binary: "#c1c1c1" + cellpath: "#c1c1c1" + row_index: { fg: "#a5aaa7" attr: "b" } + record: "#c1c1c1" + list: "#c1c1c1" + block: "#c1c1c1" + hints: "dark_gray" + + shape_and: { fg: "#999999" attr: "b" } + shape_binary: { fg: "#999999" attr: "b" } + shape_block: { fg: "#888888" attr: "b" } + shape_bool: "#aaaaaa" + shape_custom: "#a5aaa7" + shape_datetime: { fg: "#aaaaaa" attr: "b" } + shape_directory: "#aaaaaa" + shape_external: "#aaaaaa" + shape_externalarg: { fg: "#a5aaa7" attr: "b" } + shape_filepath: "#aaaaaa" + shape_flag: { fg: "#888888" attr: "b" } + shape_float: { fg: "#999999" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aaaaaa" attr: "b" } + shape_int: { fg: "#999999" attr: "b" } + shape_internalcall: { fg: "#aaaaaa" attr: "b" } + shape_list: { fg: "#aaaaaa" attr: "b" } + shape_literal: "#888888" + shape_match_pattern: "#a5aaa7" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#aaaaaa" + shape_operator: "#626b67" + shape_or: { fg: "#999999" attr: "b" } + shape_pipe: { fg: "#999999" attr: "b" } + shape_range: { fg: "#626b67" attr: "b" } + shape_record: { fg: "#aaaaaa" attr: "b" } + shape_redirection: { fg: "#999999" attr: "b" } + shape_signature: { fg: "#a5aaa7" attr: "b" } + shape_string: "#a5aaa7" + shape_string_interpolation: { fg: "#aaaaaa" attr: "b" } + shape_table: { fg: "#888888" attr: "b" } + shape_variable: "#999999" + + background: "#000000" + foreground: "#c1c1c1" + cursor: "#c1c1c1" +}} \ No newline at end of file diff --git a/themes/themes/black-metal-mayhem.nu b/themes/themes/black-metal-mayhem.nu index 81442bf..a4275f4 100644 --- a/themes/themes/black-metal-mayhem.nu +++ b/themes/themes/black-metal-mayhem.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the black_metal-mayhem theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c1c1c1" - # cursor: "#c1c1c1" - - { - # color for nushell primitives - separator: "#c1c1c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#f3ecd4" - empty: "#888888" - bool: "#c1c1c1" - int: "#c1c1c1" - filesize: "#c1c1c1" - duration: "#c1c1c1" - date: "#c1c1c1" - range: "#c1c1c1" - float: "#c1c1c1" - string: "#c1c1c1" - nothing: "#c1c1c1" - binary: "#c1c1c1" - cellpath: "#c1c1c1" - row_index: "#f3ecd4" - record: "#c1c1c1" - list: "#c1c1c1" - block: "#c1c1c1" - hints: "#333333" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#999999" - shape_bool: "#aaaaaa" - shape_int: "#999999" - shape_float: "#999999" - shape_range: "#eecc6c" - shape_internalcall: "#aaaaaa" - shape_external: "#aaaaaa" - shape_externalarg: "#f3ecd4" - shape_literal: "#888888" - shape_operator: "#eecc6c" - shape_signature: "#f3ecd4" - shape_string: "#f3ecd4" - shape_string_interpolation: "#aaaaaa" - shape_datetime: "#aaaaaa" - shape_list: "#aaaaaa" - shape_table: "#888888" - shape_record: "#aaaaaa" - shape_block: "#888888" - shape_filepath: "#aaaaaa" - shape_globpattern: "#aaaaaa" - shape_variable: "#999999" - shape_flag: "#888888" - shape_custom: "#f3ecd4" - shape_nothing: "#aaaaaa" +export def main [] { return { + separator: "#c1c1c1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#f3ecd4" attr: "b" } + empty: "#888888" + bool: {|| if $in { "#aaaaaa" } else { "light_gray" } } + int: "#c1c1c1" + filesize: {|e| + if $e == 0b { + "#c1c1c1" + } else if $e < 1mb { + "#aaaaaa" + } else {{ fg: "#888888" }} } -} + duration: "#c1c1c1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f8787" attr: "b" } + } else if $in < 6hr { + "#5f8787" + } else if $in < 1day { + "#eecc6c" + } else if $in < 3day { + "#f3ecd4" + } else if $in < 1wk { + { fg: "#f3ecd4" attr: "b" } + } else if $in < 6wk { + "#aaaaaa" + } else if $in < 52wk { + "#888888" + } else { "dark_gray" } + } + range: "#c1c1c1" + float: "#c1c1c1" + string: "#c1c1c1" + nothing: "#c1c1c1" + binary: "#c1c1c1" + cellpath: "#c1c1c1" + row_index: { fg: "#f3ecd4" attr: "b" } + record: "#c1c1c1" + list: "#c1c1c1" + block: "#c1c1c1" + hints: "dark_gray" + + shape_and: { fg: "#999999" attr: "b" } + shape_binary: { fg: "#999999" attr: "b" } + shape_block: { fg: "#888888" attr: "b" } + shape_bool: "#aaaaaa" + shape_custom: "#f3ecd4" + shape_datetime: { fg: "#aaaaaa" attr: "b" } + shape_directory: "#aaaaaa" + shape_external: "#aaaaaa" + shape_externalarg: { fg: "#f3ecd4" attr: "b" } + shape_filepath: "#aaaaaa" + shape_flag: { fg: "#888888" attr: "b" } + shape_float: { fg: "#999999" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aaaaaa" attr: "b" } + shape_int: { fg: "#999999" attr: "b" } + shape_internalcall: { fg: "#aaaaaa" attr: "b" } + shape_list: { fg: "#aaaaaa" attr: "b" } + shape_literal: "#888888" + shape_match_pattern: "#f3ecd4" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#aaaaaa" + shape_operator: "#eecc6c" + shape_or: { fg: "#999999" attr: "b" } + shape_pipe: { fg: "#999999" attr: "b" } + shape_range: { fg: "#eecc6c" attr: "b" } + shape_record: { fg: "#aaaaaa" attr: "b" } + shape_redirection: { fg: "#999999" attr: "b" } + shape_signature: { fg: "#f3ecd4" attr: "b" } + shape_string: "#f3ecd4" + shape_string_interpolation: { fg: "#aaaaaa" attr: "b" } + shape_table: { fg: "#888888" attr: "b" } + shape_variable: "#999999" + + background: "#000000" + foreground: "#c1c1c1" + cursor: "#c1c1c1" +}} \ No newline at end of file diff --git a/themes/themes/black-metal-nile.nu b/themes/themes/black-metal-nile.nu index c591752..2088f53 100644 --- a/themes/themes/black-metal-nile.nu +++ b/themes/themes/black-metal-nile.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the black_metal-nile theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c1c1c1" - # cursor: "#c1c1c1" - - { - # color for nushell primitives - separator: "#c1c1c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#aa9988" - empty: "#888888" - bool: "#c1c1c1" - int: "#c1c1c1" - filesize: "#c1c1c1" - duration: "#c1c1c1" - date: "#c1c1c1" - range: "#c1c1c1" - float: "#c1c1c1" - string: "#c1c1c1" - nothing: "#c1c1c1" - binary: "#c1c1c1" - cellpath: "#c1c1c1" - row_index: "#aa9988" - record: "#c1c1c1" - list: "#c1c1c1" - block: "#c1c1c1" - hints: "#333333" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#999999" - shape_bool: "#aaaaaa" - shape_int: "#999999" - shape_float: "#999999" - shape_range: "#777755" - shape_internalcall: "#aaaaaa" - shape_external: "#aaaaaa" - shape_externalarg: "#aa9988" - shape_literal: "#888888" - shape_operator: "#777755" - shape_signature: "#aa9988" - shape_string: "#aa9988" - shape_string_interpolation: "#aaaaaa" - shape_datetime: "#aaaaaa" - shape_list: "#aaaaaa" - shape_table: "#888888" - shape_record: "#aaaaaa" - shape_block: "#888888" - shape_filepath: "#aaaaaa" - shape_globpattern: "#aaaaaa" - shape_variable: "#999999" - shape_flag: "#888888" - shape_custom: "#aa9988" - shape_nothing: "#aaaaaa" +export def main [] { return { + separator: "#c1c1c1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#aa9988" attr: "b" } + empty: "#888888" + bool: {|| if $in { "#aaaaaa" } else { "light_gray" } } + int: "#c1c1c1" + filesize: {|e| + if $e == 0b { + "#c1c1c1" + } else if $e < 1mb { + "#aaaaaa" + } else {{ fg: "#888888" }} } -} + duration: "#c1c1c1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f8787" attr: "b" } + } else if $in < 6hr { + "#5f8787" + } else if $in < 1day { + "#777755" + } else if $in < 3day { + "#aa9988" + } else if $in < 1wk { + { fg: "#aa9988" attr: "b" } + } else if $in < 6wk { + "#aaaaaa" + } else if $in < 52wk { + "#888888" + } else { "dark_gray" } + } + range: "#c1c1c1" + float: "#c1c1c1" + string: "#c1c1c1" + nothing: "#c1c1c1" + binary: "#c1c1c1" + cellpath: "#c1c1c1" + row_index: { fg: "#aa9988" attr: "b" } + record: "#c1c1c1" + list: "#c1c1c1" + block: "#c1c1c1" + hints: "dark_gray" + + shape_and: { fg: "#999999" attr: "b" } + shape_binary: { fg: "#999999" attr: "b" } + shape_block: { fg: "#888888" attr: "b" } + shape_bool: "#aaaaaa" + shape_custom: "#aa9988" + shape_datetime: { fg: "#aaaaaa" attr: "b" } + shape_directory: "#aaaaaa" + shape_external: "#aaaaaa" + shape_externalarg: { fg: "#aa9988" attr: "b" } + shape_filepath: "#aaaaaa" + shape_flag: { fg: "#888888" attr: "b" } + shape_float: { fg: "#999999" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aaaaaa" attr: "b" } + shape_int: { fg: "#999999" attr: "b" } + shape_internalcall: { fg: "#aaaaaa" attr: "b" } + shape_list: { fg: "#aaaaaa" attr: "b" } + shape_literal: "#888888" + shape_match_pattern: "#aa9988" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#aaaaaa" + shape_operator: "#777755" + shape_or: { fg: "#999999" attr: "b" } + shape_pipe: { fg: "#999999" attr: "b" } + shape_range: { fg: "#777755" attr: "b" } + shape_record: { fg: "#aaaaaa" attr: "b" } + shape_redirection: { fg: "#999999" attr: "b" } + shape_signature: { fg: "#aa9988" attr: "b" } + shape_string: "#aa9988" + shape_string_interpolation: { fg: "#aaaaaa" attr: "b" } + shape_table: { fg: "#888888" attr: "b" } + shape_variable: "#999999" + + background: "#000000" + foreground: "#c1c1c1" + cursor: "#c1c1c1" +}} \ No newline at end of file diff --git a/themes/themes/black-metal-venom.nu b/themes/themes/black-metal-venom.nu index e39b50f..e68996a 100644 --- a/themes/themes/black-metal-venom.nu +++ b/themes/themes/black-metal-venom.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the black_metal-venom theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c1c1c1" - # cursor: "#c1c1c1" - - { - # color for nushell primitives - separator: "#c1c1c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#f8f7f2" - empty: "#888888" - bool: "#c1c1c1" - int: "#c1c1c1" - filesize: "#c1c1c1" - duration: "#c1c1c1" - date: "#c1c1c1" - range: "#c1c1c1" - float: "#c1c1c1" - string: "#c1c1c1" - nothing: "#c1c1c1" - binary: "#c1c1c1" - cellpath: "#c1c1c1" - row_index: "#f8f7f2" - record: "#c1c1c1" - list: "#c1c1c1" - block: "#c1c1c1" - hints: "#333333" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#999999" - shape_bool: "#aaaaaa" - shape_int: "#999999" - shape_float: "#999999" - shape_range: "#79241f" - shape_internalcall: "#aaaaaa" - shape_external: "#aaaaaa" - shape_externalarg: "#f8f7f2" - shape_literal: "#888888" - shape_operator: "#79241f" - shape_signature: "#f8f7f2" - shape_string: "#f8f7f2" - shape_string_interpolation: "#aaaaaa" - shape_datetime: "#aaaaaa" - shape_list: "#aaaaaa" - shape_table: "#888888" - shape_record: "#aaaaaa" - shape_block: "#888888" - shape_filepath: "#aaaaaa" - shape_globpattern: "#aaaaaa" - shape_variable: "#999999" - shape_flag: "#888888" - shape_custom: "#f8f7f2" - shape_nothing: "#aaaaaa" +export def main [] { return { + separator: "#c1c1c1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#f8f7f2" attr: "b" } + empty: "#888888" + bool: {|| if $in { "#aaaaaa" } else { "light_gray" } } + int: "#c1c1c1" + filesize: {|e| + if $e == 0b { + "#c1c1c1" + } else if $e < 1mb { + "#aaaaaa" + } else {{ fg: "#888888" }} } -} + duration: "#c1c1c1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f8787" attr: "b" } + } else if $in < 6hr { + "#5f8787" + } else if $in < 1day { + "#79241f" + } else if $in < 3day { + "#f8f7f2" + } else if $in < 1wk { + { fg: "#f8f7f2" attr: "b" } + } else if $in < 6wk { + "#aaaaaa" + } else if $in < 52wk { + "#888888" + } else { "dark_gray" } + } + range: "#c1c1c1" + float: "#c1c1c1" + string: "#c1c1c1" + nothing: "#c1c1c1" + binary: "#c1c1c1" + cellpath: "#c1c1c1" + row_index: { fg: "#f8f7f2" attr: "b" } + record: "#c1c1c1" + list: "#c1c1c1" + block: "#c1c1c1" + hints: "dark_gray" + + shape_and: { fg: "#999999" attr: "b" } + shape_binary: { fg: "#999999" attr: "b" } + shape_block: { fg: "#888888" attr: "b" } + shape_bool: "#aaaaaa" + shape_custom: "#f8f7f2" + shape_datetime: { fg: "#aaaaaa" attr: "b" } + shape_directory: "#aaaaaa" + shape_external: "#aaaaaa" + shape_externalarg: { fg: "#f8f7f2" attr: "b" } + shape_filepath: "#aaaaaa" + shape_flag: { fg: "#888888" attr: "b" } + shape_float: { fg: "#999999" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aaaaaa" attr: "b" } + shape_int: { fg: "#999999" attr: "b" } + shape_internalcall: { fg: "#aaaaaa" attr: "b" } + shape_list: { fg: "#aaaaaa" attr: "b" } + shape_literal: "#888888" + shape_match_pattern: "#f8f7f2" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#aaaaaa" + shape_operator: "#79241f" + shape_or: { fg: "#999999" attr: "b" } + shape_pipe: { fg: "#999999" attr: "b" } + shape_range: { fg: "#79241f" attr: "b" } + shape_record: { fg: "#aaaaaa" attr: "b" } + shape_redirection: { fg: "#999999" attr: "b" } + shape_signature: { fg: "#f8f7f2" attr: "b" } + shape_string: "#f8f7f2" + shape_string_interpolation: { fg: "#aaaaaa" attr: "b" } + shape_table: { fg: "#888888" attr: "b" } + shape_variable: "#999999" + + background: "#000000" + foreground: "#c1c1c1" + cursor: "#c1c1c1" +}} \ No newline at end of file diff --git a/themes/themes/black-metal.nu b/themes/themes/black-metal.nu index 3036518..ff82366 100644 --- a/themes/themes/black-metal.nu +++ b/themes/themes/black-metal.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the black_metal theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c1c1c1" - # cursor: "#c1c1c1" - - { - # color for nushell primitives - separator: "#c1c1c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#dd9999" - empty: "#888888" - bool: "#c1c1c1" - int: "#c1c1c1" - filesize: "#c1c1c1" - duration: "#c1c1c1" - date: "#c1c1c1" - range: "#c1c1c1" - float: "#c1c1c1" - string: "#c1c1c1" - nothing: "#c1c1c1" - binary: "#c1c1c1" - cellpath: "#c1c1c1" - row_index: "#dd9999" - record: "#c1c1c1" - list: "#c1c1c1" - block: "#c1c1c1" - hints: "#333333" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#999999" - shape_bool: "#aaaaaa" - shape_int: "#999999" - shape_float: "#999999" - shape_range: "#a06666" - shape_internalcall: "#aaaaaa" - shape_external: "#aaaaaa" - shape_externalarg: "#dd9999" - shape_literal: "#888888" - shape_operator: "#a06666" - shape_signature: "#dd9999" - shape_string: "#dd9999" - shape_string_interpolation: "#aaaaaa" - shape_datetime: "#aaaaaa" - shape_list: "#aaaaaa" - shape_table: "#888888" - shape_record: "#aaaaaa" - shape_block: "#888888" - shape_filepath: "#aaaaaa" - shape_globpattern: "#aaaaaa" - shape_variable: "#999999" - shape_flag: "#888888" - shape_custom: "#dd9999" - shape_nothing: "#aaaaaa" +export def main [] { return { + separator: "#c1c1c1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#dd9999" attr: "b" } + empty: "#888888" + bool: {|| if $in { "#aaaaaa" } else { "light_gray" } } + int: "#c1c1c1" + filesize: {|e| + if $e == 0b { + "#c1c1c1" + } else if $e < 1mb { + "#aaaaaa" + } else {{ fg: "#888888" }} } -} + duration: "#c1c1c1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f8787" attr: "b" } + } else if $in < 6hr { + "#5f8787" + } else if $in < 1day { + "#a06666" + } else if $in < 3day { + "#dd9999" + } else if $in < 1wk { + { fg: "#dd9999" attr: "b" } + } else if $in < 6wk { + "#aaaaaa" + } else if $in < 52wk { + "#888888" + } else { "dark_gray" } + } + range: "#c1c1c1" + float: "#c1c1c1" + string: "#c1c1c1" + nothing: "#c1c1c1" + binary: "#c1c1c1" + cellpath: "#c1c1c1" + row_index: { fg: "#dd9999" attr: "b" } + record: "#c1c1c1" + list: "#c1c1c1" + block: "#c1c1c1" + hints: "dark_gray" + + shape_and: { fg: "#999999" attr: "b" } + shape_binary: { fg: "#999999" attr: "b" } + shape_block: { fg: "#888888" attr: "b" } + shape_bool: "#aaaaaa" + shape_custom: "#dd9999" + shape_datetime: { fg: "#aaaaaa" attr: "b" } + shape_directory: "#aaaaaa" + shape_external: "#aaaaaa" + shape_externalarg: { fg: "#dd9999" attr: "b" } + shape_filepath: "#aaaaaa" + shape_flag: { fg: "#888888" attr: "b" } + shape_float: { fg: "#999999" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aaaaaa" attr: "b" } + shape_int: { fg: "#999999" attr: "b" } + shape_internalcall: { fg: "#aaaaaa" attr: "b" } + shape_list: { fg: "#aaaaaa" attr: "b" } + shape_literal: "#888888" + shape_match_pattern: "#dd9999" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#aaaaaa" + shape_operator: "#a06666" + shape_or: { fg: "#999999" attr: "b" } + shape_pipe: { fg: "#999999" attr: "b" } + shape_range: { fg: "#a06666" attr: "b" } + shape_record: { fg: "#aaaaaa" attr: "b" } + shape_redirection: { fg: "#999999" attr: "b" } + shape_signature: { fg: "#dd9999" attr: "b" } + shape_string: "#dd9999" + shape_string_interpolation: { fg: "#aaaaaa" attr: "b" } + shape_table: { fg: "#888888" attr: "b" } + shape_variable: "#999999" + + background: "#000000" + foreground: "#c1c1c1" + cursor: "#c1c1c1" +}} \ No newline at end of file diff --git a/themes/themes/blazer.nu b/themes/themes/blazer.nu index c42b6b2..3fc3f2c 100644 --- a/themes/themes/blazer.nu +++ b/themes/themes/blazer.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the blazer theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0d1926" - # foreground: "#d9e6f2" - # cursor: "#d9e6f2" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#bddbbd" - empty: "#7a7ab8" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#bddbbd" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#262626" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#dbbddb" - shape_bool: "#bddbdb" - shape_int: "#dbbddb" - shape_float: "#dbbddb" - shape_range: "#dbdbbd" - shape_internalcall: "#bddbdb" - shape_external: "#7ab8b8" - shape_externalarg: "#bddbbd" - shape_literal: "#7a7ab8" - shape_operator: "#b8b87a" - shape_signature: "#bddbbd" - shape_string: "#7ab87a" - shape_string_interpolation: "#bddbdb" - shape_datetime: "#bddbdb" - shape_list: "#bddbdb" - shape_table: "#bdbddb" - shape_record: "#bddbdb" - shape_block: "#bdbddb" - shape_filepath: "#7ab8b8" - shape_globpattern: "#bddbdb" - shape_variable: "#b87ab8" - shape_flag: "#bdbddb" - shape_custom: "#7ab87a" - shape_nothing: "#bddbdb" +export def main [] { return { + separator: "#d9d9d9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7ab87a" attr: "b" } + empty: "#7a7ab8" + bool: {|| if $in { "#bddbdb" } else { "light_gray" } } + int: "#d9d9d9" + filesize: {|e| + if $e == 0b { + "#d9d9d9" + } else if $e < 1mb { + "#7ab8b8" + } else {{ fg: "#7a7ab8" }} } -} + duration: "#d9d9d9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b87a7a" attr: "b" } + } else if $in < 6hr { + "#b87a7a" + } else if $in < 1day { + "#b8b87a" + } else if $in < 3day { + "#7ab87a" + } else if $in < 1wk { + { fg: "#7ab87a" attr: "b" } + } else if $in < 6wk { + "#7ab8b8" + } else if $in < 52wk { + "#7a7ab8" + } else { "dark_gray" } + } + range: "#d9d9d9" + float: "#d9d9d9" + string: "#d9d9d9" + nothing: "#d9d9d9" + binary: "#d9d9d9" + cellpath: "#d9d9d9" + row_index: { fg: "#7ab87a" attr: "b" } + record: "#d9d9d9" + list: "#d9d9d9" + block: "#d9d9d9" + hints: "dark_gray" + + shape_and: { fg: "#b87ab8" attr: "b" } + shape_binary: { fg: "#b87ab8" attr: "b" } + shape_block: { fg: "#7a7ab8" attr: "b" } + shape_bool: "#bddbdb" + shape_custom: "#7ab87a" + shape_datetime: { fg: "#7ab8b8" attr: "b" } + shape_directory: "#7ab8b8" + shape_external: "#7ab8b8" + shape_externalarg: { fg: "#7ab87a" attr: "b" } + shape_filepath: "#7ab8b8" + shape_flag: { fg: "#7a7ab8" attr: "b" } + shape_float: { fg: "#b87ab8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7ab8b8" attr: "b" } + shape_int: { fg: "#b87ab8" attr: "b" } + shape_internalcall: { fg: "#7ab8b8" attr: "b" } + shape_list: { fg: "#7ab8b8" attr: "b" } + shape_literal: "#7a7ab8" + shape_match_pattern: "#7ab87a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#bddbdb" + shape_operator: "#b8b87a" + shape_or: { fg: "#b87ab8" attr: "b" } + shape_pipe: { fg: "#b87ab8" attr: "b" } + shape_range: { fg: "#b8b87a" attr: "b" } + shape_record: { fg: "#7ab8b8" attr: "b" } + shape_redirection: { fg: "#b87ab8" attr: "b" } + shape_signature: { fg: "#7ab87a" attr: "b" } + shape_string: "#7ab87a" + shape_string_interpolation: { fg: "#7ab8b8" attr: "b" } + shape_table: { fg: "#7a7ab8" attr: "b" } + shape_variable: "#b87ab8" + + background: "#0d1926" + foreground: "#d9e6f2" + cursor: "#d9e6f2" +}} \ No newline at end of file diff --git a/themes/themes/borland.nu b/themes/themes/borland.nu index aef5125..3f85171 100644 --- a/themes/themes/borland.nu +++ b/themes/themes/borland.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the borland theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0000a4" - # foreground: "#ffff4e" - # cursor: "#ffff4e" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ceffac" - empty: "#96cbfe" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#ceffac" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#7c7c7c" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff9cfe" - shape_bool: "#dfdffe" - shape_int: "#ff9cfe" - shape_float: "#ff9cfe" - shape_range: "#ffffcc" - shape_internalcall: "#dfdffe" - shape_external: "#c6c5fe" - shape_externalarg: "#ceffac" - shape_literal: "#96cbfe" - shape_operator: "#ffffb6" - shape_signature: "#ceffac" - shape_string: "#a8ff60" - shape_string_interpolation: "#dfdffe" - shape_datetime: "#dfdffe" - shape_list: "#dfdffe" - shape_table: "#b5dcff" - shape_record: "#dfdffe" - shape_block: "#b5dcff" - shape_filepath: "#c6c5fe" - shape_globpattern: "#dfdffe" - shape_variable: "#ff73fd" - shape_flag: "#b5dcff" - shape_custom: "#a8ff60" - shape_nothing: "#dfdffe" +export def main [] { return { + separator: "#eeeeee" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a8ff60" attr: "b" } + empty: "#96cbfe" + bool: {|| if $in { "#dfdffe" } else { "light_gray" } } + int: "#eeeeee" + filesize: {|e| + if $e == 0b { + "#eeeeee" + } else if $e < 1mb { + "#c6c5fe" + } else {{ fg: "#96cbfe" }} } -} + duration: "#eeeeee" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff6c60" attr: "b" } + } else if $in < 6hr { + "#ff6c60" + } else if $in < 1day { + "#ffffb6" + } else if $in < 3day { + "#a8ff60" + } else if $in < 1wk { + { fg: "#a8ff60" attr: "b" } + } else if $in < 6wk { + "#c6c5fe" + } else if $in < 52wk { + "#96cbfe" + } else { "dark_gray" } + } + range: "#eeeeee" + float: "#eeeeee" + string: "#eeeeee" + nothing: "#eeeeee" + binary: "#eeeeee" + cellpath: "#eeeeee" + row_index: { fg: "#a8ff60" attr: "b" } + record: "#eeeeee" + list: "#eeeeee" + block: "#eeeeee" + hints: "dark_gray" + + shape_and: { fg: "#ff73fd" attr: "b" } + shape_binary: { fg: "#ff73fd" attr: "b" } + shape_block: { fg: "#96cbfe" attr: "b" } + shape_bool: "#dfdffe" + shape_custom: "#a8ff60" + shape_datetime: { fg: "#c6c5fe" attr: "b" } + shape_directory: "#c6c5fe" + shape_external: "#c6c5fe" + shape_externalarg: { fg: "#a8ff60" attr: "b" } + shape_filepath: "#c6c5fe" + shape_flag: { fg: "#96cbfe" attr: "b" } + shape_float: { fg: "#ff73fd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#c6c5fe" attr: "b" } + shape_int: { fg: "#ff73fd" attr: "b" } + shape_internalcall: { fg: "#c6c5fe" attr: "b" } + shape_list: { fg: "#c6c5fe" attr: "b" } + shape_literal: "#96cbfe" + shape_match_pattern: "#a8ff60" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#dfdffe" + shape_operator: "#ffffb6" + shape_or: { fg: "#ff73fd" attr: "b" } + shape_pipe: { fg: "#ff73fd" attr: "b" } + shape_range: { fg: "#ffffb6" attr: "b" } + shape_record: { fg: "#c6c5fe" attr: "b" } + shape_redirection: { fg: "#ff73fd" attr: "b" } + shape_signature: { fg: "#a8ff60" attr: "b" } + shape_string: "#a8ff60" + shape_string_interpolation: { fg: "#c6c5fe" attr: "b" } + shape_table: { fg: "#96cbfe" attr: "b" } + shape_variable: "#ff73fd" + + background: "#0000a4" + foreground: "#ffff4e" + cursor: "#ffff4e" +}} \ No newline at end of file diff --git a/themes/themes/brewer.nu b/themes/themes/brewer.nu index 14ca942..489d322 100644 --- a/themes/themes/brewer.nu +++ b/themes/themes/brewer.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the brewer theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0c0d0e" - # foreground: "#b7b8b9" - # cursor: "#b7b8b9" - - { - # color for nushell primitives - separator: "#fcfdfe" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#31a354" - empty: "#3182bd" - bool: "#fcfdfe" - int: "#fcfdfe" - filesize: "#fcfdfe" - duration: "#fcfdfe" - date: "#fcfdfe" - range: "#fcfdfe" - float: "#fcfdfe" - string: "#fcfdfe" - nothing: "#fcfdfe" - binary: "#fcfdfe" - cellpath: "#fcfdfe" - row_index: "#31a354" - record: "#fcfdfe" - list: "#fcfdfe" - block: "#fcfdfe" - hints: "#737475" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#756bb1" - shape_bool: "#80b1d3" - shape_int: "#756bb1" - shape_float: "#756bb1" - shape_range: "#dca060" - shape_internalcall: "#80b1d3" - shape_external: "#80b1d3" - shape_externalarg: "#31a354" - shape_literal: "#3182bd" - shape_operator: "#dca060" - shape_signature: "#31a354" - shape_string: "#31a354" - shape_string_interpolation: "#80b1d3" - shape_datetime: "#80b1d3" - shape_list: "#80b1d3" - shape_table: "#3182bd" - shape_record: "#80b1d3" - shape_block: "#3182bd" - shape_filepath: "#80b1d3" - shape_globpattern: "#80b1d3" - shape_variable: "#756bb1" - shape_flag: "#3182bd" - shape_custom: "#31a354" - shape_nothing: "#80b1d3" +export def main [] { return { + separator: "#b7b8b9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#31a354" attr: "b" } + empty: "#3182bd" + bool: {|| if $in { "#80b1d3" } else { "light_gray" } } + int: "#b7b8b9" + filesize: {|e| + if $e == 0b { + "#b7b8b9" + } else if $e < 1mb { + "#80b1d3" + } else {{ fg: "#3182bd" }} } -} + duration: "#b7b8b9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e31a1c" attr: "b" } + } else if $in < 6hr { + "#e31a1c" + } else if $in < 1day { + "#dca060" + } else if $in < 3day { + "#31a354" + } else if $in < 1wk { + { fg: "#31a354" attr: "b" } + } else if $in < 6wk { + "#80b1d3" + } else if $in < 52wk { + "#3182bd" + } else { "dark_gray" } + } + range: "#b7b8b9" + float: "#b7b8b9" + string: "#b7b8b9" + nothing: "#b7b8b9" + binary: "#b7b8b9" + cellpath: "#b7b8b9" + row_index: { fg: "#31a354" attr: "b" } + record: "#b7b8b9" + list: "#b7b8b9" + block: "#b7b8b9" + hints: "dark_gray" + + shape_and: { fg: "#756bb1" attr: "b" } + shape_binary: { fg: "#756bb1" attr: "b" } + shape_block: { fg: "#3182bd" attr: "b" } + shape_bool: "#80b1d3" + shape_custom: "#31a354" + shape_datetime: { fg: "#80b1d3" attr: "b" } + shape_directory: "#80b1d3" + shape_external: "#80b1d3" + shape_externalarg: { fg: "#31a354" attr: "b" } + shape_filepath: "#80b1d3" + shape_flag: { fg: "#3182bd" attr: "b" } + shape_float: { fg: "#756bb1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#80b1d3" attr: "b" } + shape_int: { fg: "#756bb1" attr: "b" } + shape_internalcall: { fg: "#80b1d3" attr: "b" } + shape_list: { fg: "#80b1d3" attr: "b" } + shape_literal: "#3182bd" + shape_match_pattern: "#31a354" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#80b1d3" + shape_operator: "#dca060" + shape_or: { fg: "#756bb1" attr: "b" } + shape_pipe: { fg: "#756bb1" attr: "b" } + shape_range: { fg: "#dca060" attr: "b" } + shape_record: { fg: "#80b1d3" attr: "b" } + shape_redirection: { fg: "#756bb1" attr: "b" } + shape_signature: { fg: "#31a354" attr: "b" } + shape_string: "#31a354" + shape_string_interpolation: { fg: "#80b1d3" attr: "b" } + shape_table: { fg: "#3182bd" attr: "b" } + shape_variable: "#756bb1" + + background: "#0c0d0e" + foreground: "#b7b8b9" + cursor: "#b7b8b9" +}} \ No newline at end of file diff --git a/themes/themes/bright-lights.nu b/themes/themes/bright-lights.nu index 477bb14..3e1059f 100644 --- a/themes/themes/bright-lights.nu +++ b/themes/themes/bright-lights.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the bright_lights theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#191919" - # foreground: "#b2c8d6" - # cursor: "#f34a00" - - { - # color for nushell primitives - separator: "#c1c8d6" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b6e875" - empty: "#75d3ff" - bool: "#c1c8d6" - int: "#c1c8d6" - filesize: "#c1c8d6" - duration: "#c1c8d6" - date: "#c1c8d6" - range: "#c1c8d6" - float: "#c1c8d6" - string: "#c1c8d6" - nothing: "#c1c8d6" - binary: "#c1c8d6" - cellpath: "#c1c8d6" - row_index: "#b6e875" - record: "#c1c8d6" - list: "#c1c8d6" - block: "#c1c8d6" - hints: "#191919" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b975e6" - shape_bool: "#6cbeb5" - shape_int: "#b975e6" - shape_float: "#b975e6" - shape_range: "#ffc150" - shape_internalcall: "#6cbeb5" - shape_external: "#6cbeb5" - shape_externalarg: "#b6e875" - shape_literal: "#75d3ff" - shape_operator: "#ffc150" - shape_signature: "#b6e875" - shape_string: "#b6e875" - shape_string_interpolation: "#6cbeb5" - shape_datetime: "#6cbeb5" - shape_list: "#6cbeb5" - shape_table: "#75d4ff" - shape_record: "#6cbeb5" - shape_block: "#75d4ff" - shape_filepath: "#6cbeb5" - shape_globpattern: "#6cbeb5" - shape_variable: "#b975e6" - shape_flag: "#75d4ff" - shape_custom: "#b6e875" - shape_nothing: "#6cbeb5" +export def main [] { return { + separator: "#c1c8d6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b6e875" attr: "b" } + empty: "#75d3ff" + bool: {|| if $in { "#6cbeb5" } else { "light_gray" } } + int: "#c1c8d6" + filesize: {|e| + if $e == 0b { + "#c1c8d6" + } else if $e < 1mb { + "#6cbeb5" + } else {{ fg: "#75d3ff" }} } -} + duration: "#c1c8d6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff355b" attr: "b" } + } else if $in < 6hr { + "#ff355b" + } else if $in < 1day { + "#ffc150" + } else if $in < 3day { + "#b6e875" + } else if $in < 1wk { + { fg: "#b6e875" attr: "b" } + } else if $in < 6wk { + "#6cbeb5" + } else if $in < 52wk { + "#75d3ff" + } else { "dark_gray" } + } + range: "#c1c8d6" + float: "#c1c8d6" + string: "#c1c8d6" + nothing: "#c1c8d6" + binary: "#c1c8d6" + cellpath: "#c1c8d6" + row_index: { fg: "#b6e875" attr: "b" } + record: "#c1c8d6" + list: "#c1c8d6" + block: "#c1c8d6" + hints: "dark_gray" + + shape_and: { fg: "#b975e6" attr: "b" } + shape_binary: { fg: "#b975e6" attr: "b" } + shape_block: { fg: "#75d3ff" attr: "b" } + shape_bool: "#6cbeb5" + shape_custom: "#b6e875" + shape_datetime: { fg: "#6cbeb5" attr: "b" } + shape_directory: "#6cbeb5" + shape_external: "#6cbeb5" + shape_externalarg: { fg: "#b6e875" attr: "b" } + shape_filepath: "#6cbeb5" + shape_flag: { fg: "#75d3ff" attr: "b" } + shape_float: { fg: "#b975e6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#6cbeb5" attr: "b" } + shape_int: { fg: "#b975e6" attr: "b" } + shape_internalcall: { fg: "#6cbeb5" attr: "b" } + shape_list: { fg: "#6cbeb5" attr: "b" } + shape_literal: "#75d3ff" + shape_match_pattern: "#b6e875" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#6cbeb5" + shape_operator: "#ffc150" + shape_or: { fg: "#b975e6" attr: "b" } + shape_pipe: { fg: "#b975e6" attr: "b" } + shape_range: { fg: "#ffc150" attr: "b" } + shape_record: { fg: "#6cbeb5" attr: "b" } + shape_redirection: { fg: "#b975e6" attr: "b" } + shape_signature: { fg: "#b6e875" attr: "b" } + shape_string: "#b6e875" + shape_string_interpolation: { fg: "#6cbeb5" attr: "b" } + shape_table: { fg: "#75d3ff" attr: "b" } + shape_variable: "#b975e6" + + background: "#191919" + foreground: "#b2c8d6" + cursor: "#f34a00" +}} \ No newline at end of file diff --git a/themes/themes/bright.nu b/themes/themes/bright.nu index 0eecc79..3828dd6 100644 --- a/themes/themes/bright.nu +++ b/themes/themes/bright.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the bright theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#e0e0e0" - # cursor: "#e0e0e0" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a1c659" - empty: "#6fb3d2" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#a1c659" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#b0b0b0" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d381c3" - shape_bool: "#76c7b7" - shape_int: "#d381c3" - shape_float: "#d381c3" - shape_range: "#fda331" - shape_internalcall: "#76c7b7" - shape_external: "#76c7b7" - shape_externalarg: "#a1c659" - shape_literal: "#6fb3d2" - shape_operator: "#fda331" - shape_signature: "#a1c659" - shape_string: "#a1c659" - shape_string_interpolation: "#76c7b7" - shape_datetime: "#76c7b7" - shape_list: "#76c7b7" - shape_table: "#6fb3d2" - shape_record: "#76c7b7" - shape_block: "#6fb3d2" - shape_filepath: "#76c7b7" - shape_globpattern: "#76c7b7" - shape_variable: "#d381c3" - shape_flag: "#6fb3d2" - shape_custom: "#a1c659" - shape_nothing: "#76c7b7" +export def main [] { return { + separator: "#e0e0e0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a1c659" attr: "b" } + empty: "#6fb3d2" + bool: {|| if $in { "#76c7b7" } else { "light_gray" } } + int: "#e0e0e0" + filesize: {|e| + if $e == 0b { + "#e0e0e0" + } else if $e < 1mb { + "#76c7b7" + } else {{ fg: "#6fb3d2" }} } -} + duration: "#e0e0e0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb0120" attr: "b" } + } else if $in < 6hr { + "#fb0120" + } else if $in < 1day { + "#fda331" + } else if $in < 3day { + "#a1c659" + } else if $in < 1wk { + { fg: "#a1c659" attr: "b" } + } else if $in < 6wk { + "#76c7b7" + } else if $in < 52wk { + "#6fb3d2" + } else { "dark_gray" } + } + range: "#e0e0e0" + float: "#e0e0e0" + string: "#e0e0e0" + nothing: "#e0e0e0" + binary: "#e0e0e0" + cellpath: "#e0e0e0" + row_index: { fg: "#a1c659" attr: "b" } + record: "#e0e0e0" + list: "#e0e0e0" + block: "#e0e0e0" + hints: "dark_gray" + + shape_and: { fg: "#d381c3" attr: "b" } + shape_binary: { fg: "#d381c3" attr: "b" } + shape_block: { fg: "#6fb3d2" attr: "b" } + shape_bool: "#76c7b7" + shape_custom: "#a1c659" + shape_datetime: { fg: "#76c7b7" attr: "b" } + shape_directory: "#76c7b7" + shape_external: "#76c7b7" + shape_externalarg: { fg: "#a1c659" attr: "b" } + shape_filepath: "#76c7b7" + shape_flag: { fg: "#6fb3d2" attr: "b" } + shape_float: { fg: "#d381c3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#76c7b7" attr: "b" } + shape_int: { fg: "#d381c3" attr: "b" } + shape_internalcall: { fg: "#76c7b7" attr: "b" } + shape_list: { fg: "#76c7b7" attr: "b" } + shape_literal: "#6fb3d2" + shape_match_pattern: "#a1c659" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#76c7b7" + shape_operator: "#fda331" + shape_or: { fg: "#d381c3" attr: "b" } + shape_pipe: { fg: "#d381c3" attr: "b" } + shape_range: { fg: "#fda331" attr: "b" } + shape_record: { fg: "#76c7b7" attr: "b" } + shape_redirection: { fg: "#d381c3" attr: "b" } + shape_signature: { fg: "#a1c659" attr: "b" } + shape_string: "#a1c659" + shape_string_interpolation: { fg: "#76c7b7" attr: "b" } + shape_table: { fg: "#6fb3d2" attr: "b" } + shape_variable: "#d381c3" + + background: "#000000" + foreground: "#e0e0e0" + cursor: "#e0e0e0" +}} \ No newline at end of file diff --git a/themes/themes/broadcast.nu b/themes/themes/broadcast.nu index 3f0128a..e7f2e5c 100644 --- a/themes/themes/broadcast.nu +++ b/themes/themes/broadcast.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the broadcast theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2b2b2b" - # foreground: "#e6e1dc" - # cursor: "#e6e1dc" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#83d182" - empty: "#6d9cbe" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#83d182" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#323232" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ffffff" - shape_bool: "#a0cef0" - shape_int: "#ffffff" - shape_float: "#ffffff" - shape_range: "#ffff7c" - shape_internalcall: "#a0cef0" - shape_external: "#6e9cbe" - shape_externalarg: "#83d182" - shape_literal: "#6d9cbe" - shape_operator: "#ffd24a" - shape_signature: "#83d182" - shape_string: "#519f50" - shape_string_interpolation: "#a0cef0" - shape_datetime: "#a0cef0" - shape_list: "#a0cef0" - shape_table: "#9fcef0" - shape_record: "#a0cef0" - shape_block: "#9fcef0" - shape_filepath: "#6e9cbe" - shape_globpattern: "#a0cef0" - shape_variable: "#d0d0ff" - shape_flag: "#9fcef0" - shape_custom: "#519f50" - shape_nothing: "#a0cef0" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#519f50" attr: "b" } + empty: "#6d9cbe" + bool: {|| if $in { "#a0cef0" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#6e9cbe" + } else {{ fg: "#6d9cbe" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#da4939" attr: "b" } + } else if $in < 6hr { + "#da4939" + } else if $in < 1day { + "#ffd24a" + } else if $in < 3day { + "#519f50" + } else if $in < 1wk { + { fg: "#519f50" attr: "b" } + } else if $in < 6wk { + "#6e9cbe" + } else if $in < 52wk { + "#6d9cbe" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#519f50" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#d0d0ff" attr: "b" } + shape_binary: { fg: "#d0d0ff" attr: "b" } + shape_block: { fg: "#6d9cbe" attr: "b" } + shape_bool: "#a0cef0" + shape_custom: "#519f50" + shape_datetime: { fg: "#6e9cbe" attr: "b" } + shape_directory: "#6e9cbe" + shape_external: "#6e9cbe" + shape_externalarg: { fg: "#519f50" attr: "b" } + shape_filepath: "#6e9cbe" + shape_flag: { fg: "#6d9cbe" attr: "b" } + shape_float: { fg: "#d0d0ff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#6e9cbe" attr: "b" } + shape_int: { fg: "#d0d0ff" attr: "b" } + shape_internalcall: { fg: "#6e9cbe" attr: "b" } + shape_list: { fg: "#6e9cbe" attr: "b" } + shape_literal: "#6d9cbe" + shape_match_pattern: "#519f50" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#a0cef0" + shape_operator: "#ffd24a" + shape_or: { fg: "#d0d0ff" attr: "b" } + shape_pipe: { fg: "#d0d0ff" attr: "b" } + shape_range: { fg: "#ffd24a" attr: "b" } + shape_record: { fg: "#6e9cbe" attr: "b" } + shape_redirection: { fg: "#d0d0ff" attr: "b" } + shape_signature: { fg: "#519f50" attr: "b" } + shape_string: "#519f50" + shape_string_interpolation: { fg: "#6e9cbe" attr: "b" } + shape_table: { fg: "#6d9cbe" attr: "b" } + shape_variable: "#d0d0ff" + + background: "#2b2b2b" + foreground: "#e6e1dc" + cursor: "#e6e1dc" +}} \ No newline at end of file diff --git a/themes/themes/brogrammer.nu b/themes/themes/brogrammer.nu index 33b6fc7..b4a973a 100644 --- a/themes/themes/brogrammer.nu +++ b/themes/themes/brogrammer.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the brogrammer theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1f1f1f" - # foreground: "#4e5ab7" - # cursor: "#4e5ab7" - - { - # color for nushell primitives - separator: "#d6dbe5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#f3bd09" - empty: "#5350b9" - bool: "#d6dbe5" - int: "#d6dbe5" - filesize: "#d6dbe5" - duration: "#d6dbe5" - date: "#d6dbe5" - range: "#d6dbe5" - float: "#d6dbe5" - string: "#d6dbe5" - nothing: "#d6dbe5" - binary: "#d6dbe5" - cellpath: "#d6dbe5" - row_index: "#f3bd09" - record: "#d6dbe5" - list: "#d6dbe5" - block: "#d6dbe5" - hints: "#ecba0f" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#0f7ddb" - shape_bool: "#1081d6" - shape_int: "#0f7ddb" - shape_float: "#0f7ddb" - shape_range: "#1dd361" - shape_internalcall: "#1081d6" - shape_external: "#1081d6" - shape_externalarg: "#f3bd09" - shape_literal: "#5350b9" - shape_operator: "#1dd361" - shape_signature: "#f3bd09" - shape_string: "#f3bd09" - shape_string_interpolation: "#1081d6" - shape_datetime: "#1081d6" - shape_list: "#1081d6" - shape_table: "#5350b9" - shape_record: "#1081d6" - shape_block: "#5350b9" - shape_filepath: "#1081d6" - shape_globpattern: "#1081d6" - shape_variable: "#0f7ddb" - shape_flag: "#5350b9" - shape_custom: "#f3bd09" - shape_nothing: "#1081d6" +export def main [] { return { + separator: "#4e5ab7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#f3bd09" attr: "b" } + empty: "#5350b9" + bool: {|| if $in { "#1081d6" } else { "light_gray" } } + int: "#4e5ab7" + filesize: {|e| + if $e == 0b { + "#4e5ab7" + } else if $e < 1mb { + "#1081d6" + } else {{ fg: "#5350b9" }} } -} + duration: "#4e5ab7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d6dbe5" attr: "b" } + } else if $in < 6hr { + "#d6dbe5" + } else if $in < 1day { + "#1dd361" + } else if $in < 3day { + "#f3bd09" + } else if $in < 1wk { + { fg: "#f3bd09" attr: "b" } + } else if $in < 6wk { + "#1081d6" + } else if $in < 52wk { + "#5350b9" + } else { "dark_gray" } + } + range: "#4e5ab7" + float: "#4e5ab7" + string: "#4e5ab7" + nothing: "#4e5ab7" + binary: "#4e5ab7" + cellpath: "#4e5ab7" + row_index: { fg: "#f3bd09" attr: "b" } + record: "#4e5ab7" + list: "#4e5ab7" + block: "#4e5ab7" + hints: "dark_gray" + + shape_and: { fg: "#0f7ddb" attr: "b" } + shape_binary: { fg: "#0f7ddb" attr: "b" } + shape_block: { fg: "#5350b9" attr: "b" } + shape_bool: "#1081d6" + shape_custom: "#f3bd09" + shape_datetime: { fg: "#1081d6" attr: "b" } + shape_directory: "#1081d6" + shape_external: "#1081d6" + shape_externalarg: { fg: "#f3bd09" attr: "b" } + shape_filepath: "#1081d6" + shape_flag: { fg: "#5350b9" attr: "b" } + shape_float: { fg: "#0f7ddb" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1081d6" attr: "b" } + shape_int: { fg: "#0f7ddb" attr: "b" } + shape_internalcall: { fg: "#1081d6" attr: "b" } + shape_list: { fg: "#1081d6" attr: "b" } + shape_literal: "#5350b9" + shape_match_pattern: "#f3bd09" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1081d6" + shape_operator: "#1dd361" + shape_or: { fg: "#0f7ddb" attr: "b" } + shape_pipe: { fg: "#0f7ddb" attr: "b" } + shape_range: { fg: "#1dd361" attr: "b" } + shape_record: { fg: "#1081d6" attr: "b" } + shape_redirection: { fg: "#0f7ddb" attr: "b" } + shape_signature: { fg: "#f3bd09" attr: "b" } + shape_string: "#f3bd09" + shape_string_interpolation: { fg: "#1081d6" attr: "b" } + shape_table: { fg: "#5350b9" attr: "b" } + shape_variable: "#0f7ddb" + + background: "#1f1f1f" + foreground: "#4e5ab7" + cursor: "#4e5ab7" +}} \ No newline at end of file diff --git a/themes/themes/brushtrees-dark.nu b/themes/themes/brushtrees-dark.nu index 9613148..ed94d14 100644 --- a/themes/themes/brushtrees-dark.nu +++ b/themes/themes/brushtrees-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the brushtrees_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#485867" - # foreground: "#b0c5c8" - # cursor: "#b0c5c8" - - { - # color for nushell primitives - separator: "#e3efef" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#87b386" - empty: "#868cb3" - bool: "#e3efef" - int: "#e3efef" - filesize: "#e3efef" - duration: "#e3efef" - date: "#e3efef" - range: "#e3efef" - float: "#e3efef" - string: "#e3efef" - nothing: "#e3efef" - binary: "#e3efef" - cellpath: "#e3efef" - row_index: "#87b386" - record: "#e3efef" - list: "#e3efef" - block: "#e3efef" - hints: "#8299a1" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b386b2" - shape_bool: "#86b3b3" - shape_int: "#b386b2" - shape_float: "#b386b2" - shape_range: "#aab386" - shape_internalcall: "#86b3b3" - shape_external: "#86b3b3" - shape_externalarg: "#87b386" - shape_literal: "#868cb3" - shape_operator: "#aab386" - shape_signature: "#87b386" - shape_string: "#87b386" - shape_string_interpolation: "#86b3b3" - shape_datetime: "#86b3b3" - shape_list: "#86b3b3" - shape_table: "#868cb3" - shape_record: "#86b3b3" - shape_block: "#868cb3" - shape_filepath: "#86b3b3" - shape_globpattern: "#86b3b3" - shape_variable: "#b386b2" - shape_flag: "#868cb3" - shape_custom: "#87b386" - shape_nothing: "#86b3b3" +export def main [] { return { + separator: "#b0c5c8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#87b386" attr: "b" } + empty: "#868cb3" + bool: {|| if $in { "#86b3b3" } else { "light_gray" } } + int: "#b0c5c8" + filesize: {|e| + if $e == 0b { + "#b0c5c8" + } else if $e < 1mb { + "#86b3b3" + } else {{ fg: "#868cb3" }} } -} + duration: "#b0c5c8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b38686" attr: "b" } + } else if $in < 6hr { + "#b38686" + } else if $in < 1day { + "#aab386" + } else if $in < 3day { + "#87b386" + } else if $in < 1wk { + { fg: "#87b386" attr: "b" } + } else if $in < 6wk { + "#86b3b3" + } else if $in < 52wk { + "#868cb3" + } else { "dark_gray" } + } + range: "#b0c5c8" + float: "#b0c5c8" + string: "#b0c5c8" + nothing: "#b0c5c8" + binary: "#b0c5c8" + cellpath: "#b0c5c8" + row_index: { fg: "#87b386" attr: "b" } + record: "#b0c5c8" + list: "#b0c5c8" + block: "#b0c5c8" + hints: "dark_gray" + + shape_and: { fg: "#b386b2" attr: "b" } + shape_binary: { fg: "#b386b2" attr: "b" } + shape_block: { fg: "#868cb3" attr: "b" } + shape_bool: "#86b3b3" + shape_custom: "#87b386" + shape_datetime: { fg: "#86b3b3" attr: "b" } + shape_directory: "#86b3b3" + shape_external: "#86b3b3" + shape_externalarg: { fg: "#87b386" attr: "b" } + shape_filepath: "#86b3b3" + shape_flag: { fg: "#868cb3" attr: "b" } + shape_float: { fg: "#b386b2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#86b3b3" attr: "b" } + shape_int: { fg: "#b386b2" attr: "b" } + shape_internalcall: { fg: "#86b3b3" attr: "b" } + shape_list: { fg: "#86b3b3" attr: "b" } + shape_literal: "#868cb3" + shape_match_pattern: "#87b386" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#86b3b3" + shape_operator: "#aab386" + shape_or: { fg: "#b386b2" attr: "b" } + shape_pipe: { fg: "#b386b2" attr: "b" } + shape_range: { fg: "#aab386" attr: "b" } + shape_record: { fg: "#86b3b3" attr: "b" } + shape_redirection: { fg: "#b386b2" attr: "b" } + shape_signature: { fg: "#87b386" attr: "b" } + shape_string: "#87b386" + shape_string_interpolation: { fg: "#86b3b3" attr: "b" } + shape_table: { fg: "#868cb3" attr: "b" } + shape_variable: "#b386b2" + + background: "#485867" + foreground: "#b0c5c8" + cursor: "#b0c5c8" +}} \ No newline at end of file diff --git a/themes/themes/brushtrees.nu b/themes/themes/brushtrees.nu index 817d601..cdac426 100644 --- a/themes/themes/brushtrees.nu +++ b/themes/themes/brushtrees.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the brushtrees theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#e3efef" - # foreground: "#6d828e" - # cursor: "#6d828e" - - { - # color for nushell primitives - separator: "#485867" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#87b386" - empty: "#868cb3" - bool: "#485867" - int: "#485867" - filesize: "#485867" - duration: "#485867" - date: "#485867" - range: "#485867" - float: "#485867" - string: "#485867" - nothing: "#485867" - binary: "#485867" - cellpath: "#485867" - row_index: "#87b386" - record: "#485867" - list: "#485867" - block: "#485867" - hints: "#98afb5" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b386b2" - shape_bool: "#86b3b3" - shape_int: "#b386b2" - shape_float: "#b386b2" - shape_range: "#aab386" - shape_internalcall: "#86b3b3" - shape_external: "#86b3b3" - shape_externalarg: "#87b386" - shape_literal: "#868cb3" - shape_operator: "#aab386" - shape_signature: "#87b386" - shape_string: "#87b386" - shape_string_interpolation: "#86b3b3" - shape_datetime: "#86b3b3" - shape_list: "#86b3b3" - shape_table: "#868cb3" - shape_record: "#86b3b3" - shape_block: "#868cb3" - shape_filepath: "#86b3b3" - shape_globpattern: "#86b3b3" - shape_variable: "#b386b2" - shape_flag: "#868cb3" - shape_custom: "#87b386" - shape_nothing: "#86b3b3" +export def main [] { return { + separator: "#6d828e" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#87b386" attr: "b" } + empty: "#868cb3" + bool: {|| if $in { "#86b3b3" } else { "light_gray" } } + int: "#6d828e" + filesize: {|e| + if $e == 0b { + "#6d828e" + } else if $e < 1mb { + "#86b3b3" + } else {{ fg: "#868cb3" }} } -} + duration: "#6d828e" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b38686" attr: "b" } + } else if $in < 6hr { + "#b38686" + } else if $in < 1day { + "#aab386" + } else if $in < 3day { + "#87b386" + } else if $in < 1wk { + { fg: "#87b386" attr: "b" } + } else if $in < 6wk { + "#86b3b3" + } else if $in < 52wk { + "#868cb3" + } else { "dark_gray" } + } + range: "#6d828e" + float: "#6d828e" + string: "#6d828e" + nothing: "#6d828e" + binary: "#6d828e" + cellpath: "#6d828e" + row_index: { fg: "#87b386" attr: "b" } + record: "#6d828e" + list: "#6d828e" + block: "#6d828e" + hints: "dark_gray" + + shape_and: { fg: "#b386b2" attr: "b" } + shape_binary: { fg: "#b386b2" attr: "b" } + shape_block: { fg: "#868cb3" attr: "b" } + shape_bool: "#86b3b3" + shape_custom: "#87b386" + shape_datetime: { fg: "#86b3b3" attr: "b" } + shape_directory: "#86b3b3" + shape_external: "#86b3b3" + shape_externalarg: { fg: "#87b386" attr: "b" } + shape_filepath: "#86b3b3" + shape_flag: { fg: "#868cb3" attr: "b" } + shape_float: { fg: "#b386b2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#86b3b3" attr: "b" } + shape_int: { fg: "#b386b2" attr: "b" } + shape_internalcall: { fg: "#86b3b3" attr: "b" } + shape_list: { fg: "#86b3b3" attr: "b" } + shape_literal: "#868cb3" + shape_match_pattern: "#87b386" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#86b3b3" + shape_operator: "#aab386" + shape_or: { fg: "#b386b2" attr: "b" } + shape_pipe: { fg: "#b386b2" attr: "b" } + shape_range: { fg: "#aab386" attr: "b" } + shape_record: { fg: "#86b3b3" attr: "b" } + shape_redirection: { fg: "#b386b2" attr: "b" } + shape_signature: { fg: "#87b386" attr: "b" } + shape_string: "#87b386" + shape_string_interpolation: { fg: "#86b3b3" attr: "b" } + shape_table: { fg: "#868cb3" attr: "b" } + shape_variable: "#b386b2" + + background: "#e3efef" + foreground: "#6d828e" + cursor: "#6d828e" +}} \ No newline at end of file diff --git a/themes/themes/c64.nu b/themes/themes/c64.nu index 6b00f7d..0d2e221 100644 --- a/themes/themes/c64.nu +++ b/themes/themes/c64.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the c64 theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#40318d" - # foreground: "#7869c4" - # cursor: "#7869c4" - - { - # color for nushell primitives - separator: "#f7f7f7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#55a049" - empty: "#40318d" - bool: "#f7f7f7" - int: "#f7f7f7" - filesize: "#f7f7f7" - duration: "#f7f7f7" - date: "#f7f7f7" - range: "#f7f7f7" - float: "#f7f7f7" - string: "#f7f7f7" - nothing: "#f7f7f7" - binary: "#f7f7f7" - cellpath: "#f7f7f7" - row_index: "#55a049" - record: "#f7f7f7" - list: "#f7f7f7" - block: "#f7f7f7" - hints: "#000000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8b3f96" - shape_bool: "#67b6bd" - shape_int: "#8b3f96" - shape_float: "#8b3f96" - shape_range: "#bfce72" - shape_internalcall: "#67b6bd" - shape_external: "#67b6bd" - shape_externalarg: "#55a049" - shape_literal: "#40318d" - shape_operator: "#bfce72" - shape_signature: "#55a049" - shape_string: "#55a049" - shape_string_interpolation: "#67b6bd" - shape_datetime: "#67b6bd" - shape_list: "#67b6bd" - shape_table: "#40318d" - shape_record: "#67b6bd" - shape_block: "#40318d" - shape_filepath: "#67b6bd" - shape_globpattern: "#67b6bd" - shape_variable: "#8b3f96" - shape_flag: "#40318d" - shape_custom: "#55a049" - shape_nothing: "#67b6bd" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#55a049" attr: "b" } + empty: "#40318d" + bool: {|| if $in { "#67b6bd" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#67b6bd" + } else {{ fg: "#40318d" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#883932" attr: "b" } + } else if $in < 6hr { + "#883932" + } else if $in < 1day { + "#bfce72" + } else if $in < 3day { + "#55a049" + } else if $in < 1wk { + { fg: "#55a049" attr: "b" } + } else if $in < 6wk { + "#67b6bd" + } else if $in < 52wk { + "#40318d" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#55a049" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#8b3f96" attr: "b" } + shape_binary: { fg: "#8b3f96" attr: "b" } + shape_block: { fg: "#40318d" attr: "b" } + shape_bool: "#67b6bd" + shape_custom: "#55a049" + shape_datetime: { fg: "#67b6bd" attr: "b" } + shape_directory: "#67b6bd" + shape_external: "#67b6bd" + shape_externalarg: { fg: "#55a049" attr: "b" } + shape_filepath: "#67b6bd" + shape_flag: { fg: "#40318d" attr: "b" } + shape_float: { fg: "#8b3f96" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#67b6bd" attr: "b" } + shape_int: { fg: "#8b3f96" attr: "b" } + shape_internalcall: { fg: "#67b6bd" attr: "b" } + shape_list: { fg: "#67b6bd" attr: "b" } + shape_literal: "#40318d" + shape_match_pattern: "#55a049" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#67b6bd" + shape_operator: "#bfce72" + shape_or: { fg: "#8b3f96" attr: "b" } + shape_pipe: { fg: "#8b3f96" attr: "b" } + shape_range: { fg: "#bfce72" attr: "b" } + shape_record: { fg: "#67b6bd" attr: "b" } + shape_redirection: { fg: "#8b3f96" attr: "b" } + shape_signature: { fg: "#55a049" attr: "b" } + shape_string: "#55a049" + shape_string_interpolation: { fg: "#67b6bd" attr: "b" } + shape_table: { fg: "#40318d" attr: "b" } + shape_variable: "#8b3f96" + + background: "#40318d" + foreground: "#7869c4" + cursor: "#7869c4" +}} \ No newline at end of file diff --git a/themes/themes/cai.nu b/themes/themes/cai.nu index 3ebe54f..87d5695 100644 --- a/themes/themes/cai.nu +++ b/themes/themes/cai.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the cai theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#09111a" - # foreground: "#d9e6f2" - # cursor: "#d9e6f2" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a3e98d" - empty: "#274dca" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#a3e98d" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#808080" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d48de9" - shape_bool: "#8de9d4" - shape_int: "#d48de9" - shape_float: "#d48de9" - shape_range: "#e9d48d" - shape_internalcall: "#8de9d4" - shape_external: "#27caa4" - shape_externalarg: "#a3e98d" - shape_literal: "#274dca" - shape_operator: "#caa427" - shape_signature: "#a3e98d" - shape_string: "#4dca27" - shape_string_interpolation: "#8de9d4" - shape_datetime: "#8de9d4" - shape_list: "#8de9d4" - shape_table: "#8da3e9" - shape_record: "#8de9d4" - shape_block: "#8da3e9" - shape_filepath: "#27caa4" - shape_globpattern: "#8de9d4" - shape_variable: "#a427ca" - shape_flag: "#8da3e9" - shape_custom: "#4dca27" - shape_nothing: "#8de9d4" +export def main [] { return { + separator: "#808080" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4dca27" attr: "b" } + empty: "#274dca" + bool: {|| if $in { "#8de9d4" } else { "light_gray" } } + int: "#808080" + filesize: {|e| + if $e == 0b { + "#808080" + } else if $e < 1mb { + "#27caa4" + } else {{ fg: "#274dca" }} } -} + duration: "#808080" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ca274d" attr: "b" } + } else if $in < 6hr { + "#ca274d" + } else if $in < 1day { + "#caa427" + } else if $in < 3day { + "#4dca27" + } else if $in < 1wk { + { fg: "#4dca27" attr: "b" } + } else if $in < 6wk { + "#27caa4" + } else if $in < 52wk { + "#274dca" + } else { "dark_gray" } + } + range: "#808080" + float: "#808080" + string: "#808080" + nothing: "#808080" + binary: "#808080" + cellpath: "#808080" + row_index: { fg: "#4dca27" attr: "b" } + record: "#808080" + list: "#808080" + block: "#808080" + hints: "dark_gray" + + shape_and: { fg: "#a427ca" attr: "b" } + shape_binary: { fg: "#a427ca" attr: "b" } + shape_block: { fg: "#274dca" attr: "b" } + shape_bool: "#8de9d4" + shape_custom: "#4dca27" + shape_datetime: { fg: "#27caa4" attr: "b" } + shape_directory: "#27caa4" + shape_external: "#27caa4" + shape_externalarg: { fg: "#4dca27" attr: "b" } + shape_filepath: "#27caa4" + shape_flag: { fg: "#274dca" attr: "b" } + shape_float: { fg: "#a427ca" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#27caa4" attr: "b" } + shape_int: { fg: "#a427ca" attr: "b" } + shape_internalcall: { fg: "#27caa4" attr: "b" } + shape_list: { fg: "#27caa4" attr: "b" } + shape_literal: "#274dca" + shape_match_pattern: "#4dca27" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8de9d4" + shape_operator: "#caa427" + shape_or: { fg: "#a427ca" attr: "b" } + shape_pipe: { fg: "#a427ca" attr: "b" } + shape_range: { fg: "#caa427" attr: "b" } + shape_record: { fg: "#27caa4" attr: "b" } + shape_redirection: { fg: "#a427ca" attr: "b" } + shape_signature: { fg: "#4dca27" attr: "b" } + shape_string: "#4dca27" + shape_string_interpolation: { fg: "#27caa4" attr: "b" } + shape_table: { fg: "#274dca" attr: "b" } + shape_variable: "#a427ca" + + background: "#09111a" + foreground: "#d9e6f2" + cursor: "#d9e6f2" +}} \ No newline at end of file diff --git a/themes/themes/chalk.nu b/themes/themes/chalk.nu index fb25f9b..1b3a902 100644 --- a/themes/themes/chalk.nu +++ b/themes/themes/chalk.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the chalk theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#151515" - # foreground: "#d0d0d0" - # cursor: "#d0d0d0" - - { - # color for nushell primitives - separator: "#f5f5f5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#acc267" - empty: "#6fc2ef" - bool: "#f5f5f5" - int: "#f5f5f5" - filesize: "#f5f5f5" - duration: "#f5f5f5" - date: "#f5f5f5" - range: "#f5f5f5" - float: "#f5f5f5" - string: "#f5f5f5" - nothing: "#f5f5f5" - binary: "#f5f5f5" - cellpath: "#f5f5f5" - row_index: "#acc267" - record: "#f5f5f5" - list: "#f5f5f5" - block: "#f5f5f5" - hints: "#505050" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e1a3ee" - shape_bool: "#12cfc0" - shape_int: "#e1a3ee" - shape_float: "#e1a3ee" - shape_range: "#ddb26f" - shape_internalcall: "#12cfc0" - shape_external: "#12cfc0" - shape_externalarg: "#acc267" - shape_literal: "#6fc2ef" - shape_operator: "#ddb26f" - shape_signature: "#acc267" - shape_string: "#acc267" - shape_string_interpolation: "#12cfc0" - shape_datetime: "#12cfc0" - shape_list: "#12cfc0" - shape_table: "#6fc2ef" - shape_record: "#12cfc0" - shape_block: "#6fc2ef" - shape_filepath: "#12cfc0" - shape_globpattern: "#12cfc0" - shape_variable: "#e1a3ee" - shape_flag: "#6fc2ef" - shape_custom: "#acc267" - shape_nothing: "#12cfc0" +export def main [] { return { + separator: "#d0d0d0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#acc267" attr: "b" } + empty: "#6fc2ef" + bool: {|| if $in { "#12cfc0" } else { "light_gray" } } + int: "#d0d0d0" + filesize: {|e| + if $e == 0b { + "#d0d0d0" + } else if $e < 1mb { + "#12cfc0" + } else {{ fg: "#6fc2ef" }} } -} + duration: "#d0d0d0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb9fb1" attr: "b" } + } else if $in < 6hr { + "#fb9fb1" + } else if $in < 1day { + "#ddb26f" + } else if $in < 3day { + "#acc267" + } else if $in < 1wk { + { fg: "#acc267" attr: "b" } + } else if $in < 6wk { + "#12cfc0" + } else if $in < 52wk { + "#6fc2ef" + } else { "dark_gray" } + } + range: "#d0d0d0" + float: "#d0d0d0" + string: "#d0d0d0" + nothing: "#d0d0d0" + binary: "#d0d0d0" + cellpath: "#d0d0d0" + row_index: { fg: "#acc267" attr: "b" } + record: "#d0d0d0" + list: "#d0d0d0" + block: "#d0d0d0" + hints: "dark_gray" + + shape_and: { fg: "#e1a3ee" attr: "b" } + shape_binary: { fg: "#e1a3ee" attr: "b" } + shape_block: { fg: "#6fc2ef" attr: "b" } + shape_bool: "#12cfc0" + shape_custom: "#acc267" + shape_datetime: { fg: "#12cfc0" attr: "b" } + shape_directory: "#12cfc0" + shape_external: "#12cfc0" + shape_externalarg: { fg: "#acc267" attr: "b" } + shape_filepath: "#12cfc0" + shape_flag: { fg: "#6fc2ef" attr: "b" } + shape_float: { fg: "#e1a3ee" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#12cfc0" attr: "b" } + shape_int: { fg: "#e1a3ee" attr: "b" } + shape_internalcall: { fg: "#12cfc0" attr: "b" } + shape_list: { fg: "#12cfc0" attr: "b" } + shape_literal: "#6fc2ef" + shape_match_pattern: "#acc267" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#12cfc0" + shape_operator: "#ddb26f" + shape_or: { fg: "#e1a3ee" attr: "b" } + shape_pipe: { fg: "#e1a3ee" attr: "b" } + shape_range: { fg: "#ddb26f" attr: "b" } + shape_record: { fg: "#12cfc0" attr: "b" } + shape_redirection: { fg: "#e1a3ee" attr: "b" } + shape_signature: { fg: "#acc267" attr: "b" } + shape_string: "#acc267" + shape_string_interpolation: { fg: "#12cfc0" attr: "b" } + shape_table: { fg: "#6fc2ef" attr: "b" } + shape_variable: "#e1a3ee" + + background: "#151515" + foreground: "#d0d0d0" + cursor: "#d0d0d0" +}} \ No newline at end of file diff --git a/themes/themes/chalkboard.nu b/themes/themes/chalkboard.nu index 8aa86bc..d727552 100644 --- a/themes/themes/chalkboard.nu +++ b/themes/themes/chalkboard.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the chalkboard theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#29262f" - # foreground: "#d9e6f2" - # cursor: "#d9e6f2" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#aadbaa" - empty: "#7372c3" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#aadbaa" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#323232" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#dbaada" - shape_bool: "#aadadb" - shape_int: "#dbaada" - shape_float: "#dbaada" - shape_range: "#dadbaa" - shape_internalcall: "#aadadb" - shape_external: "#72c2c3" - shape_externalarg: "#aadbaa" - shape_literal: "#7372c3" - shape_operator: "#c2c372" - shape_signature: "#aadbaa" - shape_string: "#72c373" - shape_string_interpolation: "#aadadb" - shape_datetime: "#aadadb" - shape_list: "#aadadb" - shape_table: "#aaaadb" - shape_record: "#aadadb" - shape_block: "#aaaadb" - shape_filepath: "#72c2c3" - shape_globpattern: "#aadadb" - shape_variable: "#c372c2" - shape_flag: "#aaaadb" - shape_custom: "#72c373" - shape_nothing: "#aadadb" +export def main [] { return { + separator: "#d9d9d9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#72c373" attr: "b" } + empty: "#7372c3" + bool: {|| if $in { "#aadadb" } else { "light_gray" } } + int: "#d9d9d9" + filesize: {|e| + if $e == 0b { + "#d9d9d9" + } else if $e < 1mb { + "#72c2c3" + } else {{ fg: "#7372c3" }} } -} + duration: "#d9d9d9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c37372" attr: "b" } + } else if $in < 6hr { + "#c37372" + } else if $in < 1day { + "#c2c372" + } else if $in < 3day { + "#72c373" + } else if $in < 1wk { + { fg: "#72c373" attr: "b" } + } else if $in < 6wk { + "#72c2c3" + } else if $in < 52wk { + "#7372c3" + } else { "dark_gray" } + } + range: "#d9d9d9" + float: "#d9d9d9" + string: "#d9d9d9" + nothing: "#d9d9d9" + binary: "#d9d9d9" + cellpath: "#d9d9d9" + row_index: { fg: "#72c373" attr: "b" } + record: "#d9d9d9" + list: "#d9d9d9" + block: "#d9d9d9" + hints: "dark_gray" + + shape_and: { fg: "#c372c2" attr: "b" } + shape_binary: { fg: "#c372c2" attr: "b" } + shape_block: { fg: "#7372c3" attr: "b" } + shape_bool: "#aadadb" + shape_custom: "#72c373" + shape_datetime: { fg: "#72c2c3" attr: "b" } + shape_directory: "#72c2c3" + shape_external: "#72c2c3" + shape_externalarg: { fg: "#72c373" attr: "b" } + shape_filepath: "#72c2c3" + shape_flag: { fg: "#7372c3" attr: "b" } + shape_float: { fg: "#c372c2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#72c2c3" attr: "b" } + shape_int: { fg: "#c372c2" attr: "b" } + shape_internalcall: { fg: "#72c2c3" attr: "b" } + shape_list: { fg: "#72c2c3" attr: "b" } + shape_literal: "#7372c3" + shape_match_pattern: "#72c373" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#aadadb" + shape_operator: "#c2c372" + shape_or: { fg: "#c372c2" attr: "b" } + shape_pipe: { fg: "#c372c2" attr: "b" } + shape_range: { fg: "#c2c372" attr: "b" } + shape_record: { fg: "#72c2c3" attr: "b" } + shape_redirection: { fg: "#c372c2" attr: "b" } + shape_signature: { fg: "#72c373" attr: "b" } + shape_string: "#72c373" + shape_string_interpolation: { fg: "#72c2c3" attr: "b" } + shape_table: { fg: "#7372c3" attr: "b" } + shape_variable: "#c372c2" + + background: "#29262f" + foreground: "#d9e6f2" + cursor: "#d9e6f2" +}} \ No newline at end of file diff --git a/themes/themes/challenger-deep.nu b/themes/themes/challenger-deep.nu index 63610d4..96d8a7e 100644 --- a/themes/themes/challenger-deep.nu +++ b/themes/themes/challenger-deep.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the challenger_deep theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1e1c31" - # foreground: "#cbe3e7" - # cursor: "#cbe3e7" - - { - # color for nushell primitives - separator: "#a6b3cc" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#62d196" - empty: "#91ddff" - bool: "#a6b3cc" - int: "#a6b3cc" - filesize: "#a6b3cc" - duration: "#a6b3cc" - date: "#a6b3cc" - range: "#a6b3cc" - float: "#a6b3cc" - string: "#a6b3cc" - nothing: "#a6b3cc" - binary: "#a6b3cc" - cellpath: "#a6b3cc" - row_index: "#62d196" - record: "#a6b3cc" - list: "#a6b3cc" - block: "#a6b3cc" - hints: "#100e23" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#906cff" - shape_bool: "#63f2f1" - shape_int: "#906cff" - shape_float: "#906cff" - shape_range: "#ffb378" - shape_internalcall: "#63f2f1" - shape_external: "#aaffe4" - shape_externalarg: "#62d196" - shape_literal: "#91ddff" - shape_operator: "#ffe9aa" - shape_signature: "#62d196" - shape_string: "#95ffa4" - shape_string_interpolation: "#63f2f1" - shape_datetime: "#63f2f1" - shape_list: "#63f2f1" - shape_table: "#65b2ff" - shape_record: "#63f2f1" - shape_block: "#65b2ff" - shape_filepath: "#aaffe4" - shape_globpattern: "#63f2f1" - shape_variable: "#c991e1" - shape_flag: "#65b2ff" - shape_custom: "#95ffa4" - shape_nothing: "#63f2f1" +export def main [] { return { + separator: "#cbe3e7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#95ffa4" attr: "b" } + empty: "#91ddff" + bool: {|| if $in { "#63f2f1" } else { "light_gray" } } + int: "#cbe3e7" + filesize: {|e| + if $e == 0b { + "#cbe3e7" + } else if $e < 1mb { + "#aaffe4" + } else {{ fg: "#91ddff" }} } -} + duration: "#cbe3e7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff8080" attr: "b" } + } else if $in < 6hr { + "#ff8080" + } else if $in < 1day { + "#ffe9aa" + } else if $in < 3day { + "#95ffa4" + } else if $in < 1wk { + { fg: "#95ffa4" attr: "b" } + } else if $in < 6wk { + "#aaffe4" + } else if $in < 52wk { + "#91ddff" + } else { "dark_gray" } + } + range: "#cbe3e7" + float: "#cbe3e7" + string: "#cbe3e7" + nothing: "#cbe3e7" + binary: "#cbe3e7" + cellpath: "#cbe3e7" + row_index: { fg: "#95ffa4" attr: "b" } + record: "#cbe3e7" + list: "#cbe3e7" + block: "#cbe3e7" + hints: "dark_gray" + + shape_and: { fg: "#c991e1" attr: "b" } + shape_binary: { fg: "#c991e1" attr: "b" } + shape_block: { fg: "#91ddff" attr: "b" } + shape_bool: "#63f2f1" + shape_custom: "#95ffa4" + shape_datetime: { fg: "#aaffe4" attr: "b" } + shape_directory: "#aaffe4" + shape_external: "#aaffe4" + shape_externalarg: { fg: "#95ffa4" attr: "b" } + shape_filepath: "#aaffe4" + shape_flag: { fg: "#91ddff" attr: "b" } + shape_float: { fg: "#c991e1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#aaffe4" attr: "b" } + shape_int: { fg: "#c991e1" attr: "b" } + shape_internalcall: { fg: "#aaffe4" attr: "b" } + shape_list: { fg: "#aaffe4" attr: "b" } + shape_literal: "#91ddff" + shape_match_pattern: "#95ffa4" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#63f2f1" + shape_operator: "#ffe9aa" + shape_or: { fg: "#c991e1" attr: "b" } + shape_pipe: { fg: "#c991e1" attr: "b" } + shape_range: { fg: "#ffe9aa" attr: "b" } + shape_record: { fg: "#aaffe4" attr: "b" } + shape_redirection: { fg: "#c991e1" attr: "b" } + shape_signature: { fg: "#95ffa4" attr: "b" } + shape_string: "#95ffa4" + shape_string_interpolation: { fg: "#aaffe4" attr: "b" } + shape_table: { fg: "#91ddff" attr: "b" } + shape_variable: "#c991e1" + + background: "#1e1c31" + foreground: "#cbe3e7" + cursor: "#cbe3e7" +}} \ No newline at end of file diff --git a/themes/themes/ciapre.nu b/themes/themes/ciapre.nu index e9989fa..f9231e6 100644 --- a/themes/themes/ciapre.nu +++ b/themes/themes/ciapre.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ciapre theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#191c27" - # foreground: "#aea47a" - # cursor: "#aea47a" - - { - # color for nushell primitives - separator: "#f4f4f4" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a6a75d" - empty: "#576d8c" - bool: "#f4f4f4" - int: "#f4f4f4" - filesize: "#f4f4f4" - duration: "#f4f4f4" - date: "#f4f4f4" - range: "#f4f4f4" - float: "#f4f4f4" - string: "#f4f4f4" - nothing: "#f4f4f4" - binary: "#f4f4f4" - cellpath: "#f4f4f4" - row_index: "#a6a75d" - record: "#f4f4f4" - list: "#f4f4f4" - block: "#f4f4f4" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d33061" - shape_bool: "#f3dbb2" - shape_int: "#d33061" - shape_float: "#d33061" - shape_range: "#dcdf7c" - shape_internalcall: "#f3dbb2" - shape_external: "#5c4f4b" - shape_externalarg: "#a6a75d" - shape_literal: "#576d8c" - shape_operator: "#cc8b3f" - shape_signature: "#a6a75d" - shape_string: "#48513b" - shape_string_interpolation: "#f3dbb2" - shape_datetime: "#f3dbb2" - shape_list: "#f3dbb2" - shape_table: "#3097c6" - shape_record: "#f3dbb2" - shape_block: "#3097c6" - shape_filepath: "#5c4f4b" - shape_globpattern: "#f3dbb2" - shape_variable: "#724d7c" - shape_flag: "#3097c6" - shape_custom: "#48513b" - shape_nothing: "#f3dbb2" +export def main [] { return { + separator: "#aea47f" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#48513b" attr: "b" } + empty: "#576d8c" + bool: {|| if $in { "#f3dbb2" } else { "light_gray" } } + int: "#aea47f" + filesize: {|e| + if $e == 0b { + "#aea47f" + } else if $e < 1mb { + "#5c4f4b" + } else {{ fg: "#576d8c" }} } -} + duration: "#aea47f" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#810009" attr: "b" } + } else if $in < 6hr { + "#810009" + } else if $in < 1day { + "#cc8b3f" + } else if $in < 3day { + "#48513b" + } else if $in < 1wk { + { fg: "#48513b" attr: "b" } + } else if $in < 6wk { + "#5c4f4b" + } else if $in < 52wk { + "#576d8c" + } else { "dark_gray" } + } + range: "#aea47f" + float: "#aea47f" + string: "#aea47f" + nothing: "#aea47f" + binary: "#aea47f" + cellpath: "#aea47f" + row_index: { fg: "#48513b" attr: "b" } + record: "#aea47f" + list: "#aea47f" + block: "#aea47f" + hints: "dark_gray" + + shape_and: { fg: "#724d7c" attr: "b" } + shape_binary: { fg: "#724d7c" attr: "b" } + shape_block: { fg: "#576d8c" attr: "b" } + shape_bool: "#f3dbb2" + shape_custom: "#48513b" + shape_datetime: { fg: "#5c4f4b" attr: "b" } + shape_directory: "#5c4f4b" + shape_external: "#5c4f4b" + shape_externalarg: { fg: "#48513b" attr: "b" } + shape_filepath: "#5c4f4b" + shape_flag: { fg: "#576d8c" attr: "b" } + shape_float: { fg: "#724d7c" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5c4f4b" attr: "b" } + shape_int: { fg: "#724d7c" attr: "b" } + shape_internalcall: { fg: "#5c4f4b" attr: "b" } + shape_list: { fg: "#5c4f4b" attr: "b" } + shape_literal: "#576d8c" + shape_match_pattern: "#48513b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#f3dbb2" + shape_operator: "#cc8b3f" + shape_or: { fg: "#724d7c" attr: "b" } + shape_pipe: { fg: "#724d7c" attr: "b" } + shape_range: { fg: "#cc8b3f" attr: "b" } + shape_record: { fg: "#5c4f4b" attr: "b" } + shape_redirection: { fg: "#724d7c" attr: "b" } + shape_signature: { fg: "#48513b" attr: "b" } + shape_string: "#48513b" + shape_string_interpolation: { fg: "#5c4f4b" attr: "b" } + shape_table: { fg: "#576d8c" attr: "b" } + shape_variable: "#724d7c" + + background: "#191c27" + foreground: "#aea47a" + cursor: "#aea47a" +}} \ No newline at end of file diff --git a/themes/themes/circus.nu b/themes/themes/circus.nu index 0d9ff24..f05cb9b 100644 --- a/themes/themes/circus.nu +++ b/themes/themes/circus.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the circus theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#191919" - # foreground: "#a7a7a7" - # cursor: "#a7a7a7" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#84b97c" - empty: "#639ee4" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#84b97c" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#5f5a60" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b888e2" - shape_bool: "#4bb1a7" - shape_int: "#b888e2" - shape_float: "#b888e2" - shape_range: "#c3ba63" - shape_internalcall: "#4bb1a7" - shape_external: "#4bb1a7" - shape_externalarg: "#84b97c" - shape_literal: "#639ee4" - shape_operator: "#c3ba63" - shape_signature: "#84b97c" - shape_string: "#84b97c" - shape_string_interpolation: "#4bb1a7" - shape_datetime: "#4bb1a7" - shape_list: "#4bb1a7" - shape_table: "#639ee4" - shape_record: "#4bb1a7" - shape_block: "#639ee4" - shape_filepath: "#4bb1a7" - shape_globpattern: "#4bb1a7" - shape_variable: "#b888e2" - shape_flag: "#639ee4" - shape_custom: "#84b97c" - shape_nothing: "#4bb1a7" +export def main [] { return { + separator: "#a7a7a7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#84b97c" attr: "b" } + empty: "#639ee4" + bool: {|| if $in { "#4bb1a7" } else { "light_gray" } } + int: "#a7a7a7" + filesize: {|e| + if $e == 0b { + "#a7a7a7" + } else if $e < 1mb { + "#4bb1a7" + } else {{ fg: "#639ee4" }} } -} + duration: "#a7a7a7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#dc657d" attr: "b" } + } else if $in < 6hr { + "#dc657d" + } else if $in < 1day { + "#c3ba63" + } else if $in < 3day { + "#84b97c" + } else if $in < 1wk { + { fg: "#84b97c" attr: "b" } + } else if $in < 6wk { + "#4bb1a7" + } else if $in < 52wk { + "#639ee4" + } else { "dark_gray" } + } + range: "#a7a7a7" + float: "#a7a7a7" + string: "#a7a7a7" + nothing: "#a7a7a7" + binary: "#a7a7a7" + cellpath: "#a7a7a7" + row_index: { fg: "#84b97c" attr: "b" } + record: "#a7a7a7" + list: "#a7a7a7" + block: "#a7a7a7" + hints: "dark_gray" + + shape_and: { fg: "#b888e2" attr: "b" } + shape_binary: { fg: "#b888e2" attr: "b" } + shape_block: { fg: "#639ee4" attr: "b" } + shape_bool: "#4bb1a7" + shape_custom: "#84b97c" + shape_datetime: { fg: "#4bb1a7" attr: "b" } + shape_directory: "#4bb1a7" + shape_external: "#4bb1a7" + shape_externalarg: { fg: "#84b97c" attr: "b" } + shape_filepath: "#4bb1a7" + shape_flag: { fg: "#639ee4" attr: "b" } + shape_float: { fg: "#b888e2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#4bb1a7" attr: "b" } + shape_int: { fg: "#b888e2" attr: "b" } + shape_internalcall: { fg: "#4bb1a7" attr: "b" } + shape_list: { fg: "#4bb1a7" attr: "b" } + shape_literal: "#639ee4" + shape_match_pattern: "#84b97c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4bb1a7" + shape_operator: "#c3ba63" + shape_or: { fg: "#b888e2" attr: "b" } + shape_pipe: { fg: "#b888e2" attr: "b" } + shape_range: { fg: "#c3ba63" attr: "b" } + shape_record: { fg: "#4bb1a7" attr: "b" } + shape_redirection: { fg: "#b888e2" attr: "b" } + shape_signature: { fg: "#84b97c" attr: "b" } + shape_string: "#84b97c" + shape_string_interpolation: { fg: "#4bb1a7" attr: "b" } + shape_table: { fg: "#639ee4" attr: "b" } + shape_variable: "#b888e2" + + background: "#191919" + foreground: "#a7a7a7" + cursor: "#a7a7a7" +}} \ No newline at end of file diff --git a/themes/themes/classic-dark.nu b/themes/themes/classic-dark.nu index 640f95c..b43451d 100644 --- a/themes/themes/classic-dark.nu +++ b/themes/themes/classic-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the classic_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#151515" - # foreground: "#d0d0d0" - # cursor: "#d0d0d0" - - { - # color for nushell primitives - separator: "#f5f5f5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#90a959" - empty: "#6a9fb5" - bool: "#f5f5f5" - int: "#f5f5f5" - filesize: "#f5f5f5" - duration: "#f5f5f5" - date: "#f5f5f5" - range: "#f5f5f5" - float: "#f5f5f5" - string: "#f5f5f5" - nothing: "#f5f5f5" - binary: "#f5f5f5" - cellpath: "#f5f5f5" - row_index: "#90a959" - record: "#f5f5f5" - list: "#f5f5f5" - block: "#f5f5f5" - hints: "#505050" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#aa759f" - shape_bool: "#75b5aa" - shape_int: "#aa759f" - shape_float: "#aa759f" - shape_range: "#f4bf75" - shape_internalcall: "#75b5aa" - shape_external: "#75b5aa" - shape_externalarg: "#90a959" - shape_literal: "#6a9fb5" - shape_operator: "#f4bf75" - shape_signature: "#90a959" - shape_string: "#90a959" - shape_string_interpolation: "#75b5aa" - shape_datetime: "#75b5aa" - shape_list: "#75b5aa" - shape_table: "#6a9fb5" - shape_record: "#75b5aa" - shape_block: "#6a9fb5" - shape_filepath: "#75b5aa" - shape_globpattern: "#75b5aa" - shape_variable: "#aa759f" - shape_flag: "#6a9fb5" - shape_custom: "#90a959" - shape_nothing: "#75b5aa" +export def main [] { return { + separator: "#d0d0d0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#90a959" attr: "b" } + empty: "#6a9fb5" + bool: {|| if $in { "#75b5aa" } else { "light_gray" } } + int: "#d0d0d0" + filesize: {|e| + if $e == 0b { + "#d0d0d0" + } else if $e < 1mb { + "#75b5aa" + } else {{ fg: "#6a9fb5" }} } -} + duration: "#d0d0d0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ac4142" attr: "b" } + } else if $in < 6hr { + "#ac4142" + } else if $in < 1day { + "#f4bf75" + } else if $in < 3day { + "#90a959" + } else if $in < 1wk { + { fg: "#90a959" attr: "b" } + } else if $in < 6wk { + "#75b5aa" + } else if $in < 52wk { + "#6a9fb5" + } else { "dark_gray" } + } + range: "#d0d0d0" + float: "#d0d0d0" + string: "#d0d0d0" + nothing: "#d0d0d0" + binary: "#d0d0d0" + cellpath: "#d0d0d0" + row_index: { fg: "#90a959" attr: "b" } + record: "#d0d0d0" + list: "#d0d0d0" + block: "#d0d0d0" + hints: "dark_gray" + + shape_and: { fg: "#aa759f" attr: "b" } + shape_binary: { fg: "#aa759f" attr: "b" } + shape_block: { fg: "#6a9fb5" attr: "b" } + shape_bool: "#75b5aa" + shape_custom: "#90a959" + shape_datetime: { fg: "#75b5aa" attr: "b" } + shape_directory: "#75b5aa" + shape_external: "#75b5aa" + shape_externalarg: { fg: "#90a959" attr: "b" } + shape_filepath: "#75b5aa" + shape_flag: { fg: "#6a9fb5" attr: "b" } + shape_float: { fg: "#aa759f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#75b5aa" attr: "b" } + shape_int: { fg: "#aa759f" attr: "b" } + shape_internalcall: { fg: "#75b5aa" attr: "b" } + shape_list: { fg: "#75b5aa" attr: "b" } + shape_literal: "#6a9fb5" + shape_match_pattern: "#90a959" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#75b5aa" + shape_operator: "#f4bf75" + shape_or: { fg: "#aa759f" attr: "b" } + shape_pipe: { fg: "#aa759f" attr: "b" } + shape_range: { fg: "#f4bf75" attr: "b" } + shape_record: { fg: "#75b5aa" attr: "b" } + shape_redirection: { fg: "#aa759f" attr: "b" } + shape_signature: { fg: "#90a959" attr: "b" } + shape_string: "#90a959" + shape_string_interpolation: { fg: "#75b5aa" attr: "b" } + shape_table: { fg: "#6a9fb5" attr: "b" } + shape_variable: "#aa759f" + + background: "#151515" + foreground: "#d0d0d0" + cursor: "#d0d0d0" +}} \ No newline at end of file diff --git a/themes/themes/classic-light.nu b/themes/themes/classic-light.nu index 780a7c5..facb4df 100644 --- a/themes/themes/classic-light.nu +++ b/themes/themes/classic-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the classic_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f5f5f5" - # foreground: "#303030" - # cursor: "#303030" - - { - # color for nushell primitives - separator: "#151515" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#90a959" - empty: "#6a9fb5" - bool: "#151515" - int: "#151515" - filesize: "#151515" - duration: "#151515" - date: "#151515" - range: "#151515" - float: "#151515" - string: "#151515" - nothing: "#151515" - binary: "#151515" - cellpath: "#151515" - row_index: "#90a959" - record: "#151515" - list: "#151515" - block: "#151515" - hints: "#b0b0b0" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#aa759f" - shape_bool: "#75b5aa" - shape_int: "#aa759f" - shape_float: "#aa759f" - shape_range: "#f4bf75" - shape_internalcall: "#75b5aa" - shape_external: "#75b5aa" - shape_externalarg: "#90a959" - shape_literal: "#6a9fb5" - shape_operator: "#f4bf75" - shape_signature: "#90a959" - shape_string: "#90a959" - shape_string_interpolation: "#75b5aa" - shape_datetime: "#75b5aa" - shape_list: "#75b5aa" - shape_table: "#6a9fb5" - shape_record: "#75b5aa" - shape_block: "#6a9fb5" - shape_filepath: "#75b5aa" - shape_globpattern: "#75b5aa" - shape_variable: "#aa759f" - shape_flag: "#6a9fb5" - shape_custom: "#90a959" - shape_nothing: "#75b5aa" +export def main [] { return { + separator: "#303030" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#90a959" attr: "b" } + empty: "#6a9fb5" + bool: {|| if $in { "#75b5aa" } else { "light_gray" } } + int: "#303030" + filesize: {|e| + if $e == 0b { + "#303030" + } else if $e < 1mb { + "#75b5aa" + } else {{ fg: "#6a9fb5" }} } -} + duration: "#303030" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ac4142" attr: "b" } + } else if $in < 6hr { + "#ac4142" + } else if $in < 1day { + "#f4bf75" + } else if $in < 3day { + "#90a959" + } else if $in < 1wk { + { fg: "#90a959" attr: "b" } + } else if $in < 6wk { + "#75b5aa" + } else if $in < 52wk { + "#6a9fb5" + } else { "dark_gray" } + } + range: "#303030" + float: "#303030" + string: "#303030" + nothing: "#303030" + binary: "#303030" + cellpath: "#303030" + row_index: { fg: "#90a959" attr: "b" } + record: "#303030" + list: "#303030" + block: "#303030" + hints: "dark_gray" + + shape_and: { fg: "#aa759f" attr: "b" } + shape_binary: { fg: "#aa759f" attr: "b" } + shape_block: { fg: "#6a9fb5" attr: "b" } + shape_bool: "#75b5aa" + shape_custom: "#90a959" + shape_datetime: { fg: "#75b5aa" attr: "b" } + shape_directory: "#75b5aa" + shape_external: "#75b5aa" + shape_externalarg: { fg: "#90a959" attr: "b" } + shape_filepath: "#75b5aa" + shape_flag: { fg: "#6a9fb5" attr: "b" } + shape_float: { fg: "#aa759f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#75b5aa" attr: "b" } + shape_int: { fg: "#aa759f" attr: "b" } + shape_internalcall: { fg: "#75b5aa" attr: "b" } + shape_list: { fg: "#75b5aa" attr: "b" } + shape_literal: "#6a9fb5" + shape_match_pattern: "#90a959" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#75b5aa" + shape_operator: "#f4bf75" + shape_or: { fg: "#aa759f" attr: "b" } + shape_pipe: { fg: "#aa759f" attr: "b" } + shape_range: { fg: "#f4bf75" attr: "b" } + shape_record: { fg: "#75b5aa" attr: "b" } + shape_redirection: { fg: "#aa759f" attr: "b" } + shape_signature: { fg: "#90a959" attr: "b" } + shape_string: "#90a959" + shape_string_interpolation: { fg: "#75b5aa" attr: "b" } + shape_table: { fg: "#6a9fb5" attr: "b" } + shape_variable: "#aa759f" + + background: "#f5f5f5" + foreground: "#303030" + cursor: "#303030" +}} \ No newline at end of file diff --git a/themes/themes/clone-of-ubuntu.nu b/themes/themes/clone-of-ubuntu.nu index 8347a6e..80eaf3d 100644 --- a/themes/themes/clone-of-ubuntu.nu +++ b/themes/themes/clone-of-ubuntu.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the clone_of-ubuntu theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#300a24" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#eeeeec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8ae234" - empty: "#3465a4" - bool: "#eeeeec" - int: "#eeeeec" - filesize: "#eeeeec" - duration: "#eeeeec" - date: "#eeeeec" - range: "#eeeeec" - float: "#eeeeec" - string: "#eeeeec" - nothing: "#eeeeec" - binary: "#eeeeec" - cellpath: "#eeeeec" - row_index: "#8ae234" - record: "#eeeeec" - list: "#eeeeec" - block: "#eeeeec" - hints: "#555753" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ad7fa8" - shape_bool: "#34e2e2" - shape_int: "#ad7fa8" - shape_float: "#ad7fa8" - shape_range: "#fce94f" - shape_internalcall: "#34e2e2" - shape_external: "#06989a" - shape_externalarg: "#8ae234" - shape_literal: "#3465a4" - shape_operator: "#c4a000" - shape_signature: "#8ae234" - shape_string: "#4e9a06" - shape_string_interpolation: "#34e2e2" - shape_datetime: "#34e2e2" - shape_list: "#34e2e2" - shape_table: "#729fcf" - shape_record: "#34e2e2" - shape_block: "#729fcf" - shape_filepath: "#06989a" - shape_globpattern: "#34e2e2" - shape_variable: "#75507b" - shape_flag: "#729fcf" - shape_custom: "#4e9a06" - shape_nothing: "#34e2e2" +export def main [] { return { + separator: "#d3d7cf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4e9a06" attr: "b" } + empty: "#3465a4" + bool: {|| if $in { "#34e2e2" } else { "light_gray" } } + int: "#d3d7cf" + filesize: {|e| + if $e == 0b { + "#d3d7cf" + } else if $e < 1mb { + "#06989a" + } else {{ fg: "#3465a4" }} } -} + duration: "#d3d7cf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc0000" attr: "b" } + } else if $in < 6hr { + "#cc0000" + } else if $in < 1day { + "#c4a000" + } else if $in < 3day { + "#4e9a06" + } else if $in < 1wk { + { fg: "#4e9a06" attr: "b" } + } else if $in < 6wk { + "#06989a" + } else if $in < 52wk { + "#3465a4" + } else { "dark_gray" } + } + range: "#d3d7cf" + float: "#d3d7cf" + string: "#d3d7cf" + nothing: "#d3d7cf" + binary: "#d3d7cf" + cellpath: "#d3d7cf" + row_index: { fg: "#4e9a06" attr: "b" } + record: "#d3d7cf" + list: "#d3d7cf" + block: "#d3d7cf" + hints: "dark_gray" + + shape_and: { fg: "#75507b" attr: "b" } + shape_binary: { fg: "#75507b" attr: "b" } + shape_block: { fg: "#3465a4" attr: "b" } + shape_bool: "#34e2e2" + shape_custom: "#4e9a06" + shape_datetime: { fg: "#06989a" attr: "b" } + shape_directory: "#06989a" + shape_external: "#06989a" + shape_externalarg: { fg: "#4e9a06" attr: "b" } + shape_filepath: "#06989a" + shape_flag: { fg: "#3465a4" attr: "b" } + shape_float: { fg: "#75507b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#06989a" attr: "b" } + shape_int: { fg: "#75507b" attr: "b" } + shape_internalcall: { fg: "#06989a" attr: "b" } + shape_list: { fg: "#06989a" attr: "b" } + shape_literal: "#3465a4" + shape_match_pattern: "#4e9a06" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#34e2e2" + shape_operator: "#c4a000" + shape_or: { fg: "#75507b" attr: "b" } + shape_pipe: { fg: "#75507b" attr: "b" } + shape_range: { fg: "#c4a000" attr: "b" } + shape_record: { fg: "#06989a" attr: "b" } + shape_redirection: { fg: "#75507b" attr: "b" } + shape_signature: { fg: "#4e9a06" attr: "b" } + shape_string: "#4e9a06" + shape_string_interpolation: { fg: "#06989a" attr: "b" } + shape_table: { fg: "#3465a4" attr: "b" } + shape_variable: "#75507b" + + background: "#300a24" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/clrs.nu b/themes/themes/clrs.nu index ae6e20b..5676cd3 100644 --- a/themes/themes/clrs.nu +++ b/themes/themes/clrs.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the clrs theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#262626" - # cursor: "#262626" - - { - # color for nushell primitives - separator: "#eeeeec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#2cc631" - empty: "#135cd0" - bool: "#eeeeec" - int: "#eeeeec" - filesize: "#eeeeec" - duration: "#eeeeec" - date: "#eeeeec" - range: "#eeeeec" - float: "#eeeeec" - string: "#eeeeec" - nothing: "#eeeeec" - binary: "#eeeeec" - cellpath: "#eeeeec" - row_index: "#2cc631" - record: "#eeeeec" - list: "#eeeeec" - block: "#eeeeec" - hints: "#555753" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e900b0" - shape_bool: "#3ad5ce" - shape_int: "#e900b0" - shape_float: "#e900b0" - shape_range: "#fdd727" - shape_internalcall: "#3ad5ce" - shape_external: "#33c3c1" - shape_externalarg: "#2cc631" - shape_literal: "#135cd0" - shape_operator: "#fa701d" - shape_signature: "#2cc631" - shape_string: "#328a5d" - shape_string_interpolation: "#3ad5ce" - shape_datetime: "#3ad5ce" - shape_list: "#3ad5ce" - shape_table: "#1670ff" - shape_record: "#3ad5ce" - shape_block: "#1670ff" - shape_filepath: "#33c3c1" - shape_globpattern: "#3ad5ce" - shape_variable: "#9f00bd" - shape_flag: "#1670ff" - shape_custom: "#328a5d" - shape_nothing: "#3ad5ce" +export def main [] { return { + separator: "#b3b3b3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#328a5d" attr: "b" } + empty: "#135cd0" + bool: {|| if $in { "#3ad5ce" } else { "light_gray" } } + int: "#b3b3b3" + filesize: {|e| + if $e == 0b { + "#b3b3b3" + } else if $e < 1mb { + "#33c3c1" + } else {{ fg: "#135cd0" }} } -} + duration: "#b3b3b3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f8282a" attr: "b" } + } else if $in < 6hr { + "#f8282a" + } else if $in < 1day { + "#fa701d" + } else if $in < 3day { + "#328a5d" + } else if $in < 1wk { + { fg: "#328a5d" attr: "b" } + } else if $in < 6wk { + "#33c3c1" + } else if $in < 52wk { + "#135cd0" + } else { "dark_gray" } + } + range: "#b3b3b3" + float: "#b3b3b3" + string: "#b3b3b3" + nothing: "#b3b3b3" + binary: "#b3b3b3" + cellpath: "#b3b3b3" + row_index: { fg: "#328a5d" attr: "b" } + record: "#b3b3b3" + list: "#b3b3b3" + block: "#b3b3b3" + hints: "dark_gray" + + shape_and: { fg: "#9f00bd" attr: "b" } + shape_binary: { fg: "#9f00bd" attr: "b" } + shape_block: { fg: "#135cd0" attr: "b" } + shape_bool: "#3ad5ce" + shape_custom: "#328a5d" + shape_datetime: { fg: "#33c3c1" attr: "b" } + shape_directory: "#33c3c1" + shape_external: "#33c3c1" + shape_externalarg: { fg: "#328a5d" attr: "b" } + shape_filepath: "#33c3c1" + shape_flag: { fg: "#135cd0" attr: "b" } + shape_float: { fg: "#9f00bd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#33c3c1" attr: "b" } + shape_int: { fg: "#9f00bd" attr: "b" } + shape_internalcall: { fg: "#33c3c1" attr: "b" } + shape_list: { fg: "#33c3c1" attr: "b" } + shape_literal: "#135cd0" + shape_match_pattern: "#328a5d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3ad5ce" + shape_operator: "#fa701d" + shape_or: { fg: "#9f00bd" attr: "b" } + shape_pipe: { fg: "#9f00bd" attr: "b" } + shape_range: { fg: "#fa701d" attr: "b" } + shape_record: { fg: "#33c3c1" attr: "b" } + shape_redirection: { fg: "#9f00bd" attr: "b" } + shape_signature: { fg: "#328a5d" attr: "b" } + shape_string: "#328a5d" + shape_string_interpolation: { fg: "#33c3c1" attr: "b" } + shape_table: { fg: "#135cd0" attr: "b" } + shape_variable: "#9f00bd" + + background: "#ffffff" + foreground: "#262626" + cursor: "#262626" +}} \ No newline at end of file diff --git a/themes/themes/cobalt-neon.nu b/themes/themes/cobalt-neon.nu index 0609669..dd7f853 100644 --- a/themes/themes/cobalt-neon.nu +++ b/themes/themes/cobalt-neon.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the cobalt_neon theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#142838" - # foreground: "#8ff586" - # cursor: "#8ff586" - - { - # color for nushell primitives - separator: "#8ff586" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8ff586" - empty: "#8ff586" - bool: "#8ff586" - int: "#8ff586" - filesize: "#8ff586" - duration: "#8ff586" - date: "#8ff586" - range: "#8ff586" - float: "#8ff586" - string: "#8ff586" - nothing: "#8ff586" - binary: "#8ff586" - cellpath: "#8ff586" - row_index: "#8ff586" - record: "#8ff586" - list: "#8ff586" - block: "#8ff586" - hints: "#fff688" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8230a7" - shape_bool: "#6cbc67" - shape_int: "#8230a7" - shape_float: "#8230a7" - shape_range: "#e9f06d" - shape_internalcall: "#6cbc67" - shape_external: "#8ff586" - shape_externalarg: "#8ff586" - shape_literal: "#8ff586" - shape_operator: "#e9e75c" - shape_signature: "#8ff586" - shape_string: "#3ba5ff" - shape_string_interpolation: "#6cbc67" - shape_datetime: "#6cbc67" - shape_list: "#6cbc67" - shape_table: "#3c7dd2" - shape_record: "#6cbc67" - shape_block: "#3c7dd2" - shape_filepath: "#8ff586" - shape_globpattern: "#6cbc67" - shape_variable: "#781aa0" - shape_flag: "#3c7dd2" - shape_custom: "#3ba5ff" - shape_nothing: "#6cbc67" +export def main [] { return { + separator: "#ba46b2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#3ba5ff" attr: "b" } + empty: "#8ff586" + bool: {|| if $in { "#6cbc67" } else { "light_gray" } } + int: "#ba46b2" + filesize: {|e| + if $e == 0b { + "#ba46b2" + } else if $e < 1mb { + "#8ff586" + } else {{ fg: "#8ff586" }} } -} + duration: "#ba46b2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff2320" attr: "b" } + } else if $in < 6hr { + "#ff2320" + } else if $in < 1day { + "#e9e75c" + } else if $in < 3day { + "#3ba5ff" + } else if $in < 1wk { + { fg: "#3ba5ff" attr: "b" } + } else if $in < 6wk { + "#8ff586" + } else if $in < 52wk { + "#8ff586" + } else { "dark_gray" } + } + range: "#ba46b2" + float: "#ba46b2" + string: "#ba46b2" + nothing: "#ba46b2" + binary: "#ba46b2" + cellpath: "#ba46b2" + row_index: { fg: "#3ba5ff" attr: "b" } + record: "#ba46b2" + list: "#ba46b2" + block: "#ba46b2" + hints: "dark_gray" + + shape_and: { fg: "#781aa0" attr: "b" } + shape_binary: { fg: "#781aa0" attr: "b" } + shape_block: { fg: "#8ff586" attr: "b" } + shape_bool: "#6cbc67" + shape_custom: "#3ba5ff" + shape_datetime: { fg: "#8ff586" attr: "b" } + shape_directory: "#8ff586" + shape_external: "#8ff586" + shape_externalarg: { fg: "#3ba5ff" attr: "b" } + shape_filepath: "#8ff586" + shape_flag: { fg: "#8ff586" attr: "b" } + shape_float: { fg: "#781aa0" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8ff586" attr: "b" } + shape_int: { fg: "#781aa0" attr: "b" } + shape_internalcall: { fg: "#8ff586" attr: "b" } + shape_list: { fg: "#8ff586" attr: "b" } + shape_literal: "#8ff586" + shape_match_pattern: "#3ba5ff" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#6cbc67" + shape_operator: "#e9e75c" + shape_or: { fg: "#781aa0" attr: "b" } + shape_pipe: { fg: "#781aa0" attr: "b" } + shape_range: { fg: "#e9e75c" attr: "b" } + shape_record: { fg: "#8ff586" attr: "b" } + shape_redirection: { fg: "#781aa0" attr: "b" } + shape_signature: { fg: "#3ba5ff" attr: "b" } + shape_string: "#3ba5ff" + shape_string_interpolation: { fg: "#8ff586" attr: "b" } + shape_table: { fg: "#8ff586" attr: "b" } + shape_variable: "#781aa0" + + background: "#142838" + foreground: "#8ff586" + cursor: "#8ff586" +}} \ No newline at end of file diff --git a/themes/themes/cobalt2.nu b/themes/themes/cobalt2.nu index 3f3ae1a..3ac846c 100644 --- a/themes/themes/cobalt2.nu +++ b/themes/themes/cobalt2.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the cobalt2 theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#132738" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#3bd01d" - empty: "#1460d2" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#3bd01d" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff55ff" - shape_bool: "#6ae3fa" - shape_int: "#ff55ff" - shape_float: "#ff55ff" - shape_range: "#edc809" - shape_internalcall: "#6ae3fa" - shape_external: "#00bbbb" - shape_externalarg: "#3bd01d" - shape_literal: "#1460d2" - shape_operator: "#ffe50a" - shape_signature: "#3bd01d" - shape_string: "#38de21" - shape_string_interpolation: "#6ae3fa" - shape_datetime: "#6ae3fa" - shape_list: "#6ae3fa" - shape_table: "#5555ff" - shape_record: "#6ae3fa" - shape_block: "#5555ff" - shape_filepath: "#00bbbb" - shape_globpattern: "#6ae3fa" - shape_variable: "#ff005d" - shape_flag: "#5555ff" - shape_custom: "#38de21" - shape_nothing: "#6ae3fa" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#38de21" attr: "b" } + empty: "#1460d2" + bool: {|| if $in { "#6ae3fa" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#00bbbb" + } else {{ fg: "#1460d2" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff0000" attr: "b" } + } else if $in < 6hr { + "#ff0000" + } else if $in < 1day { + "#ffe50a" + } else if $in < 3day { + "#38de21" + } else if $in < 1wk { + { fg: "#38de21" attr: "b" } + } else if $in < 6wk { + "#00bbbb" + } else if $in < 52wk { + "#1460d2" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#38de21" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#ff005d" attr: "b" } + shape_binary: { fg: "#ff005d" attr: "b" } + shape_block: { fg: "#1460d2" attr: "b" } + shape_bool: "#6ae3fa" + shape_custom: "#38de21" + shape_datetime: { fg: "#00bbbb" attr: "b" } + shape_directory: "#00bbbb" + shape_external: "#00bbbb" + shape_externalarg: { fg: "#38de21" attr: "b" } + shape_filepath: "#00bbbb" + shape_flag: { fg: "#1460d2" attr: "b" } + shape_float: { fg: "#ff005d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00bbbb" attr: "b" } + shape_int: { fg: "#ff005d" attr: "b" } + shape_internalcall: { fg: "#00bbbb" attr: "b" } + shape_list: { fg: "#00bbbb" attr: "b" } + shape_literal: "#1460d2" + shape_match_pattern: "#38de21" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#6ae3fa" + shape_operator: "#ffe50a" + shape_or: { fg: "#ff005d" attr: "b" } + shape_pipe: { fg: "#ff005d" attr: "b" } + shape_range: { fg: "#ffe50a" attr: "b" } + shape_record: { fg: "#00bbbb" attr: "b" } + shape_redirection: { fg: "#ff005d" attr: "b" } + shape_signature: { fg: "#38de21" attr: "b" } + shape_string: "#38de21" + shape_string_interpolation: { fg: "#00bbbb" attr: "b" } + shape_table: { fg: "#1460d2" attr: "b" } + shape_variable: "#ff005d" + + background: "#132738" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/codeschool.nu b/themes/themes/codeschool.nu index 0980800..ad1d023 100644 --- a/themes/themes/codeschool.nu +++ b/themes/themes/codeschool.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the codeschool theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#232c31" - # foreground: "#9ea7a6" - # cursor: "#9ea7a6" - - { - # color for nushell primitives - separator: "#b5d8f6" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#237986" - empty: "#484d79" - bool: "#b5d8f6" - int: "#b5d8f6" - filesize: "#b5d8f6" - duration: "#b5d8f6" - date: "#b5d8f6" - range: "#b5d8f6" - float: "#b5d8f6" - string: "#b5d8f6" - nothing: "#b5d8f6" - binary: "#b5d8f6" - cellpath: "#b5d8f6" - row_index: "#237986" - record: "#b5d8f6" - list: "#b5d8f6" - block: "#b5d8f6" - hints: "#3f4944" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c59820" - shape_bool: "#b02f30" - shape_int: "#c59820" - shape_float: "#c59820" - shape_range: "#a03b1e" - shape_internalcall: "#b02f30" - shape_external: "#b02f30" - shape_externalarg: "#237986" - shape_literal: "#484d79" - shape_operator: "#a03b1e" - shape_signature: "#237986" - shape_string: "#237986" - shape_string_interpolation: "#b02f30" - shape_datetime: "#b02f30" - shape_list: "#b02f30" - shape_table: "#484d79" - shape_record: "#b02f30" - shape_block: "#484d79" - shape_filepath: "#b02f30" - shape_globpattern: "#b02f30" - shape_variable: "#c59820" - shape_flag: "#484d79" - shape_custom: "#237986" - shape_nothing: "#b02f30" +export def main [] { return { + separator: "#9ea7a6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#237986" attr: "b" } + empty: "#484d79" + bool: {|| if $in { "#b02f30" } else { "light_gray" } } + int: "#9ea7a6" + filesize: {|e| + if $e == 0b { + "#9ea7a6" + } else if $e < 1mb { + "#b02f30" + } else {{ fg: "#484d79" }} } -} + duration: "#9ea7a6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#2a5491" attr: "b" } + } else if $in < 6hr { + "#2a5491" + } else if $in < 1day { + "#a03b1e" + } else if $in < 3day { + "#237986" + } else if $in < 1wk { + { fg: "#237986" attr: "b" } + } else if $in < 6wk { + "#b02f30" + } else if $in < 52wk { + "#484d79" + } else { "dark_gray" } + } + range: "#9ea7a6" + float: "#9ea7a6" + string: "#9ea7a6" + nothing: "#9ea7a6" + binary: "#9ea7a6" + cellpath: "#9ea7a6" + row_index: { fg: "#237986" attr: "b" } + record: "#9ea7a6" + list: "#9ea7a6" + block: "#9ea7a6" + hints: "dark_gray" + + shape_and: { fg: "#c59820" attr: "b" } + shape_binary: { fg: "#c59820" attr: "b" } + shape_block: { fg: "#484d79" attr: "b" } + shape_bool: "#b02f30" + shape_custom: "#237986" + shape_datetime: { fg: "#b02f30" attr: "b" } + shape_directory: "#b02f30" + shape_external: "#b02f30" + shape_externalarg: { fg: "#237986" attr: "b" } + shape_filepath: "#b02f30" + shape_flag: { fg: "#484d79" attr: "b" } + shape_float: { fg: "#c59820" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#b02f30" attr: "b" } + shape_int: { fg: "#c59820" attr: "b" } + shape_internalcall: { fg: "#b02f30" attr: "b" } + shape_list: { fg: "#b02f30" attr: "b" } + shape_literal: "#484d79" + shape_match_pattern: "#237986" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#b02f30" + shape_operator: "#a03b1e" + shape_or: { fg: "#c59820" attr: "b" } + shape_pipe: { fg: "#c59820" attr: "b" } + shape_range: { fg: "#a03b1e" attr: "b" } + shape_record: { fg: "#b02f30" attr: "b" } + shape_redirection: { fg: "#c59820" attr: "b" } + shape_signature: { fg: "#237986" attr: "b" } + shape_string: "#237986" + shape_string_interpolation: { fg: "#b02f30" attr: "b" } + shape_table: { fg: "#484d79" attr: "b" } + shape_variable: "#c59820" + + background: "#232c31" + foreground: "#9ea7a6" + cursor: "#9ea7a6" +}} \ No newline at end of file diff --git a/themes/themes/corvine.nu b/themes/themes/corvine.nu index 8df774b..101b524 100644 --- a/themes/themes/corvine.nu +++ b/themes/themes/corvine.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the corvine theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#262626" - # foreground: "#c6c6c6" - # cursor: "#c6c6c6" - - { - # color for nushell primitives - separator: "#eeeeee" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#afd787" - empty: "#87afd7" - bool: "#eeeeee" - int: "#eeeeee" - filesize: "#eeeeee" - duration: "#eeeeee" - date: "#eeeeee" - range: "#eeeeee" - float: "#eeeeee" - string: "#eeeeee" - nothing: "#eeeeee" - binary: "#eeeeee" - cellpath: "#eeeeee" - row_index: "#afd787" - record: "#eeeeee" - list: "#eeeeee" - block: "#eeeeee" - hints: "#626262" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d7afd7" - shape_bool: "#5fd7d7" - shape_int: "#d7afd7" - shape_float: "#d7afd7" - shape_range: "#d7d787" - shape_internalcall: "#5fd7d7" - shape_external: "#87d7d7" - shape_externalarg: "#afd787" - shape_literal: "#87afd7" - shape_operator: "#d7d7af" - shape_signature: "#afd787" - shape_string: "#87af5f" - shape_string_interpolation: "#5fd7d7" - shape_datetime: "#5fd7d7" - shape_list: "#5fd7d7" - shape_table: "#87d7ff" - shape_record: "#5fd7d7" - shape_block: "#87d7ff" - shape_filepath: "#87d7d7" - shape_globpattern: "#5fd7d7" - shape_variable: "#afafd7" - shape_flag: "#87d7ff" - shape_custom: "#87af5f" - shape_nothing: "#5fd7d7" +export def main [] { return { + separator: "#c6c6c6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#87af5f" attr: "b" } + empty: "#87afd7" + bool: {|| if $in { "#5fd7d7" } else { "light_gray" } } + int: "#c6c6c6" + filesize: {|e| + if $e == 0b { + "#c6c6c6" + } else if $e < 1mb { + "#87d7d7" + } else {{ fg: "#87afd7" }} } -} + duration: "#c6c6c6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d78787" attr: "b" } + } else if $in < 6hr { + "#d78787" + } else if $in < 1day { + "#d7d7af" + } else if $in < 3day { + "#87af5f" + } else if $in < 1wk { + { fg: "#87af5f" attr: "b" } + } else if $in < 6wk { + "#87d7d7" + } else if $in < 52wk { + "#87afd7" + } else { "dark_gray" } + } + range: "#c6c6c6" + float: "#c6c6c6" + string: "#c6c6c6" + nothing: "#c6c6c6" + binary: "#c6c6c6" + cellpath: "#c6c6c6" + row_index: { fg: "#87af5f" attr: "b" } + record: "#c6c6c6" + list: "#c6c6c6" + block: "#c6c6c6" + hints: "dark_gray" + + shape_and: { fg: "#afafd7" attr: "b" } + shape_binary: { fg: "#afafd7" attr: "b" } + shape_block: { fg: "#87afd7" attr: "b" } + shape_bool: "#5fd7d7" + shape_custom: "#87af5f" + shape_datetime: { fg: "#87d7d7" attr: "b" } + shape_directory: "#87d7d7" + shape_external: "#87d7d7" + shape_externalarg: { fg: "#87af5f" attr: "b" } + shape_filepath: "#87d7d7" + shape_flag: { fg: "#87afd7" attr: "b" } + shape_float: { fg: "#afafd7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#87d7d7" attr: "b" } + shape_int: { fg: "#afafd7" attr: "b" } + shape_internalcall: { fg: "#87d7d7" attr: "b" } + shape_list: { fg: "#87d7d7" attr: "b" } + shape_literal: "#87afd7" + shape_match_pattern: "#87af5f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5fd7d7" + shape_operator: "#d7d7af" + shape_or: { fg: "#afafd7" attr: "b" } + shape_pipe: { fg: "#afafd7" attr: "b" } + shape_range: { fg: "#d7d7af" attr: "b" } + shape_record: { fg: "#87d7d7" attr: "b" } + shape_redirection: { fg: "#afafd7" attr: "b" } + shape_signature: { fg: "#87af5f" attr: "b" } + shape_string: "#87af5f" + shape_string_interpolation: { fg: "#87d7d7" attr: "b" } + shape_table: { fg: "#87afd7" attr: "b" } + shape_variable: "#afafd7" + + background: "#262626" + foreground: "#c6c6c6" + cursor: "#c6c6c6" +}} \ No newline at end of file diff --git a/themes/themes/crayon-pony-fish.nu b/themes/themes/crayon-pony-fish.nu index 269f843..805a015 100644 --- a/themes/themes/crayon-pony-fish.nu +++ b/themes/themes/crayon-pony-fish.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the crayon_pony-fish theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#150707" - # foreground: "#68525a" - # cursor: "#68525a" - - { - # color for nushell primitives - separator: "#b0949d" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8dff57" - empty: "#8c87b0" - bool: "#b0949d" - int: "#b0949d" - filesize: "#b0949d" - duration: "#b0949d" - date: "#b0949d" - range: "#b0949d" - float: "#b0949d" - string: "#b0949d" - nothing: "#b0949d" - binary: "#b0949d" - cellpath: "#b0949d" - row_index: "#8dff57" - record: "#b0949d" - list: "#b0949d" - block: "#b0949d" - hints: "#3d2b2e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fc6cba" - shape_bool: "#ffceaf" - shape_int: "#fc6cba" - shape_float: "#fc6cba" - shape_range: "#c8381d" - shape_internalcall: "#ffceaf" - shape_external: "#e8a866" - shape_externalarg: "#8dff57" - shape_literal: "#8c87b0" - shape_operator: "#ab311b" - shape_signature: "#8dff57" - shape_string: "#579524" - shape_string_interpolation: "#ffceaf" - shape_datetime: "#ffceaf" - shape_list: "#ffceaf" - shape_table: "#cfc9ff" - shape_record: "#ffceaf" - shape_block: "#cfc9ff" - shape_filepath: "#e8a866" - shape_globpattern: "#ffceaf" - shape_variable: "#692f50" - shape_flag: "#cfc9ff" - shape_custom: "#579524" - shape_nothing: "#ffceaf" +export def main [] { return { + separator: "#68525a" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#579524" attr: "b" } + empty: "#8c87b0" + bool: {|| if $in { "#ffceaf" } else { "light_gray" } } + int: "#68525a" + filesize: {|e| + if $e == 0b { + "#68525a" + } else if $e < 1mb { + "#e8a866" + } else {{ fg: "#8c87b0" }} } -} + duration: "#68525a" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#91002b" attr: "b" } + } else if $in < 6hr { + "#91002b" + } else if $in < 1day { + "#ab311b" + } else if $in < 3day { + "#579524" + } else if $in < 1wk { + { fg: "#579524" attr: "b" } + } else if $in < 6wk { + "#e8a866" + } else if $in < 52wk { + "#8c87b0" + } else { "dark_gray" } + } + range: "#68525a" + float: "#68525a" + string: "#68525a" + nothing: "#68525a" + binary: "#68525a" + cellpath: "#68525a" + row_index: { fg: "#579524" attr: "b" } + record: "#68525a" + list: "#68525a" + block: "#68525a" + hints: "dark_gray" + + shape_and: { fg: "#692f50" attr: "b" } + shape_binary: { fg: "#692f50" attr: "b" } + shape_block: { fg: "#8c87b0" attr: "b" } + shape_bool: "#ffceaf" + shape_custom: "#579524" + shape_datetime: { fg: "#e8a866" attr: "b" } + shape_directory: "#e8a866" + shape_external: "#e8a866" + shape_externalarg: { fg: "#579524" attr: "b" } + shape_filepath: "#e8a866" + shape_flag: { fg: "#8c87b0" attr: "b" } + shape_float: { fg: "#692f50" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#e8a866" attr: "b" } + shape_int: { fg: "#692f50" attr: "b" } + shape_internalcall: { fg: "#e8a866" attr: "b" } + shape_list: { fg: "#e8a866" attr: "b" } + shape_literal: "#8c87b0" + shape_match_pattern: "#579524" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#ffceaf" + shape_operator: "#ab311b" + shape_or: { fg: "#692f50" attr: "b" } + shape_pipe: { fg: "#692f50" attr: "b" } + shape_range: { fg: "#ab311b" attr: "b" } + shape_record: { fg: "#e8a866" attr: "b" } + shape_redirection: { fg: "#692f50" attr: "b" } + shape_signature: { fg: "#579524" attr: "b" } + shape_string: "#579524" + shape_string_interpolation: { fg: "#e8a866" attr: "b" } + shape_table: { fg: "#8c87b0" attr: "b" } + shape_variable: "#692f50" + + background: "#150707" + foreground: "#68525a" + cursor: "#68525a" +}} \ No newline at end of file diff --git a/themes/themes/cupcake.nu b/themes/themes/cupcake.nu index d37b173..6c25ff7 100644 --- a/themes/themes/cupcake.nu +++ b/themes/themes/cupcake.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the cupcake theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fbf1f2" - # foreground: "#8b8198" - # cursor: "#8b8198" - - { - # color for nushell primitives - separator: "#585062" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a3b367" - empty: "#7297b9" - bool: "#585062" - int: "#585062" - filesize: "#585062" - duration: "#585062" - date: "#585062" - range: "#585062" - float: "#585062" - string: "#585062" - nothing: "#585062" - binary: "#585062" - cellpath: "#585062" - row_index: "#a3b367" - record: "#585062" - list: "#585062" - block: "#585062" - hints: "#bfb9c6" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bb99b4" - shape_bool: "#69a9a7" - shape_int: "#bb99b4" - shape_float: "#bb99b4" - shape_range: "#dcb16c" - shape_internalcall: "#69a9a7" - shape_external: "#69a9a7" - shape_externalarg: "#a3b367" - shape_literal: "#7297b9" - shape_operator: "#dcb16c" - shape_signature: "#a3b367" - shape_string: "#a3b367" - shape_string_interpolation: "#69a9a7" - shape_datetime: "#69a9a7" - shape_list: "#69a9a7" - shape_table: "#7297b9" - shape_record: "#69a9a7" - shape_block: "#7297b9" - shape_filepath: "#69a9a7" - shape_globpattern: "#69a9a7" - shape_variable: "#bb99b4" - shape_flag: "#7297b9" - shape_custom: "#a3b367" - shape_nothing: "#69a9a7" +export def main [] { return { + separator: "#8b8198" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a3b367" attr: "b" } + empty: "#7297b9" + bool: {|| if $in { "#69a9a7" } else { "light_gray" } } + int: "#8b8198" + filesize: {|e| + if $e == 0b { + "#8b8198" + } else if $e < 1mb { + "#69a9a7" + } else {{ fg: "#7297b9" }} } -} + duration: "#8b8198" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d57e85" attr: "b" } + } else if $in < 6hr { + "#d57e85" + } else if $in < 1day { + "#dcb16c" + } else if $in < 3day { + "#a3b367" + } else if $in < 1wk { + { fg: "#a3b367" attr: "b" } + } else if $in < 6wk { + "#69a9a7" + } else if $in < 52wk { + "#7297b9" + } else { "dark_gray" } + } + range: "#8b8198" + float: "#8b8198" + string: "#8b8198" + nothing: "#8b8198" + binary: "#8b8198" + cellpath: "#8b8198" + row_index: { fg: "#a3b367" attr: "b" } + record: "#8b8198" + list: "#8b8198" + block: "#8b8198" + hints: "dark_gray" + + shape_and: { fg: "#bb99b4" attr: "b" } + shape_binary: { fg: "#bb99b4" attr: "b" } + shape_block: { fg: "#7297b9" attr: "b" } + shape_bool: "#69a9a7" + shape_custom: "#a3b367" + shape_datetime: { fg: "#69a9a7" attr: "b" } + shape_directory: "#69a9a7" + shape_external: "#69a9a7" + shape_externalarg: { fg: "#a3b367" attr: "b" } + shape_filepath: "#69a9a7" + shape_flag: { fg: "#7297b9" attr: "b" } + shape_float: { fg: "#bb99b4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#69a9a7" attr: "b" } + shape_int: { fg: "#bb99b4" attr: "b" } + shape_internalcall: { fg: "#69a9a7" attr: "b" } + shape_list: { fg: "#69a9a7" attr: "b" } + shape_literal: "#7297b9" + shape_match_pattern: "#a3b367" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#69a9a7" + shape_operator: "#dcb16c" + shape_or: { fg: "#bb99b4" attr: "b" } + shape_pipe: { fg: "#bb99b4" attr: "b" } + shape_range: { fg: "#dcb16c" attr: "b" } + shape_record: { fg: "#69a9a7" attr: "b" } + shape_redirection: { fg: "#bb99b4" attr: "b" } + shape_signature: { fg: "#a3b367" attr: "b" } + shape_string: "#a3b367" + shape_string_interpolation: { fg: "#69a9a7" attr: "b" } + shape_table: { fg: "#7297b9" attr: "b" } + shape_variable: "#bb99b4" + + background: "#fbf1f2" + foreground: "#8b8198" + cursor: "#8b8198" +}} \ No newline at end of file diff --git a/themes/themes/cupertino.nu b/themes/themes/cupertino.nu index dac8db6..b6a12cf 100644 --- a/themes/themes/cupertino.nu +++ b/themes/themes/cupertino.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the cupertino theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#404040" - # cursor: "#404040" - - { - # color for nushell primitives - separator: "#5e5e5e" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#007400" - empty: "#0000ff" - bool: "#5e5e5e" - int: "#5e5e5e" - filesize: "#5e5e5e" - duration: "#5e5e5e" - date: "#5e5e5e" - range: "#5e5e5e" - float: "#5e5e5e" - string: "#5e5e5e" - nothing: "#5e5e5e" - binary: "#5e5e5e" - cellpath: "#5e5e5e" - row_index: "#007400" - record: "#5e5e5e" - list: "#5e5e5e" - block: "#5e5e5e" - hints: "#808080" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a90d91" - shape_bool: "#318495" - shape_int: "#a90d91" - shape_float: "#a90d91" - shape_range: "#826b28" - shape_internalcall: "#318495" - shape_external: "#318495" - shape_externalarg: "#007400" - shape_literal: "#0000ff" - shape_operator: "#826b28" - shape_signature: "#007400" - shape_string: "#007400" - shape_string_interpolation: "#318495" - shape_datetime: "#318495" - shape_list: "#318495" - shape_table: "#0000ff" - shape_record: "#318495" - shape_block: "#0000ff" - shape_filepath: "#318495" - shape_globpattern: "#318495" - shape_variable: "#a90d91" - shape_flag: "#0000ff" - shape_custom: "#007400" - shape_nothing: "#318495" +export def main [] { return { + separator: "#404040" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#007400" attr: "b" } + empty: "#0000ff" + bool: {|| if $in { "#318495" } else { "light_gray" } } + int: "#404040" + filesize: {|e| + if $e == 0b { + "#404040" + } else if $e < 1mb { + "#318495" + } else {{ fg: "#0000ff" }} } -} + duration: "#404040" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c41a15" attr: "b" } + } else if $in < 6hr { + "#c41a15" + } else if $in < 1day { + "#826b28" + } else if $in < 3day { + "#007400" + } else if $in < 1wk { + { fg: "#007400" attr: "b" } + } else if $in < 6wk { + "#318495" + } else if $in < 52wk { + "#0000ff" + } else { "dark_gray" } + } + range: "#404040" + float: "#404040" + string: "#404040" + nothing: "#404040" + binary: "#404040" + cellpath: "#404040" + row_index: { fg: "#007400" attr: "b" } + record: "#404040" + list: "#404040" + block: "#404040" + hints: "dark_gray" + + shape_and: { fg: "#a90d91" attr: "b" } + shape_binary: { fg: "#a90d91" attr: "b" } + shape_block: { fg: "#0000ff" attr: "b" } + shape_bool: "#318495" + shape_custom: "#007400" + shape_datetime: { fg: "#318495" attr: "b" } + shape_directory: "#318495" + shape_external: "#318495" + shape_externalarg: { fg: "#007400" attr: "b" } + shape_filepath: "#318495" + shape_flag: { fg: "#0000ff" attr: "b" } + shape_float: { fg: "#a90d91" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#318495" attr: "b" } + shape_int: { fg: "#a90d91" attr: "b" } + shape_internalcall: { fg: "#318495" attr: "b" } + shape_list: { fg: "#318495" attr: "b" } + shape_literal: "#0000ff" + shape_match_pattern: "#007400" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#318495" + shape_operator: "#826b28" + shape_or: { fg: "#a90d91" attr: "b" } + shape_pipe: { fg: "#a90d91" attr: "b" } + shape_range: { fg: "#826b28" attr: "b" } + shape_record: { fg: "#318495" attr: "b" } + shape_redirection: { fg: "#a90d91" attr: "b" } + shape_signature: { fg: "#007400" attr: "b" } + shape_string: "#007400" + shape_string_interpolation: { fg: "#318495" attr: "b" } + shape_table: { fg: "#0000ff" attr: "b" } + shape_variable: "#a90d91" + + background: "#ffffff" + foreground: "#404040" + cursor: "#404040" +}} \ No newline at end of file diff --git a/themes/themes/danqing.nu b/themes/themes/danqing.nu index 78cf5eb..bab85fa 100644 --- a/themes/themes/danqing.nu +++ b/themes/themes/danqing.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the danqing theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2d302f" - # foreground: "#e0f0ef" - # cursor: "#e0f0ef" - - { - # color for nushell primitives - separator: "#fcfefd" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8ab361" - empty: "#b0a4e3" - bool: "#fcfefd" - int: "#fcfefd" - filesize: "#fcfefd" - duration: "#fcfefd" - date: "#fcfefd" - range: "#fcfefd" - float: "#fcfefd" - string: "#fcfefd" - nothing: "#fcfefd" - binary: "#fcfefd" - cellpath: "#fcfefd" - row_index: "#8ab361" - record: "#fcfefd" - list: "#fcfefd" - block: "#fcfefd" - hints: "#9da8a3" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#cca4e3" - shape_bool: "#30dff3" - shape_int: "#cca4e3" - shape_float: "#cca4e3" - shape_range: "#f0c239" - shape_internalcall: "#30dff3" - shape_external: "#30dff3" - shape_externalarg: "#8ab361" - shape_literal: "#b0a4e3" - shape_operator: "#f0c239" - shape_signature: "#8ab361" - shape_string: "#8ab361" - shape_string_interpolation: "#30dff3" - shape_datetime: "#30dff3" - shape_list: "#30dff3" - shape_table: "#b0a4e3" - shape_record: "#30dff3" - shape_block: "#b0a4e3" - shape_filepath: "#30dff3" - shape_globpattern: "#30dff3" - shape_variable: "#cca4e3" - shape_flag: "#b0a4e3" - shape_custom: "#8ab361" - shape_nothing: "#30dff3" +export def main [] { return { + separator: "#e0f0ef" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8ab361" attr: "b" } + empty: "#b0a4e3" + bool: {|| if $in { "#30dff3" } else { "light_gray" } } + int: "#e0f0ef" + filesize: {|e| + if $e == 0b { + "#e0f0ef" + } else if $e < 1mb { + "#30dff3" + } else {{ fg: "#b0a4e3" }} } -} + duration: "#e0f0ef" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f9906f" attr: "b" } + } else if $in < 6hr { + "#f9906f" + } else if $in < 1day { + "#f0c239" + } else if $in < 3day { + "#8ab361" + } else if $in < 1wk { + { fg: "#8ab361" attr: "b" } + } else if $in < 6wk { + "#30dff3" + } else if $in < 52wk { + "#b0a4e3" + } else { "dark_gray" } + } + range: "#e0f0ef" + float: "#e0f0ef" + string: "#e0f0ef" + nothing: "#e0f0ef" + binary: "#e0f0ef" + cellpath: "#e0f0ef" + row_index: { fg: "#8ab361" attr: "b" } + record: "#e0f0ef" + list: "#e0f0ef" + block: "#e0f0ef" + hints: "dark_gray" + + shape_and: { fg: "#cca4e3" attr: "b" } + shape_binary: { fg: "#cca4e3" attr: "b" } + shape_block: { fg: "#b0a4e3" attr: "b" } + shape_bool: "#30dff3" + shape_custom: "#8ab361" + shape_datetime: { fg: "#30dff3" attr: "b" } + shape_directory: "#30dff3" + shape_external: "#30dff3" + shape_externalarg: { fg: "#8ab361" attr: "b" } + shape_filepath: "#30dff3" + shape_flag: { fg: "#b0a4e3" attr: "b" } + shape_float: { fg: "#cca4e3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#30dff3" attr: "b" } + shape_int: { fg: "#cca4e3" attr: "b" } + shape_internalcall: { fg: "#30dff3" attr: "b" } + shape_list: { fg: "#30dff3" attr: "b" } + shape_literal: "#b0a4e3" + shape_match_pattern: "#8ab361" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#30dff3" + shape_operator: "#f0c239" + shape_or: { fg: "#cca4e3" attr: "b" } + shape_pipe: { fg: "#cca4e3" attr: "b" } + shape_range: { fg: "#f0c239" attr: "b" } + shape_record: { fg: "#30dff3" attr: "b" } + shape_redirection: { fg: "#cca4e3" attr: "b" } + shape_signature: { fg: "#8ab361" attr: "b" } + shape_string: "#8ab361" + shape_string_interpolation: { fg: "#30dff3" attr: "b" } + shape_table: { fg: "#b0a4e3" attr: "b" } + shape_variable: "#cca4e3" + + background: "#2d302f" + foreground: "#e0f0ef" + cursor: "#e0f0ef" +}} \ No newline at end of file diff --git a/themes/themes/darcula.nu b/themes/themes/darcula.nu index fd9944e..215d0f9 100644 --- a/themes/themes/darcula.nu +++ b/themes/themes/darcula.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the darcula theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2b2b2b" - # foreground: "#a9b7c6" - # cursor: "#a9b7c6" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#6a8759" - empty: "#9876aa" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#6a8759" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#606366" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#cc7832" - shape_bool: "#629755" - shape_int: "#cc7832" - shape_float: "#cc7832" - shape_range: "#bbb529" - shape_internalcall: "#629755" - shape_external: "#629755" - shape_externalarg: "#6a8759" - shape_literal: "#9876aa" - shape_operator: "#bbb529" - shape_signature: "#6a8759" - shape_string: "#6a8759" - shape_string_interpolation: "#629755" - shape_datetime: "#629755" - shape_list: "#629755" - shape_table: "#9876aa" - shape_record: "#629755" - shape_block: "#9876aa" - shape_filepath: "#629755" - shape_globpattern: "#629755" - shape_variable: "#cc7832" - shape_flag: "#9876aa" - shape_custom: "#6a8759" - shape_nothing: "#629755" +export def main [] { return { + separator: "#a9b7c6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6a8759" attr: "b" } + empty: "#9876aa" + bool: {|| if $in { "#629755" } else { "light_gray" } } + int: "#a9b7c6" + filesize: {|e| + if $e == 0b { + "#a9b7c6" + } else if $e < 1mb { + "#629755" + } else {{ fg: "#9876aa" }} } -} + duration: "#a9b7c6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#4eade5" attr: "b" } + } else if $in < 6hr { + "#4eade5" + } else if $in < 1day { + "#bbb529" + } else if $in < 3day { + "#6a8759" + } else if $in < 1wk { + { fg: "#6a8759" attr: "b" } + } else if $in < 6wk { + "#629755" + } else if $in < 52wk { + "#9876aa" + } else { "dark_gray" } + } + range: "#a9b7c6" + float: "#a9b7c6" + string: "#a9b7c6" + nothing: "#a9b7c6" + binary: "#a9b7c6" + cellpath: "#a9b7c6" + row_index: { fg: "#6a8759" attr: "b" } + record: "#a9b7c6" + list: "#a9b7c6" + block: "#a9b7c6" + hints: "dark_gray" + + shape_and: { fg: "#cc7832" attr: "b" } + shape_binary: { fg: "#cc7832" attr: "b" } + shape_block: { fg: "#9876aa" attr: "b" } + shape_bool: "#629755" + shape_custom: "#6a8759" + shape_datetime: { fg: "#629755" attr: "b" } + shape_directory: "#629755" + shape_external: "#629755" + shape_externalarg: { fg: "#6a8759" attr: "b" } + shape_filepath: "#629755" + shape_flag: { fg: "#9876aa" attr: "b" } + shape_float: { fg: "#cc7832" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#629755" attr: "b" } + shape_int: { fg: "#cc7832" attr: "b" } + shape_internalcall: { fg: "#629755" attr: "b" } + shape_list: { fg: "#629755" attr: "b" } + shape_literal: "#9876aa" + shape_match_pattern: "#6a8759" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#629755" + shape_operator: "#bbb529" + shape_or: { fg: "#cc7832" attr: "b" } + shape_pipe: { fg: "#cc7832" attr: "b" } + shape_range: { fg: "#bbb529" attr: "b" } + shape_record: { fg: "#629755" attr: "b" } + shape_redirection: { fg: "#cc7832" attr: "b" } + shape_signature: { fg: "#6a8759" attr: "b" } + shape_string: "#6a8759" + shape_string_interpolation: { fg: "#629755" attr: "b" } + shape_table: { fg: "#9876aa" attr: "b" } + shape_variable: "#cc7832" + + background: "#2b2b2b" + foreground: "#a9b7c6" + cursor: "#a9b7c6" +}} \ No newline at end of file diff --git a/themes/themes/dark-pastel.nu b/themes/themes/dark-pastel.nu index cc02c71..1bc5df5 100644 --- a/themes/themes/dark-pastel.nu +++ b/themes/themes/dark-pastel.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the dark_pastel theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#55ff55" - empty: "#5555ff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#55ff55" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff55ff" - shape_bool: "#55ffff" - shape_int: "#ff55ff" - shape_float: "#ff55ff" - shape_range: "#ffff55" - shape_internalcall: "#55ffff" - shape_external: "#55ffff" - shape_externalarg: "#55ff55" - shape_literal: "#5555ff" - shape_operator: "#ffff55" - shape_signature: "#55ff55" - shape_string: "#55ff55" - shape_string_interpolation: "#55ffff" - shape_datetime: "#55ffff" - shape_list: "#55ffff" - shape_table: "#5555ff" - shape_record: "#55ffff" - shape_block: "#5555ff" - shape_filepath: "#55ffff" - shape_globpattern: "#55ffff" - shape_variable: "#ff55ff" - shape_flag: "#5555ff" - shape_custom: "#55ff55" - shape_nothing: "#55ffff" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#55ff55" attr: "b" } + empty: "#5555ff" + bool: {|| if $in { "#55ffff" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#55ffff" + } else {{ fg: "#5555ff" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff5555" attr: "b" } + } else if $in < 6hr { + "#ff5555" + } else if $in < 1day { + "#ffff55" + } else if $in < 3day { + "#55ff55" + } else if $in < 1wk { + { fg: "#55ff55" attr: "b" } + } else if $in < 6wk { + "#55ffff" + } else if $in < 52wk { + "#5555ff" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#55ff55" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#ff55ff" attr: "b" } + shape_binary: { fg: "#ff55ff" attr: "b" } + shape_block: { fg: "#5555ff" attr: "b" } + shape_bool: "#55ffff" + shape_custom: "#55ff55" + shape_datetime: { fg: "#55ffff" attr: "b" } + shape_directory: "#55ffff" + shape_external: "#55ffff" + shape_externalarg: { fg: "#55ff55" attr: "b" } + shape_filepath: "#55ffff" + shape_flag: { fg: "#5555ff" attr: "b" } + shape_float: { fg: "#ff55ff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#55ffff" attr: "b" } + shape_int: { fg: "#ff55ff" attr: "b" } + shape_internalcall: { fg: "#55ffff" attr: "b" } + shape_list: { fg: "#55ffff" attr: "b" } + shape_literal: "#5555ff" + shape_match_pattern: "#55ff55" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#55ffff" + shape_operator: "#ffff55" + shape_or: { fg: "#ff55ff" attr: "b" } + shape_pipe: { fg: "#ff55ff" attr: "b" } + shape_range: { fg: "#ffff55" attr: "b" } + shape_record: { fg: "#55ffff" attr: "b" } + shape_redirection: { fg: "#ff55ff" attr: "b" } + shape_signature: { fg: "#55ff55" attr: "b" } + shape_string: "#55ff55" + shape_string_interpolation: { fg: "#55ffff" attr: "b" } + shape_table: { fg: "#5555ff" attr: "b" } + shape_variable: "#ff55ff" + + background: "#000000" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/darkmoss.nu b/themes/themes/darkmoss.nu index 7420028..57cfcff 100644 --- a/themes/themes/darkmoss.nu +++ b/themes/themes/darkmoss.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the darkmoss theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#171e1f" - # foreground: "#c7c7a5" - # cursor: "#c7c7a5" - - { - # color for nushell primitives - separator: "#e1eaef" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#499180" - empty: "#498091" - bool: "#e1eaef" - int: "#e1eaef" - filesize: "#e1eaef" - duration: "#e1eaef" - date: "#e1eaef" - range: "#e1eaef" - float: "#e1eaef" - string: "#e1eaef" - nothing: "#e1eaef" - binary: "#e1eaef" - cellpath: "#e1eaef" - row_index: "#499180" - record: "#e1eaef" - list: "#e1eaef" - block: "#e1eaef" - hints: "#555e5f" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9bc0c8" - shape_bool: "#66d9ef" - shape_int: "#9bc0c8" - shape_float: "#9bc0c8" - shape_range: "#fdb11f" - shape_internalcall: "#66d9ef" - shape_external: "#66d9ef" - shape_externalarg: "#499180" - shape_literal: "#498091" - shape_operator: "#fdb11f" - shape_signature: "#499180" - shape_string: "#499180" - shape_string_interpolation: "#66d9ef" - shape_datetime: "#66d9ef" - shape_list: "#66d9ef" - shape_table: "#498091" - shape_record: "#66d9ef" - shape_block: "#498091" - shape_filepath: "#66d9ef" - shape_globpattern: "#66d9ef" - shape_variable: "#9bc0c8" - shape_flag: "#498091" - shape_custom: "#499180" - shape_nothing: "#66d9ef" +export def main [] { return { + separator: "#c7c7a5" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#499180" attr: "b" } + empty: "#498091" + bool: {|| if $in { "#66d9ef" } else { "light_gray" } } + int: "#c7c7a5" + filesize: {|e| + if $e == 0b { + "#c7c7a5" + } else if $e < 1mb { + "#66d9ef" + } else {{ fg: "#498091" }} } -} + duration: "#c7c7a5" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff4658" attr: "b" } + } else if $in < 6hr { + "#ff4658" + } else if $in < 1day { + "#fdb11f" + } else if $in < 3day { + "#499180" + } else if $in < 1wk { + { fg: "#499180" attr: "b" } + } else if $in < 6wk { + "#66d9ef" + } else if $in < 52wk { + "#498091" + } else { "dark_gray" } + } + range: "#c7c7a5" + float: "#c7c7a5" + string: "#c7c7a5" + nothing: "#c7c7a5" + binary: "#c7c7a5" + cellpath: "#c7c7a5" + row_index: { fg: "#499180" attr: "b" } + record: "#c7c7a5" + list: "#c7c7a5" + block: "#c7c7a5" + hints: "dark_gray" + + shape_and: { fg: "#9bc0c8" attr: "b" } + shape_binary: { fg: "#9bc0c8" attr: "b" } + shape_block: { fg: "#498091" attr: "b" } + shape_bool: "#66d9ef" + shape_custom: "#499180" + shape_datetime: { fg: "#66d9ef" attr: "b" } + shape_directory: "#66d9ef" + shape_external: "#66d9ef" + shape_externalarg: { fg: "#499180" attr: "b" } + shape_filepath: "#66d9ef" + shape_flag: { fg: "#498091" attr: "b" } + shape_float: { fg: "#9bc0c8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#66d9ef" attr: "b" } + shape_int: { fg: "#9bc0c8" attr: "b" } + shape_internalcall: { fg: "#66d9ef" attr: "b" } + shape_list: { fg: "#66d9ef" attr: "b" } + shape_literal: "#498091" + shape_match_pattern: "#499180" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#66d9ef" + shape_operator: "#fdb11f" + shape_or: { fg: "#9bc0c8" attr: "b" } + shape_pipe: { fg: "#9bc0c8" attr: "b" } + shape_range: { fg: "#fdb11f" attr: "b" } + shape_record: { fg: "#66d9ef" attr: "b" } + shape_redirection: { fg: "#9bc0c8" attr: "b" } + shape_signature: { fg: "#499180" attr: "b" } + shape_string: "#499180" + shape_string_interpolation: { fg: "#66d9ef" attr: "b" } + shape_table: { fg: "#498091" attr: "b" } + shape_variable: "#9bc0c8" + + background: "#171e1f" + foreground: "#c7c7a5" + cursor: "#c7c7a5" +}} \ No newline at end of file diff --git a/themes/themes/darkside.nu b/themes/themes/darkside.nu index 359b4a3..6082c81 100644 --- a/themes/themes/darkside.nu +++ b/themes/themes/darkside.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the darkside theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222324" - # foreground: "#bababa" - # cursor: "#bababa" - - { - # color for nushell primitives - separator: "#bababa" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#77b869" - empty: "#1c98e8" - bool: "#bababa" - int: "#bababa" - filesize: "#bababa" - duration: "#bababa" - date: "#bababa" - range: "#bababa" - float: "#bababa" - string: "#bababa" - nothing: "#bababa" - binary: "#bababa" - cellpath: "#bababa" - row_index: "#77b869" - record: "#bababa" - list: "#bababa" - block: "#bababa" - hints: "#000000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#957bbe" - shape_bool: "#3d97e2" - shape_int: "#957bbe" - shape_float: "#957bbe" - shape_range: "#efd64b" - shape_internalcall: "#3d97e2" - shape_external: "#1c98e8" - shape_externalarg: "#77b869" - shape_literal: "#1c98e8" - shape_operator: "#f2d42c" - shape_signature: "#77b869" - shape_string: "#68c256" - shape_string_interpolation: "#3d97e2" - shape_datetime: "#3d97e2" - shape_list: "#3d97e2" - shape_table: "#387cd3" - shape_record: "#3d97e2" - shape_block: "#387cd3" - shape_filepath: "#1c98e8" - shape_globpattern: "#3d97e2" - shape_variable: "#8e69c9" - shape_flag: "#387cd3" - shape_custom: "#68c256" - shape_nothing: "#3d97e2" +export def main [] { return { + separator: "#bababa" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#68c256" attr: "b" } + empty: "#1c98e8" + bool: {|| if $in { "#3d97e2" } else { "light_gray" } } + int: "#bababa" + filesize: {|e| + if $e == 0b { + "#bababa" + } else if $e < 1mb { + "#1c98e8" + } else {{ fg: "#1c98e8" }} } -} + duration: "#bababa" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e8341c" attr: "b" } + } else if $in < 6hr { + "#e8341c" + } else if $in < 1day { + "#f2d42c" + } else if $in < 3day { + "#68c256" + } else if $in < 1wk { + { fg: "#68c256" attr: "b" } + } else if $in < 6wk { + "#1c98e8" + } else if $in < 52wk { + "#1c98e8" + } else { "dark_gray" } + } + range: "#bababa" + float: "#bababa" + string: "#bababa" + nothing: "#bababa" + binary: "#bababa" + cellpath: "#bababa" + row_index: { fg: "#68c256" attr: "b" } + record: "#bababa" + list: "#bababa" + block: "#bababa" + hints: "dark_gray" + + shape_and: { fg: "#8e69c9" attr: "b" } + shape_binary: { fg: "#8e69c9" attr: "b" } + shape_block: { fg: "#1c98e8" attr: "b" } + shape_bool: "#3d97e2" + shape_custom: "#68c256" + shape_datetime: { fg: "#1c98e8" attr: "b" } + shape_directory: "#1c98e8" + shape_external: "#1c98e8" + shape_externalarg: { fg: "#68c256" attr: "b" } + shape_filepath: "#1c98e8" + shape_flag: { fg: "#1c98e8" attr: "b" } + shape_float: { fg: "#8e69c9" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1c98e8" attr: "b" } + shape_int: { fg: "#8e69c9" attr: "b" } + shape_internalcall: { fg: "#1c98e8" attr: "b" } + shape_list: { fg: "#1c98e8" attr: "b" } + shape_literal: "#1c98e8" + shape_match_pattern: "#68c256" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3d97e2" + shape_operator: "#f2d42c" + shape_or: { fg: "#8e69c9" attr: "b" } + shape_pipe: { fg: "#8e69c9" attr: "b" } + shape_range: { fg: "#f2d42c" attr: "b" } + shape_record: { fg: "#1c98e8" attr: "b" } + shape_redirection: { fg: "#8e69c9" attr: "b" } + shape_signature: { fg: "#68c256" attr: "b" } + shape_string: "#68c256" + shape_string_interpolation: { fg: "#1c98e8" attr: "b" } + shape_table: { fg: "#1c98e8" attr: "b" } + shape_variable: "#8e69c9" + + background: "#222324" + foreground: "#bababa" + cursor: "#bababa" +}} \ No newline at end of file diff --git a/themes/themes/darktooth.nu b/themes/themes/darktooth.nu index 1c8e2a9..51afa4a 100644 --- a/themes/themes/darktooth.nu +++ b/themes/themes/darktooth.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the darktooth theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d2021" - # foreground: "#a89984" - # cursor: "#a89984" - - { - # color for nushell primitives - separator: "#fdf4c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#95c085" - empty: "#0d6678" - bool: "#fdf4c1" - int: "#fdf4c1" - filesize: "#fdf4c1" - duration: "#fdf4c1" - date: "#fdf4c1" - range: "#fdf4c1" - float: "#fdf4c1" - string: "#fdf4c1" - nothing: "#fdf4c1" - binary: "#fdf4c1" - cellpath: "#fdf4c1" - row_index: "#95c085" - record: "#fdf4c1" - list: "#fdf4c1" - block: "#fdf4c1" - hints: "#665c54" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8f4673" - shape_bool: "#8ba59b" - shape_int: "#8f4673" - shape_float: "#8f4673" - shape_range: "#fac03b" - shape_internalcall: "#8ba59b" - shape_external: "#8ba59b" - shape_externalarg: "#95c085" - shape_literal: "#0d6678" - shape_operator: "#fac03b" - shape_signature: "#95c085" - shape_string: "#95c085" - shape_string_interpolation: "#8ba59b" - shape_datetime: "#8ba59b" - shape_list: "#8ba59b" - shape_table: "#0d6678" - shape_record: "#8ba59b" - shape_block: "#0d6678" - shape_filepath: "#8ba59b" - shape_globpattern: "#8ba59b" - shape_variable: "#8f4673" - shape_flag: "#0d6678" - shape_custom: "#95c085" - shape_nothing: "#8ba59b" +export def main [] { return { + separator: "#a89984" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#95c085" attr: "b" } + empty: "#0d6678" + bool: {|| if $in { "#8ba59b" } else { "light_gray" } } + int: "#a89984" + filesize: {|e| + if $e == 0b { + "#a89984" + } else if $e < 1mb { + "#8ba59b" + } else {{ fg: "#0d6678" }} } -} + duration: "#a89984" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb543f" attr: "b" } + } else if $in < 6hr { + "#fb543f" + } else if $in < 1day { + "#fac03b" + } else if $in < 3day { + "#95c085" + } else if $in < 1wk { + { fg: "#95c085" attr: "b" } + } else if $in < 6wk { + "#8ba59b" + } else if $in < 52wk { + "#0d6678" + } else { "dark_gray" } + } + range: "#a89984" + float: "#a89984" + string: "#a89984" + nothing: "#a89984" + binary: "#a89984" + cellpath: "#a89984" + row_index: { fg: "#95c085" attr: "b" } + record: "#a89984" + list: "#a89984" + block: "#a89984" + hints: "dark_gray" + + shape_and: { fg: "#8f4673" attr: "b" } + shape_binary: { fg: "#8f4673" attr: "b" } + shape_block: { fg: "#0d6678" attr: "b" } + shape_bool: "#8ba59b" + shape_custom: "#95c085" + shape_datetime: { fg: "#8ba59b" attr: "b" } + shape_directory: "#8ba59b" + shape_external: "#8ba59b" + shape_externalarg: { fg: "#95c085" attr: "b" } + shape_filepath: "#8ba59b" + shape_flag: { fg: "#0d6678" attr: "b" } + shape_float: { fg: "#8f4673" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8ba59b" attr: "b" } + shape_int: { fg: "#8f4673" attr: "b" } + shape_internalcall: { fg: "#8ba59b" attr: "b" } + shape_list: { fg: "#8ba59b" attr: "b" } + shape_literal: "#0d6678" + shape_match_pattern: "#95c085" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8ba59b" + shape_operator: "#fac03b" + shape_or: { fg: "#8f4673" attr: "b" } + shape_pipe: { fg: "#8f4673" attr: "b" } + shape_range: { fg: "#fac03b" attr: "b" } + shape_record: { fg: "#8ba59b" attr: "b" } + shape_redirection: { fg: "#8f4673" attr: "b" } + shape_signature: { fg: "#95c085" attr: "b" } + shape_string: "#95c085" + shape_string_interpolation: { fg: "#8ba59b" attr: "b" } + shape_table: { fg: "#0d6678" attr: "b" } + shape_variable: "#8f4673" + + background: "#1d2021" + foreground: "#a89984" + cursor: "#a89984" +}} \ No newline at end of file diff --git a/themes/themes/darkviolet.nu b/themes/themes/darkviolet.nu index 4a040bd..da75c9f 100644 --- a/themes/themes/darkviolet.nu +++ b/themes/themes/darkviolet.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the darkviolet theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#b08ae6" - # cursor: "#b08ae6" - - { - # color for nushell primitives - separator: "#a366ff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#4595e6" - empty: "#4136d9" - bool: "#a366ff" - int: "#a366ff" - filesize: "#a366ff" - duration: "#a366ff" - date: "#a366ff" - range: "#a366ff" - float: "#a366ff" - string: "#a366ff" - nothing: "#a366ff" - binary: "#a366ff" - cellpath: "#a366ff" - row_index: "#4595e6" - record: "#a366ff" - list: "#a366ff" - block: "#a366ff" - hints: "#593380" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#7e5ce6" - shape_bool: "#40dfff" - shape_int: "#7e5ce6" - shape_float: "#7e5ce6" - shape_range: "#f29df2" - shape_internalcall: "#40dfff" - shape_external: "#40dfff" - shape_externalarg: "#4595e6" - shape_literal: "#4136d9" - shape_operator: "#f29df2" - shape_signature: "#4595e6" - shape_string: "#4595e6" - shape_string_interpolation: "#40dfff" - shape_datetime: "#40dfff" - shape_list: "#40dfff" - shape_table: "#4136d9" - shape_record: "#40dfff" - shape_block: "#4136d9" - shape_filepath: "#40dfff" - shape_globpattern: "#40dfff" - shape_variable: "#7e5ce6" - shape_flag: "#4136d9" - shape_custom: "#4595e6" - shape_nothing: "#40dfff" +export def main [] { return { + separator: "#b08ae6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4595e6" attr: "b" } + empty: "#4136d9" + bool: {|| if $in { "#40dfff" } else { "light_gray" } } + int: "#b08ae6" + filesize: {|e| + if $e == 0b { + "#b08ae6" + } else if $e < 1mb { + "#40dfff" + } else {{ fg: "#4136d9" }} } -} + duration: "#b08ae6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a82ee6" attr: "b" } + } else if $in < 6hr { + "#a82ee6" + } else if $in < 1day { + "#f29df2" + } else if $in < 3day { + "#4595e6" + } else if $in < 1wk { + { fg: "#4595e6" attr: "b" } + } else if $in < 6wk { + "#40dfff" + } else if $in < 52wk { + "#4136d9" + } else { "dark_gray" } + } + range: "#b08ae6" + float: "#b08ae6" + string: "#b08ae6" + nothing: "#b08ae6" + binary: "#b08ae6" + cellpath: "#b08ae6" + row_index: { fg: "#4595e6" attr: "b" } + record: "#b08ae6" + list: "#b08ae6" + block: "#b08ae6" + hints: "dark_gray" + + shape_and: { fg: "#7e5ce6" attr: "b" } + shape_binary: { fg: "#7e5ce6" attr: "b" } + shape_block: { fg: "#4136d9" attr: "b" } + shape_bool: "#40dfff" + shape_custom: "#4595e6" + shape_datetime: { fg: "#40dfff" attr: "b" } + shape_directory: "#40dfff" + shape_external: "#40dfff" + shape_externalarg: { fg: "#4595e6" attr: "b" } + shape_filepath: "#40dfff" + shape_flag: { fg: "#4136d9" attr: "b" } + shape_float: { fg: "#7e5ce6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#40dfff" attr: "b" } + shape_int: { fg: "#7e5ce6" attr: "b" } + shape_internalcall: { fg: "#40dfff" attr: "b" } + shape_list: { fg: "#40dfff" attr: "b" } + shape_literal: "#4136d9" + shape_match_pattern: "#4595e6" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#40dfff" + shape_operator: "#f29df2" + shape_or: { fg: "#7e5ce6" attr: "b" } + shape_pipe: { fg: "#7e5ce6" attr: "b" } + shape_range: { fg: "#f29df2" attr: "b" } + shape_record: { fg: "#40dfff" attr: "b" } + shape_redirection: { fg: "#7e5ce6" attr: "b" } + shape_signature: { fg: "#4595e6" attr: "b" } + shape_string: "#4595e6" + shape_string_interpolation: { fg: "#40dfff" attr: "b" } + shape_table: { fg: "#4136d9" attr: "b" } + shape_variable: "#7e5ce6" + + background: "#000000" + foreground: "#b08ae6" + cursor: "#b08ae6" +}} \ No newline at end of file diff --git a/themes/themes/decaf.nu b/themes/themes/decaf.nu index 4ddf318..cfd6a2d 100644 --- a/themes/themes/decaf.nu +++ b/themes/themes/decaf.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the decaf theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2d2d2d" - # foreground: "#cccccc" - # cursor: "#cccccc" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#beda78" - empty: "#90bee1" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#beda78" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#777777" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#efb3f7" - shape_bool: "#bed6ff" - shape_int: "#efb3f7" - shape_float: "#efb3f7" - shape_range: "#ffd67c" - shape_internalcall: "#bed6ff" - shape_external: "#bed6ff" - shape_externalarg: "#beda78" - shape_literal: "#90bee1" - shape_operator: "#ffd67c" - shape_signature: "#beda78" - shape_string: "#beda78" - shape_string_interpolation: "#bed6ff" - shape_datetime: "#bed6ff" - shape_list: "#bed6ff" - shape_table: "#90bee1" - shape_record: "#bed6ff" - shape_block: "#90bee1" - shape_filepath: "#bed6ff" - shape_globpattern: "#bed6ff" - shape_variable: "#efb3f7" - shape_flag: "#90bee1" - shape_custom: "#beda78" - shape_nothing: "#bed6ff" +export def main [] { return { + separator: "#cccccc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#beda78" attr: "b" } + empty: "#90bee1" + bool: {|| if $in { "#bed6ff" } else { "light_gray" } } + int: "#cccccc" + filesize: {|e| + if $e == 0b { + "#cccccc" + } else if $e < 1mb { + "#bed6ff" + } else {{ fg: "#90bee1" }} } -} + duration: "#cccccc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff7f7b" attr: "b" } + } else if $in < 6hr { + "#ff7f7b" + } else if $in < 1day { + "#ffd67c" + } else if $in < 3day { + "#beda78" + } else if $in < 1wk { + { fg: "#beda78" attr: "b" } + } else if $in < 6wk { + "#bed6ff" + } else if $in < 52wk { + "#90bee1" + } else { "dark_gray" } + } + range: "#cccccc" + float: "#cccccc" + string: "#cccccc" + nothing: "#cccccc" + binary: "#cccccc" + cellpath: "#cccccc" + row_index: { fg: "#beda78" attr: "b" } + record: "#cccccc" + list: "#cccccc" + block: "#cccccc" + hints: "dark_gray" + + shape_and: { fg: "#efb3f7" attr: "b" } + shape_binary: { fg: "#efb3f7" attr: "b" } + shape_block: { fg: "#90bee1" attr: "b" } + shape_bool: "#bed6ff" + shape_custom: "#beda78" + shape_datetime: { fg: "#bed6ff" attr: "b" } + shape_directory: "#bed6ff" + shape_external: "#bed6ff" + shape_externalarg: { fg: "#beda78" attr: "b" } + shape_filepath: "#bed6ff" + shape_flag: { fg: "#90bee1" attr: "b" } + shape_float: { fg: "#efb3f7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#bed6ff" attr: "b" } + shape_int: { fg: "#efb3f7" attr: "b" } + shape_internalcall: { fg: "#bed6ff" attr: "b" } + shape_list: { fg: "#bed6ff" attr: "b" } + shape_literal: "#90bee1" + shape_match_pattern: "#beda78" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#bed6ff" + shape_operator: "#ffd67c" + shape_or: { fg: "#efb3f7" attr: "b" } + shape_pipe: { fg: "#efb3f7" attr: "b" } + shape_range: { fg: "#ffd67c" attr: "b" } + shape_record: { fg: "#bed6ff" attr: "b" } + shape_redirection: { fg: "#efb3f7" attr: "b" } + shape_signature: { fg: "#beda78" attr: "b" } + shape_string: "#beda78" + shape_string_interpolation: { fg: "#bed6ff" attr: "b" } + shape_table: { fg: "#90bee1" attr: "b" } + shape_variable: "#efb3f7" + + background: "#2d2d2d" + foreground: "#cccccc" + cursor: "#cccccc" +}} \ No newline at end of file diff --git a/themes/themes/default-dark.nu b/themes/themes/default-dark.nu index 6bd5d75..cba8ca8 100644 --- a/themes/themes/default-dark.nu +++ b/themes/themes/default-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the default_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#181818" - # foreground: "#d8d8d8" - # cursor: "#d8d8d8" - - { - # color for nushell primitives - separator: "#f8f8f8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a1b56c" - empty: "#7cafc2" - bool: "#f8f8f8" - int: "#f8f8f8" - filesize: "#f8f8f8" - duration: "#f8f8f8" - date: "#f8f8f8" - range: "#f8f8f8" - float: "#f8f8f8" - string: "#f8f8f8" - nothing: "#f8f8f8" - binary: "#f8f8f8" - cellpath: "#f8f8f8" - row_index: "#a1b56c" - record: "#f8f8f8" - list: "#f8f8f8" - block: "#f8f8f8" - hints: "#585858" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ba8baf" - shape_bool: "#86c1b9" - shape_int: "#ba8baf" - shape_float: "#ba8baf" - shape_range: "#f7ca88" - shape_internalcall: "#86c1b9" - shape_external: "#86c1b9" - shape_externalarg: "#a1b56c" - shape_literal: "#7cafc2" - shape_operator: "#f7ca88" - shape_signature: "#a1b56c" - shape_string: "#a1b56c" - shape_string_interpolation: "#86c1b9" - shape_datetime: "#86c1b9" - shape_list: "#86c1b9" - shape_table: "#7cafc2" - shape_record: "#86c1b9" - shape_block: "#7cafc2" - shape_filepath: "#86c1b9" - shape_globpattern: "#86c1b9" - shape_variable: "#ba8baf" - shape_flag: "#7cafc2" - shape_custom: "#a1b56c" - shape_nothing: "#86c1b9" +export def main [] { return { + separator: "#d8d8d8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a1b56c" attr: "b" } + empty: "#7cafc2" + bool: {|| if $in { "#86c1b9" } else { "light_gray" } } + int: "#d8d8d8" + filesize: {|e| + if $e == 0b { + "#d8d8d8" + } else if $e < 1mb { + "#86c1b9" + } else {{ fg: "#7cafc2" }} } -} + duration: "#d8d8d8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ab4642" attr: "b" } + } else if $in < 6hr { + "#ab4642" + } else if $in < 1day { + "#f7ca88" + } else if $in < 3day { + "#a1b56c" + } else if $in < 1wk { + { fg: "#a1b56c" attr: "b" } + } else if $in < 6wk { + "#86c1b9" + } else if $in < 52wk { + "#7cafc2" + } else { "dark_gray" } + } + range: "#d8d8d8" + float: "#d8d8d8" + string: "#d8d8d8" + nothing: "#d8d8d8" + binary: "#d8d8d8" + cellpath: "#d8d8d8" + row_index: { fg: "#a1b56c" attr: "b" } + record: "#d8d8d8" + list: "#d8d8d8" + block: "#d8d8d8" + hints: "dark_gray" + + shape_and: { fg: "#ba8baf" attr: "b" } + shape_binary: { fg: "#ba8baf" attr: "b" } + shape_block: { fg: "#7cafc2" attr: "b" } + shape_bool: "#86c1b9" + shape_custom: "#a1b56c" + shape_datetime: { fg: "#86c1b9" attr: "b" } + shape_directory: "#86c1b9" + shape_external: "#86c1b9" + shape_externalarg: { fg: "#a1b56c" attr: "b" } + shape_filepath: "#86c1b9" + shape_flag: { fg: "#7cafc2" attr: "b" } + shape_float: { fg: "#ba8baf" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#86c1b9" attr: "b" } + shape_int: { fg: "#ba8baf" attr: "b" } + shape_internalcall: { fg: "#86c1b9" attr: "b" } + shape_list: { fg: "#86c1b9" attr: "b" } + shape_literal: "#7cafc2" + shape_match_pattern: "#a1b56c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#86c1b9" + shape_operator: "#f7ca88" + shape_or: { fg: "#ba8baf" attr: "b" } + shape_pipe: { fg: "#ba8baf" attr: "b" } + shape_range: { fg: "#f7ca88" attr: "b" } + shape_record: { fg: "#86c1b9" attr: "b" } + shape_redirection: { fg: "#ba8baf" attr: "b" } + shape_signature: { fg: "#a1b56c" attr: "b" } + shape_string: "#a1b56c" + shape_string_interpolation: { fg: "#86c1b9" attr: "b" } + shape_table: { fg: "#7cafc2" attr: "b" } + shape_variable: "#ba8baf" + + background: "#181818" + foreground: "#d8d8d8" + cursor: "#d8d8d8" +}} \ No newline at end of file diff --git a/themes/themes/default-light.nu b/themes/themes/default-light.nu index 1d02f57..48764fc 100644 --- a/themes/themes/default-light.nu +++ b/themes/themes/default-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the default_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f8f8f8" - # foreground: "#383838" - # cursor: "#383838" - - { - # color for nushell primitives - separator: "#181818" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a1b56c" - empty: "#7cafc2" - bool: "#181818" - int: "#181818" - filesize: "#181818" - duration: "#181818" - date: "#181818" - range: "#181818" - float: "#181818" - string: "#181818" - nothing: "#181818" - binary: "#181818" - cellpath: "#181818" - row_index: "#a1b56c" - record: "#181818" - list: "#181818" - block: "#181818" - hints: "#b8b8b8" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ba8baf" - shape_bool: "#86c1b9" - shape_int: "#ba8baf" - shape_float: "#ba8baf" - shape_range: "#f7ca88" - shape_internalcall: "#86c1b9" - shape_external: "#86c1b9" - shape_externalarg: "#a1b56c" - shape_literal: "#7cafc2" - shape_operator: "#f7ca88" - shape_signature: "#a1b56c" - shape_string: "#a1b56c" - shape_string_interpolation: "#86c1b9" - shape_datetime: "#86c1b9" - shape_list: "#86c1b9" - shape_table: "#7cafc2" - shape_record: "#86c1b9" - shape_block: "#7cafc2" - shape_filepath: "#86c1b9" - shape_globpattern: "#86c1b9" - shape_variable: "#ba8baf" - shape_flag: "#7cafc2" - shape_custom: "#a1b56c" - shape_nothing: "#86c1b9" +export def main [] { return { + separator: "#383838" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a1b56c" attr: "b" } + empty: "#7cafc2" + bool: {|| if $in { "#86c1b9" } else { "light_gray" } } + int: "#383838" + filesize: {|e| + if $e == 0b { + "#383838" + } else if $e < 1mb { + "#86c1b9" + } else {{ fg: "#7cafc2" }} } -} + duration: "#383838" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ab4642" attr: "b" } + } else if $in < 6hr { + "#ab4642" + } else if $in < 1day { + "#f7ca88" + } else if $in < 3day { + "#a1b56c" + } else if $in < 1wk { + { fg: "#a1b56c" attr: "b" } + } else if $in < 6wk { + "#86c1b9" + } else if $in < 52wk { + "#7cafc2" + } else { "dark_gray" } + } + range: "#383838" + float: "#383838" + string: "#383838" + nothing: "#383838" + binary: "#383838" + cellpath: "#383838" + row_index: { fg: "#a1b56c" attr: "b" } + record: "#383838" + list: "#383838" + block: "#383838" + hints: "dark_gray" + + shape_and: { fg: "#ba8baf" attr: "b" } + shape_binary: { fg: "#ba8baf" attr: "b" } + shape_block: { fg: "#7cafc2" attr: "b" } + shape_bool: "#86c1b9" + shape_custom: "#a1b56c" + shape_datetime: { fg: "#86c1b9" attr: "b" } + shape_directory: "#86c1b9" + shape_external: "#86c1b9" + shape_externalarg: { fg: "#a1b56c" attr: "b" } + shape_filepath: "#86c1b9" + shape_flag: { fg: "#7cafc2" attr: "b" } + shape_float: { fg: "#ba8baf" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#86c1b9" attr: "b" } + shape_int: { fg: "#ba8baf" attr: "b" } + shape_internalcall: { fg: "#86c1b9" attr: "b" } + shape_list: { fg: "#86c1b9" attr: "b" } + shape_literal: "#7cafc2" + shape_match_pattern: "#a1b56c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#86c1b9" + shape_operator: "#f7ca88" + shape_or: { fg: "#ba8baf" attr: "b" } + shape_pipe: { fg: "#ba8baf" attr: "b" } + shape_range: { fg: "#f7ca88" attr: "b" } + shape_record: { fg: "#86c1b9" attr: "b" } + shape_redirection: { fg: "#ba8baf" attr: "b" } + shape_signature: { fg: "#a1b56c" attr: "b" } + shape_string: "#a1b56c" + shape_string_interpolation: { fg: "#86c1b9" attr: "b" } + shape_table: { fg: "#7cafc2" attr: "b" } + shape_variable: "#ba8baf" + + background: "#f8f8f8" + foreground: "#383838" + cursor: "#383838" +}} \ No newline at end of file diff --git a/themes/themes/desert-night.nu b/themes/themes/desert-night.nu index 799276d..11bbd13 100644 --- a/themes/themes/desert-night.nu +++ b/themes/themes/desert-night.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the desert_night theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#24221c" - # foreground: "#d4b07b" - # cursor: "#d4b07b" - - { - # color for nushell primitives - separator: "#87765d" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#99b05f" - empty: "#949fb4" - bool: "#87765d" - int: "#87765d" - filesize: "#87765d" - duration: "#87765d" - date: "#87765d" - range: "#87765d" - float: "#87765d" - string: "#87765d" - nothing: "#87765d" - binary: "#87765d" - cellpath: "#87765d" - row_index: "#99b05f" - record: "#87765d" - list: "#87765d" - block: "#87765d" - hints: "#473f31" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d261a5" - shape_bool: "#bfab36" - shape_int: "#d261a5" - shape_float: "#d261a5" - shape_range: "#e5a440" - shape_internalcall: "#bfab36" - shape_external: "#bfab36" - shape_externalarg: "#99b05f" - shape_literal: "#949fb4" - shape_operator: "#e18245" - shape_signature: "#99b05f" - shape_string: "#99b05f" - shape_string_interpolation: "#bfab36" - shape_datetime: "#bfab36" - shape_list: "#bfab36" - shape_table: "#949fb4" - shape_record: "#bfab36" - shape_block: "#949fb4" - shape_filepath: "#bfab36" - shape_globpattern: "#bfab36" - shape_variable: "#d261a5" - shape_flag: "#949fb4" - shape_custom: "#99b05f" - shape_nothing: "#bfab36" +export def main [] { return { + separator: "#87765d" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#99b05f" attr: "b" } + empty: "#949fb4" + bool: {|| if $in { "#bfab36" } else { "light_gray" } } + int: "#87765d" + filesize: {|e| + if $e == 0b { + "#87765d" + } else if $e < 1mb { + "#bfab36" + } else {{ fg: "#949fb4" }} } -} + duration: "#87765d" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e56b55" attr: "b" } + } else if $in < 6hr { + "#e56b55" + } else if $in < 1day { + "#e18245" + } else if $in < 3day { + "#99b05f" + } else if $in < 1wk { + { fg: "#99b05f" attr: "b" } + } else if $in < 6wk { + "#bfab36" + } else if $in < 52wk { + "#949fb4" + } else { "dark_gray" } + } + range: "#87765d" + float: "#87765d" + string: "#87765d" + nothing: "#87765d" + binary: "#87765d" + cellpath: "#87765d" + row_index: { fg: "#99b05f" attr: "b" } + record: "#87765d" + list: "#87765d" + block: "#87765d" + hints: "dark_gray" + + shape_and: { fg: "#d261a5" attr: "b" } + shape_binary: { fg: "#d261a5" attr: "b" } + shape_block: { fg: "#949fb4" attr: "b" } + shape_bool: "#bfab36" + shape_custom: "#99b05f" + shape_datetime: { fg: "#bfab36" attr: "b" } + shape_directory: "#bfab36" + shape_external: "#bfab36" + shape_externalarg: { fg: "#99b05f" attr: "b" } + shape_filepath: "#bfab36" + shape_flag: { fg: "#949fb4" attr: "b" } + shape_float: { fg: "#d261a5" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#bfab36" attr: "b" } + shape_int: { fg: "#d261a5" attr: "b" } + shape_internalcall: { fg: "#bfab36" attr: "b" } + shape_list: { fg: "#bfab36" attr: "b" } + shape_literal: "#949fb4" + shape_match_pattern: "#99b05f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#bfab36" + shape_operator: "#e18245" + shape_or: { fg: "#d261a5" attr: "b" } + shape_pipe: { fg: "#d261a5" attr: "b" } + shape_range: { fg: "#e18245" attr: "b" } + shape_record: { fg: "#bfab36" attr: "b" } + shape_redirection: { fg: "#d261a5" attr: "b" } + shape_signature: { fg: "#99b05f" attr: "b" } + shape_string: "#99b05f" + shape_string_interpolation: { fg: "#bfab36" attr: "b" } + shape_table: { fg: "#949fb4" attr: "b" } + shape_variable: "#d261a5" + + background: "#24221c" + foreground: "#d4b07b" + cursor: "#d4b07b" +}} \ No newline at end of file diff --git a/themes/themes/desert.nu b/themes/themes/desert.nu index f96cade..8041c8e 100644 --- a/themes/themes/desert.nu +++ b/themes/themes/desert.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the desert theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#333333" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#55ff55" - empty: "#cd853f" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#55ff55" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff55ff" - shape_bool: "#ffd700" - shape_int: "#ff55ff" - shape_float: "#ff55ff" - shape_range: "#ffff55" - shape_internalcall: "#ffd700" - shape_external: "#ffa0a0" - shape_externalarg: "#55ff55" - shape_literal: "#cd853f" - shape_operator: "#f0e68c" - shape_signature: "#55ff55" - shape_string: "#98fb98" - shape_string_interpolation: "#ffd700" - shape_datetime: "#ffd700" - shape_list: "#ffd700" - shape_table: "#87ceff" - shape_record: "#ffd700" - shape_block: "#87ceff" - shape_filepath: "#ffa0a0" - shape_globpattern: "#ffd700" - shape_variable: "#ffdead" - shape_flag: "#87ceff" - shape_custom: "#98fb98" - shape_nothing: "#ffd700" +export def main [] { return { + separator: "#f5deb3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#98fb98" attr: "b" } + empty: "#cd853f" + bool: {|| if $in { "#ffd700" } else { "light_gray" } } + int: "#f5deb3" + filesize: {|e| + if $e == 0b { + "#f5deb3" + } else if $e < 1mb { + "#ffa0a0" + } else {{ fg: "#cd853f" }} } -} + duration: "#f5deb3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff2b2b" attr: "b" } + } else if $in < 6hr { + "#ff2b2b" + } else if $in < 1day { + "#f0e68c" + } else if $in < 3day { + "#98fb98" + } else if $in < 1wk { + { fg: "#98fb98" attr: "b" } + } else if $in < 6wk { + "#ffa0a0" + } else if $in < 52wk { + "#cd853f" + } else { "dark_gray" } + } + range: "#f5deb3" + float: "#f5deb3" + string: "#f5deb3" + nothing: "#f5deb3" + binary: "#f5deb3" + cellpath: "#f5deb3" + row_index: { fg: "#98fb98" attr: "b" } + record: "#f5deb3" + list: "#f5deb3" + block: "#f5deb3" + hints: "dark_gray" + + shape_and: { fg: "#ffdead" attr: "b" } + shape_binary: { fg: "#ffdead" attr: "b" } + shape_block: { fg: "#cd853f" attr: "b" } + shape_bool: "#ffd700" + shape_custom: "#98fb98" + shape_datetime: { fg: "#ffa0a0" attr: "b" } + shape_directory: "#ffa0a0" + shape_external: "#ffa0a0" + shape_externalarg: { fg: "#98fb98" attr: "b" } + shape_filepath: "#ffa0a0" + shape_flag: { fg: "#cd853f" attr: "b" } + shape_float: { fg: "#ffdead" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#ffa0a0" attr: "b" } + shape_int: { fg: "#ffdead" attr: "b" } + shape_internalcall: { fg: "#ffa0a0" attr: "b" } + shape_list: { fg: "#ffa0a0" attr: "b" } + shape_literal: "#cd853f" + shape_match_pattern: "#98fb98" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#ffd700" + shape_operator: "#f0e68c" + shape_or: { fg: "#ffdead" attr: "b" } + shape_pipe: { fg: "#ffdead" attr: "b" } + shape_range: { fg: "#f0e68c" attr: "b" } + shape_record: { fg: "#ffa0a0" attr: "b" } + shape_redirection: { fg: "#ffdead" attr: "b" } + shape_signature: { fg: "#98fb98" attr: "b" } + shape_string: "#98fb98" + shape_string_interpolation: { fg: "#ffa0a0" attr: "b" } + shape_table: { fg: "#cd853f" attr: "b" } + shape_variable: "#ffdead" + + background: "#333333" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/dimmed-monokai.nu b/themes/themes/dimmed-monokai.nu index e1ba2ef..341dc61 100644 --- a/themes/themes/dimmed-monokai.nu +++ b/themes/themes/dimmed-monokai.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the dimmed_monokai theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1f1f1f" - # foreground: "#b9bcba" - # cursor: "#b9bcba" - - { - # color for nushell primitives - separator: "#fdffb9" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#0f722f" - empty: "#4f76a1" - bool: "#fdffb9" - int: "#fdffb9" - filesize: "#fdffb9" - duration: "#fdffb9" - date: "#fdffb9" - range: "#fdffb9" - float: "#fdffb9" - string: "#fdffb9" - nothing: "#fdffb9" - binary: "#fdffb9" - cellpath: "#fdffb9" - row_index: "#0f722f" - record: "#fdffb9" - list: "#fdffb9" - block: "#fdffb9" - hints: "#888987" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fb0067" - shape_bool: "#2e706d" - shape_int: "#fb0067" - shape_float: "#fb0067" - shape_range: "#c47033" - shape_internalcall: "#2e706d" - shape_external: "#578fa4" - shape_externalarg: "#0f722f" - shape_literal: "#4f76a1" - shape_operator: "#c5a635" - shape_signature: "#0f722f" - shape_string: "#879a3b" - shape_string_interpolation: "#2e706d" - shape_datetime: "#2e706d" - shape_list: "#2e706d" - shape_table: "#186de3" - shape_record: "#2e706d" - shape_block: "#186de3" - shape_filepath: "#578fa4" - shape_globpattern: "#2e706d" - shape_variable: "#855c8d" - shape_flag: "#186de3" - shape_custom: "#879a3b" - shape_nothing: "#2e706d" +export def main [] { return { + separator: "#b9bcba" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#879a3b" attr: "b" } + empty: "#4f76a1" + bool: {|| if $in { "#2e706d" } else { "light_gray" } } + int: "#b9bcba" + filesize: {|e| + if $e == 0b { + "#b9bcba" + } else if $e < 1mb { + "#578fa4" + } else {{ fg: "#4f76a1" }} } -} + duration: "#b9bcba" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#be3f48" attr: "b" } + } else if $in < 6hr { + "#be3f48" + } else if $in < 1day { + "#c5a635" + } else if $in < 3day { + "#879a3b" + } else if $in < 1wk { + { fg: "#879a3b" attr: "b" } + } else if $in < 6wk { + "#578fa4" + } else if $in < 52wk { + "#4f76a1" + } else { "dark_gray" } + } + range: "#b9bcba" + float: "#b9bcba" + string: "#b9bcba" + nothing: "#b9bcba" + binary: "#b9bcba" + cellpath: "#b9bcba" + row_index: { fg: "#879a3b" attr: "b" } + record: "#b9bcba" + list: "#b9bcba" + block: "#b9bcba" + hints: "dark_gray" + + shape_and: { fg: "#855c8d" attr: "b" } + shape_binary: { fg: "#855c8d" attr: "b" } + shape_block: { fg: "#4f76a1" attr: "b" } + shape_bool: "#2e706d" + shape_custom: "#879a3b" + shape_datetime: { fg: "#578fa4" attr: "b" } + shape_directory: "#578fa4" + shape_external: "#578fa4" + shape_externalarg: { fg: "#879a3b" attr: "b" } + shape_filepath: "#578fa4" + shape_flag: { fg: "#4f76a1" attr: "b" } + shape_float: { fg: "#855c8d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#578fa4" attr: "b" } + shape_int: { fg: "#855c8d" attr: "b" } + shape_internalcall: { fg: "#578fa4" attr: "b" } + shape_list: { fg: "#578fa4" attr: "b" } + shape_literal: "#4f76a1" + shape_match_pattern: "#879a3b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2e706d" + shape_operator: "#c5a635" + shape_or: { fg: "#855c8d" attr: "b" } + shape_pipe: { fg: "#855c8d" attr: "b" } + shape_range: { fg: "#c5a635" attr: "b" } + shape_record: { fg: "#578fa4" attr: "b" } + shape_redirection: { fg: "#855c8d" attr: "b" } + shape_signature: { fg: "#879a3b" attr: "b" } + shape_string: "#879a3b" + shape_string_interpolation: { fg: "#578fa4" attr: "b" } + shape_table: { fg: "#4f76a1" attr: "b" } + shape_variable: "#855c8d" + + background: "#1f1f1f" + foreground: "#b9bcba" + cursor: "#b9bcba" +}} \ No newline at end of file diff --git a/themes/themes/dirtysea.nu b/themes/themes/dirtysea.nu index 15618df..aa05489 100644 --- a/themes/themes/dirtysea.nu +++ b/themes/themes/dirtysea.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the dirtysea theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#e0e0e0" - # foreground: "#000000" - # cursor: "#000000" - - { - # color for nushell primitives - separator: "#c4d9c4" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#730073" - empty: "#007300" - bool: "#c4d9c4" - int: "#c4d9c4" - filesize: "#c4d9c4" - duration: "#c4d9c4" - date: "#c4d9c4" - range: "#c4d9c4" - float: "#c4d9c4" - string: "#c4d9c4" - nothing: "#c4d9c4" - binary: "#c4d9c4" - cellpath: "#c4d9c4" - row_index: "#730073" - record: "#c4d9c4" - list: "#c4d9c4" - block: "#c4d9c4" - hints: "#707070" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#000090" - shape_bool: "#755b00" - shape_int: "#000090" - shape_float: "#000090" - shape_range: "#755b00" - shape_internalcall: "#755b00" - shape_external: "#755b00" - shape_externalarg: "#730073" - shape_literal: "#007300" - shape_operator: "#755b00" - shape_signature: "#730073" - shape_string: "#730073" - shape_string_interpolation: "#755b00" - shape_datetime: "#755b00" - shape_list: "#755b00" - shape_table: "#007300" - shape_record: "#755b00" - shape_block: "#007300" - shape_filepath: "#755b00" - shape_globpattern: "#755b00" - shape_variable: "#000090" - shape_flag: "#007300" - shape_custom: "#730073" - shape_nothing: "#755b00" +export def main [] { return { + separator: "#000000" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#730073" attr: "b" } + empty: "#007300" + bool: {|| if $in { "#755b00" } else { "light_gray" } } + int: "#000000" + filesize: {|e| + if $e == 0b { + "#000000" + } else if $e < 1mb { + "#755b00" + } else {{ fg: "#007300" }} } -} + duration: "#000000" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#840000" attr: "b" } + } else if $in < 6hr { + "#840000" + } else if $in < 1day { + "#755b00" + } else if $in < 3day { + "#730073" + } else if $in < 1wk { + { fg: "#730073" attr: "b" } + } else if $in < 6wk { + "#755b00" + } else if $in < 52wk { + "#007300" + } else { "dark_gray" } + } + range: "#000000" + float: "#000000" + string: "#000000" + nothing: "#000000" + binary: "#000000" + cellpath: "#000000" + row_index: { fg: "#730073" attr: "b" } + record: "#000000" + list: "#000000" + block: "#000000" + hints: "dark_gray" + + shape_and: { fg: "#000090" attr: "b" } + shape_binary: { fg: "#000090" attr: "b" } + shape_block: { fg: "#007300" attr: "b" } + shape_bool: "#755b00" + shape_custom: "#730073" + shape_datetime: { fg: "#755b00" attr: "b" } + shape_directory: "#755b00" + shape_external: "#755b00" + shape_externalarg: { fg: "#730073" attr: "b" } + shape_filepath: "#755b00" + shape_flag: { fg: "#007300" attr: "b" } + shape_float: { fg: "#000090" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#755b00" attr: "b" } + shape_int: { fg: "#000090" attr: "b" } + shape_internalcall: { fg: "#755b00" attr: "b" } + shape_list: { fg: "#755b00" attr: "b" } + shape_literal: "#007300" + shape_match_pattern: "#730073" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#755b00" + shape_operator: "#755b00" + shape_or: { fg: "#000090" attr: "b" } + shape_pipe: { fg: "#000090" attr: "b" } + shape_range: { fg: "#755b00" attr: "b" } + shape_record: { fg: "#755b00" attr: "b" } + shape_redirection: { fg: "#000090" attr: "b" } + shape_signature: { fg: "#730073" attr: "b" } + shape_string: "#730073" + shape_string_interpolation: { fg: "#755b00" attr: "b" } + shape_table: { fg: "#007300" attr: "b" } + shape_variable: "#000090" + + background: "#e0e0e0" + foreground: "#000000" + cursor: "#000000" +}} \ No newline at end of file diff --git a/themes/themes/dot-gov.nu b/themes/themes/dot-gov.nu index a1527bd..8f4e67e 100644 --- a/themes/themes/dot-gov.nu +++ b/themes/themes/dot-gov.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the dot_gov theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#252b35" - # foreground: "#eaeaea" - # cursor: "#d9002f" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#3d9751" - empty: "#16b1df" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#3d9751" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#181818" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#772fb0" - shape_bool: "#8bd1ed" - shape_int: "#772fb0" - shape_float: "#772fb0" - shape_range: "#f6bb33" - shape_internalcall: "#8bd1ed" - shape_external: "#8bd1ed" - shape_externalarg: "#3d9751" - shape_literal: "#16b1df" - shape_operator: "#f6bb33" - shape_signature: "#3d9751" - shape_string: "#3d9751" - shape_string_interpolation: "#8bd1ed" - shape_datetime: "#8bd1ed" - shape_list: "#8bd1ed" - shape_table: "#16b1df" - shape_record: "#8bd1ed" - shape_block: "#16b1df" - shape_filepath: "#8bd1ed" - shape_globpattern: "#8bd1ed" - shape_variable: "#772fb0" - shape_flag: "#16b1df" - shape_custom: "#3d9751" - shape_nothing: "#8bd1ed" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#3d9751" attr: "b" } + empty: "#16b1df" + bool: {|| if $in { "#8bd1ed" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#8bd1ed" + } else {{ fg: "#16b1df" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bf081d" attr: "b" } + } else if $in < 6hr { + "#bf081d" + } else if $in < 1day { + "#f6bb33" + } else if $in < 3day { + "#3d9751" + } else if $in < 1wk { + { fg: "#3d9751" attr: "b" } + } else if $in < 6wk { + "#8bd1ed" + } else if $in < 52wk { + "#16b1df" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#3d9751" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#772fb0" attr: "b" } + shape_binary: { fg: "#772fb0" attr: "b" } + shape_block: { fg: "#16b1df" attr: "b" } + shape_bool: "#8bd1ed" + shape_custom: "#3d9751" + shape_datetime: { fg: "#8bd1ed" attr: "b" } + shape_directory: "#8bd1ed" + shape_external: "#8bd1ed" + shape_externalarg: { fg: "#3d9751" attr: "b" } + shape_filepath: "#8bd1ed" + shape_flag: { fg: "#16b1df" attr: "b" } + shape_float: { fg: "#772fb0" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8bd1ed" attr: "b" } + shape_int: { fg: "#772fb0" attr: "b" } + shape_internalcall: { fg: "#8bd1ed" attr: "b" } + shape_list: { fg: "#8bd1ed" attr: "b" } + shape_literal: "#16b1df" + shape_match_pattern: "#3d9751" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8bd1ed" + shape_operator: "#f6bb33" + shape_or: { fg: "#772fb0" attr: "b" } + shape_pipe: { fg: "#772fb0" attr: "b" } + shape_range: { fg: "#f6bb33" attr: "b" } + shape_record: { fg: "#8bd1ed" attr: "b" } + shape_redirection: { fg: "#772fb0" attr: "b" } + shape_signature: { fg: "#3d9751" attr: "b" } + shape_string: "#3d9751" + shape_string_interpolation: { fg: "#8bd1ed" attr: "b" } + shape_table: { fg: "#16b1df" attr: "b" } + shape_variable: "#772fb0" + + background: "#252b35" + foreground: "#eaeaea" + cursor: "#d9002f" +}} \ No newline at end of file diff --git a/themes/themes/dracula.nu b/themes/themes/dracula.nu index c75f417..58b7506 100644 --- a/themes/themes/dracula.nu +++ b/themes/themes/dracula.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the dracula theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282936" - # foreground: "#e9e9f4" - # cursor: "#e9e9f4" - - { - # color for nushell primitives - separator: "#f7f7fb" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ebff87" - empty: "#62d6e8" - bool: "#f7f7fb" - int: "#f7f7fb" - filesize: "#f7f7fb" - duration: "#f7f7fb" - date: "#f7f7fb" - range: "#f7f7fb" - float: "#f7f7fb" - string: "#f7f7fb" - nothing: "#f7f7fb" - binary: "#f7f7fb" - cellpath: "#f7f7fb" - row_index: "#ebff87" - record: "#f7f7fb" - list: "#f7f7fb" - block: "#f7f7fb" - hints: "#626483" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b45bcf" - shape_bool: "#a1efe4" - shape_int: "#b45bcf" - shape_float: "#b45bcf" - shape_range: "#00f769" - shape_internalcall: "#a1efe4" - shape_external: "#a1efe4" - shape_externalarg: "#ebff87" - shape_literal: "#62d6e8" - shape_operator: "#00f769" - shape_signature: "#ebff87" - shape_string: "#ebff87" - shape_string_interpolation: "#a1efe4" - shape_datetime: "#a1efe4" - shape_list: "#a1efe4" - shape_table: "#62d6e8" - shape_record: "#a1efe4" - shape_block: "#62d6e8" - shape_filepath: "#a1efe4" - shape_globpattern: "#a1efe4" - shape_variable: "#b45bcf" - shape_flag: "#62d6e8" - shape_custom: "#ebff87" - shape_nothing: "#a1efe4" +export def main [] { return { + separator: "#e9e9f4" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#ebff87" attr: "b" } + empty: "#62d6e8" + bool: {|| if $in { "#a1efe4" } else { "light_gray" } } + int: "#e9e9f4" + filesize: {|e| + if $e == 0b { + "#e9e9f4" + } else if $e < 1mb { + "#a1efe4" + } else {{ fg: "#62d6e8" }} } -} + duration: "#e9e9f4" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ea51b2" attr: "b" } + } else if $in < 6hr { + "#ea51b2" + } else if $in < 1day { + "#00f769" + } else if $in < 3day { + "#ebff87" + } else if $in < 1wk { + { fg: "#ebff87" attr: "b" } + } else if $in < 6wk { + "#a1efe4" + } else if $in < 52wk { + "#62d6e8" + } else { "dark_gray" } + } + range: "#e9e9f4" + float: "#e9e9f4" + string: "#e9e9f4" + nothing: "#e9e9f4" + binary: "#e9e9f4" + cellpath: "#e9e9f4" + row_index: { fg: "#ebff87" attr: "b" } + record: "#e9e9f4" + list: "#e9e9f4" + block: "#e9e9f4" + hints: "dark_gray" + + shape_and: { fg: "#b45bcf" attr: "b" } + shape_binary: { fg: "#b45bcf" attr: "b" } + shape_block: { fg: "#62d6e8" attr: "b" } + shape_bool: "#a1efe4" + shape_custom: "#ebff87" + shape_datetime: { fg: "#a1efe4" attr: "b" } + shape_directory: "#a1efe4" + shape_external: "#a1efe4" + shape_externalarg: { fg: "#ebff87" attr: "b" } + shape_filepath: "#a1efe4" + shape_flag: { fg: "#62d6e8" attr: "b" } + shape_float: { fg: "#b45bcf" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#a1efe4" attr: "b" } + shape_int: { fg: "#b45bcf" attr: "b" } + shape_internalcall: { fg: "#a1efe4" attr: "b" } + shape_list: { fg: "#a1efe4" attr: "b" } + shape_literal: "#62d6e8" + shape_match_pattern: "#ebff87" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#a1efe4" + shape_operator: "#00f769" + shape_or: { fg: "#b45bcf" attr: "b" } + shape_pipe: { fg: "#b45bcf" attr: "b" } + shape_range: { fg: "#00f769" attr: "b" } + shape_record: { fg: "#a1efe4" attr: "b" } + shape_redirection: { fg: "#b45bcf" attr: "b" } + shape_signature: { fg: "#ebff87" attr: "b" } + shape_string: "#ebff87" + shape_string_interpolation: { fg: "#a1efe4" attr: "b" } + shape_table: { fg: "#62d6e8" attr: "b" } + shape_variable: "#b45bcf" + + background: "#282936" + foreground: "#e9e9f4" + cursor: "#e9e9f4" +}} \ No newline at end of file diff --git a/themes/themes/dumbledore.nu b/themes/themes/dumbledore.nu index 8408f05..ed921fd 100644 --- a/themes/themes/dumbledore.nu +++ b/themes/themes/dumbledore.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the dumbledore theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#422553" - # foreground: "#c4c8c5" - # cursor: "#c4c8c5" - - { - # color for nushell primitives - separator: "#c9c9c9" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#aaaaaa" - empty: "#415baf" - bool: "#c9c9c9" - int: "#c9c9c9" - filesize: "#c9c9c9" - duration: "#c9c9c9" - date: "#c9c9c9" - range: "#c9c9c9" - float: "#c9c9c9" - string: "#c9c9c9" - nothing: "#c9c9c9" - binary: "#c9c9c9" - cellpath: "#c9c9c9" - row_index: "#aaaaaa" - record: "#c9c9c9" - list: "#c9c9c9" - block: "#c9c9c9" - hints: "#413e53" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b294ba" - shape_bool: "#25de50" - shape_int: "#b294ba" - shape_float: "#b294ba" - shape_range: "#716254" - shape_internalcall: "#25de50" - shape_external: "#008aff" - shape_externalarg: "#aaaaaa" - shape_literal: "#415baf" - shape_operator: "#f0c75e" - shape_signature: "#aaaaaa" - shape_string: "#3e7c54" - shape_string_interpolation: "#25de50" - shape_datetime: "#25de50" - shape_list: "#25de50" - shape_table: "#946a2c" - shape_record: "#25de50" - shape_block: "#946a2c" - shape_filepath: "#008aff" - shape_globpattern: "#25de50" - shape_variable: "#9445ae" - shape_flag: "#946a2c" - shape_custom: "#3e7c54" - shape_nothing: "#25de50" +export def main [] { return { + separator: "#850000" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#3e7c54" attr: "b" } + empty: "#415baf" + bool: {|| if $in { "#25de50" } else { "light_gray" } } + int: "#850000" + filesize: {|e| + if $e == 0b { + "#850000" + } else if $e < 1mb { + "#008aff" + } else {{ fg: "#415baf" }} } -} + duration: "#850000" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ae0000" attr: "b" } + } else if $in < 6hr { + "#ae0000" + } else if $in < 1day { + "#f0c75e" + } else if $in < 3day { + "#3e7c54" + } else if $in < 1wk { + { fg: "#3e7c54" attr: "b" } + } else if $in < 6wk { + "#008aff" + } else if $in < 52wk { + "#415baf" + } else { "dark_gray" } + } + range: "#850000" + float: "#850000" + string: "#850000" + nothing: "#850000" + binary: "#850000" + cellpath: "#850000" + row_index: { fg: "#3e7c54" attr: "b" } + record: "#850000" + list: "#850000" + block: "#850000" + hints: "dark_gray" + + shape_and: { fg: "#9445ae" attr: "b" } + shape_binary: { fg: "#9445ae" attr: "b" } + shape_block: { fg: "#415baf" attr: "b" } + shape_bool: "#25de50" + shape_custom: "#3e7c54" + shape_datetime: { fg: "#008aff" attr: "b" } + shape_directory: "#008aff" + shape_external: "#008aff" + shape_externalarg: { fg: "#3e7c54" attr: "b" } + shape_filepath: "#008aff" + shape_flag: { fg: "#415baf" attr: "b" } + shape_float: { fg: "#9445ae" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#008aff" attr: "b" } + shape_int: { fg: "#9445ae" attr: "b" } + shape_internalcall: { fg: "#008aff" attr: "b" } + shape_list: { fg: "#008aff" attr: "b" } + shape_literal: "#415baf" + shape_match_pattern: "#3e7c54" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#25de50" + shape_operator: "#f0c75e" + shape_or: { fg: "#9445ae" attr: "b" } + shape_pipe: { fg: "#9445ae" attr: "b" } + shape_range: { fg: "#f0c75e" attr: "b" } + shape_record: { fg: "#008aff" attr: "b" } + shape_redirection: { fg: "#9445ae" attr: "b" } + shape_signature: { fg: "#3e7c54" attr: "b" } + shape_string: "#3e7c54" + shape_string_interpolation: { fg: "#008aff" attr: "b" } + shape_table: { fg: "#415baf" attr: "b" } + shape_variable: "#9445ae" + + background: "#422553" + foreground: "#c4c8c5" + cursor: "#c4c8c5" +}} \ No newline at end of file diff --git a/themes/themes/duotone-dark.nu b/themes/themes/duotone-dark.nu index 538b8ca..71ec9d2 100644 --- a/themes/themes/duotone-dark.nu +++ b/themes/themes/duotone-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the duotone_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1f1c27" - # foreground: "#b6a0ff" - # cursor: "#ff9738" - - { - # color for nushell primitives - separator: "#e9e4ff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#2dcc72" - empty: "#ffc183" - bool: "#e9e4ff" - int: "#e9e4ff" - filesize: "#e9e4ff" - duration: "#e9e4ff" - date: "#e9e4ff" - range: "#e9e4ff" - float: "#e9e4ff" - string: "#e9e4ff" - nothing: "#e9e4ff" - binary: "#e9e4ff" - cellpath: "#e9e4ff" - row_index: "#2dcc72" - record: "#e9e4ff" - list: "#e9e4ff" - block: "#e9e4ff" - hints: "#353146" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#dd8d40" - shape_bool: "#2388ff" - shape_int: "#dd8d40" - shape_float: "#dd8d40" - shape_range: "#d8b76e" - shape_internalcall: "#2388ff" - shape_external: "#2388ff" - shape_externalarg: "#2dcc72" - shape_literal: "#ffc183" - shape_operator: "#d8b76e" - shape_signature: "#2dcc72" - shape_string: "#2dcc72" - shape_string_interpolation: "#2388ff" - shape_datetime: "#2388ff" - shape_list: "#2388ff" - shape_table: "#ffc183" - shape_record: "#2388ff" - shape_block: "#ffc183" - shape_filepath: "#2388ff" - shape_globpattern: "#2388ff" - shape_variable: "#dd8d40" - shape_flag: "#ffc183" - shape_custom: "#2dcc72" - shape_nothing: "#2388ff" +export def main [] { return { + separator: "#b6a0ff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#2dcc72" attr: "b" } + empty: "#ffc183" + bool: {|| if $in { "#2388ff" } else { "light_gray" } } + int: "#b6a0ff" + filesize: {|e| + if $e == 0b { + "#b6a0ff" + } else if $e < 1mb { + "#2388ff" + } else {{ fg: "#ffc183" }} } -} + duration: "#b6a0ff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d8393d" attr: "b" } + } else if $in < 6hr { + "#d8393d" + } else if $in < 1day { + "#d8b76e" + } else if $in < 3day { + "#2dcc72" + } else if $in < 1wk { + { fg: "#2dcc72" attr: "b" } + } else if $in < 6wk { + "#2388ff" + } else if $in < 52wk { + "#ffc183" + } else { "dark_gray" } + } + range: "#b6a0ff" + float: "#b6a0ff" + string: "#b6a0ff" + nothing: "#b6a0ff" + binary: "#b6a0ff" + cellpath: "#b6a0ff" + row_index: { fg: "#2dcc72" attr: "b" } + record: "#b6a0ff" + list: "#b6a0ff" + block: "#b6a0ff" + hints: "dark_gray" + + shape_and: { fg: "#dd8d40" attr: "b" } + shape_binary: { fg: "#dd8d40" attr: "b" } + shape_block: { fg: "#ffc183" attr: "b" } + shape_bool: "#2388ff" + shape_custom: "#2dcc72" + shape_datetime: { fg: "#2388ff" attr: "b" } + shape_directory: "#2388ff" + shape_external: "#2388ff" + shape_externalarg: { fg: "#2dcc72" attr: "b" } + shape_filepath: "#2388ff" + shape_flag: { fg: "#ffc183" attr: "b" } + shape_float: { fg: "#dd8d40" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2388ff" attr: "b" } + shape_int: { fg: "#dd8d40" attr: "b" } + shape_internalcall: { fg: "#2388ff" attr: "b" } + shape_list: { fg: "#2388ff" attr: "b" } + shape_literal: "#ffc183" + shape_match_pattern: "#2dcc72" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2388ff" + shape_operator: "#d8b76e" + shape_or: { fg: "#dd8d40" attr: "b" } + shape_pipe: { fg: "#dd8d40" attr: "b" } + shape_range: { fg: "#d8b76e" attr: "b" } + shape_record: { fg: "#2388ff" attr: "b" } + shape_redirection: { fg: "#dd8d40" attr: "b" } + shape_signature: { fg: "#2dcc72" attr: "b" } + shape_string: "#2dcc72" + shape_string_interpolation: { fg: "#2388ff" attr: "b" } + shape_table: { fg: "#ffc183" attr: "b" } + shape_variable: "#dd8d40" + + background: "#1f1c27" + foreground: "#b6a0ff" + cursor: "#ff9738" +}} \ No newline at end of file diff --git a/themes/themes/e-n-c-o-m.nu b/themes/themes/e-n-c-o-m.nu index 5173c52..5a5b50c 100644 --- a/themes/themes/e-n-c-o-m.nu +++ b/themes/themes/e-n-c-o-m.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the e_n-c-o-m theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#00a595" - # cursor: "#bbbbbb" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00ee00" - empty: "#0081ff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#00ee00" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#545454" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff00ff" - shape_bool: "#00cdcd" - shape_int: "#ff00ff" - shape_float: "#ff00ff" - shape_range: "#ffff00" - shape_internalcall: "#00cdcd" - shape_external: "#008b8b" - shape_externalarg: "#00ee00" - shape_literal: "#0081ff" - shape_operator: "#ffcf00" - shape_signature: "#00ee00" - shape_string: "#008b00" - shape_string_interpolation: "#00cdcd" - shape_datetime: "#00cdcd" - shape_list: "#00cdcd" - shape_table: "#0000ff" - shape_record: "#00cdcd" - shape_block: "#0000ff" - shape_filepath: "#008b8b" - shape_globpattern: "#00cdcd" - shape_variable: "#bc00ca" - shape_flag: "#0000ff" - shape_custom: "#008b00" - shape_nothing: "#00cdcd" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#008b00" attr: "b" } + empty: "#0081ff" + bool: {|| if $in { "#00cdcd" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#008b8b" + } else {{ fg: "#0081ff" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#9f0000" attr: "b" } + } else if $in < 6hr { + "#9f0000" + } else if $in < 1day { + "#ffcf00" + } else if $in < 3day { + "#008b00" + } else if $in < 1wk { + { fg: "#008b00" attr: "b" } + } else if $in < 6wk { + "#008b8b" + } else if $in < 52wk { + "#0081ff" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#008b00" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#bc00ca" attr: "b" } + shape_binary: { fg: "#bc00ca" attr: "b" } + shape_block: { fg: "#0081ff" attr: "b" } + shape_bool: "#00cdcd" + shape_custom: "#008b00" + shape_datetime: { fg: "#008b8b" attr: "b" } + shape_directory: "#008b8b" + shape_external: "#008b8b" + shape_externalarg: { fg: "#008b00" attr: "b" } + shape_filepath: "#008b8b" + shape_flag: { fg: "#0081ff" attr: "b" } + shape_float: { fg: "#bc00ca" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#008b8b" attr: "b" } + shape_int: { fg: "#bc00ca" attr: "b" } + shape_internalcall: { fg: "#008b8b" attr: "b" } + shape_list: { fg: "#008b8b" attr: "b" } + shape_literal: "#0081ff" + shape_match_pattern: "#008b00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00cdcd" + shape_operator: "#ffcf00" + shape_or: { fg: "#bc00ca" attr: "b" } + shape_pipe: { fg: "#bc00ca" attr: "b" } + shape_range: { fg: "#ffcf00" attr: "b" } + shape_record: { fg: "#008b8b" attr: "b" } + shape_redirection: { fg: "#bc00ca" attr: "b" } + shape_signature: { fg: "#008b00" attr: "b" } + shape_string: "#008b00" + shape_string_interpolation: { fg: "#008b8b" attr: "b" } + shape_table: { fg: "#0081ff" attr: "b" } + shape_variable: "#bc00ca" + + background: "#000000" + foreground: "#00a595" + cursor: "#bbbbbb" +}} \ No newline at end of file diff --git a/themes/themes/earthsong.nu b/themes/themes/earthsong.nu index b24eac5..ce1e4ad 100644 --- a/themes/themes/earthsong.nu +++ b/themes/themes/earthsong.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the earthsong theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#292520" - # foreground: "#e5c7a9" - # cursor: "#e5c7a9" - - { - # color for nushell primitives - separator: "#f6f7ec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#98e036" - empty: "#1398b9" - bool: "#f6f7ec" - int: "#f6f7ec" - filesize: "#f6f7ec" - duration: "#f6f7ec" - date: "#f6f7ec" - range: "#f6f7ec" - float: "#f6f7ec" - string: "#f6f7ec" - nothing: "#f6f7ec" - binary: "#f6f7ec" - cellpath: "#f6f7ec" - row_index: "#98e036" - record: "#f6f7ec" - list: "#f6f7ec" - block: "#f6f7ec" - hints: "#675f54" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff9269" - shape_bool: "#84f088" - shape_int: "#ff9269" - shape_float: "#ff9269" - shape_range: "#e0d561" - shape_internalcall: "#84f088" - shape_external: "#509552" - shape_externalarg: "#98e036" - shape_literal: "#1398b9" - shape_operator: "#f5ae2e" - shape_signature: "#98e036" - shape_string: "#85c54c" - shape_string_interpolation: "#84f088" - shape_datetime: "#84f088" - shape_list: "#84f088" - shape_table: "#5fdaff" - shape_record: "#84f088" - shape_block: "#5fdaff" - shape_filepath: "#509552" - shape_globpattern: "#84f088" - shape_variable: "#d0633d" - shape_flag: "#5fdaff" - shape_custom: "#85c54c" - shape_nothing: "#84f088" +export def main [] { return { + separator: "#e5c6aa" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#85c54c" attr: "b" } + empty: "#1398b9" + bool: {|| if $in { "#84f088" } else { "light_gray" } } + int: "#e5c6aa" + filesize: {|e| + if $e == 0b { + "#e5c6aa" + } else if $e < 1mb { + "#509552" + } else {{ fg: "#1398b9" }} } -} + duration: "#e5c6aa" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c94234" attr: "b" } + } else if $in < 6hr { + "#c94234" + } else if $in < 1day { + "#f5ae2e" + } else if $in < 3day { + "#85c54c" + } else if $in < 1wk { + { fg: "#85c54c" attr: "b" } + } else if $in < 6wk { + "#509552" + } else if $in < 52wk { + "#1398b9" + } else { "dark_gray" } + } + range: "#e5c6aa" + float: "#e5c6aa" + string: "#e5c6aa" + nothing: "#e5c6aa" + binary: "#e5c6aa" + cellpath: "#e5c6aa" + row_index: { fg: "#85c54c" attr: "b" } + record: "#e5c6aa" + list: "#e5c6aa" + block: "#e5c6aa" + hints: "dark_gray" + + shape_and: { fg: "#d0633d" attr: "b" } + shape_binary: { fg: "#d0633d" attr: "b" } + shape_block: { fg: "#1398b9" attr: "b" } + shape_bool: "#84f088" + shape_custom: "#85c54c" + shape_datetime: { fg: "#509552" attr: "b" } + shape_directory: "#509552" + shape_external: "#509552" + shape_externalarg: { fg: "#85c54c" attr: "b" } + shape_filepath: "#509552" + shape_flag: { fg: "#1398b9" attr: "b" } + shape_float: { fg: "#d0633d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#509552" attr: "b" } + shape_int: { fg: "#d0633d" attr: "b" } + shape_internalcall: { fg: "#509552" attr: "b" } + shape_list: { fg: "#509552" attr: "b" } + shape_literal: "#1398b9" + shape_match_pattern: "#85c54c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#84f088" + shape_operator: "#f5ae2e" + shape_or: { fg: "#d0633d" attr: "b" } + shape_pipe: { fg: "#d0633d" attr: "b" } + shape_range: { fg: "#f5ae2e" attr: "b" } + shape_record: { fg: "#509552" attr: "b" } + shape_redirection: { fg: "#d0633d" attr: "b" } + shape_signature: { fg: "#85c54c" attr: "b" } + shape_string: "#85c54c" + shape_string_interpolation: { fg: "#509552" attr: "b" } + shape_table: { fg: "#1398b9" attr: "b" } + shape_variable: "#d0633d" + + background: "#292520" + foreground: "#e5c7a9" + cursor: "#e5c7a9" +}} \ No newline at end of file diff --git a/themes/themes/edge-dark.nu b/themes/themes/edge-dark.nu index 8c01e77..8f07fc1 100644 --- a/themes/themes/edge-dark.nu +++ b/themes/themes/edge-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the edge_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#262729" - # foreground: "#b7bec9" - # cursor: "#b7bec9" - - { - # color for nushell primitives - separator: "#3e4249" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a1bf78" - empty: "#73b3e7" - bool: "#3e4249" - int: "#3e4249" - filesize: "#3e4249" - duration: "#3e4249" - date: "#3e4249" - range: "#3e4249" - float: "#3e4249" - string: "#3e4249" - nothing: "#3e4249" - binary: "#3e4249" - cellpath: "#3e4249" - row_index: "#a1bf78" - record: "#3e4249" - list: "#3e4249" - block: "#3e4249" - hints: "#3e4249" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d390e7" - shape_bool: "#5ebaa5" - shape_int: "#d390e7" - shape_float: "#d390e7" - shape_range: "#dbb774" - shape_internalcall: "#5ebaa5" - shape_external: "#5ebaa5" - shape_externalarg: "#a1bf78" - shape_literal: "#73b3e7" - shape_operator: "#dbb774" - shape_signature: "#a1bf78" - shape_string: "#a1bf78" - shape_string_interpolation: "#5ebaa5" - shape_datetime: "#5ebaa5" - shape_list: "#5ebaa5" - shape_table: "#73b3e7" - shape_record: "#5ebaa5" - shape_block: "#73b3e7" - shape_filepath: "#5ebaa5" - shape_globpattern: "#5ebaa5" - shape_variable: "#d390e7" - shape_flag: "#73b3e7" - shape_custom: "#a1bf78" - shape_nothing: "#5ebaa5" +export def main [] { return { + separator: "#b7bec9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a1bf78" attr: "b" } + empty: "#73b3e7" + bool: {|| if $in { "#5ebaa5" } else { "light_gray" } } + int: "#b7bec9" + filesize: {|e| + if $e == 0b { + "#b7bec9" + } else if $e < 1mb { + "#5ebaa5" + } else {{ fg: "#73b3e7" }} } -} + duration: "#b7bec9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e77171" attr: "b" } + } else if $in < 6hr { + "#e77171" + } else if $in < 1day { + "#dbb774" + } else if $in < 3day { + "#a1bf78" + } else if $in < 1wk { + { fg: "#a1bf78" attr: "b" } + } else if $in < 6wk { + "#5ebaa5" + } else if $in < 52wk { + "#73b3e7" + } else { "dark_gray" } + } + range: "#b7bec9" + float: "#b7bec9" + string: "#b7bec9" + nothing: "#b7bec9" + binary: "#b7bec9" + cellpath: "#b7bec9" + row_index: { fg: "#a1bf78" attr: "b" } + record: "#b7bec9" + list: "#b7bec9" + block: "#b7bec9" + hints: "dark_gray" + + shape_and: { fg: "#d390e7" attr: "b" } + shape_binary: { fg: "#d390e7" attr: "b" } + shape_block: { fg: "#73b3e7" attr: "b" } + shape_bool: "#5ebaa5" + shape_custom: "#a1bf78" + shape_datetime: { fg: "#5ebaa5" attr: "b" } + shape_directory: "#5ebaa5" + shape_external: "#5ebaa5" + shape_externalarg: { fg: "#a1bf78" attr: "b" } + shape_filepath: "#5ebaa5" + shape_flag: { fg: "#73b3e7" attr: "b" } + shape_float: { fg: "#d390e7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5ebaa5" attr: "b" } + shape_int: { fg: "#d390e7" attr: "b" } + shape_internalcall: { fg: "#5ebaa5" attr: "b" } + shape_list: { fg: "#5ebaa5" attr: "b" } + shape_literal: "#73b3e7" + shape_match_pattern: "#a1bf78" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5ebaa5" + shape_operator: "#dbb774" + shape_or: { fg: "#d390e7" attr: "b" } + shape_pipe: { fg: "#d390e7" attr: "b" } + shape_range: { fg: "#dbb774" attr: "b" } + shape_record: { fg: "#5ebaa5" attr: "b" } + shape_redirection: { fg: "#d390e7" attr: "b" } + shape_signature: { fg: "#a1bf78" attr: "b" } + shape_string: "#a1bf78" + shape_string_interpolation: { fg: "#5ebaa5" attr: "b" } + shape_table: { fg: "#73b3e7" attr: "b" } + shape_variable: "#d390e7" + + background: "#262729" + foreground: "#b7bec9" + cursor: "#b7bec9" +}} \ No newline at end of file diff --git a/themes/themes/edge-light.nu b/themes/themes/edge-light.nu index f5f36e0..d1707b7 100644 --- a/themes/themes/edge-light.nu +++ b/themes/themes/edge-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the edge_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fafafa" - # foreground: "#5e646f" - # cursor: "#5e646f" - - { - # color for nushell primitives - separator: "#5e646f" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7c9f4b" - empty: "#6587bf" - bool: "#5e646f" - int: "#5e646f" - filesize: "#5e646f" - duration: "#5e646f" - date: "#5e646f" - range: "#5e646f" - float: "#5e646f" - string: "#5e646f" - nothing: "#5e646f" - binary: "#5e646f" - cellpath: "#5e646f" - row_index: "#7c9f4b" - record: "#5e646f" - list: "#5e646f" - block: "#5e646f" - hints: "#5e646f" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b870ce" - shape_bool: "#509c93" - shape_int: "#b870ce" - shape_float: "#b870ce" - shape_range: "#d69822" - shape_internalcall: "#509c93" - shape_external: "#509c93" - shape_externalarg: "#7c9f4b" - shape_literal: "#6587bf" - shape_operator: "#d69822" - shape_signature: "#7c9f4b" - shape_string: "#7c9f4b" - shape_string_interpolation: "#509c93" - shape_datetime: "#509c93" - shape_list: "#509c93" - shape_table: "#6587bf" - shape_record: "#509c93" - shape_block: "#6587bf" - shape_filepath: "#509c93" - shape_globpattern: "#509c93" - shape_variable: "#b870ce" - shape_flag: "#6587bf" - shape_custom: "#7c9f4b" - shape_nothing: "#509c93" +export def main [] { return { + separator: "#5e646f" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7c9f4b" attr: "b" } + empty: "#6587bf" + bool: {|| if $in { "#509c93" } else { "light_gray" } } + int: "#5e646f" + filesize: {|e| + if $e == 0b { + "#5e646f" + } else if $e < 1mb { + "#509c93" + } else {{ fg: "#6587bf" }} } -} + duration: "#5e646f" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#db7070" attr: "b" } + } else if $in < 6hr { + "#db7070" + } else if $in < 1day { + "#d69822" + } else if $in < 3day { + "#7c9f4b" + } else if $in < 1wk { + { fg: "#7c9f4b" attr: "b" } + } else if $in < 6wk { + "#509c93" + } else if $in < 52wk { + "#6587bf" + } else { "dark_gray" } + } + range: "#5e646f" + float: "#5e646f" + string: "#5e646f" + nothing: "#5e646f" + binary: "#5e646f" + cellpath: "#5e646f" + row_index: { fg: "#7c9f4b" attr: "b" } + record: "#5e646f" + list: "#5e646f" + block: "#5e646f" + hints: "dark_gray" + + shape_and: { fg: "#b870ce" attr: "b" } + shape_binary: { fg: "#b870ce" attr: "b" } + shape_block: { fg: "#6587bf" attr: "b" } + shape_bool: "#509c93" + shape_custom: "#7c9f4b" + shape_datetime: { fg: "#509c93" attr: "b" } + shape_directory: "#509c93" + shape_external: "#509c93" + shape_externalarg: { fg: "#7c9f4b" attr: "b" } + shape_filepath: "#509c93" + shape_flag: { fg: "#6587bf" attr: "b" } + shape_float: { fg: "#b870ce" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#509c93" attr: "b" } + shape_int: { fg: "#b870ce" attr: "b" } + shape_internalcall: { fg: "#509c93" attr: "b" } + shape_list: { fg: "#509c93" attr: "b" } + shape_literal: "#6587bf" + shape_match_pattern: "#7c9f4b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#509c93" + shape_operator: "#d69822" + shape_or: { fg: "#b870ce" attr: "b" } + shape_pipe: { fg: "#b870ce" attr: "b" } + shape_range: { fg: "#d69822" attr: "b" } + shape_record: { fg: "#509c93" attr: "b" } + shape_redirection: { fg: "#b870ce" attr: "b" } + shape_signature: { fg: "#7c9f4b" attr: "b" } + shape_string: "#7c9f4b" + shape_string_interpolation: { fg: "#509c93" attr: "b" } + shape_table: { fg: "#6587bf" attr: "b" } + shape_variable: "#b870ce" + + background: "#fafafa" + foreground: "#5e646f" + cursor: "#5e646f" +}} \ No newline at end of file diff --git a/themes/themes/eighties.nu b/themes/themes/eighties.nu index bb16d8b..20fe1db 100644 --- a/themes/themes/eighties.nu +++ b/themes/themes/eighties.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the eighties theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2d2d2d" - # foreground: "#d3d0c8" - # cursor: "#d3d0c8" - - { - # color for nushell primitives - separator: "#f2f0ec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#99cc99" - empty: "#6699cc" - bool: "#f2f0ec" - int: "#f2f0ec" - filesize: "#f2f0ec" - duration: "#f2f0ec" - date: "#f2f0ec" - range: "#f2f0ec" - float: "#f2f0ec" - string: "#f2f0ec" - nothing: "#f2f0ec" - binary: "#f2f0ec" - cellpath: "#f2f0ec" - row_index: "#99cc99" - record: "#f2f0ec" - list: "#f2f0ec" - block: "#f2f0ec" - hints: "#747369" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#cc99cc" - shape_bool: "#66cccc" - shape_int: "#cc99cc" - shape_float: "#cc99cc" - shape_range: "#ffcc66" - shape_internalcall: "#66cccc" - shape_external: "#66cccc" - shape_externalarg: "#99cc99" - shape_literal: "#6699cc" - shape_operator: "#ffcc66" - shape_signature: "#99cc99" - shape_string: "#99cc99" - shape_string_interpolation: "#66cccc" - shape_datetime: "#66cccc" - shape_list: "#66cccc" - shape_table: "#6699cc" - shape_record: "#66cccc" - shape_block: "#6699cc" - shape_filepath: "#66cccc" - shape_globpattern: "#66cccc" - shape_variable: "#cc99cc" - shape_flag: "#6699cc" - shape_custom: "#99cc99" - shape_nothing: "#66cccc" +export def main [] { return { + separator: "#d3d0c8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#99cc99" attr: "b" } + empty: "#6699cc" + bool: {|| if $in { "#66cccc" } else { "light_gray" } } + int: "#d3d0c8" + filesize: {|e| + if $e == 0b { + "#d3d0c8" + } else if $e < 1mb { + "#66cccc" + } else {{ fg: "#6699cc" }} } -} + duration: "#d3d0c8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f2777a" attr: "b" } + } else if $in < 6hr { + "#f2777a" + } else if $in < 1day { + "#ffcc66" + } else if $in < 3day { + "#99cc99" + } else if $in < 1wk { + { fg: "#99cc99" attr: "b" } + } else if $in < 6wk { + "#66cccc" + } else if $in < 52wk { + "#6699cc" + } else { "dark_gray" } + } + range: "#d3d0c8" + float: "#d3d0c8" + string: "#d3d0c8" + nothing: "#d3d0c8" + binary: "#d3d0c8" + cellpath: "#d3d0c8" + row_index: { fg: "#99cc99" attr: "b" } + record: "#d3d0c8" + list: "#d3d0c8" + block: "#d3d0c8" + hints: "dark_gray" + + shape_and: { fg: "#cc99cc" attr: "b" } + shape_binary: { fg: "#cc99cc" attr: "b" } + shape_block: { fg: "#6699cc" attr: "b" } + shape_bool: "#66cccc" + shape_custom: "#99cc99" + shape_datetime: { fg: "#66cccc" attr: "b" } + shape_directory: "#66cccc" + shape_external: "#66cccc" + shape_externalarg: { fg: "#99cc99" attr: "b" } + shape_filepath: "#66cccc" + shape_flag: { fg: "#6699cc" attr: "b" } + shape_float: { fg: "#cc99cc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#66cccc" attr: "b" } + shape_int: { fg: "#cc99cc" attr: "b" } + shape_internalcall: { fg: "#66cccc" attr: "b" } + shape_list: { fg: "#66cccc" attr: "b" } + shape_literal: "#6699cc" + shape_match_pattern: "#99cc99" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#66cccc" + shape_operator: "#ffcc66" + shape_or: { fg: "#cc99cc" attr: "b" } + shape_pipe: { fg: "#cc99cc" attr: "b" } + shape_range: { fg: "#ffcc66" attr: "b" } + shape_record: { fg: "#66cccc" attr: "b" } + shape_redirection: { fg: "#cc99cc" attr: "b" } + shape_signature: { fg: "#99cc99" attr: "b" } + shape_string: "#99cc99" + shape_string_interpolation: { fg: "#66cccc" attr: "b" } + shape_table: { fg: "#6699cc" attr: "b" } + shape_variable: "#cc99cc" + + background: "#2d2d2d" + foreground: "#d3d0c8" + cursor: "#d3d0c8" +}} \ No newline at end of file diff --git a/themes/themes/elemental.nu b/themes/themes/elemental.nu index a7e9118..45a7343 100644 --- a/themes/themes/elemental.nu +++ b/themes/themes/elemental.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the elemental theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#22211d" - # foreground: "#807a74" - # cursor: "#807a74" - - { - # color for nushell primitives - separator: "#fff1e9" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#61e070" - empty: "#497f7d" - bool: "#fff1e9" - int: "#fff1e9" - filesize: "#fff1e9" - duration: "#fff1e9" - date: "#fff1e9" - range: "#fff1e9" - float: "#fff1e9" - string: "#fff1e9" - nothing: "#fff1e9" - binary: "#fff1e9" - cellpath: "#fff1e9" - row_index: "#61e070" - record: "#fff1e9" - list: "#fff1e9" - block: "#fff1e9" - hints: "#555445" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#cd7c54" - shape_bool: "#59d599" - shape_int: "#cd7c54" - shape_float: "#cd7c54" - shape_range: "#d69927" - shape_internalcall: "#59d599" - shape_external: "#387f58" - shape_externalarg: "#61e070" - shape_literal: "#497f7d" - shape_operator: "#7f7111" - shape_signature: "#61e070" - shape_string: "#479a43" - shape_string_interpolation: "#59d599" - shape_datetime: "#59d599" - shape_list: "#59d599" - shape_table: "#79d9d9" - shape_record: "#59d599" - shape_block: "#79d9d9" - shape_filepath: "#387f58" - shape_globpattern: "#59d599" - shape_variable: "#7f4e2f" - shape_flag: "#79d9d9" - shape_custom: "#479a43" - shape_nothing: "#59d599" +export def main [] { return { + separator: "#807974" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#479a43" attr: "b" } + empty: "#497f7d" + bool: {|| if $in { "#59d599" } else { "light_gray" } } + int: "#807974" + filesize: {|e| + if $e == 0b { + "#807974" + } else if $e < 1mb { + "#387f58" + } else {{ fg: "#497f7d" }} } -} + duration: "#807974" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#98290f" attr: "b" } + } else if $in < 6hr { + "#98290f" + } else if $in < 1day { + "#7f7111" + } else if $in < 3day { + "#479a43" + } else if $in < 1wk { + { fg: "#479a43" attr: "b" } + } else if $in < 6wk { + "#387f58" + } else if $in < 52wk { + "#497f7d" + } else { "dark_gray" } + } + range: "#807974" + float: "#807974" + string: "#807974" + nothing: "#807974" + binary: "#807974" + cellpath: "#807974" + row_index: { fg: "#479a43" attr: "b" } + record: "#807974" + list: "#807974" + block: "#807974" + hints: "dark_gray" + + shape_and: { fg: "#7f4e2f" attr: "b" } + shape_binary: { fg: "#7f4e2f" attr: "b" } + shape_block: { fg: "#497f7d" attr: "b" } + shape_bool: "#59d599" + shape_custom: "#479a43" + shape_datetime: { fg: "#387f58" attr: "b" } + shape_directory: "#387f58" + shape_external: "#387f58" + shape_externalarg: { fg: "#479a43" attr: "b" } + shape_filepath: "#387f58" + shape_flag: { fg: "#497f7d" attr: "b" } + shape_float: { fg: "#7f4e2f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#387f58" attr: "b" } + shape_int: { fg: "#7f4e2f" attr: "b" } + shape_internalcall: { fg: "#387f58" attr: "b" } + shape_list: { fg: "#387f58" attr: "b" } + shape_literal: "#497f7d" + shape_match_pattern: "#479a43" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#59d599" + shape_operator: "#7f7111" + shape_or: { fg: "#7f4e2f" attr: "b" } + shape_pipe: { fg: "#7f4e2f" attr: "b" } + shape_range: { fg: "#7f7111" attr: "b" } + shape_record: { fg: "#387f58" attr: "b" } + shape_redirection: { fg: "#7f4e2f" attr: "b" } + shape_signature: { fg: "#479a43" attr: "b" } + shape_string: "#479a43" + shape_string_interpolation: { fg: "#387f58" attr: "b" } + shape_table: { fg: "#497f7d" attr: "b" } + shape_variable: "#7f4e2f" + + background: "#22211d" + foreground: "#807a74" + cursor: "#807a74" +}} \ No newline at end of file diff --git a/themes/themes/elementary.nu b/themes/themes/elementary.nu index 38aaab1..c2f1078 100644 --- a/themes/themes/elementary.nu +++ b/themes/themes/elementary.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the elementary theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#101010" - # foreground: "#f2f2f2" - # cursor: "#f2f2f2" - - { - # color for nushell primitives - separator: "#a020f0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7bc91f" - empty: "#004f9e" - bool: "#a020f0" - int: "#a020f0" - filesize: "#a020f0" - duration: "#a020f0" - date: "#a020f0" - range: "#a020f0" - float: "#a020f0" - string: "#a020f0" - nothing: "#a020f0" - binary: "#a020f0" - cellpath: "#a020f0" - row_index: "#7bc91f" - record: "#a020f0" - list: "#a020f0" - block: "#a020f0" - hints: "#5d5d5d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff1d62" - shape_bool: "#4bb8fd" - shape_int: "#ff1d62" - shape_float: "#ff1d62" - shape_range: "#ffd00a" - shape_internalcall: "#4bb8fd" - shape_external: "#2aa7e7" - shape_externalarg: "#7bc91f" - shape_literal: "#004f9e" - shape_operator: "#ffc005" - shape_signature: "#7bc91f" - shape_string: "#6ab017" - shape_string_interpolation: "#4bb8fd" - shape_datetime: "#4bb8fd" - shape_list: "#4bb8fd" - shape_table: "#0071ff" - shape_record: "#4bb8fd" - shape_block: "#0071ff" - shape_filepath: "#2aa7e7" - shape_globpattern: "#4bb8fd" - shape_variable: "#ec0048" - shape_flag: "#0071ff" - shape_custom: "#6ab017" - shape_nothing: "#4bb8fd" +export def main [] { return { + separator: "#f2f2f2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6ab017" attr: "b" } + empty: "#004f9e" + bool: {|| if $in { "#4bb8fd" } else { "light_gray" } } + int: "#f2f2f2" + filesize: {|e| + if $e == 0b { + "#f2f2f2" + } else if $e < 1mb { + "#2aa7e7" + } else {{ fg: "#004f9e" }} } -} + duration: "#f2f2f2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e1321a" attr: "b" } + } else if $in < 6hr { + "#e1321a" + } else if $in < 1day { + "#ffc005" + } else if $in < 3day { + "#6ab017" + } else if $in < 1wk { + { fg: "#6ab017" attr: "b" } + } else if $in < 6wk { + "#2aa7e7" + } else if $in < 52wk { + "#004f9e" + } else { "dark_gray" } + } + range: "#f2f2f2" + float: "#f2f2f2" + string: "#f2f2f2" + nothing: "#f2f2f2" + binary: "#f2f2f2" + cellpath: "#f2f2f2" + row_index: { fg: "#6ab017" attr: "b" } + record: "#f2f2f2" + list: "#f2f2f2" + block: "#f2f2f2" + hints: "dark_gray" + + shape_and: { fg: "#ec0048" attr: "b" } + shape_binary: { fg: "#ec0048" attr: "b" } + shape_block: { fg: "#004f9e" attr: "b" } + shape_bool: "#4bb8fd" + shape_custom: "#6ab017" + shape_datetime: { fg: "#2aa7e7" attr: "b" } + shape_directory: "#2aa7e7" + shape_external: "#2aa7e7" + shape_externalarg: { fg: "#6ab017" attr: "b" } + shape_filepath: "#2aa7e7" + shape_flag: { fg: "#004f9e" attr: "b" } + shape_float: { fg: "#ec0048" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2aa7e7" attr: "b" } + shape_int: { fg: "#ec0048" attr: "b" } + shape_internalcall: { fg: "#2aa7e7" attr: "b" } + shape_list: { fg: "#2aa7e7" attr: "b" } + shape_literal: "#004f9e" + shape_match_pattern: "#6ab017" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4bb8fd" + shape_operator: "#ffc005" + shape_or: { fg: "#ec0048" attr: "b" } + shape_pipe: { fg: "#ec0048" attr: "b" } + shape_range: { fg: "#ffc005" attr: "b" } + shape_record: { fg: "#2aa7e7" attr: "b" } + shape_redirection: { fg: "#ec0048" attr: "b" } + shape_signature: { fg: "#6ab017" attr: "b" } + shape_string: "#6ab017" + shape_string_interpolation: { fg: "#2aa7e7" attr: "b" } + shape_table: { fg: "#004f9e" attr: "b" } + shape_variable: "#ec0048" + + background: "#101010" + foreground: "#f2f2f2" + cursor: "#f2f2f2" +}} \ No newline at end of file diff --git a/themes/themes/elic.nu b/themes/themes/elic.nu index 0216efb..7c8f931 100644 --- a/themes/themes/elic.nu +++ b/themes/themes/elic.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the elic theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#4a453e" - # foreground: "#f2f2f2" - # cursor: "#f2f2f2" - - { - # color for nushell primitives - separator: "#a020f0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7bc91f" - empty: "#729fcf" - bool: "#a020f0" - int: "#a020f0" - filesize: "#a020f0" - duration: "#a020f0" - date: "#a020f0" - range: "#a020f0" - float: "#a020f0" - string: "#a020f0" - nothing: "#a020f0" - binary: "#a020f0" - cellpath: "#a020f0" - row_index: "#7bc91f" - record: "#a020f0" - list: "#a020f0" - block: "#a020f0" - hints: "#5d5d5d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff1d62" - shape_bool: "#4bb8fd" - shape_int: "#ff1d62" - shape_float: "#ff1d62" - shape_range: "#ffd00a" - shape_internalcall: "#4bb8fd" - shape_external: "#f2f2f2" - shape_externalarg: "#7bc91f" - shape_literal: "#729fcf" - shape_operator: "#ffc005" - shape_signature: "#7bc91f" - shape_string: "#6ab017" - shape_string_interpolation: "#4bb8fd" - shape_datetime: "#4bb8fd" - shape_list: "#4bb8fd" - shape_table: "#0071ff" - shape_record: "#4bb8fd" - shape_block: "#0071ff" - shape_filepath: "#f2f2f2" - shape_globpattern: "#4bb8fd" - shape_variable: "#ec0048" - shape_flag: "#0071ff" - shape_custom: "#6ab017" - shape_nothing: "#4bb8fd" +export def main [] { return { + separator: "#2aa7e7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6ab017" attr: "b" } + empty: "#729fcf" + bool: {|| if $in { "#4bb8fd" } else { "light_gray" } } + int: "#2aa7e7" + filesize: {|e| + if $e == 0b { + "#2aa7e7" + } else if $e < 1mb { + "#f2f2f2" + } else {{ fg: "#729fcf" }} } -} + duration: "#2aa7e7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e1321a" attr: "b" } + } else if $in < 6hr { + "#e1321a" + } else if $in < 1day { + "#ffc005" + } else if $in < 3day { + "#6ab017" + } else if $in < 1wk { + { fg: "#6ab017" attr: "b" } + } else if $in < 6wk { + "#f2f2f2" + } else if $in < 52wk { + "#729fcf" + } else { "dark_gray" } + } + range: "#2aa7e7" + float: "#2aa7e7" + string: "#2aa7e7" + nothing: "#2aa7e7" + binary: "#2aa7e7" + cellpath: "#2aa7e7" + row_index: { fg: "#6ab017" attr: "b" } + record: "#2aa7e7" + list: "#2aa7e7" + block: "#2aa7e7" + hints: "dark_gray" + + shape_and: { fg: "#ec0048" attr: "b" } + shape_binary: { fg: "#ec0048" attr: "b" } + shape_block: { fg: "#729fcf" attr: "b" } + shape_bool: "#4bb8fd" + shape_custom: "#6ab017" + shape_datetime: { fg: "#f2f2f2" attr: "b" } + shape_directory: "#f2f2f2" + shape_external: "#f2f2f2" + shape_externalarg: { fg: "#6ab017" attr: "b" } + shape_filepath: "#f2f2f2" + shape_flag: { fg: "#729fcf" attr: "b" } + shape_float: { fg: "#ec0048" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#f2f2f2" attr: "b" } + shape_int: { fg: "#ec0048" attr: "b" } + shape_internalcall: { fg: "#f2f2f2" attr: "b" } + shape_list: { fg: "#f2f2f2" attr: "b" } + shape_literal: "#729fcf" + shape_match_pattern: "#6ab017" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4bb8fd" + shape_operator: "#ffc005" + shape_or: { fg: "#ec0048" attr: "b" } + shape_pipe: { fg: "#ec0048" attr: "b" } + shape_range: { fg: "#ffc005" attr: "b" } + shape_record: { fg: "#f2f2f2" attr: "b" } + shape_redirection: { fg: "#ec0048" attr: "b" } + shape_signature: { fg: "#6ab017" attr: "b" } + shape_string: "#6ab017" + shape_string_interpolation: { fg: "#f2f2f2" attr: "b" } + shape_table: { fg: "#729fcf" attr: "b" } + shape_variable: "#ec0048" + + background: "#4a453e" + foreground: "#f2f2f2" + cursor: "#f2f2f2" +}} \ No newline at end of file diff --git a/themes/themes/elio.nu b/themes/themes/elio.nu index f797254..366b48b 100644 --- a/themes/themes/elio.nu +++ b/themes/themes/elio.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the elio theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#041a3b" - # foreground: "#f2f2f2" - # cursor: "#f2f2f2" - - { - # color for nushell primitives - separator: "#a020f0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7bc91f" - empty: "#729fcf" - bool: "#a020f0" - int: "#a020f0" - filesize: "#a020f0" - duration: "#a020f0" - date: "#a020f0" - range: "#a020f0" - float: "#a020f0" - string: "#a020f0" - nothing: "#a020f0" - binary: "#a020f0" - cellpath: "#a020f0" - row_index: "#7bc91f" - record: "#a020f0" - list: "#a020f0" - block: "#a020f0" - hints: "#5d5d5d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff1d62" - shape_bool: "#4bb8fd" - shape_int: "#ff1d62" - shape_float: "#ff1d62" - shape_range: "#ffd00a" - shape_internalcall: "#4bb8fd" - shape_external: "#2aa7e7" - shape_externalarg: "#7bc91f" - shape_literal: "#729fcf" - shape_operator: "#ffc005" - shape_signature: "#7bc91f" - shape_string: "#6ab017" - shape_string_interpolation: "#4bb8fd" - shape_datetime: "#4bb8fd" - shape_list: "#4bb8fd" - shape_table: "#0071ff" - shape_record: "#4bb8fd" - shape_block: "#0071ff" - shape_filepath: "#2aa7e7" - shape_globpattern: "#4bb8fd" - shape_variable: "#ec0048" - shape_flag: "#0071ff" - shape_custom: "#6ab017" - shape_nothing: "#4bb8fd" +export def main [] { return { + separator: "#f2f2f2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6ab017" attr: "b" } + empty: "#729fcf" + bool: {|| if $in { "#4bb8fd" } else { "light_gray" } } + int: "#f2f2f2" + filesize: {|e| + if $e == 0b { + "#f2f2f2" + } else if $e < 1mb { + "#2aa7e7" + } else {{ fg: "#729fcf" }} } -} + duration: "#f2f2f2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e1321a" attr: "b" } + } else if $in < 6hr { + "#e1321a" + } else if $in < 1day { + "#ffc005" + } else if $in < 3day { + "#6ab017" + } else if $in < 1wk { + { fg: "#6ab017" attr: "b" } + } else if $in < 6wk { + "#2aa7e7" + } else if $in < 52wk { + "#729fcf" + } else { "dark_gray" } + } + range: "#f2f2f2" + float: "#f2f2f2" + string: "#f2f2f2" + nothing: "#f2f2f2" + binary: "#f2f2f2" + cellpath: "#f2f2f2" + row_index: { fg: "#6ab017" attr: "b" } + record: "#f2f2f2" + list: "#f2f2f2" + block: "#f2f2f2" + hints: "dark_gray" + + shape_and: { fg: "#ec0048" attr: "b" } + shape_binary: { fg: "#ec0048" attr: "b" } + shape_block: { fg: "#729fcf" attr: "b" } + shape_bool: "#4bb8fd" + shape_custom: "#6ab017" + shape_datetime: { fg: "#2aa7e7" attr: "b" } + shape_directory: "#2aa7e7" + shape_external: "#2aa7e7" + shape_externalarg: { fg: "#6ab017" attr: "b" } + shape_filepath: "#2aa7e7" + shape_flag: { fg: "#729fcf" attr: "b" } + shape_float: { fg: "#ec0048" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2aa7e7" attr: "b" } + shape_int: { fg: "#ec0048" attr: "b" } + shape_internalcall: { fg: "#2aa7e7" attr: "b" } + shape_list: { fg: "#2aa7e7" attr: "b" } + shape_literal: "#729fcf" + shape_match_pattern: "#6ab017" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4bb8fd" + shape_operator: "#ffc005" + shape_or: { fg: "#ec0048" attr: "b" } + shape_pipe: { fg: "#ec0048" attr: "b" } + shape_range: { fg: "#ffc005" attr: "b" } + shape_record: { fg: "#2aa7e7" attr: "b" } + shape_redirection: { fg: "#ec0048" attr: "b" } + shape_signature: { fg: "#6ab017" attr: "b" } + shape_string: "#6ab017" + shape_string_interpolation: { fg: "#2aa7e7" attr: "b" } + shape_table: { fg: "#729fcf" attr: "b" } + shape_variable: "#ec0048" + + background: "#041a3b" + foreground: "#f2f2f2" + cursor: "#f2f2f2" +}} \ No newline at end of file diff --git a/themes/themes/embark.nu b/themes/themes/embark.nu index b930bc0..c4170a4 100644 --- a/themes/themes/embark.nu +++ b/themes/themes/embark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the embark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1e1c31" - # foreground: "#cbe3e7" - # cursor: "#cbe3e7" - - { - # color for nushell primitives - separator: "#8a889d" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#62d196" - empty: "#91ddff" - bool: "#8a889d" - int: "#8a889d" - filesize: "#8a889d" - duration: "#8a889d" - date: "#8a889d" - range: "#8a889d" - float: "#8a889d" - string: "#8a889d" - nothing: "#8a889d" - binary: "#8a889d" - cellpath: "#8a889d" - row_index: "#62d196" - record: "#8a889d" - list: "#8a889d" - block: "#8a889d" - hints: "#585273" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a37acc" - shape_bool: "#63f2f1" - shape_int: "#a37acc" - shape_float: "#a37acc" - shape_range: "#f2b482" - shape_internalcall: "#63f2f1" - shape_external: "#87dfeb" - shape_externalarg: "#62d196" - shape_literal: "#91ddff" - shape_operator: "#ffe6b3" - shape_signature: "#62d196" - shape_string: "#a1efd3" - shape_string_interpolation: "#63f2f1" - shape_datetime: "#63f2f1" - shape_list: "#63f2f1" - shape_table: "#65b2ff" - shape_record: "#63f2f1" - shape_block: "#65b2ff" - shape_filepath: "#87dfeb" - shape_globpattern: "#63f2f1" - shape_variable: "#d4bfff" - shape_flag: "#65b2ff" - shape_custom: "#a1efd3" - shape_nothing: "#63f2f1" +export def main [] { return { + separator: "#cbe3e7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a1efd3" attr: "b" } + empty: "#91ddff" + bool: {|| if $in { "#63f2f1" } else { "light_gray" } } + int: "#cbe3e7" + filesize: {|e| + if $e == 0b { + "#cbe3e7" + } else if $e < 1mb { + "#87dfeb" + } else {{ fg: "#91ddff" }} } -} + duration: "#cbe3e7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f48fb1" attr: "b" } + } else if $in < 6hr { + "#f48fb1" + } else if $in < 1day { + "#ffe6b3" + } else if $in < 3day { + "#a1efd3" + } else if $in < 1wk { + { fg: "#a1efd3" attr: "b" } + } else if $in < 6wk { + "#87dfeb" + } else if $in < 52wk { + "#91ddff" + } else { "dark_gray" } + } + range: "#cbe3e7" + float: "#cbe3e7" + string: "#cbe3e7" + nothing: "#cbe3e7" + binary: "#cbe3e7" + cellpath: "#cbe3e7" + row_index: { fg: "#a1efd3" attr: "b" } + record: "#cbe3e7" + list: "#cbe3e7" + block: "#cbe3e7" + hints: "dark_gray" + + shape_and: { fg: "#d4bfff" attr: "b" } + shape_binary: { fg: "#d4bfff" attr: "b" } + shape_block: { fg: "#91ddff" attr: "b" } + shape_bool: "#63f2f1" + shape_custom: "#a1efd3" + shape_datetime: { fg: "#87dfeb" attr: "b" } + shape_directory: "#87dfeb" + shape_external: "#87dfeb" + shape_externalarg: { fg: "#a1efd3" attr: "b" } + shape_filepath: "#87dfeb" + shape_flag: { fg: "#91ddff" attr: "b" } + shape_float: { fg: "#d4bfff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#87dfeb" attr: "b" } + shape_int: { fg: "#d4bfff" attr: "b" } + shape_internalcall: { fg: "#87dfeb" attr: "b" } + shape_list: { fg: "#87dfeb" attr: "b" } + shape_literal: "#91ddff" + shape_match_pattern: "#a1efd3" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#63f2f1" + shape_operator: "#ffe6b3" + shape_or: { fg: "#d4bfff" attr: "b" } + shape_pipe: { fg: "#d4bfff" attr: "b" } + shape_range: { fg: "#ffe6b3" attr: "b" } + shape_record: { fg: "#87dfeb" attr: "b" } + shape_redirection: { fg: "#d4bfff" attr: "b" } + shape_signature: { fg: "#a1efd3" attr: "b" } + shape_string: "#a1efd3" + shape_string_interpolation: { fg: "#87dfeb" attr: "b" } + shape_table: { fg: "#91ddff" attr: "b" } + shape_variable: "#d4bfff" + + background: "#1e1c31" + foreground: "#cbe3e7" + cursor: "#cbe3e7" +}} \ No newline at end of file diff --git a/themes/themes/embers.nu b/themes/themes/embers.nu index 45cbf8f..d14026b 100644 --- a/themes/themes/embers.nu +++ b/themes/themes/embers.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the embers theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#16130f" - # foreground: "#a39a90" - # cursor: "#a39a90" - - { - # color for nushell primitives - separator: "#dbd6d1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#57826d" - empty: "#6d5782" - bool: "#dbd6d1" - int: "#dbd6d1" - filesize: "#dbd6d1" - duration: "#dbd6d1" - date: "#dbd6d1" - range: "#dbd6d1" - float: "#dbd6d1" - string: "#dbd6d1" - nothing: "#dbd6d1" - binary: "#dbd6d1" - cellpath: "#dbd6d1" - row_index: "#57826d" - record: "#dbd6d1" - list: "#dbd6d1" - block: "#dbd6d1" - hints: "#5a5047" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#82576d" - shape_bool: "#576d82" - shape_int: "#82576d" - shape_float: "#82576d" - shape_range: "#6d8257" - shape_internalcall: "#576d82" - shape_external: "#576d82" - shape_externalarg: "#57826d" - shape_literal: "#6d5782" - shape_operator: "#6d8257" - shape_signature: "#57826d" - shape_string: "#57826d" - shape_string_interpolation: "#576d82" - shape_datetime: "#576d82" - shape_list: "#576d82" - shape_table: "#6d5782" - shape_record: "#576d82" - shape_block: "#6d5782" - shape_filepath: "#576d82" - shape_globpattern: "#576d82" - shape_variable: "#82576d" - shape_flag: "#6d5782" - shape_custom: "#57826d" - shape_nothing: "#576d82" +export def main [] { return { + separator: "#a39a90" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#57826d" attr: "b" } + empty: "#6d5782" + bool: {|| if $in { "#576d82" } else { "light_gray" } } + int: "#a39a90" + filesize: {|e| + if $e == 0b { + "#a39a90" + } else if $e < 1mb { + "#576d82" + } else {{ fg: "#6d5782" }} } -} + duration: "#a39a90" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#826d57" attr: "b" } + } else if $in < 6hr { + "#826d57" + } else if $in < 1day { + "#6d8257" + } else if $in < 3day { + "#57826d" + } else if $in < 1wk { + { fg: "#57826d" attr: "b" } + } else if $in < 6wk { + "#576d82" + } else if $in < 52wk { + "#6d5782" + } else { "dark_gray" } + } + range: "#a39a90" + float: "#a39a90" + string: "#a39a90" + nothing: "#a39a90" + binary: "#a39a90" + cellpath: "#a39a90" + row_index: { fg: "#57826d" attr: "b" } + record: "#a39a90" + list: "#a39a90" + block: "#a39a90" + hints: "dark_gray" + + shape_and: { fg: "#82576d" attr: "b" } + shape_binary: { fg: "#82576d" attr: "b" } + shape_block: { fg: "#6d5782" attr: "b" } + shape_bool: "#576d82" + shape_custom: "#57826d" + shape_datetime: { fg: "#576d82" attr: "b" } + shape_directory: "#576d82" + shape_external: "#576d82" + shape_externalarg: { fg: "#57826d" attr: "b" } + shape_filepath: "#576d82" + shape_flag: { fg: "#6d5782" attr: "b" } + shape_float: { fg: "#82576d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#576d82" attr: "b" } + shape_int: { fg: "#82576d" attr: "b" } + shape_internalcall: { fg: "#576d82" attr: "b" } + shape_list: { fg: "#576d82" attr: "b" } + shape_literal: "#6d5782" + shape_match_pattern: "#57826d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#576d82" + shape_operator: "#6d8257" + shape_or: { fg: "#82576d" attr: "b" } + shape_pipe: { fg: "#82576d" attr: "b" } + shape_range: { fg: "#6d8257" attr: "b" } + shape_record: { fg: "#576d82" attr: "b" } + shape_redirection: { fg: "#82576d" attr: "b" } + shape_signature: { fg: "#57826d" attr: "b" } + shape_string: "#57826d" + shape_string_interpolation: { fg: "#576d82" attr: "b" } + shape_table: { fg: "#6d5782" attr: "b" } + shape_variable: "#82576d" + + background: "#16130f" + foreground: "#a39a90" + cursor: "#a39a90" +}} \ No newline at end of file diff --git a/themes/themes/equilibrium-dark.nu b/themes/themes/equilibrium-dark.nu index 7b259e1..452b6f2 100644 --- a/themes/themes/equilibrium-dark.nu +++ b/themes/themes/equilibrium-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the equilibrium_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0c1118" - # foreground: "#afaba2" - # cursor: "#afaba2" - - { - # color for nushell primitives - separator: "#e7e2d9" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7f8b00" - empty: "#008dd1" - bool: "#e7e2d9" - int: "#e7e2d9" - filesize: "#e7e2d9" - duration: "#e7e2d9" - date: "#e7e2d9" - range: "#e7e2d9" - float: "#e7e2d9" - string: "#e7e2d9" - nothing: "#e7e2d9" - binary: "#e7e2d9" - cellpath: "#e7e2d9" - row_index: "#7f8b00" - record: "#e7e2d9" - list: "#e7e2d9" - block: "#e7e2d9" - hints: "#7b776e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6a7fd2" - shape_bool: "#00948b" - shape_int: "#6a7fd2" - shape_float: "#6a7fd2" - shape_range: "#bb8801" - shape_internalcall: "#00948b" - shape_external: "#00948b" - shape_externalarg: "#7f8b00" - shape_literal: "#008dd1" - shape_operator: "#bb8801" - shape_signature: "#7f8b00" - shape_string: "#7f8b00" - shape_string_interpolation: "#00948b" - shape_datetime: "#00948b" - shape_list: "#00948b" - shape_table: "#008dd1" - shape_record: "#00948b" - shape_block: "#008dd1" - shape_filepath: "#00948b" - shape_globpattern: "#00948b" - shape_variable: "#6a7fd2" - shape_flag: "#008dd1" - shape_custom: "#7f8b00" - shape_nothing: "#00948b" +export def main [] { return { + separator: "#afaba2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7f8b00" attr: "b" } + empty: "#008dd1" + bool: {|| if $in { "#00948b" } else { "light_gray" } } + int: "#afaba2" + filesize: {|e| + if $e == 0b { + "#afaba2" + } else if $e < 1mb { + "#00948b" + } else {{ fg: "#008dd1" }} } -} + duration: "#afaba2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f04339" attr: "b" } + } else if $in < 6hr { + "#f04339" + } else if $in < 1day { + "#bb8801" + } else if $in < 3day { + "#7f8b00" + } else if $in < 1wk { + { fg: "#7f8b00" attr: "b" } + } else if $in < 6wk { + "#00948b" + } else if $in < 52wk { + "#008dd1" + } else { "dark_gray" } + } + range: "#afaba2" + float: "#afaba2" + string: "#afaba2" + nothing: "#afaba2" + binary: "#afaba2" + cellpath: "#afaba2" + row_index: { fg: "#7f8b00" attr: "b" } + record: "#afaba2" + list: "#afaba2" + block: "#afaba2" + hints: "dark_gray" + + shape_and: { fg: "#6a7fd2" attr: "b" } + shape_binary: { fg: "#6a7fd2" attr: "b" } + shape_block: { fg: "#008dd1" attr: "b" } + shape_bool: "#00948b" + shape_custom: "#7f8b00" + shape_datetime: { fg: "#00948b" attr: "b" } + shape_directory: "#00948b" + shape_external: "#00948b" + shape_externalarg: { fg: "#7f8b00" attr: "b" } + shape_filepath: "#00948b" + shape_flag: { fg: "#008dd1" attr: "b" } + shape_float: { fg: "#6a7fd2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00948b" attr: "b" } + shape_int: { fg: "#6a7fd2" attr: "b" } + shape_internalcall: { fg: "#00948b" attr: "b" } + shape_list: { fg: "#00948b" attr: "b" } + shape_literal: "#008dd1" + shape_match_pattern: "#7f8b00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00948b" + shape_operator: "#bb8801" + shape_or: { fg: "#6a7fd2" attr: "b" } + shape_pipe: { fg: "#6a7fd2" attr: "b" } + shape_range: { fg: "#bb8801" attr: "b" } + shape_record: { fg: "#00948b" attr: "b" } + shape_redirection: { fg: "#6a7fd2" attr: "b" } + shape_signature: { fg: "#7f8b00" attr: "b" } + shape_string: "#7f8b00" + shape_string_interpolation: { fg: "#00948b" attr: "b" } + shape_table: { fg: "#008dd1" attr: "b" } + shape_variable: "#6a7fd2" + + background: "#0c1118" + foreground: "#afaba2" + cursor: "#afaba2" +}} \ No newline at end of file diff --git a/themes/themes/equilibrium-gray-dark.nu b/themes/themes/equilibrium-gray-dark.nu index b6a3714..f01cd27 100644 --- a/themes/themes/equilibrium-gray-dark.nu +++ b/themes/themes/equilibrium-gray-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the equilibrium_gray-dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#111111" - # foreground: "#ababab" - # cursor: "#ababab" - - { - # color for nushell primitives - separator: "#e2e2e2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7f8b00" - empty: "#008dd1" - bool: "#e2e2e2" - int: "#e2e2e2" - filesize: "#e2e2e2" - duration: "#e2e2e2" - date: "#e2e2e2" - range: "#e2e2e2" - float: "#e2e2e2" - string: "#e2e2e2" - nothing: "#e2e2e2" - binary: "#e2e2e2" - cellpath: "#e2e2e2" - row_index: "#7f8b00" - record: "#e2e2e2" - list: "#e2e2e2" - block: "#e2e2e2" - hints: "#777777" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6a7fd2" - shape_bool: "#00948b" - shape_int: "#6a7fd2" - shape_float: "#6a7fd2" - shape_range: "#bb8801" - shape_internalcall: "#00948b" - shape_external: "#00948b" - shape_externalarg: "#7f8b00" - shape_literal: "#008dd1" - shape_operator: "#bb8801" - shape_signature: "#7f8b00" - shape_string: "#7f8b00" - shape_string_interpolation: "#00948b" - shape_datetime: "#00948b" - shape_list: "#00948b" - shape_table: "#008dd1" - shape_record: "#00948b" - shape_block: "#008dd1" - shape_filepath: "#00948b" - shape_globpattern: "#00948b" - shape_variable: "#6a7fd2" - shape_flag: "#008dd1" - shape_custom: "#7f8b00" - shape_nothing: "#00948b" +export def main [] { return { + separator: "#ababab" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7f8b00" attr: "b" } + empty: "#008dd1" + bool: {|| if $in { "#00948b" } else { "light_gray" } } + int: "#ababab" + filesize: {|e| + if $e == 0b { + "#ababab" + } else if $e < 1mb { + "#00948b" + } else {{ fg: "#008dd1" }} } -} + duration: "#ababab" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f04339" attr: "b" } + } else if $in < 6hr { + "#f04339" + } else if $in < 1day { + "#bb8801" + } else if $in < 3day { + "#7f8b00" + } else if $in < 1wk { + { fg: "#7f8b00" attr: "b" } + } else if $in < 6wk { + "#00948b" + } else if $in < 52wk { + "#008dd1" + } else { "dark_gray" } + } + range: "#ababab" + float: "#ababab" + string: "#ababab" + nothing: "#ababab" + binary: "#ababab" + cellpath: "#ababab" + row_index: { fg: "#7f8b00" attr: "b" } + record: "#ababab" + list: "#ababab" + block: "#ababab" + hints: "dark_gray" + + shape_and: { fg: "#6a7fd2" attr: "b" } + shape_binary: { fg: "#6a7fd2" attr: "b" } + shape_block: { fg: "#008dd1" attr: "b" } + shape_bool: "#00948b" + shape_custom: "#7f8b00" + shape_datetime: { fg: "#00948b" attr: "b" } + shape_directory: "#00948b" + shape_external: "#00948b" + shape_externalarg: { fg: "#7f8b00" attr: "b" } + shape_filepath: "#00948b" + shape_flag: { fg: "#008dd1" attr: "b" } + shape_float: { fg: "#6a7fd2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00948b" attr: "b" } + shape_int: { fg: "#6a7fd2" attr: "b" } + shape_internalcall: { fg: "#00948b" attr: "b" } + shape_list: { fg: "#00948b" attr: "b" } + shape_literal: "#008dd1" + shape_match_pattern: "#7f8b00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00948b" + shape_operator: "#bb8801" + shape_or: { fg: "#6a7fd2" attr: "b" } + shape_pipe: { fg: "#6a7fd2" attr: "b" } + shape_range: { fg: "#bb8801" attr: "b" } + shape_record: { fg: "#00948b" attr: "b" } + shape_redirection: { fg: "#6a7fd2" attr: "b" } + shape_signature: { fg: "#7f8b00" attr: "b" } + shape_string: "#7f8b00" + shape_string_interpolation: { fg: "#00948b" attr: "b" } + shape_table: { fg: "#008dd1" attr: "b" } + shape_variable: "#6a7fd2" + + background: "#111111" + foreground: "#ababab" + cursor: "#ababab" +}} \ No newline at end of file diff --git a/themes/themes/equilibrium-gray-light.nu b/themes/themes/equilibrium-gray-light.nu index 3044dc8..c22a03d 100644 --- a/themes/themes/equilibrium-gray-light.nu +++ b/themes/themes/equilibrium-gray-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the equilibrium_gray-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f1f1f1" - # foreground: "#474747" - # cursor: "#474747" - - { - # color for nushell primitives - separator: "#1b1b1b" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#637200" - empty: "#0073b5" - bool: "#1b1b1b" - int: "#1b1b1b" - filesize: "#1b1b1b" - duration: "#1b1b1b" - date: "#1b1b1b" - range: "#1b1b1b" - float: "#1b1b1b" - string: "#1b1b1b" - nothing: "#1b1b1b" - binary: "#1b1b1b" - cellpath: "#1b1b1b" - row_index: "#637200" - record: "#1b1b1b" - list: "#1b1b1b" - block: "#1b1b1b" - hints: "#777777" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#4e66b6" - shape_bool: "#007a72" - shape_int: "#4e66b6" - shape_float: "#4e66b6" - shape_range: "#9d6f00" - shape_internalcall: "#007a72" - shape_external: "#007a72" - shape_externalarg: "#637200" - shape_literal: "#0073b5" - shape_operator: "#9d6f00" - shape_signature: "#637200" - shape_string: "#637200" - shape_string_interpolation: "#007a72" - shape_datetime: "#007a72" - shape_list: "#007a72" - shape_table: "#0073b5" - shape_record: "#007a72" - shape_block: "#0073b5" - shape_filepath: "#007a72" - shape_globpattern: "#007a72" - shape_variable: "#4e66b6" - shape_flag: "#0073b5" - shape_custom: "#637200" - shape_nothing: "#007a72" +export def main [] { return { + separator: "#474747" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#637200" attr: "b" } + empty: "#0073b5" + bool: {|| if $in { "#007a72" } else { "light_gray" } } + int: "#474747" + filesize: {|e| + if $e == 0b { + "#474747" + } else if $e < 1mb { + "#007a72" + } else {{ fg: "#0073b5" }} } -} + duration: "#474747" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d02023" attr: "b" } + } else if $in < 6hr { + "#d02023" + } else if $in < 1day { + "#9d6f00" + } else if $in < 3day { + "#637200" + } else if $in < 1wk { + { fg: "#637200" attr: "b" } + } else if $in < 6wk { + "#007a72" + } else if $in < 52wk { + "#0073b5" + } else { "dark_gray" } + } + range: "#474747" + float: "#474747" + string: "#474747" + nothing: "#474747" + binary: "#474747" + cellpath: "#474747" + row_index: { fg: "#637200" attr: "b" } + record: "#474747" + list: "#474747" + block: "#474747" + hints: "dark_gray" + + shape_and: { fg: "#4e66b6" attr: "b" } + shape_binary: { fg: "#4e66b6" attr: "b" } + shape_block: { fg: "#0073b5" attr: "b" } + shape_bool: "#007a72" + shape_custom: "#637200" + shape_datetime: { fg: "#007a72" attr: "b" } + shape_directory: "#007a72" + shape_external: "#007a72" + shape_externalarg: { fg: "#637200" attr: "b" } + shape_filepath: "#007a72" + shape_flag: { fg: "#0073b5" attr: "b" } + shape_float: { fg: "#4e66b6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#007a72" attr: "b" } + shape_int: { fg: "#4e66b6" attr: "b" } + shape_internalcall: { fg: "#007a72" attr: "b" } + shape_list: { fg: "#007a72" attr: "b" } + shape_literal: "#0073b5" + shape_match_pattern: "#637200" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#007a72" + shape_operator: "#9d6f00" + shape_or: { fg: "#4e66b6" attr: "b" } + shape_pipe: { fg: "#4e66b6" attr: "b" } + shape_range: { fg: "#9d6f00" attr: "b" } + shape_record: { fg: "#007a72" attr: "b" } + shape_redirection: { fg: "#4e66b6" attr: "b" } + shape_signature: { fg: "#637200" attr: "b" } + shape_string: "#637200" + shape_string_interpolation: { fg: "#007a72" attr: "b" } + shape_table: { fg: "#0073b5" attr: "b" } + shape_variable: "#4e66b6" + + background: "#f1f1f1" + foreground: "#474747" + cursor: "#474747" +}} \ No newline at end of file diff --git a/themes/themes/equilibrium-light.nu b/themes/themes/equilibrium-light.nu index 705a0bd..e98b887 100644 --- a/themes/themes/equilibrium-light.nu +++ b/themes/themes/equilibrium-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the equilibrium_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f5f0e7" - # foreground: "#43474e" - # cursor: "#43474e" - - { - # color for nushell primitives - separator: "#181c22" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#637200" - empty: "#0073b5" - bool: "#181c22" - int: "#181c22" - filesize: "#181c22" - duration: "#181c22" - date: "#181c22" - range: "#181c22" - float: "#181c22" - string: "#181c22" - nothing: "#181c22" - binary: "#181c22" - cellpath: "#181c22" - row_index: "#637200" - record: "#181c22" - list: "#181c22" - block: "#181c22" - hints: "#73777f" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#4e66b6" - shape_bool: "#007a72" - shape_int: "#4e66b6" - shape_float: "#4e66b6" - shape_range: "#9d6f00" - shape_internalcall: "#007a72" - shape_external: "#007a72" - shape_externalarg: "#637200" - shape_literal: "#0073b5" - shape_operator: "#9d6f00" - shape_signature: "#637200" - shape_string: "#637200" - shape_string_interpolation: "#007a72" - shape_datetime: "#007a72" - shape_list: "#007a72" - shape_table: "#0073b5" - shape_record: "#007a72" - shape_block: "#0073b5" - shape_filepath: "#007a72" - shape_globpattern: "#007a72" - shape_variable: "#4e66b6" - shape_flag: "#0073b5" - shape_custom: "#637200" - shape_nothing: "#007a72" +export def main [] { return { + separator: "#43474e" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#637200" attr: "b" } + empty: "#0073b5" + bool: {|| if $in { "#007a72" } else { "light_gray" } } + int: "#43474e" + filesize: {|e| + if $e == 0b { + "#43474e" + } else if $e < 1mb { + "#007a72" + } else {{ fg: "#0073b5" }} } -} + duration: "#43474e" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d02023" attr: "b" } + } else if $in < 6hr { + "#d02023" + } else if $in < 1day { + "#9d6f00" + } else if $in < 3day { + "#637200" + } else if $in < 1wk { + { fg: "#637200" attr: "b" } + } else if $in < 6wk { + "#007a72" + } else if $in < 52wk { + "#0073b5" + } else { "dark_gray" } + } + range: "#43474e" + float: "#43474e" + string: "#43474e" + nothing: "#43474e" + binary: "#43474e" + cellpath: "#43474e" + row_index: { fg: "#637200" attr: "b" } + record: "#43474e" + list: "#43474e" + block: "#43474e" + hints: "dark_gray" + + shape_and: { fg: "#4e66b6" attr: "b" } + shape_binary: { fg: "#4e66b6" attr: "b" } + shape_block: { fg: "#0073b5" attr: "b" } + shape_bool: "#007a72" + shape_custom: "#637200" + shape_datetime: { fg: "#007a72" attr: "b" } + shape_directory: "#007a72" + shape_external: "#007a72" + shape_externalarg: { fg: "#637200" attr: "b" } + shape_filepath: "#007a72" + shape_flag: { fg: "#0073b5" attr: "b" } + shape_float: { fg: "#4e66b6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#007a72" attr: "b" } + shape_int: { fg: "#4e66b6" attr: "b" } + shape_internalcall: { fg: "#007a72" attr: "b" } + shape_list: { fg: "#007a72" attr: "b" } + shape_literal: "#0073b5" + shape_match_pattern: "#637200" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#007a72" + shape_operator: "#9d6f00" + shape_or: { fg: "#4e66b6" attr: "b" } + shape_pipe: { fg: "#4e66b6" attr: "b" } + shape_range: { fg: "#9d6f00" attr: "b" } + shape_record: { fg: "#007a72" attr: "b" } + shape_redirection: { fg: "#4e66b6" attr: "b" } + shape_signature: { fg: "#637200" attr: "b" } + shape_string: "#637200" + shape_string_interpolation: { fg: "#007a72" attr: "b" } + shape_table: { fg: "#0073b5" attr: "b" } + shape_variable: "#4e66b6" + + background: "#f5f0e7" + foreground: "#43474e" + cursor: "#43474e" +}} \ No newline at end of file diff --git a/themes/themes/espresso-libre.nu b/themes/themes/espresso-libre.nu index d3445f2..3885ab1 100644 --- a/themes/themes/espresso-libre.nu +++ b/themes/themes/espresso-libre.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the espresso_libre theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2a211c" - # foreground: "#b8a898" - # cursor: "#b8a898" - - { - # color for nushell primitives - separator: "#eeeeec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#9aff87" - empty: "#0066ff" - bool: "#eeeeec" - int: "#eeeeec" - filesize: "#eeeeec" - duration: "#eeeeec" - date: "#eeeeec" - range: "#eeeeec" - float: "#eeeeec" - string: "#eeeeec" - nothing: "#eeeeec" - binary: "#eeeeec" - cellpath: "#eeeeec" - row_index: "#9aff87" - record: "#eeeeec" - list: "#eeeeec" - block: "#eeeeec" - hints: "#555753" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff818a" - shape_bool: "#34e2e2" - shape_int: "#ff818a" - shape_float: "#ff818a" - shape_range: "#fffb5c" - shape_internalcall: "#34e2e2" - shape_external: "#06989a" - shape_externalarg: "#9aff87" - shape_literal: "#0066ff" - shape_operator: "#f0e53a" - shape_signature: "#9aff87" - shape_string: "#1a921c" - shape_string_interpolation: "#34e2e2" - shape_datetime: "#34e2e2" - shape_list: "#34e2e2" - shape_table: "#43a8ed" - shape_record: "#34e2e2" - shape_block: "#43a8ed" - shape_filepath: "#06989a" - shape_globpattern: "#34e2e2" - shape_variable: "#c5656b" - shape_flag: "#43a8ed" - shape_custom: "#1a921c" - shape_nothing: "#34e2e2" +export def main [] { return { + separator: "#d3d7cf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#1a921c" attr: "b" } + empty: "#0066ff" + bool: {|| if $in { "#34e2e2" } else { "light_gray" } } + int: "#d3d7cf" + filesize: {|e| + if $e == 0b { + "#d3d7cf" + } else if $e < 1mb { + "#06989a" + } else {{ fg: "#0066ff" }} } -} + duration: "#d3d7cf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc0000" attr: "b" } + } else if $in < 6hr { + "#cc0000" + } else if $in < 1day { + "#f0e53a" + } else if $in < 3day { + "#1a921c" + } else if $in < 1wk { + { fg: "#1a921c" attr: "b" } + } else if $in < 6wk { + "#06989a" + } else if $in < 52wk { + "#0066ff" + } else { "dark_gray" } + } + range: "#d3d7cf" + float: "#d3d7cf" + string: "#d3d7cf" + nothing: "#d3d7cf" + binary: "#d3d7cf" + cellpath: "#d3d7cf" + row_index: { fg: "#1a921c" attr: "b" } + record: "#d3d7cf" + list: "#d3d7cf" + block: "#d3d7cf" + hints: "dark_gray" + + shape_and: { fg: "#c5656b" attr: "b" } + shape_binary: { fg: "#c5656b" attr: "b" } + shape_block: { fg: "#0066ff" attr: "b" } + shape_bool: "#34e2e2" + shape_custom: "#1a921c" + shape_datetime: { fg: "#06989a" attr: "b" } + shape_directory: "#06989a" + shape_external: "#06989a" + shape_externalarg: { fg: "#1a921c" attr: "b" } + shape_filepath: "#06989a" + shape_flag: { fg: "#0066ff" attr: "b" } + shape_float: { fg: "#c5656b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#06989a" attr: "b" } + shape_int: { fg: "#c5656b" attr: "b" } + shape_internalcall: { fg: "#06989a" attr: "b" } + shape_list: { fg: "#06989a" attr: "b" } + shape_literal: "#0066ff" + shape_match_pattern: "#1a921c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#34e2e2" + shape_operator: "#f0e53a" + shape_or: { fg: "#c5656b" attr: "b" } + shape_pipe: { fg: "#c5656b" attr: "b" } + shape_range: { fg: "#f0e53a" attr: "b" } + shape_record: { fg: "#06989a" attr: "b" } + shape_redirection: { fg: "#c5656b" attr: "b" } + shape_signature: { fg: "#1a921c" attr: "b" } + shape_string: "#1a921c" + shape_string_interpolation: { fg: "#06989a" attr: "b" } + shape_table: { fg: "#0066ff" attr: "b" } + shape_variable: "#c5656b" + + background: "#2a211c" + foreground: "#b8a898" + cursor: "#b8a898" +}} \ No newline at end of file diff --git a/themes/themes/espresso.nu b/themes/themes/espresso.nu index 66c5813..8922796 100644 --- a/themes/themes/espresso.nu +++ b/themes/themes/espresso.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the espresso theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2d2d2d" - # foreground: "#cccccc" - # cursor: "#cccccc" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a5c261" - empty: "#6c99bb" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#a5c261" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#777777" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d197d9" - shape_bool: "#bed6ff" - shape_int: "#d197d9" - shape_float: "#d197d9" - shape_range: "#ffc66d" - shape_internalcall: "#bed6ff" - shape_external: "#bed6ff" - shape_externalarg: "#a5c261" - shape_literal: "#6c99bb" - shape_operator: "#ffc66d" - shape_signature: "#a5c261" - shape_string: "#a5c261" - shape_string_interpolation: "#bed6ff" - shape_datetime: "#bed6ff" - shape_list: "#bed6ff" - shape_table: "#6c99bb" - shape_record: "#bed6ff" - shape_block: "#6c99bb" - shape_filepath: "#bed6ff" - shape_globpattern: "#bed6ff" - shape_variable: "#d197d9" - shape_flag: "#6c99bb" - shape_custom: "#a5c261" - shape_nothing: "#bed6ff" +export def main [] { return { + separator: "#cccccc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a5c261" attr: "b" } + empty: "#6c99bb" + bool: {|| if $in { "#bed6ff" } else { "light_gray" } } + int: "#cccccc" + filesize: {|e| + if $e == 0b { + "#cccccc" + } else if $e < 1mb { + "#bed6ff" + } else {{ fg: "#6c99bb" }} } -} + duration: "#cccccc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d25252" attr: "b" } + } else if $in < 6hr { + "#d25252" + } else if $in < 1day { + "#ffc66d" + } else if $in < 3day { + "#a5c261" + } else if $in < 1wk { + { fg: "#a5c261" attr: "b" } + } else if $in < 6wk { + "#bed6ff" + } else if $in < 52wk { + "#6c99bb" + } else { "dark_gray" } + } + range: "#cccccc" + float: "#cccccc" + string: "#cccccc" + nothing: "#cccccc" + binary: "#cccccc" + cellpath: "#cccccc" + row_index: { fg: "#a5c261" attr: "b" } + record: "#cccccc" + list: "#cccccc" + block: "#cccccc" + hints: "dark_gray" + + shape_and: { fg: "#d197d9" attr: "b" } + shape_binary: { fg: "#d197d9" attr: "b" } + shape_block: { fg: "#6c99bb" attr: "b" } + shape_bool: "#bed6ff" + shape_custom: "#a5c261" + shape_datetime: { fg: "#bed6ff" attr: "b" } + shape_directory: "#bed6ff" + shape_external: "#bed6ff" + shape_externalarg: { fg: "#a5c261" attr: "b" } + shape_filepath: "#bed6ff" + shape_flag: { fg: "#6c99bb" attr: "b" } + shape_float: { fg: "#d197d9" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#bed6ff" attr: "b" } + shape_int: { fg: "#d197d9" attr: "b" } + shape_internalcall: { fg: "#bed6ff" attr: "b" } + shape_list: { fg: "#bed6ff" attr: "b" } + shape_literal: "#6c99bb" + shape_match_pattern: "#a5c261" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#bed6ff" + shape_operator: "#ffc66d" + shape_or: { fg: "#d197d9" attr: "b" } + shape_pipe: { fg: "#d197d9" attr: "b" } + shape_range: { fg: "#ffc66d" attr: "b" } + shape_record: { fg: "#bed6ff" attr: "b" } + shape_redirection: { fg: "#d197d9" attr: "b" } + shape_signature: { fg: "#a5c261" attr: "b" } + shape_string: "#a5c261" + shape_string_interpolation: { fg: "#bed6ff" attr: "b" } + shape_table: { fg: "#6c99bb" attr: "b" } + shape_variable: "#d197d9" + + background: "#2d2d2d" + foreground: "#cccccc" + cursor: "#cccccc" +}} \ No newline at end of file diff --git a/themes/themes/eva-dim.nu b/themes/themes/eva-dim.nu index 8b306ab..884ee89 100644 --- a/themes/themes/eva-dim.nu +++ b/themes/themes/eva-dim.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the eva_dim theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2a3b4d" - # foreground: "#9fa2a6" - # cursor: "#9fa2a6" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#5de561" - empty: "#1ae1dc" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#5de561" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#55799c" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9c6cd3" - shape_bool: "#4b8f77" - shape_int: "#9c6cd3" - shape_float: "#9c6cd3" - shape_range: "#cfd05d" - shape_internalcall: "#4b8f77" - shape_external: "#4b8f77" - shape_externalarg: "#5de561" - shape_literal: "#1ae1dc" - shape_operator: "#cfd05d" - shape_signature: "#5de561" - shape_string: "#5de561" - shape_string_interpolation: "#4b8f77" - shape_datetime: "#4b8f77" - shape_list: "#4b8f77" - shape_table: "#1ae1dc" - shape_record: "#4b8f77" - shape_block: "#1ae1dc" - shape_filepath: "#4b8f77" - shape_globpattern: "#4b8f77" - shape_variable: "#9c6cd3" - shape_flag: "#1ae1dc" - shape_custom: "#5de561" - shape_nothing: "#4b8f77" +export def main [] { return { + separator: "#9fa2a6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#5de561" attr: "b" } + empty: "#1ae1dc" + bool: {|| if $in { "#4b8f77" } else { "light_gray" } } + int: "#9fa2a6" + filesize: {|e| + if $e == 0b { + "#9fa2a6" + } else if $e < 1mb { + "#4b8f77" + } else {{ fg: "#1ae1dc" }} } -} + duration: "#9fa2a6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c4676c" attr: "b" } + } else if $in < 6hr { + "#c4676c" + } else if $in < 1day { + "#cfd05d" + } else if $in < 3day { + "#5de561" + } else if $in < 1wk { + { fg: "#5de561" attr: "b" } + } else if $in < 6wk { + "#4b8f77" + } else if $in < 52wk { + "#1ae1dc" + } else { "dark_gray" } + } + range: "#9fa2a6" + float: "#9fa2a6" + string: "#9fa2a6" + nothing: "#9fa2a6" + binary: "#9fa2a6" + cellpath: "#9fa2a6" + row_index: { fg: "#5de561" attr: "b" } + record: "#9fa2a6" + list: "#9fa2a6" + block: "#9fa2a6" + hints: "dark_gray" + + shape_and: { fg: "#9c6cd3" attr: "b" } + shape_binary: { fg: "#9c6cd3" attr: "b" } + shape_block: { fg: "#1ae1dc" attr: "b" } + shape_bool: "#4b8f77" + shape_custom: "#5de561" + shape_datetime: { fg: "#4b8f77" attr: "b" } + shape_directory: "#4b8f77" + shape_external: "#4b8f77" + shape_externalarg: { fg: "#5de561" attr: "b" } + shape_filepath: "#4b8f77" + shape_flag: { fg: "#1ae1dc" attr: "b" } + shape_float: { fg: "#9c6cd3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#4b8f77" attr: "b" } + shape_int: { fg: "#9c6cd3" attr: "b" } + shape_internalcall: { fg: "#4b8f77" attr: "b" } + shape_list: { fg: "#4b8f77" attr: "b" } + shape_literal: "#1ae1dc" + shape_match_pattern: "#5de561" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4b8f77" + shape_operator: "#cfd05d" + shape_or: { fg: "#9c6cd3" attr: "b" } + shape_pipe: { fg: "#9c6cd3" attr: "b" } + shape_range: { fg: "#cfd05d" attr: "b" } + shape_record: { fg: "#4b8f77" attr: "b" } + shape_redirection: { fg: "#9c6cd3" attr: "b" } + shape_signature: { fg: "#5de561" attr: "b" } + shape_string: "#5de561" + shape_string_interpolation: { fg: "#4b8f77" attr: "b" } + shape_table: { fg: "#1ae1dc" attr: "b" } + shape_variable: "#9c6cd3" + + background: "#2a3b4d" + foreground: "#9fa2a6" + cursor: "#9fa2a6" +}} \ No newline at end of file diff --git a/themes/themes/eva.nu b/themes/themes/eva.nu index 419deaa..ac16121 100644 --- a/themes/themes/eva.nu +++ b/themes/themes/eva.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the eva theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2a3b4d" - # foreground: "#9fa2a6" - # cursor: "#9fa2a6" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#66ff66" - empty: "#15f4ee" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#66ff66" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#55799c" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9c6cd3" - shape_bool: "#4b8f77" - shape_int: "#9c6cd3" - shape_float: "#9c6cd3" - shape_range: "#ffff66" - shape_internalcall: "#4b8f77" - shape_external: "#4b8f77" - shape_externalarg: "#66ff66" - shape_literal: "#15f4ee" - shape_operator: "#ffff66" - shape_signature: "#66ff66" - shape_string: "#66ff66" - shape_string_interpolation: "#4b8f77" - shape_datetime: "#4b8f77" - shape_list: "#4b8f77" - shape_table: "#15f4ee" - shape_record: "#4b8f77" - shape_block: "#15f4ee" - shape_filepath: "#4b8f77" - shape_globpattern: "#4b8f77" - shape_variable: "#9c6cd3" - shape_flag: "#15f4ee" - shape_custom: "#66ff66" - shape_nothing: "#4b8f77" +export def main [] { return { + separator: "#9fa2a6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#66ff66" attr: "b" } + empty: "#15f4ee" + bool: {|| if $in { "#4b8f77" } else { "light_gray" } } + int: "#9fa2a6" + filesize: {|e| + if $e == 0b { + "#9fa2a6" + } else if $e < 1mb { + "#4b8f77" + } else {{ fg: "#15f4ee" }} } -} + duration: "#9fa2a6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c4676c" attr: "b" } + } else if $in < 6hr { + "#c4676c" + } else if $in < 1day { + "#ffff66" + } else if $in < 3day { + "#66ff66" + } else if $in < 1wk { + { fg: "#66ff66" attr: "b" } + } else if $in < 6wk { + "#4b8f77" + } else if $in < 52wk { + "#15f4ee" + } else { "dark_gray" } + } + range: "#9fa2a6" + float: "#9fa2a6" + string: "#9fa2a6" + nothing: "#9fa2a6" + binary: "#9fa2a6" + cellpath: "#9fa2a6" + row_index: { fg: "#66ff66" attr: "b" } + record: "#9fa2a6" + list: "#9fa2a6" + block: "#9fa2a6" + hints: "dark_gray" + + shape_and: { fg: "#9c6cd3" attr: "b" } + shape_binary: { fg: "#9c6cd3" attr: "b" } + shape_block: { fg: "#15f4ee" attr: "b" } + shape_bool: "#4b8f77" + shape_custom: "#66ff66" + shape_datetime: { fg: "#4b8f77" attr: "b" } + shape_directory: "#4b8f77" + shape_external: "#4b8f77" + shape_externalarg: { fg: "#66ff66" attr: "b" } + shape_filepath: "#4b8f77" + shape_flag: { fg: "#15f4ee" attr: "b" } + shape_float: { fg: "#9c6cd3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#4b8f77" attr: "b" } + shape_int: { fg: "#9c6cd3" attr: "b" } + shape_internalcall: { fg: "#4b8f77" attr: "b" } + shape_list: { fg: "#4b8f77" attr: "b" } + shape_literal: "#15f4ee" + shape_match_pattern: "#66ff66" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4b8f77" + shape_operator: "#ffff66" + shape_or: { fg: "#9c6cd3" attr: "b" } + shape_pipe: { fg: "#9c6cd3" attr: "b" } + shape_range: { fg: "#ffff66" attr: "b" } + shape_record: { fg: "#4b8f77" attr: "b" } + shape_redirection: { fg: "#9c6cd3" attr: "b" } + shape_signature: { fg: "#66ff66" attr: "b" } + shape_string: "#66ff66" + shape_string_interpolation: { fg: "#4b8f77" attr: "b" } + shape_table: { fg: "#15f4ee" attr: "b" } + shape_variable: "#9c6cd3" + + background: "#2a3b4d" + foreground: "#9fa2a6" + cursor: "#9fa2a6" +}} \ No newline at end of file diff --git a/themes/themes/everforest-light.nu b/themes/themes/everforest-light.nu index 38d0717..54e5666 100644 --- a/themes/themes/everforest-light.nu +++ b/themes/themes/everforest-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the everforest_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f8f0dc" - # foreground: "#5c6a72" - # cursor: "#5c6a72" - - { - # color for nushell primitives - separator: "#dfddc8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8da101" - empty: "#3a94c5" - bool: "#dfddc8" - int: "#dfddc8" - filesize: "#dfddc8" - duration: "#dfddc8" - date: "#dfddc8" - range: "#dfddc8" - float: "#dfddc8" - string: "#dfddc8" - nothing: "#dfddc8" - binary: "#dfddc8" - cellpath: "#dfddc8" - row_index: "#8da101" - record: "#dfddc8" - list: "#dfddc8" - block: "#dfddc8" - hints: "#5c6a72" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#df69ba" - shape_bool: "#35a77c" - shape_int: "#df69ba" - shape_float: "#df69ba" - shape_range: "#dfa000" - shape_internalcall: "#35a77c" - shape_external: "#35a77c" - shape_externalarg: "#8da101" - shape_literal: "#3a94c5" - shape_operator: "#dfa000" - shape_signature: "#8da101" - shape_string: "#8da101" - shape_string_interpolation: "#35a77c" - shape_datetime: "#35a77c" - shape_list: "#35a77c" - shape_table: "#3a94c5" - shape_record: "#35a77c" - shape_block: "#3a94c5" - shape_filepath: "#35a77c" - shape_globpattern: "#35a77c" - shape_variable: "#df69ba" - shape_flag: "#3a94c5" - shape_custom: "#8da101" - shape_nothing: "#35a77c" +export def main [] { return { + separator: "#dfddc8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8da101" attr: "b" } + empty: "#3a94c5" + bool: {|| if $in { "#35a77c" } else { "light_gray" } } + int: "#dfddc8" + filesize: {|e| + if $e == 0b { + "#dfddc8" + } else if $e < 1mb { + "#35a77c" + } else {{ fg: "#3a94c5" }} } -} + duration: "#dfddc8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f85552" attr: "b" } + } else if $in < 6hr { + "#f85552" + } else if $in < 1day { + "#dfa000" + } else if $in < 3day { + "#8da101" + } else if $in < 1wk { + { fg: "#8da101" attr: "b" } + } else if $in < 6wk { + "#35a77c" + } else if $in < 52wk { + "#3a94c5" + } else { "dark_gray" } + } + range: "#dfddc8" + float: "#dfddc8" + string: "#dfddc8" + nothing: "#dfddc8" + binary: "#dfddc8" + cellpath: "#dfddc8" + row_index: { fg: "#8da101" attr: "b" } + record: "#dfddc8" + list: "#dfddc8" + block: "#dfddc8" + hints: "dark_gray" + + shape_and: { fg: "#df69ba" attr: "b" } + shape_binary: { fg: "#df69ba" attr: "b" } + shape_block: { fg: "#3a94c5" attr: "b" } + shape_bool: "#35a77c" + shape_custom: "#8da101" + shape_datetime: { fg: "#35a77c" attr: "b" } + shape_directory: "#35a77c" + shape_external: "#35a77c" + shape_externalarg: { fg: "#8da101" attr: "b" } + shape_filepath: "#35a77c" + shape_flag: { fg: "#3a94c5" attr: "b" } + shape_float: { fg: "#df69ba" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#35a77c" attr: "b" } + shape_int: { fg: "#df69ba" attr: "b" } + shape_internalcall: { fg: "#35a77c" attr: "b" } + shape_list: { fg: "#35a77c" attr: "b" } + shape_literal: "#3a94c5" + shape_match_pattern: "#8da101" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#35a77c" + shape_operator: "#dfa000" + shape_or: { fg: "#df69ba" attr: "b" } + shape_pipe: { fg: "#df69ba" attr: "b" } + shape_range: { fg: "#dfa000" attr: "b" } + shape_record: { fg: "#35a77c" attr: "b" } + shape_redirection: { fg: "#df69ba" attr: "b" } + shape_signature: { fg: "#8da101" attr: "b" } + shape_string: "#8da101" + shape_string_interpolation: { fg: "#35a77c" attr: "b" } + shape_table: { fg: "#3a94c5" attr: "b" } + shape_variable: "#df69ba" + + background: "#f8f0dc" + foreground: "#5c6a72" + cursor: "#5c6a72" +}} \ No newline at end of file diff --git a/themes/themes/everforest.nu b/themes/themes/everforest.nu index 9d4a69e..6eaebb8 100644 --- a/themes/themes/everforest.nu +++ b/themes/themes/everforest.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the everforest theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2f383e" - # foreground: "#d3c6aa" - # cursor: "#d3c6aa" - - { - # color for nushell primitives - separator: "#d3c6aa" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a7c080" - empty: "#7fbbb3" - bool: "#d3c6aa" - int: "#d3c6aa" - filesize: "#d3c6aa" - duration: "#d3c6aa" - date: "#d3c6aa" - range: "#d3c6aa" - float: "#d3c6aa" - string: "#d3c6aa" - nothing: "#d3c6aa" - binary: "#d3c6aa" - cellpath: "#d3c6aa" - row_index: "#a7c080" - record: "#d3c6aa" - list: "#d3c6aa" - block: "#d3c6aa" - hints: "#4b565c" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d699b6" - shape_bool: "#83c092" - shape_int: "#d699b6" - shape_float: "#d699b6" - shape_range: "#dbbc7f" - shape_internalcall: "#83c092" - shape_external: "#83c092" - shape_externalarg: "#a7c080" - shape_literal: "#7fbbb3" - shape_operator: "#dbbc7f" - shape_signature: "#a7c080" - shape_string: "#a7c080" - shape_string_interpolation: "#83c092" - shape_datetime: "#83c092" - shape_list: "#83c092" - shape_table: "#7fbbb3" - shape_record: "#83c092" - shape_block: "#7fbbb3" - shape_filepath: "#83c092" - shape_globpattern: "#83c092" - shape_variable: "#d699b6" - shape_flag: "#7fbbb3" - shape_custom: "#a7c080" - shape_nothing: "#83c092" +export def main [] { return { + separator: "#d3c6aa" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a7c080" attr: "b" } + empty: "#7fbbb3" + bool: {|| if $in { "#83c092" } else { "light_gray" } } + int: "#d3c6aa" + filesize: {|e| + if $e == 0b { + "#d3c6aa" + } else if $e < 1mb { + "#83c092" + } else {{ fg: "#7fbbb3" }} } -} + duration: "#d3c6aa" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e67e80" attr: "b" } + } else if $in < 6hr { + "#e67e80" + } else if $in < 1day { + "#dbbc7f" + } else if $in < 3day { + "#a7c080" + } else if $in < 1wk { + { fg: "#a7c080" attr: "b" } + } else if $in < 6wk { + "#83c092" + } else if $in < 52wk { + "#7fbbb3" + } else { "dark_gray" } + } + range: "#d3c6aa" + float: "#d3c6aa" + string: "#d3c6aa" + nothing: "#d3c6aa" + binary: "#d3c6aa" + cellpath: "#d3c6aa" + row_index: { fg: "#a7c080" attr: "b" } + record: "#d3c6aa" + list: "#d3c6aa" + block: "#d3c6aa" + hints: "dark_gray" + + shape_and: { fg: "#d699b6" attr: "b" } + shape_binary: { fg: "#d699b6" attr: "b" } + shape_block: { fg: "#7fbbb3" attr: "b" } + shape_bool: "#83c092" + shape_custom: "#a7c080" + shape_datetime: { fg: "#83c092" attr: "b" } + shape_directory: "#83c092" + shape_external: "#83c092" + shape_externalarg: { fg: "#a7c080" attr: "b" } + shape_filepath: "#83c092" + shape_flag: { fg: "#7fbbb3" attr: "b" } + shape_float: { fg: "#d699b6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#83c092" attr: "b" } + shape_int: { fg: "#d699b6" attr: "b" } + shape_internalcall: { fg: "#83c092" attr: "b" } + shape_list: { fg: "#83c092" attr: "b" } + shape_literal: "#7fbbb3" + shape_match_pattern: "#a7c080" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#83c092" + shape_operator: "#dbbc7f" + shape_or: { fg: "#d699b6" attr: "b" } + shape_pipe: { fg: "#d699b6" attr: "b" } + shape_range: { fg: "#dbbc7f" attr: "b" } + shape_record: { fg: "#83c092" attr: "b" } + shape_redirection: { fg: "#d699b6" attr: "b" } + shape_signature: { fg: "#a7c080" attr: "b" } + shape_string: "#a7c080" + shape_string_interpolation: { fg: "#83c092" attr: "b" } + shape_table: { fg: "#7fbbb3" attr: "b" } + shape_variable: "#d699b6" + + background: "#2f383e" + foreground: "#d3c6aa" + cursor: "#d3c6aa" +}} \ No newline at end of file diff --git a/themes/themes/falcon.nu b/themes/themes/falcon.nu index 9e21661..3426ffe 100644 --- a/themes/themes/falcon.nu +++ b/themes/themes/falcon.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the falcon theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#020221" - # foreground: "#b4b4b9" - # cursor: "#ffe8c0" - - { - # color for nushell primitives - separator: "#f8f8ff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b1bf75" - empty: "#635196" - bool: "#f8f8ff" - int: "#f8f8ff" - filesize: "#f8f8ff" - duration: "#f8f8ff" - date: "#f8f8ff" - range: "#f8f8ff" - float: "#f8f8ff" - string: "#f8f8ff" - nothing: "#f8f8ff" - binary: "#f8f8ff" - cellpath: "#f8f8ff" - row_index: "#b1bf75" - record: "#f8f8ff" - list: "#f8f8ff" - block: "#f8f8ff" - hints: "#020221" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ffb07b" - shape_bool: "#8bccbf" - shape_int: "#ffb07b" - shape_float: "#ffb07b" - shape_range: "#ffd392" - shape_internalcall: "#8bccbf" - shape_external: "#34bfa4" - shape_externalarg: "#b1bf75" - shape_literal: "#635196" - shape_operator: "#ffc552" - shape_signature: "#b1bf75" - shape_string: "#718e3f" - shape_string_interpolation: "#8bccbf" - shape_datetime: "#8bccbf" - shape_list: "#8bccbf" - shape_table: "#99a4bc" - shape_record: "#8bccbf" - shape_block: "#99a4bc" - shape_filepath: "#34bfa4" - shape_globpattern: "#8bccbf" - shape_variable: "#ff761a" - shape_flag: "#99a4bc" - shape_custom: "#718e3f" - shape_nothing: "#8bccbf" +export def main [] { return { + separator: "#b4b4b9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#718e3f" attr: "b" } + empty: "#635196" + bool: {|| if $in { "#8bccbf" } else { "light_gray" } } + int: "#b4b4b9" + filesize: {|e| + if $e == 0b { + "#b4b4b9" + } else if $e < 1mb { + "#34bfa4" + } else {{ fg: "#635196" }} } -} + duration: "#b4b4b9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff3600" attr: "b" } + } else if $in < 6hr { + "#ff3600" + } else if $in < 1day { + "#ffc552" + } else if $in < 3day { + "#718e3f" + } else if $in < 1wk { + { fg: "#718e3f" attr: "b" } + } else if $in < 6wk { + "#34bfa4" + } else if $in < 52wk { + "#635196" + } else { "dark_gray" } + } + range: "#b4b4b9" + float: "#b4b4b9" + string: "#b4b4b9" + nothing: "#b4b4b9" + binary: "#b4b4b9" + cellpath: "#b4b4b9" + row_index: { fg: "#718e3f" attr: "b" } + record: "#b4b4b9" + list: "#b4b4b9" + block: "#b4b4b9" + hints: "dark_gray" + + shape_and: { fg: "#ff761a" attr: "b" } + shape_binary: { fg: "#ff761a" attr: "b" } + shape_block: { fg: "#635196" attr: "b" } + shape_bool: "#8bccbf" + shape_custom: "#718e3f" + shape_datetime: { fg: "#34bfa4" attr: "b" } + shape_directory: "#34bfa4" + shape_external: "#34bfa4" + shape_externalarg: { fg: "#718e3f" attr: "b" } + shape_filepath: "#34bfa4" + shape_flag: { fg: "#635196" attr: "b" } + shape_float: { fg: "#ff761a" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#34bfa4" attr: "b" } + shape_int: { fg: "#ff761a" attr: "b" } + shape_internalcall: { fg: "#34bfa4" attr: "b" } + shape_list: { fg: "#34bfa4" attr: "b" } + shape_literal: "#635196" + shape_match_pattern: "#718e3f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8bccbf" + shape_operator: "#ffc552" + shape_or: { fg: "#ff761a" attr: "b" } + shape_pipe: { fg: "#ff761a" attr: "b" } + shape_range: { fg: "#ffc552" attr: "b" } + shape_record: { fg: "#34bfa4" attr: "b" } + shape_redirection: { fg: "#ff761a" attr: "b" } + shape_signature: { fg: "#718e3f" attr: "b" } + shape_string: "#718e3f" + shape_string_interpolation: { fg: "#34bfa4" attr: "b" } + shape_table: { fg: "#635196" attr: "b" } + shape_variable: "#ff761a" + + background: "#020221" + foreground: "#b4b4b9" + cursor: "#ffe8c0" +}} \ No newline at end of file diff --git a/themes/themes/farin.nu b/themes/themes/farin.nu index 776800b..8eb9c57 100644 --- a/themes/themes/farin.nu +++ b/themes/themes/farin.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the farin theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1e1e1e" - # foreground: "#aaaaaa" - # cursor: "#aaaaaa" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#44ff88" - empty: "#1155ff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#44ff88" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#666666" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#dd66ff" - shape_bool: "#66ffdd" - shape_int: "#dd66ff" - shape_float: "#dd66ff" - shape_range: "#ffdd66" - shape_internalcall: "#66ffdd" - shape_external: "#00ffbb" - shape_externalarg: "#44ff88" - shape_literal: "#1155ff" - shape_operator: "#ffbb33" - shape_signature: "#44ff88" - shape_string: "#11ff55" - shape_string_interpolation: "#66ffdd" - shape_datetime: "#66ffdd" - shape_list: "#66ffdd" - shape_table: "#4488ff" - shape_record: "#66ffdd" - shape_block: "#4488ff" - shape_filepath: "#00ffbb" - shape_globpattern: "#66ffdd" - shape_variable: "#ed53c9" - shape_flag: "#4488ff" - shape_custom: "#11ff55" - shape_nothing: "#66ffdd" +export def main [] { return { + separator: "#cccccc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#11ff55" attr: "b" } + empty: "#1155ff" + bool: {|| if $in { "#66ffdd" } else { "light_gray" } } + int: "#cccccc" + filesize: {|e| + if $e == 0b { + "#cccccc" + } else if $e < 1mb { + "#00ffbb" + } else {{ fg: "#1155ff" }} } -} + duration: "#cccccc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff1155" attr: "b" } + } else if $in < 6hr { + "#ff1155" + } else if $in < 1day { + "#ffbb33" + } else if $in < 3day { + "#11ff55" + } else if $in < 1wk { + { fg: "#11ff55" attr: "b" } + } else if $in < 6wk { + "#00ffbb" + } else if $in < 52wk { + "#1155ff" + } else { "dark_gray" } + } + range: "#cccccc" + float: "#cccccc" + string: "#cccccc" + nothing: "#cccccc" + binary: "#cccccc" + cellpath: "#cccccc" + row_index: { fg: "#11ff55" attr: "b" } + record: "#cccccc" + list: "#cccccc" + block: "#cccccc" + hints: "dark_gray" + + shape_and: { fg: "#ed53c9" attr: "b" } + shape_binary: { fg: "#ed53c9" attr: "b" } + shape_block: { fg: "#1155ff" attr: "b" } + shape_bool: "#66ffdd" + shape_custom: "#11ff55" + shape_datetime: { fg: "#00ffbb" attr: "b" } + shape_directory: "#00ffbb" + shape_external: "#00ffbb" + shape_externalarg: { fg: "#11ff55" attr: "b" } + shape_filepath: "#00ffbb" + shape_flag: { fg: "#1155ff" attr: "b" } + shape_float: { fg: "#ed53c9" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00ffbb" attr: "b" } + shape_int: { fg: "#ed53c9" attr: "b" } + shape_internalcall: { fg: "#00ffbb" attr: "b" } + shape_list: { fg: "#00ffbb" attr: "b" } + shape_literal: "#1155ff" + shape_match_pattern: "#11ff55" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#66ffdd" + shape_operator: "#ffbb33" + shape_or: { fg: "#ed53c9" attr: "b" } + shape_pipe: { fg: "#ed53c9" attr: "b" } + shape_range: { fg: "#ffbb33" attr: "b" } + shape_record: { fg: "#00ffbb" attr: "b" } + shape_redirection: { fg: "#ed53c9" attr: "b" } + shape_signature: { fg: "#11ff55" attr: "b" } + shape_string: "#11ff55" + shape_string_interpolation: { fg: "#00ffbb" attr: "b" } + shape_table: { fg: "#1155ff" attr: "b" } + shape_variable: "#ed53c9" + + background: "#1e1e1e" + foreground: "#aaaaaa" + cursor: "#aaaaaa" +}} \ No newline at end of file diff --git a/themes/themes/ffive.nu b/themes/themes/ffive.nu index b89f96e..0f5a91e 100644 --- a/themes/themes/ffive.nu +++ b/themes/themes/ffive.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ffive theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d1e20" - # foreground: "#dadadb" - # cursor: "#dadadb" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#56d369" - empty: "#356abf" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#56d369" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#565656" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c04fcf" - shape_bool: "#6dd8d8" - shape_int: "#c04fcf" - shape_float: "#c04fcf" - shape_range: "#ffff24" - shape_internalcall: "#6dd8d8" - shape_external: "#54cece" - shape_externalarg: "#56d369" - shape_literal: "#356abf" - shape_operator: "#f8f800" - shape_signature: "#56d369" - shape_string: "#32bf46" - shape_string_interpolation: "#6dd8d8" - shape_datetime: "#6dd8d8" - shape_list: "#6dd8d8" - shape_table: "#5b89d2" - shape_record: "#6dd8d8" - shape_block: "#5b89d2" - shape_filepath: "#54cece" - shape_globpattern: "#6dd8d8" - shape_variable: "#b035c0" - shape_flag: "#5b89d2" - shape_custom: "#32bf46" - shape_nothing: "#6dd8d8" +export def main [] { return { + separator: "#dadadb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#32bf46" attr: "b" } + empty: "#356abf" + bool: {|| if $in { "#6dd8d8" } else { "light_gray" } } + int: "#dadadb" + filesize: {|e| + if $e == 0b { + "#dadadb" + } else if $e < 1mb { + "#54cece" + } else {{ fg: "#356abf" }} } -} + duration: "#dadadb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ea2639" attr: "b" } + } else if $in < 6hr { + "#ea2639" + } else if $in < 1day { + "#f8f800" + } else if $in < 3day { + "#32bf46" + } else if $in < 1wk { + { fg: "#32bf46" attr: "b" } + } else if $in < 6wk { + "#54cece" + } else if $in < 52wk { + "#356abf" + } else { "dark_gray" } + } + range: "#dadadb" + float: "#dadadb" + string: "#dadadb" + nothing: "#dadadb" + binary: "#dadadb" + cellpath: "#dadadb" + row_index: { fg: "#32bf46" attr: "b" } + record: "#dadadb" + list: "#dadadb" + block: "#dadadb" + hints: "dark_gray" + + shape_and: { fg: "#b035c0" attr: "b" } + shape_binary: { fg: "#b035c0" attr: "b" } + shape_block: { fg: "#356abf" attr: "b" } + shape_bool: "#6dd8d8" + shape_custom: "#32bf46" + shape_datetime: { fg: "#54cece" attr: "b" } + shape_directory: "#54cece" + shape_external: "#54cece" + shape_externalarg: { fg: "#32bf46" attr: "b" } + shape_filepath: "#54cece" + shape_flag: { fg: "#356abf" attr: "b" } + shape_float: { fg: "#b035c0" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#54cece" attr: "b" } + shape_int: { fg: "#b035c0" attr: "b" } + shape_internalcall: { fg: "#54cece" attr: "b" } + shape_list: { fg: "#54cece" attr: "b" } + shape_literal: "#356abf" + shape_match_pattern: "#32bf46" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#6dd8d8" + shape_operator: "#f8f800" + shape_or: { fg: "#b035c0" attr: "b" } + shape_pipe: { fg: "#b035c0" attr: "b" } + shape_range: { fg: "#f8f800" attr: "b" } + shape_record: { fg: "#54cece" attr: "b" } + shape_redirection: { fg: "#b035c0" attr: "b" } + shape_signature: { fg: "#32bf46" attr: "b" } + shape_string: "#32bf46" + shape_string_interpolation: { fg: "#54cece" attr: "b" } + shape_table: { fg: "#356abf" attr: "b" } + shape_variable: "#b035c0" + + background: "#1d1e20" + foreground: "#dadadb" + cursor: "#dadadb" +}} \ No newline at end of file diff --git a/themes/themes/fideloper.nu b/themes/themes/fideloper.nu index 289f759..879922a 100644 --- a/themes/themes/fideloper.nu +++ b/themes/themes/fideloper.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the fideloper theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282f32" - # foreground: "#dad9df" - # cursor: "#d35f5a" - - { - # color for nushell primitives - separator: "#fcf4de" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#d35f5a" - empty: "#2e78c1" - bool: "#fcf4de" - int: "#fcf4de" - filesize: "#fcf4de" - duration: "#fcf4de" - date: "#fcf4de" - range: "#fcf4de" - float: "#fcf4de" - string: "#fcf4de" - nothing: "#fcf4de" - binary: "#fcf4de" - cellpath: "#fcf4de" - row_index: "#d35f5a" - record: "#fcf4de" - list: "#fcf4de" - block: "#fcf4de" - hints: "#092027" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#5b5db2" - shape_bool: "#81908f" - shape_int: "#5b5db2" - shape_float: "#5b5db2" - shape_range: "#a86571" - shape_internalcall: "#81908f" - shape_external: "#309185" - shape_externalarg: "#d35f5a" - shape_literal: "#2e78c1" - shape_operator: "#b7aa9a" - shape_signature: "#d35f5a" - shape_string: "#edb7ab" - shape_string_interpolation: "#81908f" - shape_datetime: "#81908f" - shape_list: "#81908f" - shape_table: "#7c84c4" - shape_record: "#81908f" - shape_block: "#7c84c4" - shape_filepath: "#309185" - shape_globpattern: "#81908f" - shape_variable: "#c0226e" - shape_flag: "#7c84c4" - shape_custom: "#edb7ab" - shape_nothing: "#81908f" +export def main [] { return { + separator: "#e9e2cd" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#edb7ab" attr: "b" } + empty: "#2e78c1" + bool: {|| if $in { "#81908f" } else { "light_gray" } } + int: "#e9e2cd" + filesize: {|e| + if $e == 0b { + "#e9e2cd" + } else if $e < 1mb { + "#309185" + } else {{ fg: "#2e78c1" }} } -} + duration: "#e9e2cd" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ca1d2c" attr: "b" } + } else if $in < 6hr { + "#ca1d2c" + } else if $in < 1day { + "#b7aa9a" + } else if $in < 3day { + "#edb7ab" + } else if $in < 1wk { + { fg: "#edb7ab" attr: "b" } + } else if $in < 6wk { + "#309185" + } else if $in < 52wk { + "#2e78c1" + } else { "dark_gray" } + } + range: "#e9e2cd" + float: "#e9e2cd" + string: "#e9e2cd" + nothing: "#e9e2cd" + binary: "#e9e2cd" + cellpath: "#e9e2cd" + row_index: { fg: "#edb7ab" attr: "b" } + record: "#e9e2cd" + list: "#e9e2cd" + block: "#e9e2cd" + hints: "dark_gray" + + shape_and: { fg: "#c0226e" attr: "b" } + shape_binary: { fg: "#c0226e" attr: "b" } + shape_block: { fg: "#2e78c1" attr: "b" } + shape_bool: "#81908f" + shape_custom: "#edb7ab" + shape_datetime: { fg: "#309185" attr: "b" } + shape_directory: "#309185" + shape_external: "#309185" + shape_externalarg: { fg: "#edb7ab" attr: "b" } + shape_filepath: "#309185" + shape_flag: { fg: "#2e78c1" attr: "b" } + shape_float: { fg: "#c0226e" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#309185" attr: "b" } + shape_int: { fg: "#c0226e" attr: "b" } + shape_internalcall: { fg: "#309185" attr: "b" } + shape_list: { fg: "#309185" attr: "b" } + shape_literal: "#2e78c1" + shape_match_pattern: "#edb7ab" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#81908f" + shape_operator: "#b7aa9a" + shape_or: { fg: "#c0226e" attr: "b" } + shape_pipe: { fg: "#c0226e" attr: "b" } + shape_range: { fg: "#b7aa9a" attr: "b" } + shape_record: { fg: "#309185" attr: "b" } + shape_redirection: { fg: "#c0226e" attr: "b" } + shape_signature: { fg: "#edb7ab" attr: "b" } + shape_string: "#edb7ab" + shape_string_interpolation: { fg: "#309185" attr: "b" } + shape_table: { fg: "#2e78c1" attr: "b" } + shape_variable: "#c0226e" + + background: "#282f32" + foreground: "#dad9df" + cursor: "#d35f5a" +}} \ No newline at end of file diff --git a/themes/themes/fishtank.nu b/themes/themes/fishtank.nu index 117ca9d..a411cab 100644 --- a/themes/themes/fishtank.nu +++ b/themes/themes/fishtank.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the fishtank theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#232537" - # foreground: "#ecf0fe" - # cursor: "#ecf0fe" - - { - # color for nushell primitives - separator: "#f6ffec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#dbffa9" - empty: "#525fb8" - bool: "#f6ffec" - int: "#f6ffec" - filesize: "#f6ffec" - duration: "#f6ffec" - date: "#f6ffec" - range: "#f6ffec" - float: "#f6ffec" - string: "#f6ffec" - nothing: "#f6ffec" - binary: "#f6ffec" - cellpath: "#f6ffec" - row_index: "#dbffa9" - record: "#f6ffec" - list: "#f6ffec" - block: "#f6ffec" - hints: "#6c5b30" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fda5cd" - shape_bool: "#a5bd86" - shape_int: "#fda5cd" - shape_float: "#fda5cd" - shape_range: "#fee6a9" - shape_internalcall: "#a5bd86" - shape_external: "#968763" - shape_externalarg: "#dbffa9" - shape_literal: "#525fb8" - shape_operator: "#fecd5e" - shape_signature: "#dbffa9" - shape_string: "#acf157" - shape_string_interpolation: "#a5bd86" - shape_datetime: "#a5bd86" - shape_list: "#a5bd86" - shape_table: "#b2befa" - shape_record: "#a5bd86" - shape_block: "#b2befa" - shape_filepath: "#968763" - shape_globpattern: "#a5bd86" - shape_variable: "#986f82" - shape_flag: "#b2befa" - shape_custom: "#acf157" - shape_nothing: "#a5bd86" +export def main [] { return { + separator: "#ecf0fc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#acf157" attr: "b" } + empty: "#525fb8" + bool: {|| if $in { "#a5bd86" } else { "light_gray" } } + int: "#ecf0fc" + filesize: {|e| + if $e == 0b { + "#ecf0fc" + } else if $e < 1mb { + "#968763" + } else {{ fg: "#525fb8" }} } -} + duration: "#ecf0fc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c6004a" attr: "b" } + } else if $in < 6hr { + "#c6004a" + } else if $in < 1day { + "#fecd5e" + } else if $in < 3day { + "#acf157" + } else if $in < 1wk { + { fg: "#acf157" attr: "b" } + } else if $in < 6wk { + "#968763" + } else if $in < 52wk { + "#525fb8" + } else { "dark_gray" } + } + range: "#ecf0fc" + float: "#ecf0fc" + string: "#ecf0fc" + nothing: "#ecf0fc" + binary: "#ecf0fc" + cellpath: "#ecf0fc" + row_index: { fg: "#acf157" attr: "b" } + record: "#ecf0fc" + list: "#ecf0fc" + block: "#ecf0fc" + hints: "dark_gray" + + shape_and: { fg: "#986f82" attr: "b" } + shape_binary: { fg: "#986f82" attr: "b" } + shape_block: { fg: "#525fb8" attr: "b" } + shape_bool: "#a5bd86" + shape_custom: "#acf157" + shape_datetime: { fg: "#968763" attr: "b" } + shape_directory: "#968763" + shape_external: "#968763" + shape_externalarg: { fg: "#acf157" attr: "b" } + shape_filepath: "#968763" + shape_flag: { fg: "#525fb8" attr: "b" } + shape_float: { fg: "#986f82" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#968763" attr: "b" } + shape_int: { fg: "#986f82" attr: "b" } + shape_internalcall: { fg: "#968763" attr: "b" } + shape_list: { fg: "#968763" attr: "b" } + shape_literal: "#525fb8" + shape_match_pattern: "#acf157" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#a5bd86" + shape_operator: "#fecd5e" + shape_or: { fg: "#986f82" attr: "b" } + shape_pipe: { fg: "#986f82" attr: "b" } + shape_range: { fg: "#fecd5e" attr: "b" } + shape_record: { fg: "#968763" attr: "b" } + shape_redirection: { fg: "#986f82" attr: "b" } + shape_signature: { fg: "#acf157" attr: "b" } + shape_string: "#acf157" + shape_string_interpolation: { fg: "#968763" attr: "b" } + shape_table: { fg: "#525fb8" attr: "b" } + shape_variable: "#986f82" + + background: "#232537" + foreground: "#ecf0fe" + cursor: "#ecf0fe" +}} \ No newline at end of file diff --git a/themes/themes/flat.nu b/themes/themes/flat.nu index 60aa0c7..92f9a44 100644 --- a/themes/themes/flat.nu +++ b/themes/themes/flat.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the flat theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2c3e50" - # foreground: "#e0e0e0" - # cursor: "#e0e0e0" - - { - # color for nushell primitives - separator: "#ecf0f1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#2ecc71" - empty: "#3498db" - bool: "#ecf0f1" - int: "#ecf0f1" - filesize: "#ecf0f1" - duration: "#ecf0f1" - date: "#ecf0f1" - range: "#ecf0f1" - float: "#ecf0f1" - string: "#ecf0f1" - nothing: "#ecf0f1" - binary: "#ecf0f1" - cellpath: "#ecf0f1" - row_index: "#2ecc71" - record: "#ecf0f1" - list: "#ecf0f1" - block: "#ecf0f1" - hints: "#95a5a6" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9b59b6" - shape_bool: "#1abc9c" - shape_int: "#9b59b6" - shape_float: "#9b59b6" - shape_range: "#f1c40f" - shape_internalcall: "#1abc9c" - shape_external: "#1abc9c" - shape_externalarg: "#2ecc71" - shape_literal: "#3498db" - shape_operator: "#f1c40f" - shape_signature: "#2ecc71" - shape_string: "#2ecc71" - shape_string_interpolation: "#1abc9c" - shape_datetime: "#1abc9c" - shape_list: "#1abc9c" - shape_table: "#3498db" - shape_record: "#1abc9c" - shape_block: "#3498db" - shape_filepath: "#1abc9c" - shape_globpattern: "#1abc9c" - shape_variable: "#9b59b6" - shape_flag: "#3498db" - shape_custom: "#2ecc71" - shape_nothing: "#1abc9c" +export def main [] { return { + separator: "#e0e0e0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#2ecc71" attr: "b" } + empty: "#3498db" + bool: {|| if $in { "#1abc9c" } else { "light_gray" } } + int: "#e0e0e0" + filesize: {|e| + if $e == 0b { + "#e0e0e0" + } else if $e < 1mb { + "#1abc9c" + } else {{ fg: "#3498db" }} } -} + duration: "#e0e0e0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e74c3c" attr: "b" } + } else if $in < 6hr { + "#e74c3c" + } else if $in < 1day { + "#f1c40f" + } else if $in < 3day { + "#2ecc71" + } else if $in < 1wk { + { fg: "#2ecc71" attr: "b" } + } else if $in < 6wk { + "#1abc9c" + } else if $in < 52wk { + "#3498db" + } else { "dark_gray" } + } + range: "#e0e0e0" + float: "#e0e0e0" + string: "#e0e0e0" + nothing: "#e0e0e0" + binary: "#e0e0e0" + cellpath: "#e0e0e0" + row_index: { fg: "#2ecc71" attr: "b" } + record: "#e0e0e0" + list: "#e0e0e0" + block: "#e0e0e0" + hints: "dark_gray" + + shape_and: { fg: "#9b59b6" attr: "b" } + shape_binary: { fg: "#9b59b6" attr: "b" } + shape_block: { fg: "#3498db" attr: "b" } + shape_bool: "#1abc9c" + shape_custom: "#2ecc71" + shape_datetime: { fg: "#1abc9c" attr: "b" } + shape_directory: "#1abc9c" + shape_external: "#1abc9c" + shape_externalarg: { fg: "#2ecc71" attr: "b" } + shape_filepath: "#1abc9c" + shape_flag: { fg: "#3498db" attr: "b" } + shape_float: { fg: "#9b59b6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1abc9c" attr: "b" } + shape_int: { fg: "#9b59b6" attr: "b" } + shape_internalcall: { fg: "#1abc9c" attr: "b" } + shape_list: { fg: "#1abc9c" attr: "b" } + shape_literal: "#3498db" + shape_match_pattern: "#2ecc71" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1abc9c" + shape_operator: "#f1c40f" + shape_or: { fg: "#9b59b6" attr: "b" } + shape_pipe: { fg: "#9b59b6" attr: "b" } + shape_range: { fg: "#f1c40f" attr: "b" } + shape_record: { fg: "#1abc9c" attr: "b" } + shape_redirection: { fg: "#9b59b6" attr: "b" } + shape_signature: { fg: "#2ecc71" attr: "b" } + shape_string: "#2ecc71" + shape_string_interpolation: { fg: "#1abc9c" attr: "b" } + shape_table: { fg: "#3498db" attr: "b" } + shape_variable: "#9b59b6" + + background: "#2c3e50" + foreground: "#e0e0e0" + cursor: "#e0e0e0" +}} \ No newline at end of file diff --git a/themes/themes/flatland.nu b/themes/themes/flatland.nu index 83d4fa8..8e7a032 100644 --- a/themes/themes/flatland.nu +++ b/themes/themes/flatland.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the flatland theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d1f21" - # foreground: "#b8dbef" - # cursor: "#b8dbef" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a7d42c" - empty: "#5096be" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#a7d42c" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#1d1d19" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#695abc" - shape_bool: "#d63865" - shape_int: "#695abc" - shape_float: "#695abc" - shape_range: "#ff8949" - shape_internalcall: "#d63865" - shape_external: "#d63865" - shape_externalarg: "#a7d42c" - shape_literal: "#5096be" - shape_operator: "#f4ef6d" - shape_signature: "#a7d42c" - shape_string: "#9fd364" - shape_string_interpolation: "#d63865" - shape_datetime: "#d63865" - shape_list: "#d63865" - shape_table: "#61b9d0" - shape_record: "#d63865" - shape_block: "#61b9d0" - shape_filepath: "#d63865" - shape_globpattern: "#d63865" - shape_variable: "#695abc" - shape_flag: "#61b9d0" - shape_custom: "#9fd364" - shape_nothing: "#d63865" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#9fd364" attr: "b" } + empty: "#5096be" + bool: {|| if $in { "#d63865" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#d63865" + } else {{ fg: "#5096be" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f18339" attr: "b" } + } else if $in < 6hr { + "#f18339" + } else if $in < 1day { + "#f4ef6d" + } else if $in < 3day { + "#9fd364" + } else if $in < 1wk { + { fg: "#9fd364" attr: "b" } + } else if $in < 6wk { + "#d63865" + } else if $in < 52wk { + "#5096be" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#9fd364" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#695abc" attr: "b" } + shape_binary: { fg: "#695abc" attr: "b" } + shape_block: { fg: "#5096be" attr: "b" } + shape_bool: "#d63865" + shape_custom: "#9fd364" + shape_datetime: { fg: "#d63865" attr: "b" } + shape_directory: "#d63865" + shape_external: "#d63865" + shape_externalarg: { fg: "#9fd364" attr: "b" } + shape_filepath: "#d63865" + shape_flag: { fg: "#5096be" attr: "b" } + shape_float: { fg: "#695abc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#d63865" attr: "b" } + shape_int: { fg: "#695abc" attr: "b" } + shape_internalcall: { fg: "#d63865" attr: "b" } + shape_list: { fg: "#d63865" attr: "b" } + shape_literal: "#5096be" + shape_match_pattern: "#9fd364" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#d63865" + shape_operator: "#f4ef6d" + shape_or: { fg: "#695abc" attr: "b" } + shape_pipe: { fg: "#695abc" attr: "b" } + shape_range: { fg: "#f4ef6d" attr: "b" } + shape_record: { fg: "#d63865" attr: "b" } + shape_redirection: { fg: "#695abc" attr: "b" } + shape_signature: { fg: "#9fd364" attr: "b" } + shape_string: "#9fd364" + shape_string_interpolation: { fg: "#d63865" attr: "b" } + shape_table: { fg: "#5096be" attr: "b" } + shape_variable: "#695abc" + + background: "#1d1f21" + foreground: "#b8dbef" + cursor: "#b8dbef" +}} \ No newline at end of file diff --git a/themes/themes/floraverse.nu b/themes/themes/floraverse.nu index 4abdf37..3dc624e 100644 --- a/themes/themes/floraverse.nu +++ b/themes/themes/floraverse.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the floraverse theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0e0c15" - # foreground: "#dbd0b9" - # cursor: "#bbbbbb" - - { - # color for nushell primitives - separator: "#fff5db" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b3ce58" - empty: "#1d6da1" - bool: "#fff5db" - int: "#fff5db" - filesize: "#fff5db" - duration: "#fff5db" - date: "#fff5db" - range: "#fff5db" - float: "#fff5db" - string: "#fff5db" - nothing: "#fff5db" - binary: "#fff5db" - cellpath: "#fff5db" - row_index: "#b3ce58" - record: "#fff5db" - list: "#fff5db" - block: "#fff5db" - hints: "#331d4c" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#f02aae" - shape_bool: "#62caa8" - shape_int: "#f02aae" - shape_float: "#f02aae" - shape_range: "#fac357" - shape_internalcall: "#62caa8" - shape_external: "#42a38c" - shape_externalarg: "#b3ce58" - shape_literal: "#1d6da1" - shape_operator: "#cd751c" - shape_signature: "#b3ce58" - shape_string: "#5d731a" - shape_string_interpolation: "#62caa8" - shape_datetime: "#62caa8" - shape_list: "#62caa8" - shape_table: "#40a4cf" - shape_record: "#62caa8" - shape_block: "#40a4cf" - shape_filepath: "#42a38c" - shape_globpattern: "#62caa8" - shape_variable: "#b7077e" - shape_flag: "#40a4cf" - shape_custom: "#5d731a" - shape_nothing: "#62caa8" +export def main [] { return { + separator: "#f3e0b8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#5d731a" attr: "b" } + empty: "#1d6da1" + bool: {|| if $in { "#62caa8" } else { "light_gray" } } + int: "#f3e0b8" + filesize: {|e| + if $e == 0b { + "#f3e0b8" + } else if $e < 1mb { + "#42a38c" + } else {{ fg: "#1d6da1" }} } -} + duration: "#f3e0b8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#64002c" attr: "b" } + } else if $in < 6hr { + "#64002c" + } else if $in < 1day { + "#cd751c" + } else if $in < 3day { + "#5d731a" + } else if $in < 1wk { + { fg: "#5d731a" attr: "b" } + } else if $in < 6wk { + "#42a38c" + } else if $in < 52wk { + "#1d6da1" + } else { "dark_gray" } + } + range: "#f3e0b8" + float: "#f3e0b8" + string: "#f3e0b8" + nothing: "#f3e0b8" + binary: "#f3e0b8" + cellpath: "#f3e0b8" + row_index: { fg: "#5d731a" attr: "b" } + record: "#f3e0b8" + list: "#f3e0b8" + block: "#f3e0b8" + hints: "dark_gray" + + shape_and: { fg: "#b7077e" attr: "b" } + shape_binary: { fg: "#b7077e" attr: "b" } + shape_block: { fg: "#1d6da1" attr: "b" } + shape_bool: "#62caa8" + shape_custom: "#5d731a" + shape_datetime: { fg: "#42a38c" attr: "b" } + shape_directory: "#42a38c" + shape_external: "#42a38c" + shape_externalarg: { fg: "#5d731a" attr: "b" } + shape_filepath: "#42a38c" + shape_flag: { fg: "#1d6da1" attr: "b" } + shape_float: { fg: "#b7077e" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#42a38c" attr: "b" } + shape_int: { fg: "#b7077e" attr: "b" } + shape_internalcall: { fg: "#42a38c" attr: "b" } + shape_list: { fg: "#42a38c" attr: "b" } + shape_literal: "#1d6da1" + shape_match_pattern: "#5d731a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#62caa8" + shape_operator: "#cd751c" + shape_or: { fg: "#b7077e" attr: "b" } + shape_pipe: { fg: "#b7077e" attr: "b" } + shape_range: { fg: "#cd751c" attr: "b" } + shape_record: { fg: "#42a38c" attr: "b" } + shape_redirection: { fg: "#b7077e" attr: "b" } + shape_signature: { fg: "#5d731a" attr: "b" } + shape_string: "#5d731a" + shape_string_interpolation: { fg: "#42a38c" attr: "b" } + shape_table: { fg: "#1d6da1" attr: "b" } + shape_variable: "#b7077e" + + background: "#0e0c15" + foreground: "#dbd0b9" + cursor: "#bbbbbb" +}} \ No newline at end of file diff --git a/themes/themes/forest-night.nu b/themes/themes/forest-night.nu index fba003b..631767a 100644 --- a/themes/themes/forest-night.nu +++ b/themes/themes/forest-night.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the forest_night theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#3c4c55" - # foreground: "#ffebc3" - # cursor: "#ffebc3" - - { - # color for nushell primitives - separator: "#ffebc3" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a9dd9d" - empty: "#bdd0e5" - bool: "#ffebc3" - int: "#ffebc3" - filesize: "#ffebc3" - duration: "#ffebc3" - date: "#ffebc3" - range: "#ffebc3" - float: "#ffebc3" - string: "#ffebc3" - nothing: "#ffebc3" - binary: "#ffebc3" - cellpath: "#ffebc3" - row_index: "#a9dd9d" - record: "#ffebc3" - list: "#ffebc3" - block: "#ffebc3" - hints: "#7f8f9f" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#daccf0" - shape_bool: "#a9dd9d" - shape_int: "#daccf0" - shape_float: "#daccf0" - shape_range: "#eed094" - shape_internalcall: "#a9dd9d" - shape_external: "#a9dd9d" - shape_externalarg: "#a9dd9d" - shape_literal: "#bdd0e5" - shape_operator: "#f0aa8a" - shape_signature: "#a9dd9d" - shape_string: "#a9dd9d" - shape_string_interpolation: "#a9dd9d" - shape_datetime: "#a9dd9d" - shape_list: "#a9dd9d" - shape_table: "#bdd0e5" - shape_record: "#a9dd9d" - shape_block: "#bdd0e5" - shape_filepath: "#a9dd9d" - shape_globpattern: "#a9dd9d" - shape_variable: "#daccf0" - shape_flag: "#bdd0e5" - shape_custom: "#a9dd9d" - shape_nothing: "#a9dd9d" +export def main [] { return { + separator: "#ffebc3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a9dd9d" attr: "b" } + empty: "#bdd0e5" + bool: {|| if $in { "#a9dd9d" } else { "light_gray" } } + int: "#ffebc3" + filesize: {|e| + if $e == 0b { + "#ffebc3" + } else if $e < 1mb { + "#a9dd9d" + } else {{ fg: "#bdd0e5" }} } -} + duration: "#ffebc3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fd8489" attr: "b" } + } else if $in < 6hr { + "#fd8489" + } else if $in < 1day { + "#f0aa8a" + } else if $in < 3day { + "#a9dd9d" + } else if $in < 1wk { + { fg: "#a9dd9d" attr: "b" } + } else if $in < 6wk { + "#a9dd9d" + } else if $in < 52wk { + "#bdd0e5" + } else { "dark_gray" } + } + range: "#ffebc3" + float: "#ffebc3" + string: "#ffebc3" + nothing: "#ffebc3" + binary: "#ffebc3" + cellpath: "#ffebc3" + row_index: { fg: "#a9dd9d" attr: "b" } + record: "#ffebc3" + list: "#ffebc3" + block: "#ffebc3" + hints: "dark_gray" + + shape_and: { fg: "#daccf0" attr: "b" } + shape_binary: { fg: "#daccf0" attr: "b" } + shape_block: { fg: "#bdd0e5" attr: "b" } + shape_bool: "#a9dd9d" + shape_custom: "#a9dd9d" + shape_datetime: { fg: "#a9dd9d" attr: "b" } + shape_directory: "#a9dd9d" + shape_external: "#a9dd9d" + shape_externalarg: { fg: "#a9dd9d" attr: "b" } + shape_filepath: "#a9dd9d" + shape_flag: { fg: "#bdd0e5" attr: "b" } + shape_float: { fg: "#daccf0" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#a9dd9d" attr: "b" } + shape_int: { fg: "#daccf0" attr: "b" } + shape_internalcall: { fg: "#a9dd9d" attr: "b" } + shape_list: { fg: "#a9dd9d" attr: "b" } + shape_literal: "#bdd0e5" + shape_match_pattern: "#a9dd9d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#a9dd9d" + shape_operator: "#f0aa8a" + shape_or: { fg: "#daccf0" attr: "b" } + shape_pipe: { fg: "#daccf0" attr: "b" } + shape_range: { fg: "#f0aa8a" attr: "b" } + shape_record: { fg: "#a9dd9d" attr: "b" } + shape_redirection: { fg: "#daccf0" attr: "b" } + shape_signature: { fg: "#a9dd9d" attr: "b" } + shape_string: "#a9dd9d" + shape_string_interpolation: { fg: "#a9dd9d" attr: "b" } + shape_table: { fg: "#bdd0e5" attr: "b" } + shape_variable: "#daccf0" + + background: "#3c4c55" + foreground: "#ffebc3" + cursor: "#ffebc3" +}} \ No newline at end of file diff --git a/themes/themes/foxnightly.nu b/themes/themes/foxnightly.nu index f282e6d..5200354 100644 --- a/themes/themes/foxnightly.nu +++ b/themes/themes/foxnightly.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the foxnightly theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2a2a2e" - # foreground: "#d7d7db" - # cursor: "#d7d7db" - - { - # color for nushell primitives - separator: "#5c3566" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#66a05b" - empty: "#66a05b" - bool: "#5c3566" - int: "#5c3566" - filesize: "#5c3566" - duration: "#5c3566" - date: "#5c3566" - range: "#5c3566" - float: "#5c3566" - string: "#5c3566" - nothing: "#5c3566" - binary: "#5c3566" - cellpath: "#5c3566" - row_index: "#66a05b" - record: "#5c3566" - list: "#5c3566" - block: "#5c3566" - hints: "#a40000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8f5902" - shape_bool: "#c4a000" - shape_int: "#8f5902" - shape_float: "#8f5902" - shape_range: "#ffb86c" - shape_internalcall: "#c4a000" - shape_external: "#acacae" - shape_externalarg: "#66a05b" - shape_literal: "#66a05b" - shape_operator: "#729fcf" - shape_signature: "#66a05b" - shape_string: "#ff7de9" - shape_string_interpolation: "#c4a000" - shape_datetime: "#c4a000" - shape_list: "#c4a000" - shape_table: "#729fcf" - shape_record: "#c4a000" - shape_block: "#729fcf" - shape_filepath: "#acacae" - shape_globpattern: "#c4a000" - shape_variable: "#75507b" - shape_flag: "#729fcf" - shape_custom: "#ff7de9" - shape_nothing: "#c4a000" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#ff7de9" attr: "b" } + empty: "#66a05b" + bool: {|| if $in { "#c4a000" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#acacae" + } else {{ fg: "#66a05b" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b98eff" attr: "b" } + } else if $in < 6hr { + "#b98eff" + } else if $in < 1day { + "#729fcf" + } else if $in < 3day { + "#ff7de9" + } else if $in < 1wk { + { fg: "#ff7de9" attr: "b" } + } else if $in < 6wk { + "#acacae" + } else if $in < 52wk { + "#66a05b" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#ff7de9" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#75507b" attr: "b" } + shape_binary: { fg: "#75507b" attr: "b" } + shape_block: { fg: "#66a05b" attr: "b" } + shape_bool: "#c4a000" + shape_custom: "#ff7de9" + shape_datetime: { fg: "#acacae" attr: "b" } + shape_directory: "#acacae" + shape_external: "#acacae" + shape_externalarg: { fg: "#ff7de9" attr: "b" } + shape_filepath: "#acacae" + shape_flag: { fg: "#66a05b" attr: "b" } + shape_float: { fg: "#75507b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#acacae" attr: "b" } + shape_int: { fg: "#75507b" attr: "b" } + shape_internalcall: { fg: "#acacae" attr: "b" } + shape_list: { fg: "#acacae" attr: "b" } + shape_literal: "#66a05b" + shape_match_pattern: "#ff7de9" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#c4a000" + shape_operator: "#729fcf" + shape_or: { fg: "#75507b" attr: "b" } + shape_pipe: { fg: "#75507b" attr: "b" } + shape_range: { fg: "#729fcf" attr: "b" } + shape_record: { fg: "#acacae" attr: "b" } + shape_redirection: { fg: "#75507b" attr: "b" } + shape_signature: { fg: "#ff7de9" attr: "b" } + shape_string: "#ff7de9" + shape_string_interpolation: { fg: "#acacae" attr: "b" } + shape_table: { fg: "#66a05b" attr: "b" } + shape_variable: "#75507b" + + background: "#2a2a2e" + foreground: "#d7d7db" + cursor: "#d7d7db" +}} \ No newline at end of file diff --git a/themes/themes/framer.nu b/themes/themes/framer.nu index 918c4a5..eaecae3 100644 --- a/themes/themes/framer.nu +++ b/themes/themes/framer.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the framer theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#181818" - # foreground: "#d0d0d0" - # cursor: "#d0d0d0" - - { - # color for nushell primitives - separator: "#eeeeee" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#32ccdc" - empty: "#20bcfc" - bool: "#eeeeee" - int: "#eeeeee" - filesize: "#eeeeee" - duration: "#eeeeee" - date: "#eeeeee" - range: "#eeeeee" - float: "#eeeeee" - string: "#eeeeee" - nothing: "#eeeeee" - binary: "#eeeeee" - cellpath: "#eeeeee" - row_index: "#32ccdc" - record: "#eeeeee" - list: "#eeeeee" - block: "#eeeeee" - hints: "#747474" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ba8cfc" - shape_bool: "#acddfd" - shape_int: "#ba8cfc" - shape_float: "#ba8cfc" - shape_range: "#fecb6e" - shape_internalcall: "#acddfd" - shape_external: "#acddfd" - shape_externalarg: "#32ccdc" - shape_literal: "#20bcfc" - shape_operator: "#fecb6e" - shape_signature: "#32ccdc" - shape_string: "#32ccdc" - shape_string_interpolation: "#acddfd" - shape_datetime: "#acddfd" - shape_list: "#acddfd" - shape_table: "#20bcfc" - shape_record: "#acddfd" - shape_block: "#20bcfc" - shape_filepath: "#acddfd" - shape_globpattern: "#acddfd" - shape_variable: "#ba8cfc" - shape_flag: "#20bcfc" - shape_custom: "#32ccdc" - shape_nothing: "#acddfd" +export def main [] { return { + separator: "#d0d0d0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#32ccdc" attr: "b" } + empty: "#20bcfc" + bool: {|| if $in { "#acddfd" } else { "light_gray" } } + int: "#d0d0d0" + filesize: {|e| + if $e == 0b { + "#d0d0d0" + } else if $e < 1mb { + "#acddfd" + } else {{ fg: "#20bcfc" }} } -} + duration: "#d0d0d0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fd886b" attr: "b" } + } else if $in < 6hr { + "#fd886b" + } else if $in < 1day { + "#fecb6e" + } else if $in < 3day { + "#32ccdc" + } else if $in < 1wk { + { fg: "#32ccdc" attr: "b" } + } else if $in < 6wk { + "#acddfd" + } else if $in < 52wk { + "#20bcfc" + } else { "dark_gray" } + } + range: "#d0d0d0" + float: "#d0d0d0" + string: "#d0d0d0" + nothing: "#d0d0d0" + binary: "#d0d0d0" + cellpath: "#d0d0d0" + row_index: { fg: "#32ccdc" attr: "b" } + record: "#d0d0d0" + list: "#d0d0d0" + block: "#d0d0d0" + hints: "dark_gray" + + shape_and: { fg: "#ba8cfc" attr: "b" } + shape_binary: { fg: "#ba8cfc" attr: "b" } + shape_block: { fg: "#20bcfc" attr: "b" } + shape_bool: "#acddfd" + shape_custom: "#32ccdc" + shape_datetime: { fg: "#acddfd" attr: "b" } + shape_directory: "#acddfd" + shape_external: "#acddfd" + shape_externalarg: { fg: "#32ccdc" attr: "b" } + shape_filepath: "#acddfd" + shape_flag: { fg: "#20bcfc" attr: "b" } + shape_float: { fg: "#ba8cfc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#acddfd" attr: "b" } + shape_int: { fg: "#ba8cfc" attr: "b" } + shape_internalcall: { fg: "#acddfd" attr: "b" } + shape_list: { fg: "#acddfd" attr: "b" } + shape_literal: "#20bcfc" + shape_match_pattern: "#32ccdc" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#acddfd" + shape_operator: "#fecb6e" + shape_or: { fg: "#ba8cfc" attr: "b" } + shape_pipe: { fg: "#ba8cfc" attr: "b" } + shape_range: { fg: "#fecb6e" attr: "b" } + shape_record: { fg: "#acddfd" attr: "b" } + shape_redirection: { fg: "#ba8cfc" attr: "b" } + shape_signature: { fg: "#32ccdc" attr: "b" } + shape_string: "#32ccdc" + shape_string_interpolation: { fg: "#acddfd" attr: "b" } + shape_table: { fg: "#20bcfc" attr: "b" } + shape_variable: "#ba8cfc" + + background: "#181818" + foreground: "#d0d0d0" + cursor: "#d0d0d0" +}} \ No newline at end of file diff --git a/themes/themes/freya.nu b/themes/themes/freya.nu index 3f011f4..c7a7f58 100644 --- a/themes/themes/freya.nu +++ b/themes/themes/freya.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the freya theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#252e32" - # foreground: "#94a3a5" - # cursor: "#839496" - - { - # color for nushell primitives - separator: "#6c71c4" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#859900" - empty: "#268bd2" - bool: "#6c71c4" - int: "#6c71c4" - filesize: "#6c71c4" - duration: "#6c71c4" - date: "#6c71c4" - range: "#6c71c4" - float: "#6c71c4" - string: "#6c71c4" - nothing: "#6c71c4" - binary: "#6c71c4" - cellpath: "#6c71c4" - row_index: "#859900" - record: "#6c71c4" - list: "#6c71c4" - block: "#6c71c4" - hints: "#586e75" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d33682" - shape_bool: "#2aa198" - shape_int: "#d33682" - shape_float: "#d33682" - shape_range: "#b58900" - shape_internalcall: "#2aa198" - shape_external: "#2aa198" - shape_externalarg: "#859900" - shape_literal: "#268bd2" - shape_operator: "#b58900" - shape_signature: "#859900" - shape_string: "#859900" - shape_string_interpolation: "#2aa198" - shape_datetime: "#2aa198" - shape_list: "#2aa198" - shape_table: "#268bd2" - shape_record: "#2aa198" - shape_block: "#268bd2" - shape_filepath: "#2aa198" - shape_globpattern: "#2aa198" - shape_variable: "#ec0048" - shape_flag: "#268bd2" - shape_custom: "#859900" - shape_nothing: "#2aa198" +export def main [] { return { + separator: "#94a3a5" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#859900" attr: "b" } + empty: "#268bd2" + bool: {|| if $in { "#2aa198" } else { "light_gray" } } + int: "#94a3a5" + filesize: {|e| + if $e == 0b { + "#94a3a5" + } else if $e < 1mb { + "#2aa198" + } else {{ fg: "#268bd2" }} } -} + duration: "#94a3a5" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#dc322f" attr: "b" } + } else if $in < 6hr { + "#dc322f" + } else if $in < 1day { + "#b58900" + } else if $in < 3day { + "#859900" + } else if $in < 1wk { + { fg: "#859900" attr: "b" } + } else if $in < 6wk { + "#2aa198" + } else if $in < 52wk { + "#268bd2" + } else { "dark_gray" } + } + range: "#94a3a5" + float: "#94a3a5" + string: "#94a3a5" + nothing: "#94a3a5" + binary: "#94a3a5" + cellpath: "#94a3a5" + row_index: { fg: "#859900" attr: "b" } + record: "#94a3a5" + list: "#94a3a5" + block: "#94a3a5" + hints: "dark_gray" + + shape_and: { fg: "#ec0048" attr: "b" } + shape_binary: { fg: "#ec0048" attr: "b" } + shape_block: { fg: "#268bd2" attr: "b" } + shape_bool: "#2aa198" + shape_custom: "#859900" + shape_datetime: { fg: "#2aa198" attr: "b" } + shape_directory: "#2aa198" + shape_external: "#2aa198" + shape_externalarg: { fg: "#859900" attr: "b" } + shape_filepath: "#2aa198" + shape_flag: { fg: "#268bd2" attr: "b" } + shape_float: { fg: "#ec0048" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2aa198" attr: "b" } + shape_int: { fg: "#ec0048" attr: "b" } + shape_internalcall: { fg: "#2aa198" attr: "b" } + shape_list: { fg: "#2aa198" attr: "b" } + shape_literal: "#268bd2" + shape_match_pattern: "#859900" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2aa198" + shape_operator: "#b58900" + shape_or: { fg: "#ec0048" attr: "b" } + shape_pipe: { fg: "#ec0048" attr: "b" } + shape_range: { fg: "#b58900" attr: "b" } + shape_record: { fg: "#2aa198" attr: "b" } + shape_redirection: { fg: "#ec0048" attr: "b" } + shape_signature: { fg: "#859900" attr: "b" } + shape_string: "#859900" + shape_string_interpolation: { fg: "#2aa198" attr: "b" } + shape_table: { fg: "#268bd2" attr: "b" } + shape_variable: "#ec0048" + + background: "#252e32" + foreground: "#94a3a5" + cursor: "#839496" +}} \ No newline at end of file diff --git a/themes/themes/frontend-delight.nu b/themes/themes/frontend-delight.nu index 2258494..fa47ed6 100644 --- a/themes/themes/frontend-delight.nu +++ b/themes/themes/frontend-delight.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the frontend_delight theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1b1c1d" - # foreground: "#adadad" - # cursor: "#adadad" - - { - # color for nushell primitives - separator: "#8c735b" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#74ec4c" - empty: "#2c70b7" - bool: "#8c735b" - int: "#8c735b" - filesize: "#8c735b" - duration: "#8c735b" - date: "#8c735b" - range: "#8c735b" - float: "#8c735b" - string: "#8c735b" - nothing: "#8c735b" - binary: "#8c735b" - cellpath: "#8c735b" - row_index: "#74ec4c" - record: "#8c735b" - list: "#8c735b" - block: "#8c735b" - hints: "#5fac6d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e75e4f" - shape_bool: "#4fbce6" - shape_int: "#e75e4f" - shape_float: "#e75e4f" - shape_range: "#fdc325" - shape_internalcall: "#4fbce6" - shape_external: "#3ca1a6" - shape_externalarg: "#74ec4c" - shape_literal: "#2c70b7" - shape_operator: "#fa771d" - shape_signature: "#74ec4c" - shape_string: "#565747" - shape_string_interpolation: "#4fbce6" - shape_datetime: "#4fbce6" - shape_list: "#4fbce6" - shape_table: "#3393ca" - shape_record: "#4fbce6" - shape_block: "#3393ca" - shape_filepath: "#3ca1a6" - shape_globpattern: "#4fbce6" - shape_variable: "#f02e4f" - shape_flag: "#3393ca" - shape_custom: "#565747" - shape_nothing: "#4fbce6" +export def main [] { return { + separator: "#adadad" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#565747" attr: "b" } + empty: "#2c70b7" + bool: {|| if $in { "#4fbce6" } else { "light_gray" } } + int: "#adadad" + filesize: {|e| + if $e == 0b { + "#adadad" + } else if $e < 1mb { + "#3ca1a6" + } else {{ fg: "#2c70b7" }} } -} + duration: "#adadad" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f8511b" attr: "b" } + } else if $in < 6hr { + "#f8511b" + } else if $in < 1day { + "#fa771d" + } else if $in < 3day { + "#565747" + } else if $in < 1wk { + { fg: "#565747" attr: "b" } + } else if $in < 6wk { + "#3ca1a6" + } else if $in < 52wk { + "#2c70b7" + } else { "dark_gray" } + } + range: "#adadad" + float: "#adadad" + string: "#adadad" + nothing: "#adadad" + binary: "#adadad" + cellpath: "#adadad" + row_index: { fg: "#565747" attr: "b" } + record: "#adadad" + list: "#adadad" + block: "#adadad" + hints: "dark_gray" + + shape_and: { fg: "#f02e4f" attr: "b" } + shape_binary: { fg: "#f02e4f" attr: "b" } + shape_block: { fg: "#2c70b7" attr: "b" } + shape_bool: "#4fbce6" + shape_custom: "#565747" + shape_datetime: { fg: "#3ca1a6" attr: "b" } + shape_directory: "#3ca1a6" + shape_external: "#3ca1a6" + shape_externalarg: { fg: "#565747" attr: "b" } + shape_filepath: "#3ca1a6" + shape_flag: { fg: "#2c70b7" attr: "b" } + shape_float: { fg: "#f02e4f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3ca1a6" attr: "b" } + shape_int: { fg: "#f02e4f" attr: "b" } + shape_internalcall: { fg: "#3ca1a6" attr: "b" } + shape_list: { fg: "#3ca1a6" attr: "b" } + shape_literal: "#2c70b7" + shape_match_pattern: "#565747" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4fbce6" + shape_operator: "#fa771d" + shape_or: { fg: "#f02e4f" attr: "b" } + shape_pipe: { fg: "#f02e4f" attr: "b" } + shape_range: { fg: "#fa771d" attr: "b" } + shape_record: { fg: "#3ca1a6" attr: "b" } + shape_redirection: { fg: "#f02e4f" attr: "b" } + shape_signature: { fg: "#565747" attr: "b" } + shape_string: "#565747" + shape_string_interpolation: { fg: "#3ca1a6" attr: "b" } + shape_table: { fg: "#2c70b7" attr: "b" } + shape_variable: "#f02e4f" + + background: "#1b1c1d" + foreground: "#adadad" + cursor: "#adadad" +}} \ No newline at end of file diff --git a/themes/themes/frontend-fun-forrest.nu b/themes/themes/frontend-fun-forrest.nu index 9f21205..2daaef4 100644 --- a/themes/themes/frontend-fun-forrest.nu +++ b/themes/themes/frontend-fun-forrest.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the frontend_fun-forrest theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#251200" - # foreground: "#dec165" - # cursor: "#dec165" - - { - # color for nushell primitives - separator: "#ffeaa3" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#bfc65a" - empty: "#4699a3" - bool: "#ffeaa3" - int: "#ffeaa3" - filesize: "#ffeaa3" - duration: "#ffeaa3" - date: "#ffeaa3" - range: "#ffeaa3" - float: "#ffeaa3" - string: "#ffeaa3" - nothing: "#ffeaa3" - binary: "#ffeaa3" - cellpath: "#ffeaa3" - row_index: "#bfc65a" - record: "#ffeaa3" - list: "#ffeaa3" - block: "#ffeaa3" - hints: "#7f6a55" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d26349" - shape_bool: "#e6a96b" - shape_int: "#d26349" - shape_float: "#d26349" - shape_range: "#ffcb1b" - shape_internalcall: "#e6a96b" - shape_external: "#da8213" - shape_externalarg: "#bfc65a" - shape_literal: "#4699a3" - shape_operator: "#be8a13" - shape_signature: "#bfc65a" - shape_string: "#919c00" - shape_string_interpolation: "#e6a96b" - shape_datetime: "#e6a96b" - shape_list: "#e6a96b" - shape_table: "#7cc9cf" - shape_record: "#e6a96b" - shape_block: "#7cc9cf" - shape_filepath: "#da8213" - shape_globpattern: "#e6a96b" - shape_variable: "#8d4331" - shape_flag: "#7cc9cf" - shape_custom: "#919c00" - shape_nothing: "#e6a96b" +export def main [] { return { + separator: "#ddc265" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#919c00" attr: "b" } + empty: "#4699a3" + bool: {|| if $in { "#e6a96b" } else { "light_gray" } } + int: "#ddc265" + filesize: {|e| + if $e == 0b { + "#ddc265" + } else if $e < 1mb { + "#da8213" + } else {{ fg: "#4699a3" }} } -} + duration: "#ddc265" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d6262b" attr: "b" } + } else if $in < 6hr { + "#d6262b" + } else if $in < 1day { + "#be8a13" + } else if $in < 3day { + "#919c00" + } else if $in < 1wk { + { fg: "#919c00" attr: "b" } + } else if $in < 6wk { + "#da8213" + } else if $in < 52wk { + "#4699a3" + } else { "dark_gray" } + } + range: "#ddc265" + float: "#ddc265" + string: "#ddc265" + nothing: "#ddc265" + binary: "#ddc265" + cellpath: "#ddc265" + row_index: { fg: "#919c00" attr: "b" } + record: "#ddc265" + list: "#ddc265" + block: "#ddc265" + hints: "dark_gray" + + shape_and: { fg: "#8d4331" attr: "b" } + shape_binary: { fg: "#8d4331" attr: "b" } + shape_block: { fg: "#4699a3" attr: "b" } + shape_bool: "#e6a96b" + shape_custom: "#919c00" + shape_datetime: { fg: "#da8213" attr: "b" } + shape_directory: "#da8213" + shape_external: "#da8213" + shape_externalarg: { fg: "#919c00" attr: "b" } + shape_filepath: "#da8213" + shape_flag: { fg: "#4699a3" attr: "b" } + shape_float: { fg: "#8d4331" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#da8213" attr: "b" } + shape_int: { fg: "#8d4331" attr: "b" } + shape_internalcall: { fg: "#da8213" attr: "b" } + shape_list: { fg: "#da8213" attr: "b" } + shape_literal: "#4699a3" + shape_match_pattern: "#919c00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#e6a96b" + shape_operator: "#be8a13" + shape_or: { fg: "#8d4331" attr: "b" } + shape_pipe: { fg: "#8d4331" attr: "b" } + shape_range: { fg: "#be8a13" attr: "b" } + shape_record: { fg: "#da8213" attr: "b" } + shape_redirection: { fg: "#8d4331" attr: "b" } + shape_signature: { fg: "#919c00" attr: "b" } + shape_string: "#919c00" + shape_string_interpolation: { fg: "#da8213" attr: "b" } + shape_table: { fg: "#4699a3" attr: "b" } + shape_variable: "#8d4331" + + background: "#251200" + foreground: "#dec165" + cursor: "#dec165" +}} \ No newline at end of file diff --git a/themes/themes/frontend-galaxy.nu b/themes/themes/frontend-galaxy.nu index 167d55c..e2782db 100644 --- a/themes/themes/frontend-galaxy.nu +++ b/themes/themes/frontend-galaxy.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the frontend_galaxy theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d2837" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#35bb9a" - empty: "#589df6" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#35bb9a" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e75699" - shape_bool: "#3979bc" - shape_int: "#e75699" - shape_float: "#e75699" - shape_range: "#ffff55" - shape_internalcall: "#3979bc" - shape_external: "#1f9ee7" - shape_externalarg: "#35bb9a" - shape_literal: "#589df6" - shape_operator: "#fef02a" - shape_signature: "#35bb9a" - shape_string: "#21b089" - shape_string_interpolation: "#3979bc" - shape_datetime: "#3979bc" - shape_list: "#3979bc" - shape_table: "#589df6" - shape_record: "#3979bc" - shape_block: "#589df6" - shape_filepath: "#1f9ee7" - shape_globpattern: "#3979bc" - shape_variable: "#944d95" - shape_flag: "#589df6" - shape_custom: "#21b089" - shape_nothing: "#3979bc" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#21b089" attr: "b" } + empty: "#589df6" + bool: {|| if $in { "#3979bc" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#1f9ee7" + } else {{ fg: "#589df6" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f9555f" attr: "b" } + } else if $in < 6hr { + "#f9555f" + } else if $in < 1day { + "#fef02a" + } else if $in < 3day { + "#21b089" + } else if $in < 1wk { + { fg: "#21b089" attr: "b" } + } else if $in < 6wk { + "#1f9ee7" + } else if $in < 52wk { + "#589df6" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#21b089" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#944d95" attr: "b" } + shape_binary: { fg: "#944d95" attr: "b" } + shape_block: { fg: "#589df6" attr: "b" } + shape_bool: "#3979bc" + shape_custom: "#21b089" + shape_datetime: { fg: "#1f9ee7" attr: "b" } + shape_directory: "#1f9ee7" + shape_external: "#1f9ee7" + shape_externalarg: { fg: "#21b089" attr: "b" } + shape_filepath: "#1f9ee7" + shape_flag: { fg: "#589df6" attr: "b" } + shape_float: { fg: "#944d95" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1f9ee7" attr: "b" } + shape_int: { fg: "#944d95" attr: "b" } + shape_internalcall: { fg: "#1f9ee7" attr: "b" } + shape_list: { fg: "#1f9ee7" attr: "b" } + shape_literal: "#589df6" + shape_match_pattern: "#21b089" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3979bc" + shape_operator: "#fef02a" + shape_or: { fg: "#944d95" attr: "b" } + shape_pipe: { fg: "#944d95" attr: "b" } + shape_range: { fg: "#fef02a" attr: "b" } + shape_record: { fg: "#1f9ee7" attr: "b" } + shape_redirection: { fg: "#944d95" attr: "b" } + shape_signature: { fg: "#21b089" attr: "b" } + shape_string: "#21b089" + shape_string_interpolation: { fg: "#1f9ee7" attr: "b" } + shape_table: { fg: "#589df6" attr: "b" } + shape_variable: "#944d95" + + background: "#1d2837" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/fruit-soda.nu b/themes/themes/fruit-soda.nu index 945d179..1e83e91 100644 --- a/themes/themes/fruit-soda.nu +++ b/themes/themes/fruit-soda.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the fruit_soda theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f1ecf1" - # foreground: "#515151" - # cursor: "#515151" - - { - # color for nushell primitives - separator: "#2d2c2c" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#47f74c" - empty: "#2931df" - bool: "#2d2c2c" - int: "#2d2c2c" - filesize: "#2d2c2c" - duration: "#2d2c2c" - date: "#2d2c2c" - range: "#2d2c2c" - float: "#2d2c2c" - string: "#2d2c2c" - nothing: "#2d2c2c" - binary: "#2d2c2c" - cellpath: "#2d2c2c" - row_index: "#47f74c" - record: "#2d2c2c" - list: "#2d2c2c" - block: "#2d2c2c" - hints: "#b5b4b6" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#611fce" - shape_bool: "#0f9cfd" - shape_int: "#611fce" - shape_float: "#611fce" - shape_range: "#f7e203" - shape_internalcall: "#0f9cfd" - shape_external: "#0f9cfd" - shape_externalarg: "#47f74c" - shape_literal: "#2931df" - shape_operator: "#f7e203" - shape_signature: "#47f74c" - shape_string: "#47f74c" - shape_string_interpolation: "#0f9cfd" - shape_datetime: "#0f9cfd" - shape_list: "#0f9cfd" - shape_table: "#2931df" - shape_record: "#0f9cfd" - shape_block: "#2931df" - shape_filepath: "#0f9cfd" - shape_globpattern: "#0f9cfd" - shape_variable: "#611fce" - shape_flag: "#2931df" - shape_custom: "#47f74c" - shape_nothing: "#0f9cfd" +export def main [] { return { + separator: "#515151" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#47f74c" attr: "b" } + empty: "#2931df" + bool: {|| if $in { "#0f9cfd" } else { "light_gray" } } + int: "#515151" + filesize: {|e| + if $e == 0b { + "#515151" + } else if $e < 1mb { + "#0f9cfd" + } else {{ fg: "#2931df" }} } -} + duration: "#515151" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fe3e31" attr: "b" } + } else if $in < 6hr { + "#fe3e31" + } else if $in < 1day { + "#f7e203" + } else if $in < 3day { + "#47f74c" + } else if $in < 1wk { + { fg: "#47f74c" attr: "b" } + } else if $in < 6wk { + "#0f9cfd" + } else if $in < 52wk { + "#2931df" + } else { "dark_gray" } + } + range: "#515151" + float: "#515151" + string: "#515151" + nothing: "#515151" + binary: "#515151" + cellpath: "#515151" + row_index: { fg: "#47f74c" attr: "b" } + record: "#515151" + list: "#515151" + block: "#515151" + hints: "dark_gray" + + shape_and: { fg: "#611fce" attr: "b" } + shape_binary: { fg: "#611fce" attr: "b" } + shape_block: { fg: "#2931df" attr: "b" } + shape_bool: "#0f9cfd" + shape_custom: "#47f74c" + shape_datetime: { fg: "#0f9cfd" attr: "b" } + shape_directory: "#0f9cfd" + shape_external: "#0f9cfd" + shape_externalarg: { fg: "#47f74c" attr: "b" } + shape_filepath: "#0f9cfd" + shape_flag: { fg: "#2931df" attr: "b" } + shape_float: { fg: "#611fce" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0f9cfd" attr: "b" } + shape_int: { fg: "#611fce" attr: "b" } + shape_internalcall: { fg: "#0f9cfd" attr: "b" } + shape_list: { fg: "#0f9cfd" attr: "b" } + shape_literal: "#2931df" + shape_match_pattern: "#47f74c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#0f9cfd" + shape_operator: "#f7e203" + shape_or: { fg: "#611fce" attr: "b" } + shape_pipe: { fg: "#611fce" attr: "b" } + shape_range: { fg: "#f7e203" attr: "b" } + shape_record: { fg: "#0f9cfd" attr: "b" } + shape_redirection: { fg: "#611fce" attr: "b" } + shape_signature: { fg: "#47f74c" attr: "b" } + shape_string: "#47f74c" + shape_string_interpolation: { fg: "#0f9cfd" attr: "b" } + shape_table: { fg: "#2931df" attr: "b" } + shape_variable: "#611fce" + + background: "#f1ecf1" + foreground: "#515151" + cursor: "#515151" +}} \ No newline at end of file diff --git a/themes/themes/gigavolt.nu b/themes/themes/gigavolt.nu index 924cca3..834398f 100644 --- a/themes/themes/gigavolt.nu +++ b/themes/themes/gigavolt.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gigavolt theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#202126" - # foreground: "#e9e7e1" - # cursor: "#e9e7e1" - - { - # color for nushell primitives - separator: "#f2fbff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#f2e6a9" - empty: "#40bfff" - bool: "#f2fbff" - int: "#f2fbff" - filesize: "#f2fbff" - duration: "#f2fbff" - date: "#f2fbff" - range: "#f2fbff" - float: "#f2fbff" - string: "#f2fbff" - nothing: "#f2fbff" - binary: "#f2fbff" - cellpath: "#f2fbff" - row_index: "#f2e6a9" - record: "#f2fbff" - list: "#f2fbff" - block: "#f2fbff" - hints: "#a1d2e6" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ae94f9" - shape_bool: "#fb6acb" - shape_int: "#ae94f9" - shape_float: "#ae94f9" - shape_range: "#ffdc2d" - shape_internalcall: "#fb6acb" - shape_external: "#fb6acb" - shape_externalarg: "#f2e6a9" - shape_literal: "#40bfff" - shape_operator: "#ffdc2d" - shape_signature: "#f2e6a9" - shape_string: "#f2e6a9" - shape_string_interpolation: "#fb6acb" - shape_datetime: "#fb6acb" - shape_list: "#fb6acb" - shape_table: "#40bfff" - shape_record: "#fb6acb" - shape_block: "#40bfff" - shape_filepath: "#fb6acb" - shape_globpattern: "#fb6acb" - shape_variable: "#ae94f9" - shape_flag: "#40bfff" - shape_custom: "#f2e6a9" - shape_nothing: "#fb6acb" +export def main [] { return { + separator: "#e9e7e1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#f2e6a9" attr: "b" } + empty: "#40bfff" + bool: {|| if $in { "#fb6acb" } else { "light_gray" } } + int: "#e9e7e1" + filesize: {|e| + if $e == 0b { + "#e9e7e1" + } else if $e < 1mb { + "#fb6acb" + } else {{ fg: "#40bfff" }} } -} + duration: "#e9e7e1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff661a" attr: "b" } + } else if $in < 6hr { + "#ff661a" + } else if $in < 1day { + "#ffdc2d" + } else if $in < 3day { + "#f2e6a9" + } else if $in < 1wk { + { fg: "#f2e6a9" attr: "b" } + } else if $in < 6wk { + "#fb6acb" + } else if $in < 52wk { + "#40bfff" + } else { "dark_gray" } + } + range: "#e9e7e1" + float: "#e9e7e1" + string: "#e9e7e1" + nothing: "#e9e7e1" + binary: "#e9e7e1" + cellpath: "#e9e7e1" + row_index: { fg: "#f2e6a9" attr: "b" } + record: "#e9e7e1" + list: "#e9e7e1" + block: "#e9e7e1" + hints: "dark_gray" + + shape_and: { fg: "#ae94f9" attr: "b" } + shape_binary: { fg: "#ae94f9" attr: "b" } + shape_block: { fg: "#40bfff" attr: "b" } + shape_bool: "#fb6acb" + shape_custom: "#f2e6a9" + shape_datetime: { fg: "#fb6acb" attr: "b" } + shape_directory: "#fb6acb" + shape_external: "#fb6acb" + shape_externalarg: { fg: "#f2e6a9" attr: "b" } + shape_filepath: "#fb6acb" + shape_flag: { fg: "#40bfff" attr: "b" } + shape_float: { fg: "#ae94f9" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#fb6acb" attr: "b" } + shape_int: { fg: "#ae94f9" attr: "b" } + shape_internalcall: { fg: "#fb6acb" attr: "b" } + shape_list: { fg: "#fb6acb" attr: "b" } + shape_literal: "#40bfff" + shape_match_pattern: "#f2e6a9" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#fb6acb" + shape_operator: "#ffdc2d" + shape_or: { fg: "#ae94f9" attr: "b" } + shape_pipe: { fg: "#ae94f9" attr: "b" } + shape_range: { fg: "#ffdc2d" attr: "b" } + shape_record: { fg: "#fb6acb" attr: "b" } + shape_redirection: { fg: "#ae94f9" attr: "b" } + shape_signature: { fg: "#f2e6a9" attr: "b" } + shape_string: "#f2e6a9" + shape_string_interpolation: { fg: "#fb6acb" attr: "b" } + shape_table: { fg: "#40bfff" attr: "b" } + shape_variable: "#ae94f9" + + background: "#202126" + foreground: "#e9e7e1" + cursor: "#e9e7e1" +}} \ No newline at end of file diff --git a/themes/themes/github-dark-colorblind.nu b/themes/themes/github-dark-colorblind.nu index 5f6dfa6..c8112b2 100644 --- a/themes/themes/github-dark-colorblind.nu +++ b/themes/themes/github-dark-colorblind.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the {{theme}} theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0d1117" - # foreground: "#b3b1ad" - # cursor: "#73b7f2" - - { - # color for nushell primitives - separator: "#f0f6fc" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#56d364" - empty: "#58a6ff" - bool: "#f0f6fc" - int: "#f0f6fc" - filesize: "#f0f6fc" - duration: "#f0f6fc" - date: "#f0f6fc" - range: "#f0f6fc" - float: "#f0f6fc" - string: "#f0f6fc" - nothing: "#f0f6fc" - binary: "#f0f6fc" - cellpath: "#f0f6fc" - row_index: "#56d364" - record: "#f0f6fc" - list: "#f0f6fc" - block: "#f0f6fc" - hints: "#6e7681" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d2a8ff" - shape_bool: "#56d4dd" - shape_int: "#d2a8ff" - shape_float: "#d2a8ff" - shape_range: "#e3b341" - shape_internalcall: "#56d4dd" - shape_external: "#39c5cf" - shape_externalarg: "#56d364" - shape_literal: "#58a6ff" - shape_operator: "#d29922" - shape_signature: "#56d364" - shape_string: "#3fb950" - shape_string_interpolation: "#56d4dd" - shape_datetime: "#56d4dd" - shape_list: "#56d4dd" - shape_table: "#79c0ff" - shape_record: "#56d4dd" - shape_block: "#79c0ff" - shape_filepath: "#39c5cf" - shape_globpattern: "#56d4dd" - shape_variable: "#bc8cff" - shape_flag: "#79c0ff" - shape_custom: "#3fb950" - shape_nothing: "#56d4dd" +export def main [] { return { + separator: "#b1bac4" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#3fb950" attr: "b" } + empty: "#58a6ff" + bool: {|| if $in { "#56d4dd" } else { "light_gray" } } + int: "#b1bac4" + filesize: {|e| + if $e == 0b { + "#b1bac4" + } else if $e < 1mb { + "#39c5cf" + } else {{ fg: "#58a6ff" }} } -} + duration: "#b1bac4" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff7b72" attr: "b" } + } else if $in < 6hr { + "#ff7b72" + } else if $in < 1day { + "#d29922" + } else if $in < 3day { + "#3fb950" + } else if $in < 1wk { + { fg: "#3fb950" attr: "b" } + } else if $in < 6wk { + "#39c5cf" + } else if $in < 52wk { + "#58a6ff" + } else { "dark_gray" } + } + range: "#b1bac4" + float: "#b1bac4" + string: "#b1bac4" + nothing: "#b1bac4" + binary: "#b1bac4" + cellpath: "#b1bac4" + row_index: { fg: "#3fb950" attr: "b" } + record: "#b1bac4" + list: "#b1bac4" + block: "#b1bac4" + hints: "dark_gray" + + shape_and: { fg: "#bc8cff" attr: "b" } + shape_binary: { fg: "#bc8cff" attr: "b" } + shape_block: { fg: "#58a6ff" attr: "b" } + shape_bool: "#56d4dd" + shape_custom: "#3fb950" + shape_datetime: { fg: "#39c5cf" attr: "b" } + shape_directory: "#39c5cf" + shape_external: "#39c5cf" + shape_externalarg: { fg: "#3fb950" attr: "b" } + shape_filepath: "#39c5cf" + shape_flag: { fg: "#58a6ff" attr: "b" } + shape_float: { fg: "#bc8cff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#39c5cf" attr: "b" } + shape_int: { fg: "#bc8cff" attr: "b" } + shape_internalcall: { fg: "#39c5cf" attr: "b" } + shape_list: { fg: "#39c5cf" attr: "b" } + shape_literal: "#58a6ff" + shape_match_pattern: "#3fb950" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#56d4dd" + shape_operator: "#d29922" + shape_or: { fg: "#bc8cff" attr: "b" } + shape_pipe: { fg: "#bc8cff" attr: "b" } + shape_range: { fg: "#d29922" attr: "b" } + shape_record: { fg: "#39c5cf" attr: "b" } + shape_redirection: { fg: "#bc8cff" attr: "b" } + shape_signature: { fg: "#3fb950" attr: "b" } + shape_string: "#3fb950" + shape_string_interpolation: { fg: "#39c5cf" attr: "b" } + shape_table: { fg: "#58a6ff" attr: "b" } + shape_variable: "#bc8cff" + + background: "#0d1117" + foreground: "#b3b1ad" + cursor: "#73b7f2" +}} \ No newline at end of file diff --git a/themes/themes/github-dark-default.nu b/themes/themes/github-dark-default.nu index 5f6dfa6..c8112b2 100644 --- a/themes/themes/github-dark-default.nu +++ b/themes/themes/github-dark-default.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the {{theme}} theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0d1117" - # foreground: "#b3b1ad" - # cursor: "#73b7f2" - - { - # color for nushell primitives - separator: "#f0f6fc" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#56d364" - empty: "#58a6ff" - bool: "#f0f6fc" - int: "#f0f6fc" - filesize: "#f0f6fc" - duration: "#f0f6fc" - date: "#f0f6fc" - range: "#f0f6fc" - float: "#f0f6fc" - string: "#f0f6fc" - nothing: "#f0f6fc" - binary: "#f0f6fc" - cellpath: "#f0f6fc" - row_index: "#56d364" - record: "#f0f6fc" - list: "#f0f6fc" - block: "#f0f6fc" - hints: "#6e7681" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d2a8ff" - shape_bool: "#56d4dd" - shape_int: "#d2a8ff" - shape_float: "#d2a8ff" - shape_range: "#e3b341" - shape_internalcall: "#56d4dd" - shape_external: "#39c5cf" - shape_externalarg: "#56d364" - shape_literal: "#58a6ff" - shape_operator: "#d29922" - shape_signature: "#56d364" - shape_string: "#3fb950" - shape_string_interpolation: "#56d4dd" - shape_datetime: "#56d4dd" - shape_list: "#56d4dd" - shape_table: "#79c0ff" - shape_record: "#56d4dd" - shape_block: "#79c0ff" - shape_filepath: "#39c5cf" - shape_globpattern: "#56d4dd" - shape_variable: "#bc8cff" - shape_flag: "#79c0ff" - shape_custom: "#3fb950" - shape_nothing: "#56d4dd" +export def main [] { return { + separator: "#b1bac4" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#3fb950" attr: "b" } + empty: "#58a6ff" + bool: {|| if $in { "#56d4dd" } else { "light_gray" } } + int: "#b1bac4" + filesize: {|e| + if $e == 0b { + "#b1bac4" + } else if $e < 1mb { + "#39c5cf" + } else {{ fg: "#58a6ff" }} } -} + duration: "#b1bac4" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff7b72" attr: "b" } + } else if $in < 6hr { + "#ff7b72" + } else if $in < 1day { + "#d29922" + } else if $in < 3day { + "#3fb950" + } else if $in < 1wk { + { fg: "#3fb950" attr: "b" } + } else if $in < 6wk { + "#39c5cf" + } else if $in < 52wk { + "#58a6ff" + } else { "dark_gray" } + } + range: "#b1bac4" + float: "#b1bac4" + string: "#b1bac4" + nothing: "#b1bac4" + binary: "#b1bac4" + cellpath: "#b1bac4" + row_index: { fg: "#3fb950" attr: "b" } + record: "#b1bac4" + list: "#b1bac4" + block: "#b1bac4" + hints: "dark_gray" + + shape_and: { fg: "#bc8cff" attr: "b" } + shape_binary: { fg: "#bc8cff" attr: "b" } + shape_block: { fg: "#58a6ff" attr: "b" } + shape_bool: "#56d4dd" + shape_custom: "#3fb950" + shape_datetime: { fg: "#39c5cf" attr: "b" } + shape_directory: "#39c5cf" + shape_external: "#39c5cf" + shape_externalarg: { fg: "#3fb950" attr: "b" } + shape_filepath: "#39c5cf" + shape_flag: { fg: "#58a6ff" attr: "b" } + shape_float: { fg: "#bc8cff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#39c5cf" attr: "b" } + shape_int: { fg: "#bc8cff" attr: "b" } + shape_internalcall: { fg: "#39c5cf" attr: "b" } + shape_list: { fg: "#39c5cf" attr: "b" } + shape_literal: "#58a6ff" + shape_match_pattern: "#3fb950" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#56d4dd" + shape_operator: "#d29922" + shape_or: { fg: "#bc8cff" attr: "b" } + shape_pipe: { fg: "#bc8cff" attr: "b" } + shape_range: { fg: "#d29922" attr: "b" } + shape_record: { fg: "#39c5cf" attr: "b" } + shape_redirection: { fg: "#bc8cff" attr: "b" } + shape_signature: { fg: "#3fb950" attr: "b" } + shape_string: "#3fb950" + shape_string_interpolation: { fg: "#39c5cf" attr: "b" } + shape_table: { fg: "#58a6ff" attr: "b" } + shape_variable: "#bc8cff" + + background: "#0d1117" + foreground: "#b3b1ad" + cursor: "#73b7f2" +}} \ No newline at end of file diff --git a/themes/themes/github-dark.nu b/themes/themes/github-dark.nu index 0ba085c..39964b7 100644 --- a/themes/themes/github-dark.nu +++ b/themes/themes/github-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the {{theme}} theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#24292e" - # foreground: "#d1d5da" - # cursor: "#c8e1ff" - - { - # color for nushell primitives - separator: "#fafbfc" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#85e89d" - empty: "#2188ff" - bool: "#fafbfc" - int: "#fafbfc" - filesize: "#fafbfc" - duration: "#fafbfc" - date: "#fafbfc" - range: "#fafbfc" - float: "#fafbfc" - string: "#fafbfc" - nothing: "#fafbfc" - binary: "#fafbfc" - cellpath: "#fafbfc" - row_index: "#85e89d" - record: "#fafbfc" - list: "#fafbfc" - block: "#fafbfc" - hints: "#959da5" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b392f0" - shape_bool: "#56d4dd" - shape_int: "#b392f0" - shape_float: "#b392f0" - shape_range: "#ffea7f" - shape_internalcall: "#56d4dd" - shape_external: "#39c5cf" - shape_externalarg: "#85e89d" - shape_literal: "#2188ff" - shape_operator: "#ffea7f" - shape_signature: "#85e89d" - shape_string: "#34d058" - shape_string_interpolation: "#56d4dd" - shape_datetime: "#56d4dd" - shape_list: "#56d4dd" - shape_table: "#79b8ff" - shape_record: "#56d4dd" - shape_block: "#79b8ff" - shape_filepath: "#39c5cf" - shape_globpattern: "#56d4dd" - shape_variable: "#b392f0" - shape_flag: "#79b8ff" - shape_custom: "#34d058" - shape_nothing: "#56d4dd" +export def main [] { return { + separator: "#d1d5da" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#34d058" attr: "b" } + empty: "#2188ff" + bool: {|| if $in { "#56d4dd" } else { "light_gray" } } + int: "#d1d5da" + filesize: {|e| + if $e == 0b { + "#d1d5da" + } else if $e < 1mb { + "#39c5cf" + } else {{ fg: "#2188ff" }} } -} + duration: "#d1d5da" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ea4a5a" attr: "b" } + } else if $in < 6hr { + "#ea4a5a" + } else if $in < 1day { + "#ffea7f" + } else if $in < 3day { + "#34d058" + } else if $in < 1wk { + { fg: "#34d058" attr: "b" } + } else if $in < 6wk { + "#39c5cf" + } else if $in < 52wk { + "#2188ff" + } else { "dark_gray" } + } + range: "#d1d5da" + float: "#d1d5da" + string: "#d1d5da" + nothing: "#d1d5da" + binary: "#d1d5da" + cellpath: "#d1d5da" + row_index: { fg: "#34d058" attr: "b" } + record: "#d1d5da" + list: "#d1d5da" + block: "#d1d5da" + hints: "dark_gray" + + shape_and: { fg: "#b392f0" attr: "b" } + shape_binary: { fg: "#b392f0" attr: "b" } + shape_block: { fg: "#2188ff" attr: "b" } + shape_bool: "#56d4dd" + shape_custom: "#34d058" + shape_datetime: { fg: "#39c5cf" attr: "b" } + shape_directory: "#39c5cf" + shape_external: "#39c5cf" + shape_externalarg: { fg: "#34d058" attr: "b" } + shape_filepath: "#39c5cf" + shape_flag: { fg: "#2188ff" attr: "b" } + shape_float: { fg: "#b392f0" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#39c5cf" attr: "b" } + shape_int: { fg: "#b392f0" attr: "b" } + shape_internalcall: { fg: "#39c5cf" attr: "b" } + shape_list: { fg: "#39c5cf" attr: "b" } + shape_literal: "#2188ff" + shape_match_pattern: "#34d058" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#56d4dd" + shape_operator: "#ffea7f" + shape_or: { fg: "#b392f0" attr: "b" } + shape_pipe: { fg: "#b392f0" attr: "b" } + shape_range: { fg: "#ffea7f" attr: "b" } + shape_record: { fg: "#39c5cf" attr: "b" } + shape_redirection: { fg: "#b392f0" attr: "b" } + shape_signature: { fg: "#34d058" attr: "b" } + shape_string: "#34d058" + shape_string_interpolation: { fg: "#39c5cf" attr: "b" } + shape_table: { fg: "#2188ff" attr: "b" } + shape_variable: "#b392f0" + + background: "#24292e" + foreground: "#d1d5da" + cursor: "#c8e1ff" +}} \ No newline at end of file diff --git a/themes/themes/github-dimmed.nu b/themes/themes/github-dimmed.nu index 3e9fe68..c5a548d 100644 --- a/themes/themes/github-dimmed.nu +++ b/themes/themes/github-dimmed.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the {{theme}} theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#22272e" - # foreground: "#768390" - # cursor: "#6cb6ff" - - { - # color for nushell primitives - separator: "#cdd9e5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#6bc46d" - empty: "#539bf5" - bool: "#cdd9e5" - int: "#cdd9e5" - filesize: "#cdd9e5" - duration: "#cdd9e5" - date: "#cdd9e5" - range: "#cdd9e5" - float: "#cdd9e5" - string: "#cdd9e5" - nothing: "#cdd9e5" - binary: "#cdd9e5" - cellpath: "#cdd9e5" - row_index: "#6bc46d" - record: "#cdd9e5" - list: "#cdd9e5" - block: "#cdd9e5" - hints: "#636e7b" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#dcbdfb" - shape_bool: "#56d4dd" - shape_int: "#dcbdfb" - shape_float: "#dcbdfb" - shape_range: "#daaa3f" - shape_internalcall: "#56d4dd" - shape_external: "#39c5cf" - shape_externalarg: "#6bc46d" - shape_literal: "#539bf5" - shape_operator: "#c69026" - shape_signature: "#6bc46d" - shape_string: "#57ab5a" - shape_string_interpolation: "#56d4dd" - shape_datetime: "#56d4dd" - shape_list: "#56d4dd" - shape_table: "#6cb6ff" - shape_record: "#56d4dd" - shape_block: "#6cb6ff" - shape_filepath: "#39c5cf" - shape_globpattern: "#56d4dd" - shape_variable: "#b083f0" - shape_flag: "#6cb6ff" - shape_custom: "#57ab5a" - shape_nothing: "#56d4dd" +export def main [] { return { + separator: "#909dab" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#57ab5a" attr: "b" } + empty: "#539bf5" + bool: {|| if $in { "#56d4dd" } else { "light_gray" } } + int: "#909dab" + filesize: {|e| + if $e == 0b { + "#909dab" + } else if $e < 1mb { + "#39c5cf" + } else {{ fg: "#539bf5" }} } -} + duration: "#909dab" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f47067" attr: "b" } + } else if $in < 6hr { + "#f47067" + } else if $in < 1day { + "#c69026" + } else if $in < 3day { + "#57ab5a" + } else if $in < 1wk { + { fg: "#57ab5a" attr: "b" } + } else if $in < 6wk { + "#39c5cf" + } else if $in < 52wk { + "#539bf5" + } else { "dark_gray" } + } + range: "#909dab" + float: "#909dab" + string: "#909dab" + nothing: "#909dab" + binary: "#909dab" + cellpath: "#909dab" + row_index: { fg: "#57ab5a" attr: "b" } + record: "#909dab" + list: "#909dab" + block: "#909dab" + hints: "dark_gray" + + shape_and: { fg: "#b083f0" attr: "b" } + shape_binary: { fg: "#b083f0" attr: "b" } + shape_block: { fg: "#539bf5" attr: "b" } + shape_bool: "#56d4dd" + shape_custom: "#57ab5a" + shape_datetime: { fg: "#39c5cf" attr: "b" } + shape_directory: "#39c5cf" + shape_external: "#39c5cf" + shape_externalarg: { fg: "#57ab5a" attr: "b" } + shape_filepath: "#39c5cf" + shape_flag: { fg: "#539bf5" attr: "b" } + shape_float: { fg: "#b083f0" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#39c5cf" attr: "b" } + shape_int: { fg: "#b083f0" attr: "b" } + shape_internalcall: { fg: "#39c5cf" attr: "b" } + shape_list: { fg: "#39c5cf" attr: "b" } + shape_literal: "#539bf5" + shape_match_pattern: "#57ab5a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#56d4dd" + shape_operator: "#c69026" + shape_or: { fg: "#b083f0" attr: "b" } + shape_pipe: { fg: "#b083f0" attr: "b" } + shape_range: { fg: "#c69026" attr: "b" } + shape_record: { fg: "#39c5cf" attr: "b" } + shape_redirection: { fg: "#b083f0" attr: "b" } + shape_signature: { fg: "#57ab5a" attr: "b" } + shape_string: "#57ab5a" + shape_string_interpolation: { fg: "#39c5cf" attr: "b" } + shape_table: { fg: "#539bf5" attr: "b" } + shape_variable: "#b083f0" + + background: "#22272e" + foreground: "#768390" + cursor: "#6cb6ff" +}} \ No newline at end of file diff --git a/themes/themes/github-light-colorblind.nu b/themes/themes/github-light-colorblind.nu index 7afdcbd..ca00bdd 100644 --- a/themes/themes/github-light-colorblind.nu +++ b/themes/themes/github-light-colorblind.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the {{theme}} theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#0E1116" - # cursor: "#0969da" - - { - # color for nushell primitives - separator: "#8c959f" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#1a7f37" - empty: "#0969da" - bool: "#8c959f" - int: "#8c959f" - filesize: "#8c959f" - duration: "#8c959f" - date: "#8c959f" - range: "#8c959f" - float: "#8c959f" - string: "#8c959f" - nothing: "#8c959f" - binary: "#8c959f" - cellpath: "#8c959f" - row_index: "#1a7f37" - record: "#8c959f" - list: "#8c959f" - block: "#8c959f" - hints: "#57606a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a475f9" - shape_bool: "#3192aa" - shape_int: "#a475f9" - shape_float: "#a475f9" - shape_range: "#633c01" - shape_internalcall: "#3192aa" - shape_external: "#1b7c83" - shape_externalarg: "#1a7f37" - shape_literal: "#0969da" - shape_operator: "#4d2d00" - shape_signature: "#1a7f37" - shape_string: "#116329" - shape_string_interpolation: "#3192aa" - shape_datetime: "#3192aa" - shape_list: "#3192aa" - shape_table: "#218bff" - shape_record: "#3192aa" - shape_block: "#218bff" - shape_filepath: "#1b7c83" - shape_globpattern: "#3192aa" - shape_variable: "#8250df" - shape_flag: "#218bff" - shape_custom: "#116329" - shape_nothing: "#3192aa" +export def main [] { return { + separator: "#6e7781" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#116329" attr: "b" } + empty: "#0969da" + bool: {|| if $in { "#3192aa" } else { "light_gray" } } + int: "#6e7781" + filesize: {|e| + if $e == 0b { + "#6e7781" + } else if $e < 1mb { + "#1b7c83" + } else {{ fg: "#0969da" }} } -} + duration: "#6e7781" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cf222e" attr: "b" } + } else if $in < 6hr { + "#cf222e" + } else if $in < 1day { + "#4d2d00" + } else if $in < 3day { + "#116329" + } else if $in < 1wk { + { fg: "#116329" attr: "b" } + } else if $in < 6wk { + "#1b7c83" + } else if $in < 52wk { + "#0969da" + } else { "dark_gray" } + } + range: "#6e7781" + float: "#6e7781" + string: "#6e7781" + nothing: "#6e7781" + binary: "#6e7781" + cellpath: "#6e7781" + row_index: { fg: "#116329" attr: "b" } + record: "#6e7781" + list: "#6e7781" + block: "#6e7781" + hints: "dark_gray" + + shape_and: { fg: "#8250df" attr: "b" } + shape_binary: { fg: "#8250df" attr: "b" } + shape_block: { fg: "#0969da" attr: "b" } + shape_bool: "#3192aa" + shape_custom: "#116329" + shape_datetime: { fg: "#1b7c83" attr: "b" } + shape_directory: "#1b7c83" + shape_external: "#1b7c83" + shape_externalarg: { fg: "#116329" attr: "b" } + shape_filepath: "#1b7c83" + shape_flag: { fg: "#0969da" attr: "b" } + shape_float: { fg: "#8250df" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1b7c83" attr: "b" } + shape_int: { fg: "#8250df" attr: "b" } + shape_internalcall: { fg: "#1b7c83" attr: "b" } + shape_list: { fg: "#1b7c83" attr: "b" } + shape_literal: "#0969da" + shape_match_pattern: "#116329" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3192aa" + shape_operator: "#4d2d00" + shape_or: { fg: "#8250df" attr: "b" } + shape_pipe: { fg: "#8250df" attr: "b" } + shape_range: { fg: "#4d2d00" attr: "b" } + shape_record: { fg: "#1b7c83" attr: "b" } + shape_redirection: { fg: "#8250df" attr: "b" } + shape_signature: { fg: "#116329" attr: "b" } + shape_string: "#116329" + shape_string_interpolation: { fg: "#1b7c83" attr: "b" } + shape_table: { fg: "#0969da" attr: "b" } + shape_variable: "#8250df" + + background: "#ffffff" + foreground: "#0E1116" + cursor: "#0969da" +}} \ No newline at end of file diff --git a/themes/themes/github-light-default.nu b/themes/themes/github-light-default.nu index d7278bf..1294485 100644 --- a/themes/themes/github-light-default.nu +++ b/themes/themes/github-light-default.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the {{theme}} theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#0E1116" - # cursor: "#044289" - - { - # color for nushell primitives - separator: "#8c959f" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#1a7f37" - empty: "#0969da" - bool: "#8c959f" - int: "#8c959f" - filesize: "#8c959f" - duration: "#8c959f" - date: "#8c959f" - range: "#8c959f" - float: "#8c959f" - string: "#8c959f" - nothing: "#8c959f" - binary: "#8c959f" - cellpath: "#8c959f" - row_index: "#1a7f37" - record: "#8c959f" - list: "#8c959f" - block: "#8c959f" - hints: "#57606a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a475f9" - shape_bool: "#3192aa" - shape_int: "#a475f9" - shape_float: "#a475f9" - shape_range: "#633c01" - shape_internalcall: "#3192aa" - shape_external: "#1b7c83" - shape_externalarg: "#1a7f37" - shape_literal: "#0969da" - shape_operator: "#4d2d00" - shape_signature: "#1a7f37" - shape_string: "#116329" - shape_string_interpolation: "#3192aa" - shape_datetime: "#3192aa" - shape_list: "#3192aa" - shape_table: "#218bff" - shape_record: "#3192aa" - shape_block: "#218bff" - shape_filepath: "#1b7c83" - shape_globpattern: "#3192aa" - shape_variable: "#8250df" - shape_flag: "#218bff" - shape_custom: "#116329" - shape_nothing: "#3192aa" +export def main [] { return { + separator: "#6e7781" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#116329" attr: "b" } + empty: "#0969da" + bool: {|| if $in { "#3192aa" } else { "light_gray" } } + int: "#6e7781" + filesize: {|e| + if $e == 0b { + "#6e7781" + } else if $e < 1mb { + "#1b7c83" + } else {{ fg: "#0969da" }} } -} + duration: "#6e7781" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cf222e" attr: "b" } + } else if $in < 6hr { + "#cf222e" + } else if $in < 1day { + "#4d2d00" + } else if $in < 3day { + "#116329" + } else if $in < 1wk { + { fg: "#116329" attr: "b" } + } else if $in < 6wk { + "#1b7c83" + } else if $in < 52wk { + "#0969da" + } else { "dark_gray" } + } + range: "#6e7781" + float: "#6e7781" + string: "#6e7781" + nothing: "#6e7781" + binary: "#6e7781" + cellpath: "#6e7781" + row_index: { fg: "#116329" attr: "b" } + record: "#6e7781" + list: "#6e7781" + block: "#6e7781" + hints: "dark_gray" + + shape_and: { fg: "#8250df" attr: "b" } + shape_binary: { fg: "#8250df" attr: "b" } + shape_block: { fg: "#0969da" attr: "b" } + shape_bool: "#3192aa" + shape_custom: "#116329" + shape_datetime: { fg: "#1b7c83" attr: "b" } + shape_directory: "#1b7c83" + shape_external: "#1b7c83" + shape_externalarg: { fg: "#116329" attr: "b" } + shape_filepath: "#1b7c83" + shape_flag: { fg: "#0969da" attr: "b" } + shape_float: { fg: "#8250df" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1b7c83" attr: "b" } + shape_int: { fg: "#8250df" attr: "b" } + shape_internalcall: { fg: "#1b7c83" attr: "b" } + shape_list: { fg: "#1b7c83" attr: "b" } + shape_literal: "#0969da" + shape_match_pattern: "#116329" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3192aa" + shape_operator: "#4d2d00" + shape_or: { fg: "#8250df" attr: "b" } + shape_pipe: { fg: "#8250df" attr: "b" } + shape_range: { fg: "#4d2d00" attr: "b" } + shape_record: { fg: "#1b7c83" attr: "b" } + shape_redirection: { fg: "#8250df" attr: "b" } + shape_signature: { fg: "#116329" attr: "b" } + shape_string: "#116329" + shape_string_interpolation: { fg: "#1b7c83" attr: "b" } + shape_table: { fg: "#0969da" attr: "b" } + shape_variable: "#8250df" + + background: "#ffffff" + foreground: "#0E1116" + cursor: "#044289" +}} \ No newline at end of file diff --git a/themes/themes/github-light.nu b/themes/themes/github-light.nu index 85dfe9e..9584d96 100644 --- a/themes/themes/github-light.nu +++ b/themes/themes/github-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the {{theme}} theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#24292f" - # cursor: "#044289" - - { - # color for nushell primitives - separator: "#d1d5da" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#22863a" - empty: "#0366d6" - bool: "#d1d5da" - int: "#d1d5da" - filesize: "#d1d5da" - duration: "#d1d5da" - date: "#d1d5da" - range: "#d1d5da" - float: "#d1d5da" - string: "#d1d5da" - nothing: "#d1d5da" - binary: "#d1d5da" - cellpath: "#d1d5da" - row_index: "#22863a" - record: "#d1d5da" - list: "#d1d5da" - block: "#d1d5da" - hints: "#959da5" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#5a32a3" - shape_bool: "#3192aa" - shape_int: "#5a32a3" - shape_float: "#5a32a3" - shape_range: "#b08800" - shape_internalcall: "#3192aa" - shape_external: "#0598bc" - shape_externalarg: "#22863a" - shape_literal: "#0366d6" - shape_operator: "#dbab09" - shape_signature: "#22863a" - shape_string: "#28a745" - shape_string_interpolation: "#3192aa" - shape_datetime: "#3192aa" - shape_list: "#3192aa" - shape_table: "#005cc5" - shape_record: "#3192aa" - shape_block: "#005cc5" - shape_filepath: "#0598bc" - shape_globpattern: "#3192aa" - shape_variable: "#5a32a3" - shape_flag: "#005cc5" - shape_custom: "#28a745" - shape_nothing: "#3192aa" +export def main [] { return { + separator: "#6a737d" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#28a745" attr: "b" } + empty: "#0366d6" + bool: {|| if $in { "#3192aa" } else { "light_gray" } } + int: "#6a737d" + filesize: {|e| + if $e == 0b { + "#6a737d" + } else if $e < 1mb { + "#0598bc" + } else {{ fg: "#0366d6" }} } -} + duration: "#6a737d" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d73a49" attr: "b" } + } else if $in < 6hr { + "#d73a49" + } else if $in < 1day { + "#dbab09" + } else if $in < 3day { + "#28a745" + } else if $in < 1wk { + { fg: "#28a745" attr: "b" } + } else if $in < 6wk { + "#0598bc" + } else if $in < 52wk { + "#0366d6" + } else { "dark_gray" } + } + range: "#6a737d" + float: "#6a737d" + string: "#6a737d" + nothing: "#6a737d" + binary: "#6a737d" + cellpath: "#6a737d" + row_index: { fg: "#28a745" attr: "b" } + record: "#6a737d" + list: "#6a737d" + block: "#6a737d" + hints: "dark_gray" + + shape_and: { fg: "#5a32a3" attr: "b" } + shape_binary: { fg: "#5a32a3" attr: "b" } + shape_block: { fg: "#0366d6" attr: "b" } + shape_bool: "#3192aa" + shape_custom: "#28a745" + shape_datetime: { fg: "#0598bc" attr: "b" } + shape_directory: "#0598bc" + shape_external: "#0598bc" + shape_externalarg: { fg: "#28a745" attr: "b" } + shape_filepath: "#0598bc" + shape_flag: { fg: "#0366d6" attr: "b" } + shape_float: { fg: "#5a32a3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0598bc" attr: "b" } + shape_int: { fg: "#5a32a3" attr: "b" } + shape_internalcall: { fg: "#0598bc" attr: "b" } + shape_list: { fg: "#0598bc" attr: "b" } + shape_literal: "#0366d6" + shape_match_pattern: "#28a745" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3192aa" + shape_operator: "#dbab09" + shape_or: { fg: "#5a32a3" attr: "b" } + shape_pipe: { fg: "#5a32a3" attr: "b" } + shape_range: { fg: "#dbab09" attr: "b" } + shape_record: { fg: "#0598bc" attr: "b" } + shape_redirection: { fg: "#5a32a3" attr: "b" } + shape_signature: { fg: "#28a745" attr: "b" } + shape_string: "#28a745" + shape_string_interpolation: { fg: "#0598bc" attr: "b" } + shape_table: { fg: "#0366d6" attr: "b" } + shape_variable: "#5a32a3" + + background: "#ffffff" + foreground: "#24292f" + cursor: "#044289" +}} \ No newline at end of file diff --git a/themes/themes/github.nu b/themes/themes/github.nu index c02a0a2..30e7f23 100644 --- a/themes/themes/github.nu +++ b/themes/themes/github.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the github theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#333333" - # cursor: "#333333" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#183691" - empty: "#795da3" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#183691" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#969896" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a71d5d" - shape_bool: "#183691" - shape_int: "#a71d5d" - shape_float: "#a71d5d" - shape_range: "#795da3" - shape_internalcall: "#183691" - shape_external: "#183691" - shape_externalarg: "#183691" - shape_literal: "#795da3" - shape_operator: "#795da3" - shape_signature: "#183691" - shape_string: "#183691" - shape_string_interpolation: "#183691" - shape_datetime: "#183691" - shape_list: "#183691" - shape_table: "#795da3" - shape_record: "#183691" - shape_block: "#795da3" - shape_filepath: "#183691" - shape_globpattern: "#183691" - shape_variable: "#a71d5d" - shape_flag: "#795da3" - shape_custom: "#183691" - shape_nothing: "#183691" +export def main [] { return { + separator: "#333333" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#183691" attr: "b" } + empty: "#795da3" + bool: {|| if $in { "#183691" } else { "light_gray" } } + int: "#333333" + filesize: {|e| + if $e == 0b { + "#333333" + } else if $e < 1mb { + "#183691" + } else {{ fg: "#795da3" }} } -} + duration: "#333333" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ed6a43" attr: "b" } + } else if $in < 6hr { + "#ed6a43" + } else if $in < 1day { + "#795da3" + } else if $in < 3day { + "#183691" + } else if $in < 1wk { + { fg: "#183691" attr: "b" } + } else if $in < 6wk { + "#183691" + } else if $in < 52wk { + "#795da3" + } else { "dark_gray" } + } + range: "#333333" + float: "#333333" + string: "#333333" + nothing: "#333333" + binary: "#333333" + cellpath: "#333333" + row_index: { fg: "#183691" attr: "b" } + record: "#333333" + list: "#333333" + block: "#333333" + hints: "dark_gray" + + shape_and: { fg: "#a71d5d" attr: "b" } + shape_binary: { fg: "#a71d5d" attr: "b" } + shape_block: { fg: "#795da3" attr: "b" } + shape_bool: "#183691" + shape_custom: "#183691" + shape_datetime: { fg: "#183691" attr: "b" } + shape_directory: "#183691" + shape_external: "#183691" + shape_externalarg: { fg: "#183691" attr: "b" } + shape_filepath: "#183691" + shape_flag: { fg: "#795da3" attr: "b" } + shape_float: { fg: "#a71d5d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#183691" attr: "b" } + shape_int: { fg: "#a71d5d" attr: "b" } + shape_internalcall: { fg: "#183691" attr: "b" } + shape_list: { fg: "#183691" attr: "b" } + shape_literal: "#795da3" + shape_match_pattern: "#183691" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#183691" + shape_operator: "#795da3" + shape_or: { fg: "#a71d5d" attr: "b" } + shape_pipe: { fg: "#a71d5d" attr: "b" } + shape_range: { fg: "#795da3" attr: "b" } + shape_record: { fg: "#183691" attr: "b" } + shape_redirection: { fg: "#a71d5d" attr: "b" } + shape_signature: { fg: "#183691" attr: "b" } + shape_string: "#183691" + shape_string_interpolation: { fg: "#183691" attr: "b" } + shape_table: { fg: "#795da3" attr: "b" } + shape_variable: "#a71d5d" + + background: "#ffffff" + foreground: "#333333" + cursor: "#333333" +}} \ No newline at end of file diff --git a/themes/themes/glacier.nu b/themes/themes/glacier.nu index 806265e..034a0d3 100644 --- a/themes/themes/glacier.nu +++ b/themes/themes/glacier.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the glacier theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0c1115" - # foreground: "#ffffff" - # cursor: "#6c6c6c" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#49e998" - empty: "#1f5872" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#49e998" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#404a55" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ea4727" - shape_bool: "#a0b6d3" - shape_int: "#ea4727" - shape_float: "#ea4727" - shape_range: "#fddf6e" - shape_internalcall: "#a0b6d3" - shape_external: "#778397" - shape_externalarg: "#49e998" - shape_literal: "#1f5872" - shape_operator: "#fb9435" - shape_signature: "#49e998" - shape_string: "#35a770" - shape_string_interpolation: "#a0b6d3" - shape_datetime: "#a0b6d3" - shape_list: "#a0b6d3" - shape_table: "#2a8bc1" - shape_record: "#a0b6d3" - shape_block: "#2a8bc1" - shape_filepath: "#778397" - shape_globpattern: "#a0b6d3" - shape_variable: "#bd2523" - shape_flag: "#2a8bc1" - shape_custom: "#35a770" - shape_nothing: "#a0b6d3" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#35a770" attr: "b" } + empty: "#1f5872" + bool: {|| if $in { "#a0b6d3" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#778397" + } else {{ fg: "#1f5872" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bd0f2f" attr: "b" } + } else if $in < 6hr { + "#bd0f2f" + } else if $in < 1day { + "#fb9435" + } else if $in < 3day { + "#35a770" + } else if $in < 1wk { + { fg: "#35a770" attr: "b" } + } else if $in < 6wk { + "#778397" + } else if $in < 52wk { + "#1f5872" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#35a770" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#bd2523" attr: "b" } + shape_binary: { fg: "#bd2523" attr: "b" } + shape_block: { fg: "#1f5872" attr: "b" } + shape_bool: "#a0b6d3" + shape_custom: "#35a770" + shape_datetime: { fg: "#778397" attr: "b" } + shape_directory: "#778397" + shape_external: "#778397" + shape_externalarg: { fg: "#35a770" attr: "b" } + shape_filepath: "#778397" + shape_flag: { fg: "#1f5872" attr: "b" } + shape_float: { fg: "#bd2523" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#778397" attr: "b" } + shape_int: { fg: "#bd2523" attr: "b" } + shape_internalcall: { fg: "#778397" attr: "b" } + shape_list: { fg: "#778397" attr: "b" } + shape_literal: "#1f5872" + shape_match_pattern: "#35a770" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#a0b6d3" + shape_operator: "#fb9435" + shape_or: { fg: "#bd2523" attr: "b" } + shape_pipe: { fg: "#bd2523" attr: "b" } + shape_range: { fg: "#fb9435" attr: "b" } + shape_record: { fg: "#778397" attr: "b" } + shape_redirection: { fg: "#bd2523" attr: "b" } + shape_signature: { fg: "#35a770" attr: "b" } + shape_string: "#35a770" + shape_string_interpolation: { fg: "#778397" attr: "b" } + shape_table: { fg: "#1f5872" attr: "b" } + shape_variable: "#bd2523" + + background: "#0c1115" + foreground: "#ffffff" + cursor: "#6c6c6c" +}} \ No newline at end of file diff --git a/themes/themes/goa-base.nu b/themes/themes/goa-base.nu index dd65d44..454530c 100644 --- a/themes/themes/goa-base.nu +++ b/themes/themes/goa-base.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the goa_base theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2f0033" - # foreground: "#f6ed00" - # cursor: "#1a6500" - - { - # color for nushell primitives - separator: "#f5f4fb" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#5743ff" - empty: "#000482" - bool: "#f5f4fb" - int: "#f5f4fb" - filesize: "#f5f4fb" - duration: "#f5f4fb" - date: "#f5f4fb" - range: "#f5f4fb" - float: "#f5f4fb" - string: "#f5f4fb" - nothing: "#f5f4fb" - binary: "#f5f4fb" - cellpath: "#f5f4fb" - row_index: "#5743ff" - record: "#f5f4fb" - list: "#f5f4fb" - block: "#f5f4fb" - hints: "#411a6d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9a5952" - shape_bool: "#c8f9f3" - shape_int: "#9a5952" - shape_float: "#9a5952" - shape_range: "#ea00d7" - shape_internalcall: "#c8f9f3" - shape_external: "#3affff" - shape_externalarg: "#5743ff" - shape_literal: "#000482" - shape_operator: "#f40000" - shape_signature: "#5743ff" - shape_string: "#249000" - shape_string_interpolation: "#c8f9f3" - shape_datetime: "#c8f9f3" - shape_list: "#c8f9f3" - shape_table: "#b90003" - shape_record: "#c8f9f3" - shape_block: "#b90003" - shape_filepath: "#3affff" - shape_globpattern: "#c8f9f3" - shape_variable: "#f43bff" - shape_flag: "#b90003" - shape_custom: "#249000" - shape_nothing: "#c8f9f3" +export def main [] { return { + separator: "#000000" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#249000" attr: "b" } + empty: "#000482" + bool: {|| if $in { "#c8f9f3" } else { "light_gray" } } + int: "#000000" + filesize: {|e| + if $e == 0b { + "#000000" + } else if $e < 1mb { + "#3affff" + } else {{ fg: "#000482" }} } -} + duration: "#000000" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f78000" attr: "b" } + } else if $in < 6hr { + "#f78000" + } else if $in < 1day { + "#f40000" + } else if $in < 3day { + "#249000" + } else if $in < 1wk { + { fg: "#249000" attr: "b" } + } else if $in < 6wk { + "#3affff" + } else if $in < 52wk { + "#000482" + } else { "dark_gray" } + } + range: "#000000" + float: "#000000" + string: "#000000" + nothing: "#000000" + binary: "#000000" + cellpath: "#000000" + row_index: { fg: "#249000" attr: "b" } + record: "#000000" + list: "#000000" + block: "#000000" + hints: "dark_gray" + + shape_and: { fg: "#f43bff" attr: "b" } + shape_binary: { fg: "#f43bff" attr: "b" } + shape_block: { fg: "#000482" attr: "b" } + shape_bool: "#c8f9f3" + shape_custom: "#249000" + shape_datetime: { fg: "#3affff" attr: "b" } + shape_directory: "#3affff" + shape_external: "#3affff" + shape_externalarg: { fg: "#249000" attr: "b" } + shape_filepath: "#3affff" + shape_flag: { fg: "#000482" attr: "b" } + shape_float: { fg: "#f43bff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3affff" attr: "b" } + shape_int: { fg: "#f43bff" attr: "b" } + shape_internalcall: { fg: "#3affff" attr: "b" } + shape_list: { fg: "#3affff" attr: "b" } + shape_literal: "#000482" + shape_match_pattern: "#249000" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#c8f9f3" + shape_operator: "#f40000" + shape_or: { fg: "#f43bff" attr: "b" } + shape_pipe: { fg: "#f43bff" attr: "b" } + shape_range: { fg: "#f40000" attr: "b" } + shape_record: { fg: "#3affff" attr: "b" } + shape_redirection: { fg: "#f43bff" attr: "b" } + shape_signature: { fg: "#249000" attr: "b" } + shape_string: "#249000" + shape_string_interpolation: { fg: "#3affff" attr: "b" } + shape_table: { fg: "#000482" attr: "b" } + shape_variable: "#f43bff" + + background: "#2f0033" + foreground: "#f6ed00" + cursor: "#1a6500" +}} \ No newline at end of file diff --git a/themes/themes/gooey.nu b/themes/themes/gooey.nu index 5266bf0..abf9f04 100644 --- a/themes/themes/gooey.nu +++ b/themes/themes/gooey.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gooey theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0d101b" - # foreground: "#ebeef9" - # cursor: "#ebeef9" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a5ffe1" - empty: "#58b6ca" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#a5ffe1" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#1f222d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#97bbf7" - shape_bool: "#c0b7f9" - shape_int: "#97bbf7" - shape_float: "#97bbf7" - shape_range: "#f99170" - shape_internalcall: "#c0b7f9" - shape_external: "#8d84c6" - shape_externalarg: "#a5ffe1" - shape_literal: "#58b6ca" - shape_operator: "#c65e3d" - shape_signature: "#a5ffe1" - shape_string: "#72ccae" - shape_string_interpolation: "#c0b7f9" - shape_datetime: "#c0b7f9" - shape_list: "#c0b7f9" - shape_table: "#8be9fd" - shape_record: "#c0b7f9" - shape_block: "#8be9fd" - shape_filepath: "#8d84c6" - shape_globpattern: "#c0b7f9" - shape_variable: "#6488c4" - shape_flag: "#8be9fd" - shape_custom: "#72ccae" - shape_nothing: "#c0b7f9" +export def main [] { return { + separator: "#858893" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#72ccae" attr: "b" } + empty: "#58b6ca" + bool: {|| if $in { "#c0b7f9" } else { "light_gray" } } + int: "#858893" + filesize: {|e| + if $e == 0b { + "#858893" + } else if $e < 1mb { + "#8d84c6" + } else {{ fg: "#58b6ca" }} } -} + duration: "#858893" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bb4f6c" attr: "b" } + } else if $in < 6hr { + "#bb4f6c" + } else if $in < 1day { + "#c65e3d" + } else if $in < 3day { + "#72ccae" + } else if $in < 1wk { + { fg: "#72ccae" attr: "b" } + } else if $in < 6wk { + "#8d84c6" + } else if $in < 52wk { + "#58b6ca" + } else { "dark_gray" } + } + range: "#858893" + float: "#858893" + string: "#858893" + nothing: "#858893" + binary: "#858893" + cellpath: "#858893" + row_index: { fg: "#72ccae" attr: "b" } + record: "#858893" + list: "#858893" + block: "#858893" + hints: "dark_gray" + + shape_and: { fg: "#6488c4" attr: "b" } + shape_binary: { fg: "#6488c4" attr: "b" } + shape_block: { fg: "#58b6ca" attr: "b" } + shape_bool: "#c0b7f9" + shape_custom: "#72ccae" + shape_datetime: { fg: "#8d84c6" attr: "b" } + shape_directory: "#8d84c6" + shape_external: "#8d84c6" + shape_externalarg: { fg: "#72ccae" attr: "b" } + shape_filepath: "#8d84c6" + shape_flag: { fg: "#58b6ca" attr: "b" } + shape_float: { fg: "#6488c4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8d84c6" attr: "b" } + shape_int: { fg: "#6488c4" attr: "b" } + shape_internalcall: { fg: "#8d84c6" attr: "b" } + shape_list: { fg: "#8d84c6" attr: "b" } + shape_literal: "#58b6ca" + shape_match_pattern: "#72ccae" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#c0b7f9" + shape_operator: "#c65e3d" + shape_or: { fg: "#6488c4" attr: "b" } + shape_pipe: { fg: "#6488c4" attr: "b" } + shape_range: { fg: "#c65e3d" attr: "b" } + shape_record: { fg: "#8d84c6" attr: "b" } + shape_redirection: { fg: "#6488c4" attr: "b" } + shape_signature: { fg: "#72ccae" attr: "b" } + shape_string: "#72ccae" + shape_string_interpolation: { fg: "#8d84c6" attr: "b" } + shape_table: { fg: "#58b6ca" attr: "b" } + shape_variable: "#6488c4" + + background: "#0d101b" + foreground: "#ebeef9" + cursor: "#ebeef9" +}} \ No newline at end of file diff --git a/themes/themes/google-dark.nu b/themes/themes/google-dark.nu index 9285e92..0250acf 100644 --- a/themes/themes/google-dark.nu +++ b/themes/themes/google-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the google_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d1f21" - # foreground: "#c5c8c6" - # cursor: "#c5c8c6" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#198844" - empty: "#3971ed" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#198844" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#969896" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a36ac7" - shape_bool: "#3971ed" - shape_int: "#a36ac7" - shape_float: "#a36ac7" - shape_range: "#fba922" - shape_internalcall: "#3971ed" - shape_external: "#3971ed" - shape_externalarg: "#198844" - shape_literal: "#3971ed" - shape_operator: "#fba922" - shape_signature: "#198844" - shape_string: "#198844" - shape_string_interpolation: "#3971ed" - shape_datetime: "#3971ed" - shape_list: "#3971ed" - shape_table: "#3971ed" - shape_record: "#3971ed" - shape_block: "#3971ed" - shape_filepath: "#3971ed" - shape_globpattern: "#3971ed" - shape_variable: "#a36ac7" - shape_flag: "#3971ed" - shape_custom: "#198844" - shape_nothing: "#3971ed" +export def main [] { return { + separator: "#c5c8c6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#198844" attr: "b" } + empty: "#3971ed" + bool: {|| if $in { "#3971ed" } else { "light_gray" } } + int: "#c5c8c6" + filesize: {|e| + if $e == 0b { + "#c5c8c6" + } else if $e < 1mb { + "#3971ed" + } else {{ fg: "#3971ed" }} } -} + duration: "#c5c8c6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc342b" attr: "b" } + } else if $in < 6hr { + "#cc342b" + } else if $in < 1day { + "#fba922" + } else if $in < 3day { + "#198844" + } else if $in < 1wk { + { fg: "#198844" attr: "b" } + } else if $in < 6wk { + "#3971ed" + } else if $in < 52wk { + "#3971ed" + } else { "dark_gray" } + } + range: "#c5c8c6" + float: "#c5c8c6" + string: "#c5c8c6" + nothing: "#c5c8c6" + binary: "#c5c8c6" + cellpath: "#c5c8c6" + row_index: { fg: "#198844" attr: "b" } + record: "#c5c8c6" + list: "#c5c8c6" + block: "#c5c8c6" + hints: "dark_gray" + + shape_and: { fg: "#a36ac7" attr: "b" } + shape_binary: { fg: "#a36ac7" attr: "b" } + shape_block: { fg: "#3971ed" attr: "b" } + shape_bool: "#3971ed" + shape_custom: "#198844" + shape_datetime: { fg: "#3971ed" attr: "b" } + shape_directory: "#3971ed" + shape_external: "#3971ed" + shape_externalarg: { fg: "#198844" attr: "b" } + shape_filepath: "#3971ed" + shape_flag: { fg: "#3971ed" attr: "b" } + shape_float: { fg: "#a36ac7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3971ed" attr: "b" } + shape_int: { fg: "#a36ac7" attr: "b" } + shape_internalcall: { fg: "#3971ed" attr: "b" } + shape_list: { fg: "#3971ed" attr: "b" } + shape_literal: "#3971ed" + shape_match_pattern: "#198844" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3971ed" + shape_operator: "#fba922" + shape_or: { fg: "#a36ac7" attr: "b" } + shape_pipe: { fg: "#a36ac7" attr: "b" } + shape_range: { fg: "#fba922" attr: "b" } + shape_record: { fg: "#3971ed" attr: "b" } + shape_redirection: { fg: "#a36ac7" attr: "b" } + shape_signature: { fg: "#198844" attr: "b" } + shape_string: "#198844" + shape_string_interpolation: { fg: "#3971ed" attr: "b" } + shape_table: { fg: "#3971ed" attr: "b" } + shape_variable: "#a36ac7" + + background: "#1d1f21" + foreground: "#c5c8c6" + cursor: "#c5c8c6" +}} \ No newline at end of file diff --git a/themes/themes/google-light.nu b/themes/themes/google-light.nu index 1539859..71e12d1 100644 --- a/themes/themes/google-light.nu +++ b/themes/themes/google-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the google_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#373b41" - # cursor: "#373b41" - - { - # color for nushell primitives - separator: "#1d1f21" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#198844" - empty: "#3971ed" - bool: "#1d1f21" - int: "#1d1f21" - filesize: "#1d1f21" - duration: "#1d1f21" - date: "#1d1f21" - range: "#1d1f21" - float: "#1d1f21" - string: "#1d1f21" - nothing: "#1d1f21" - binary: "#1d1f21" - cellpath: "#1d1f21" - row_index: "#198844" - record: "#1d1f21" - list: "#1d1f21" - block: "#1d1f21" - hints: "#b4b7b4" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a36ac7" - shape_bool: "#3971ed" - shape_int: "#a36ac7" - shape_float: "#a36ac7" - shape_range: "#fba922" - shape_internalcall: "#3971ed" - shape_external: "#3971ed" - shape_externalarg: "#198844" - shape_literal: "#3971ed" - shape_operator: "#fba922" - shape_signature: "#198844" - shape_string: "#198844" - shape_string_interpolation: "#3971ed" - shape_datetime: "#3971ed" - shape_list: "#3971ed" - shape_table: "#3971ed" - shape_record: "#3971ed" - shape_block: "#3971ed" - shape_filepath: "#3971ed" - shape_globpattern: "#3971ed" - shape_variable: "#a36ac7" - shape_flag: "#3971ed" - shape_custom: "#198844" - shape_nothing: "#3971ed" +export def main [] { return { + separator: "#373b41" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#198844" attr: "b" } + empty: "#3971ed" + bool: {|| if $in { "#3971ed" } else { "light_gray" } } + int: "#373b41" + filesize: {|e| + if $e == 0b { + "#373b41" + } else if $e < 1mb { + "#3971ed" + } else {{ fg: "#3971ed" }} } -} + duration: "#373b41" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc342b" attr: "b" } + } else if $in < 6hr { + "#cc342b" + } else if $in < 1day { + "#fba922" + } else if $in < 3day { + "#198844" + } else if $in < 1wk { + { fg: "#198844" attr: "b" } + } else if $in < 6wk { + "#3971ed" + } else if $in < 52wk { + "#3971ed" + } else { "dark_gray" } + } + range: "#373b41" + float: "#373b41" + string: "#373b41" + nothing: "#373b41" + binary: "#373b41" + cellpath: "#373b41" + row_index: { fg: "#198844" attr: "b" } + record: "#373b41" + list: "#373b41" + block: "#373b41" + hints: "dark_gray" + + shape_and: { fg: "#a36ac7" attr: "b" } + shape_binary: { fg: "#a36ac7" attr: "b" } + shape_block: { fg: "#3971ed" attr: "b" } + shape_bool: "#3971ed" + shape_custom: "#198844" + shape_datetime: { fg: "#3971ed" attr: "b" } + shape_directory: "#3971ed" + shape_external: "#3971ed" + shape_externalarg: { fg: "#198844" attr: "b" } + shape_filepath: "#3971ed" + shape_flag: { fg: "#3971ed" attr: "b" } + shape_float: { fg: "#a36ac7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3971ed" attr: "b" } + shape_int: { fg: "#a36ac7" attr: "b" } + shape_internalcall: { fg: "#3971ed" attr: "b" } + shape_list: { fg: "#3971ed" attr: "b" } + shape_literal: "#3971ed" + shape_match_pattern: "#198844" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3971ed" + shape_operator: "#fba922" + shape_or: { fg: "#a36ac7" attr: "b" } + shape_pipe: { fg: "#a36ac7" attr: "b" } + shape_range: { fg: "#fba922" attr: "b" } + shape_record: { fg: "#3971ed" attr: "b" } + shape_redirection: { fg: "#a36ac7" attr: "b" } + shape_signature: { fg: "#198844" attr: "b" } + shape_string: "#198844" + shape_string_interpolation: { fg: "#3971ed" attr: "b" } + shape_table: { fg: "#3971ed" attr: "b" } + shape_variable: "#a36ac7" + + background: "#ffffff" + foreground: "#373b41" + cursor: "#373b41" +}} \ No newline at end of file diff --git a/themes/themes/grape.nu b/themes/themes/grape.nu index 1dc132d..eb888fd 100644 --- a/themes/themes/grape.nu +++ b/themes/themes/grape.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the grape theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#171423" - # foreground: "#9f9fa1" - # cursor: "#9f9fa1" - - { - # color for nushell primitives - separator: "#a288f7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#53aa5e" - empty: "#487df4" - bool: "#a288f7" - int: "#a288f7" - filesize: "#a288f7" - duration: "#a288f7" - date: "#a288f7" - range: "#a288f7" - float: "#a288f7" - string: "#a288f7" - nothing: "#a288f7" - binary: "#a288f7" - cellpath: "#a288f7" - row_index: "#53aa5e" - record: "#a288f7" - list: "#a288f7" - block: "#a288f7" - hints: "#59516a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ad81c2" - shape_bool: "#9de3eb" - shape_int: "#ad81c2" - shape_float: "#ad81c2" - shape_range: "#b2dc87" - shape_internalcall: "#9de3eb" - shape_external: "#3bdeed" - shape_externalarg: "#53aa5e" - shape_literal: "#487df4" - shape_operator: "#8ddc20" - shape_signature: "#53aa5e" - shape_string: "#1fa91b" - shape_string_interpolation: "#9de3eb" - shape_datetime: "#9de3eb" - shape_list: "#9de3eb" - shape_table: "#a9bcec" - shape_record: "#9de3eb" - shape_block: "#a9bcec" - shape_filepath: "#3bdeed" - shape_globpattern: "#9de3eb" - shape_variable: "#8d35c9" - shape_flag: "#a9bcec" - shape_custom: "#1fa91b" - shape_nothing: "#9de3eb" +export def main [] { return { + separator: "#9e9ea0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#1fa91b" attr: "b" } + empty: "#487df4" + bool: {|| if $in { "#9de3eb" } else { "light_gray" } } + int: "#9e9ea0" + filesize: {|e| + if $e == 0b { + "#9e9ea0" + } else if $e < 1mb { + "#3bdeed" + } else {{ fg: "#487df4" }} } -} + duration: "#9e9ea0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ed2261" attr: "b" } + } else if $in < 6hr { + "#ed2261" + } else if $in < 1day { + "#8ddc20" + } else if $in < 3day { + "#1fa91b" + } else if $in < 1wk { + { fg: "#1fa91b" attr: "b" } + } else if $in < 6wk { + "#3bdeed" + } else if $in < 52wk { + "#487df4" + } else { "dark_gray" } + } + range: "#9e9ea0" + float: "#9e9ea0" + string: "#9e9ea0" + nothing: "#9e9ea0" + binary: "#9e9ea0" + cellpath: "#9e9ea0" + row_index: { fg: "#1fa91b" attr: "b" } + record: "#9e9ea0" + list: "#9e9ea0" + block: "#9e9ea0" + hints: "dark_gray" + + shape_and: { fg: "#8d35c9" attr: "b" } + shape_binary: { fg: "#8d35c9" attr: "b" } + shape_block: { fg: "#487df4" attr: "b" } + shape_bool: "#9de3eb" + shape_custom: "#1fa91b" + shape_datetime: { fg: "#3bdeed" attr: "b" } + shape_directory: "#3bdeed" + shape_external: "#3bdeed" + shape_externalarg: { fg: "#1fa91b" attr: "b" } + shape_filepath: "#3bdeed" + shape_flag: { fg: "#487df4" attr: "b" } + shape_float: { fg: "#8d35c9" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3bdeed" attr: "b" } + shape_int: { fg: "#8d35c9" attr: "b" } + shape_internalcall: { fg: "#3bdeed" attr: "b" } + shape_list: { fg: "#3bdeed" attr: "b" } + shape_literal: "#487df4" + shape_match_pattern: "#1fa91b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#9de3eb" + shape_operator: "#8ddc20" + shape_or: { fg: "#8d35c9" attr: "b" } + shape_pipe: { fg: "#8d35c9" attr: "b" } + shape_range: { fg: "#8ddc20" attr: "b" } + shape_record: { fg: "#3bdeed" attr: "b" } + shape_redirection: { fg: "#8d35c9" attr: "b" } + shape_signature: { fg: "#1fa91b" attr: "b" } + shape_string: "#1fa91b" + shape_string_interpolation: { fg: "#3bdeed" attr: "b" } + shape_table: { fg: "#487df4" attr: "b" } + shape_variable: "#8d35c9" + + background: "#171423" + foreground: "#9f9fa1" + cursor: "#9f9fa1" +}} \ No newline at end of file diff --git a/themes/themes/grass.nu b/themes/themes/grass.nu index 5006c44..61663bc 100644 --- a/themes/themes/grass.nu +++ b/themes/themes/grass.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the grass theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#13773d" - # foreground: "#fff0a5" - # cursor: "#fff0a5" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00bb00" - empty: "#0000a3" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#00bb00" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff55ff" - shape_bool: "#55ffff" - shape_int: "#ff55ff" - shape_float: "#ff55ff" - shape_range: "#e7b000" - shape_internalcall: "#55ffff" - shape_external: "#00bbbb" - shape_externalarg: "#00bb00" - shape_literal: "#0000a3" - shape_operator: "#e7b000" - shape_signature: "#00bb00" - shape_string: "#00bb00" - shape_string_interpolation: "#55ffff" - shape_datetime: "#55ffff" - shape_list: "#55ffff" - shape_table: "#0000bb" - shape_record: "#55ffff" - shape_block: "#0000bb" - shape_filepath: "#00bbbb" - shape_globpattern: "#55ffff" - shape_variable: "#950062" - shape_flag: "#0000bb" - shape_custom: "#00bb00" - shape_nothing: "#55ffff" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00bb00" attr: "b" } + empty: "#0000a3" + bool: {|| if $in { "#55ffff" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#00bbbb" + } else {{ fg: "#0000a3" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bb0000" attr: "b" } + } else if $in < 6hr { + "#bb0000" + } else if $in < 1day { + "#e7b000" + } else if $in < 3day { + "#00bb00" + } else if $in < 1wk { + { fg: "#00bb00" attr: "b" } + } else if $in < 6wk { + "#00bbbb" + } else if $in < 52wk { + "#0000a3" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#00bb00" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#950062" attr: "b" } + shape_binary: { fg: "#950062" attr: "b" } + shape_block: { fg: "#0000a3" attr: "b" } + shape_bool: "#55ffff" + shape_custom: "#00bb00" + shape_datetime: { fg: "#00bbbb" attr: "b" } + shape_directory: "#00bbbb" + shape_external: "#00bbbb" + shape_externalarg: { fg: "#00bb00" attr: "b" } + shape_filepath: "#00bbbb" + shape_flag: { fg: "#0000a3" attr: "b" } + shape_float: { fg: "#950062" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00bbbb" attr: "b" } + shape_int: { fg: "#950062" attr: "b" } + shape_internalcall: { fg: "#00bbbb" attr: "b" } + shape_list: { fg: "#00bbbb" attr: "b" } + shape_literal: "#0000a3" + shape_match_pattern: "#00bb00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#55ffff" + shape_operator: "#e7b000" + shape_or: { fg: "#950062" attr: "b" } + shape_pipe: { fg: "#950062" attr: "b" } + shape_range: { fg: "#e7b000" attr: "b" } + shape_record: { fg: "#00bbbb" attr: "b" } + shape_redirection: { fg: "#950062" attr: "b" } + shape_signature: { fg: "#00bb00" attr: "b" } + shape_string: "#00bb00" + shape_string_interpolation: { fg: "#00bbbb" attr: "b" } + shape_table: { fg: "#0000a3" attr: "b" } + shape_variable: "#950062" + + background: "#13773d" + foreground: "#fff0a5" + cursor: "#fff0a5" +}} \ No newline at end of file diff --git a/themes/themes/grayscale-dark.nu b/themes/themes/grayscale-dark.nu index 20da2f8..52f0059 100644 --- a/themes/themes/grayscale-dark.nu +++ b/themes/themes/grayscale-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the grayscale_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#101010" - # foreground: "#b9b9b9" - # cursor: "#b9b9b9" - - { - # color for nushell primitives - separator: "#f7f7f7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8e8e8e" - empty: "#686868" - bool: "#f7f7f7" - int: "#f7f7f7" - filesize: "#f7f7f7" - duration: "#f7f7f7" - date: "#f7f7f7" - range: "#f7f7f7" - float: "#f7f7f7" - string: "#f7f7f7" - nothing: "#f7f7f7" - binary: "#f7f7f7" - cellpath: "#f7f7f7" - row_index: "#8e8e8e" - record: "#f7f7f7" - list: "#f7f7f7" - block: "#f7f7f7" - hints: "#525252" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#747474" - shape_bool: "#868686" - shape_int: "#747474" - shape_float: "#747474" - shape_range: "#a0a0a0" - shape_internalcall: "#868686" - shape_external: "#868686" - shape_externalarg: "#8e8e8e" - shape_literal: "#686868" - shape_operator: "#a0a0a0" - shape_signature: "#8e8e8e" - shape_string: "#8e8e8e" - shape_string_interpolation: "#868686" - shape_datetime: "#868686" - shape_list: "#868686" - shape_table: "#686868" - shape_record: "#868686" - shape_block: "#686868" - shape_filepath: "#868686" - shape_globpattern: "#868686" - shape_variable: "#747474" - shape_flag: "#686868" - shape_custom: "#8e8e8e" - shape_nothing: "#868686" +export def main [] { return { + separator: "#b9b9b9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8e8e8e" attr: "b" } + empty: "#686868" + bool: {|| if $in { "#868686" } else { "light_gray" } } + int: "#b9b9b9" + filesize: {|e| + if $e == 0b { + "#b9b9b9" + } else if $e < 1mb { + "#868686" + } else {{ fg: "#686868" }} } -} + duration: "#b9b9b9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#7c7c7c" attr: "b" } + } else if $in < 6hr { + "#7c7c7c" + } else if $in < 1day { + "#a0a0a0" + } else if $in < 3day { + "#8e8e8e" + } else if $in < 1wk { + { fg: "#8e8e8e" attr: "b" } + } else if $in < 6wk { + "#868686" + } else if $in < 52wk { + "#686868" + } else { "dark_gray" } + } + range: "#b9b9b9" + float: "#b9b9b9" + string: "#b9b9b9" + nothing: "#b9b9b9" + binary: "#b9b9b9" + cellpath: "#b9b9b9" + row_index: { fg: "#8e8e8e" attr: "b" } + record: "#b9b9b9" + list: "#b9b9b9" + block: "#b9b9b9" + hints: "dark_gray" + + shape_and: { fg: "#747474" attr: "b" } + shape_binary: { fg: "#747474" attr: "b" } + shape_block: { fg: "#686868" attr: "b" } + shape_bool: "#868686" + shape_custom: "#8e8e8e" + shape_datetime: { fg: "#868686" attr: "b" } + shape_directory: "#868686" + shape_external: "#868686" + shape_externalarg: { fg: "#8e8e8e" attr: "b" } + shape_filepath: "#868686" + shape_flag: { fg: "#686868" attr: "b" } + shape_float: { fg: "#747474" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#868686" attr: "b" } + shape_int: { fg: "#747474" attr: "b" } + shape_internalcall: { fg: "#868686" attr: "b" } + shape_list: { fg: "#868686" attr: "b" } + shape_literal: "#686868" + shape_match_pattern: "#8e8e8e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#868686" + shape_operator: "#a0a0a0" + shape_or: { fg: "#747474" attr: "b" } + shape_pipe: { fg: "#747474" attr: "b" } + shape_range: { fg: "#a0a0a0" attr: "b" } + shape_record: { fg: "#868686" attr: "b" } + shape_redirection: { fg: "#747474" attr: "b" } + shape_signature: { fg: "#8e8e8e" attr: "b" } + shape_string: "#8e8e8e" + shape_string_interpolation: { fg: "#868686" attr: "b" } + shape_table: { fg: "#686868" attr: "b" } + shape_variable: "#747474" + + background: "#101010" + foreground: "#b9b9b9" + cursor: "#b9b9b9" +}} \ No newline at end of file diff --git a/themes/themes/grayscale-light.nu b/themes/themes/grayscale-light.nu index 8b32ad7..7103308 100644 --- a/themes/themes/grayscale-light.nu +++ b/themes/themes/grayscale-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the grayscale_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f7f7f7" - # foreground: "#464646" - # cursor: "#464646" - - { - # color for nushell primitives - separator: "#101010" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8e8e8e" - empty: "#686868" - bool: "#101010" - int: "#101010" - filesize: "#101010" - duration: "#101010" - date: "#101010" - range: "#101010" - float: "#101010" - string: "#101010" - nothing: "#101010" - binary: "#101010" - cellpath: "#101010" - row_index: "#8e8e8e" - record: "#101010" - list: "#101010" - block: "#101010" - hints: "#ababab" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#747474" - shape_bool: "#868686" - shape_int: "#747474" - shape_float: "#747474" - shape_range: "#a0a0a0" - shape_internalcall: "#868686" - shape_external: "#868686" - shape_externalarg: "#8e8e8e" - shape_literal: "#686868" - shape_operator: "#a0a0a0" - shape_signature: "#8e8e8e" - shape_string: "#8e8e8e" - shape_string_interpolation: "#868686" - shape_datetime: "#868686" - shape_list: "#868686" - shape_table: "#686868" - shape_record: "#868686" - shape_block: "#686868" - shape_filepath: "#868686" - shape_globpattern: "#868686" - shape_variable: "#747474" - shape_flag: "#686868" - shape_custom: "#8e8e8e" - shape_nothing: "#868686" +export def main [] { return { + separator: "#464646" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8e8e8e" attr: "b" } + empty: "#686868" + bool: {|| if $in { "#868686" } else { "light_gray" } } + int: "#464646" + filesize: {|e| + if $e == 0b { + "#464646" + } else if $e < 1mb { + "#868686" + } else {{ fg: "#686868" }} } -} + duration: "#464646" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#7c7c7c" attr: "b" } + } else if $in < 6hr { + "#7c7c7c" + } else if $in < 1day { + "#a0a0a0" + } else if $in < 3day { + "#8e8e8e" + } else if $in < 1wk { + { fg: "#8e8e8e" attr: "b" } + } else if $in < 6wk { + "#868686" + } else if $in < 52wk { + "#686868" + } else { "dark_gray" } + } + range: "#464646" + float: "#464646" + string: "#464646" + nothing: "#464646" + binary: "#464646" + cellpath: "#464646" + row_index: { fg: "#8e8e8e" attr: "b" } + record: "#464646" + list: "#464646" + block: "#464646" + hints: "dark_gray" + + shape_and: { fg: "#747474" attr: "b" } + shape_binary: { fg: "#747474" attr: "b" } + shape_block: { fg: "#686868" attr: "b" } + shape_bool: "#868686" + shape_custom: "#8e8e8e" + shape_datetime: { fg: "#868686" attr: "b" } + shape_directory: "#868686" + shape_external: "#868686" + shape_externalarg: { fg: "#8e8e8e" attr: "b" } + shape_filepath: "#868686" + shape_flag: { fg: "#686868" attr: "b" } + shape_float: { fg: "#747474" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#868686" attr: "b" } + shape_int: { fg: "#747474" attr: "b" } + shape_internalcall: { fg: "#868686" attr: "b" } + shape_list: { fg: "#868686" attr: "b" } + shape_literal: "#686868" + shape_match_pattern: "#8e8e8e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#868686" + shape_operator: "#a0a0a0" + shape_or: { fg: "#747474" attr: "b" } + shape_pipe: { fg: "#747474" attr: "b" } + shape_range: { fg: "#a0a0a0" attr: "b" } + shape_record: { fg: "#868686" attr: "b" } + shape_redirection: { fg: "#747474" attr: "b" } + shape_signature: { fg: "#8e8e8e" attr: "b" } + shape_string: "#8e8e8e" + shape_string_interpolation: { fg: "#868686" attr: "b" } + shape_table: { fg: "#686868" attr: "b" } + shape_variable: "#747474" + + background: "#f7f7f7" + foreground: "#464646" + cursor: "#464646" +}} \ No newline at end of file diff --git a/themes/themes/green-screen.nu b/themes/themes/green-screen.nu index 20d590f..1386fdb 100644 --- a/themes/themes/green-screen.nu +++ b/themes/themes/green-screen.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the green_screen theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#001100" - # foreground: "#00bb00" - # cursor: "#00bb00" - - { - # color for nushell primitives - separator: "#00ff00" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00bb00" - empty: "#009900" - bool: "#00ff00" - int: "#00ff00" - filesize: "#00ff00" - duration: "#00ff00" - date: "#00ff00" - range: "#00ff00" - float: "#00ff00" - string: "#00ff00" - nothing: "#00ff00" - binary: "#00ff00" - cellpath: "#00ff00" - row_index: "#00bb00" - record: "#00ff00" - list: "#00ff00" - block: "#00ff00" - hints: "#007700" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#00bb00" - shape_bool: "#005500" - shape_int: "#00bb00" - shape_float: "#00bb00" - shape_range: "#007700" - shape_internalcall: "#005500" - shape_external: "#005500" - shape_externalarg: "#00bb00" - shape_literal: "#009900" - shape_operator: "#007700" - shape_signature: "#00bb00" - shape_string: "#00bb00" - shape_string_interpolation: "#005500" - shape_datetime: "#005500" - shape_list: "#005500" - shape_table: "#009900" - shape_record: "#005500" - shape_block: "#009900" - shape_filepath: "#005500" - shape_globpattern: "#005500" - shape_variable: "#00bb00" - shape_flag: "#009900" - shape_custom: "#00bb00" - shape_nothing: "#005500" +export def main [] { return { + separator: "#00bb00" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00bb00" attr: "b" } + empty: "#009900" + bool: {|| if $in { "#005500" } else { "light_gray" } } + int: "#00bb00" + filesize: {|e| + if $e == 0b { + "#00bb00" + } else if $e < 1mb { + "#005500" + } else {{ fg: "#009900" }} } -} + duration: "#00bb00" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#007700" attr: "b" } + } else if $in < 6hr { + "#007700" + } else if $in < 1day { + "#007700" + } else if $in < 3day { + "#00bb00" + } else if $in < 1wk { + { fg: "#00bb00" attr: "b" } + } else if $in < 6wk { + "#005500" + } else if $in < 52wk { + "#009900" + } else { "dark_gray" } + } + range: "#00bb00" + float: "#00bb00" + string: "#00bb00" + nothing: "#00bb00" + binary: "#00bb00" + cellpath: "#00bb00" + row_index: { fg: "#00bb00" attr: "b" } + record: "#00bb00" + list: "#00bb00" + block: "#00bb00" + hints: "dark_gray" + + shape_and: { fg: "#00bb00" attr: "b" } + shape_binary: { fg: "#00bb00" attr: "b" } + shape_block: { fg: "#009900" attr: "b" } + shape_bool: "#005500" + shape_custom: "#00bb00" + shape_datetime: { fg: "#005500" attr: "b" } + shape_directory: "#005500" + shape_external: "#005500" + shape_externalarg: { fg: "#00bb00" attr: "b" } + shape_filepath: "#005500" + shape_flag: { fg: "#009900" attr: "b" } + shape_float: { fg: "#00bb00" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#005500" attr: "b" } + shape_int: { fg: "#00bb00" attr: "b" } + shape_internalcall: { fg: "#005500" attr: "b" } + shape_list: { fg: "#005500" attr: "b" } + shape_literal: "#009900" + shape_match_pattern: "#00bb00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#005500" + shape_operator: "#007700" + shape_or: { fg: "#00bb00" attr: "b" } + shape_pipe: { fg: "#00bb00" attr: "b" } + shape_range: { fg: "#007700" attr: "b" } + shape_record: { fg: "#005500" attr: "b" } + shape_redirection: { fg: "#00bb00" attr: "b" } + shape_signature: { fg: "#00bb00" attr: "b" } + shape_string: "#00bb00" + shape_string_interpolation: { fg: "#005500" attr: "b" } + shape_table: { fg: "#009900" attr: "b" } + shape_variable: "#00bb00" + + background: "#001100" + foreground: "#00bb00" + cursor: "#00bb00" +}} \ No newline at end of file diff --git a/themes/themes/greenscreen.nu b/themes/themes/greenscreen.nu index e474e08..1386fdb 100644 --- a/themes/themes/greenscreen.nu +++ b/themes/themes/greenscreen.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the greenscreen theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#001100" - # foreground: "#00bb00" - # cursor: "#00bb00" - - { - # color for nushell primitives - separator: "#00ff00" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00bb00" - empty: "#009900" - bool: "#00ff00" - int: "#00ff00" - filesize: "#00ff00" - duration: "#00ff00" - date: "#00ff00" - range: "#00ff00" - float: "#00ff00" - string: "#00ff00" - nothing: "#00ff00" - binary: "#00ff00" - cellpath: "#00ff00" - row_index: "#00bb00" - record: "#00ff00" - list: "#00ff00" - block: "#00ff00" - hints: "#007700" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#00bb00" - shape_bool: "#005500" - shape_int: "#00bb00" - shape_float: "#00bb00" - shape_range: "#007700" - shape_internalcall: "#005500" - shape_external: "#005500" - shape_externalarg: "#00bb00" - shape_literal: "#009900" - shape_operator: "#007700" - shape_signature: "#00bb00" - shape_string: "#00bb00" - shape_string_interpolation: "#005500" - shape_datetime: "#005500" - shape_list: "#005500" - shape_table: "#009900" - shape_record: "#005500" - shape_block: "#009900" - shape_filepath: "#005500" - shape_globpattern: "#005500" - shape_variable: "#00bb00" - shape_flag: "#009900" - shape_custom: "#00bb00" - shape_nothing: "#005500" +export def main [] { return { + separator: "#00bb00" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00bb00" attr: "b" } + empty: "#009900" + bool: {|| if $in { "#005500" } else { "light_gray" } } + int: "#00bb00" + filesize: {|e| + if $e == 0b { + "#00bb00" + } else if $e < 1mb { + "#005500" + } else {{ fg: "#009900" }} } -} + duration: "#00bb00" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#007700" attr: "b" } + } else if $in < 6hr { + "#007700" + } else if $in < 1day { + "#007700" + } else if $in < 3day { + "#00bb00" + } else if $in < 1wk { + { fg: "#00bb00" attr: "b" } + } else if $in < 6wk { + "#005500" + } else if $in < 52wk { + "#009900" + } else { "dark_gray" } + } + range: "#00bb00" + float: "#00bb00" + string: "#00bb00" + nothing: "#00bb00" + binary: "#00bb00" + cellpath: "#00bb00" + row_index: { fg: "#00bb00" attr: "b" } + record: "#00bb00" + list: "#00bb00" + block: "#00bb00" + hints: "dark_gray" + + shape_and: { fg: "#00bb00" attr: "b" } + shape_binary: { fg: "#00bb00" attr: "b" } + shape_block: { fg: "#009900" attr: "b" } + shape_bool: "#005500" + shape_custom: "#00bb00" + shape_datetime: { fg: "#005500" attr: "b" } + shape_directory: "#005500" + shape_external: "#005500" + shape_externalarg: { fg: "#00bb00" attr: "b" } + shape_filepath: "#005500" + shape_flag: { fg: "#009900" attr: "b" } + shape_float: { fg: "#00bb00" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#005500" attr: "b" } + shape_int: { fg: "#00bb00" attr: "b" } + shape_internalcall: { fg: "#005500" attr: "b" } + shape_list: { fg: "#005500" attr: "b" } + shape_literal: "#009900" + shape_match_pattern: "#00bb00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#005500" + shape_operator: "#007700" + shape_or: { fg: "#00bb00" attr: "b" } + shape_pipe: { fg: "#00bb00" attr: "b" } + shape_range: { fg: "#007700" attr: "b" } + shape_record: { fg: "#005500" attr: "b" } + shape_redirection: { fg: "#00bb00" attr: "b" } + shape_signature: { fg: "#00bb00" attr: "b" } + shape_string: "#00bb00" + shape_string_interpolation: { fg: "#005500" attr: "b" } + shape_table: { fg: "#009900" attr: "b" } + shape_variable: "#00bb00" + + background: "#001100" + foreground: "#00bb00" + cursor: "#00bb00" +}} \ No newline at end of file diff --git a/themes/themes/gruvbit.nu b/themes/themes/gruvbit.nu index 035556c..8b7e283 100644 --- a/themes/themes/gruvbit.nu +++ b/themes/themes/gruvbit.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbit theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d1f21" - # foreground: "#ebdbb2" - # cursor: "#ebdbb2" - - { - # color for nushell primitives - separator: "#e9593d" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8ec07c" - empty: "#83a598" - bool: "#e9593d" - int: "#e9593d" - filesize: "#e9593d" - duration: "#e9593d" - date: "#e9593d" - range: "#e9593d" - float: "#e9593d" - string: "#e9593d" - nothing: "#e9593d" - binary: "#e9593d" - cellpath: "#e9593d" - row_index: "#8ec07c" - record: "#e9593d" - list: "#e9593d" - block: "#e9593d" - hints: "#968772" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fe8019" - shape_bool: "#e9593d" - shape_int: "#fe8019" - shape_float: "#fe8019" - shape_range: "#dc9656" - shape_internalcall: "#e9593d" - shape_external: "#e9593d" - shape_externalarg: "#8ec07c" - shape_literal: "#83a598" - shape_operator: "#dc9656" - shape_signature: "#8ec07c" - shape_string: "#8ec07c" - shape_string_interpolation: "#e9593d" - shape_datetime: "#e9593d" - shape_list: "#e9593d" - shape_table: "#83a598" - shape_record: "#e9593d" - shape_block: "#83a598" - shape_filepath: "#e9593d" - shape_globpattern: "#e9593d" - shape_variable: "#fe8019" - shape_flag: "#83a598" - shape_custom: "#8ec07c" - shape_nothing: "#e9593d" +export def main [] { return { + separator: "#504945" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8ec07c" attr: "b" } + empty: "#83a598" + bool: {|| if $in { "#e9593d" } else { "light_gray" } } + int: "#504945" + filesize: {|e| + if $e == 0b { + "#504945" + } else if $e < 1mb { + "#e9593d" + } else {{ fg: "#83a598" }} } -} + duration: "#504945" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fabd2f" attr: "b" } + } else if $in < 6hr { + "#fabd2f" + } else if $in < 1day { + "#dc9656" + } else if $in < 3day { + "#8ec07c" + } else if $in < 1wk { + { fg: "#8ec07c" attr: "b" } + } else if $in < 6wk { + "#e9593d" + } else if $in < 52wk { + "#83a598" + } else { "dark_gray" } + } + range: "#504945" + float: "#504945" + string: "#504945" + nothing: "#504945" + binary: "#504945" + cellpath: "#504945" + row_index: { fg: "#8ec07c" attr: "b" } + record: "#504945" + list: "#504945" + block: "#504945" + hints: "dark_gray" + + shape_and: { fg: "#fe8019" attr: "b" } + shape_binary: { fg: "#fe8019" attr: "b" } + shape_block: { fg: "#83a598" attr: "b" } + shape_bool: "#e9593d" + shape_custom: "#8ec07c" + shape_datetime: { fg: "#e9593d" attr: "b" } + shape_directory: "#e9593d" + shape_external: "#e9593d" + shape_externalarg: { fg: "#8ec07c" attr: "b" } + shape_filepath: "#e9593d" + shape_flag: { fg: "#83a598" attr: "b" } + shape_float: { fg: "#fe8019" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#e9593d" attr: "b" } + shape_int: { fg: "#fe8019" attr: "b" } + shape_internalcall: { fg: "#e9593d" attr: "b" } + shape_list: { fg: "#e9593d" attr: "b" } + shape_literal: "#83a598" + shape_match_pattern: "#8ec07c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#e9593d" + shape_operator: "#dc9656" + shape_or: { fg: "#fe8019" attr: "b" } + shape_pipe: { fg: "#fe8019" attr: "b" } + shape_range: { fg: "#dc9656" attr: "b" } + shape_record: { fg: "#e9593d" attr: "b" } + shape_redirection: { fg: "#fe8019" attr: "b" } + shape_signature: { fg: "#8ec07c" attr: "b" } + shape_string: "#8ec07c" + shape_string_interpolation: { fg: "#e9593d" attr: "b" } + shape_table: { fg: "#83a598" attr: "b" } + shape_variable: "#fe8019" + + background: "#1d1f21" + foreground: "#ebdbb2" + cursor: "#ebdbb2" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-dark-hard.nu b/themes/themes/gruvbox-dark-hard.nu index 6eeced1..1e2ce9b 100644 --- a/themes/themes/gruvbox-dark-hard.nu +++ b/themes/themes/gruvbox-dark-hard.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_dark-hard theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d2021" - # foreground: "#d5c4a1" - # cursor: "#d5c4a1" - - { - # color for nushell primitives - separator: "#fbf1c7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b8bb26" - empty: "#83a598" - bool: "#fbf1c7" - int: "#fbf1c7" - filesize: "#fbf1c7" - duration: "#fbf1c7" - date: "#fbf1c7" - range: "#fbf1c7" - float: "#fbf1c7" - string: "#fbf1c7" - nothing: "#fbf1c7" - binary: "#fbf1c7" - cellpath: "#fbf1c7" - row_index: "#b8bb26" - record: "#fbf1c7" - list: "#fbf1c7" - block: "#fbf1c7" - hints: "#665c54" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#8ec07c" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#fabd2f" - shape_internalcall: "#8ec07c" - shape_external: "#8ec07c" - shape_externalarg: "#b8bb26" - shape_literal: "#83a598" - shape_operator: "#fabd2f" - shape_signature: "#b8bb26" - shape_string: "#b8bb26" - shape_string_interpolation: "#8ec07c" - shape_datetime: "#8ec07c" - shape_list: "#8ec07c" - shape_table: "#83a598" - shape_record: "#8ec07c" - shape_block: "#83a598" - shape_filepath: "#8ec07c" - shape_globpattern: "#8ec07c" - shape_variable: "#d3869b" - shape_flag: "#83a598" - shape_custom: "#b8bb26" - shape_nothing: "#8ec07c" +export def main [] { return { + separator: "#d5c4a1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b8bb26" attr: "b" } + empty: "#83a598" + bool: {|| if $in { "#8ec07c" } else { "light_gray" } } + int: "#d5c4a1" + filesize: {|e| + if $e == 0b { + "#d5c4a1" + } else if $e < 1mb { + "#8ec07c" + } else {{ fg: "#83a598" }} } -} + duration: "#d5c4a1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb4934" attr: "b" } + } else if $in < 6hr { + "#fb4934" + } else if $in < 1day { + "#fabd2f" + } else if $in < 3day { + "#b8bb26" + } else if $in < 1wk { + { fg: "#b8bb26" attr: "b" } + } else if $in < 6wk { + "#8ec07c" + } else if $in < 52wk { + "#83a598" + } else { "dark_gray" } + } + range: "#d5c4a1" + float: "#d5c4a1" + string: "#d5c4a1" + nothing: "#d5c4a1" + binary: "#d5c4a1" + cellpath: "#d5c4a1" + row_index: { fg: "#b8bb26" attr: "b" } + record: "#d5c4a1" + list: "#d5c4a1" + block: "#d5c4a1" + hints: "dark_gray" + + shape_and: { fg: "#d3869b" attr: "b" } + shape_binary: { fg: "#d3869b" attr: "b" } + shape_block: { fg: "#83a598" attr: "b" } + shape_bool: "#8ec07c" + shape_custom: "#b8bb26" + shape_datetime: { fg: "#8ec07c" attr: "b" } + shape_directory: "#8ec07c" + shape_external: "#8ec07c" + shape_externalarg: { fg: "#b8bb26" attr: "b" } + shape_filepath: "#8ec07c" + shape_flag: { fg: "#83a598" attr: "b" } + shape_float: { fg: "#d3869b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8ec07c" attr: "b" } + shape_int: { fg: "#d3869b" attr: "b" } + shape_internalcall: { fg: "#8ec07c" attr: "b" } + shape_list: { fg: "#8ec07c" attr: "b" } + shape_literal: "#83a598" + shape_match_pattern: "#b8bb26" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8ec07c" + shape_operator: "#fabd2f" + shape_or: { fg: "#d3869b" attr: "b" } + shape_pipe: { fg: "#d3869b" attr: "b" } + shape_range: { fg: "#fabd2f" attr: "b" } + shape_record: { fg: "#8ec07c" attr: "b" } + shape_redirection: { fg: "#d3869b" attr: "b" } + shape_signature: { fg: "#b8bb26" attr: "b" } + shape_string: "#b8bb26" + shape_string_interpolation: { fg: "#8ec07c" attr: "b" } + shape_table: { fg: "#83a598" attr: "b" } + shape_variable: "#d3869b" + + background: "#1d2021" + foreground: "#d5c4a1" + cursor: "#d5c4a1" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-dark-medium.nu b/themes/themes/gruvbox-dark-medium.nu index b62d303..2d7ad97 100644 --- a/themes/themes/gruvbox-dark-medium.nu +++ b/themes/themes/gruvbox-dark-medium.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_dark-medium theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282828" - # foreground: "#d5c4a1" - # cursor: "#d5c4a1" - - { - # color for nushell primitives - separator: "#fbf1c7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b8bb26" - empty: "#83a598" - bool: "#fbf1c7" - int: "#fbf1c7" - filesize: "#fbf1c7" - duration: "#fbf1c7" - date: "#fbf1c7" - range: "#fbf1c7" - float: "#fbf1c7" - string: "#fbf1c7" - nothing: "#fbf1c7" - binary: "#fbf1c7" - cellpath: "#fbf1c7" - row_index: "#b8bb26" - record: "#fbf1c7" - list: "#fbf1c7" - block: "#fbf1c7" - hints: "#665c54" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#8ec07c" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#fabd2f" - shape_internalcall: "#8ec07c" - shape_external: "#8ec07c" - shape_externalarg: "#b8bb26" - shape_literal: "#83a598" - shape_operator: "#fabd2f" - shape_signature: "#b8bb26" - shape_string: "#b8bb26" - shape_string_interpolation: "#8ec07c" - shape_datetime: "#8ec07c" - shape_list: "#8ec07c" - shape_table: "#83a598" - shape_record: "#8ec07c" - shape_block: "#83a598" - shape_filepath: "#8ec07c" - shape_globpattern: "#8ec07c" - shape_variable: "#d3869b" - shape_flag: "#83a598" - shape_custom: "#b8bb26" - shape_nothing: "#8ec07c" +export def main [] { return { + separator: "#d5c4a1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b8bb26" attr: "b" } + empty: "#83a598" + bool: {|| if $in { "#8ec07c" } else { "light_gray" } } + int: "#d5c4a1" + filesize: {|e| + if $e == 0b { + "#d5c4a1" + } else if $e < 1mb { + "#8ec07c" + } else {{ fg: "#83a598" }} } -} + duration: "#d5c4a1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb4934" attr: "b" } + } else if $in < 6hr { + "#fb4934" + } else if $in < 1day { + "#fabd2f" + } else if $in < 3day { + "#b8bb26" + } else if $in < 1wk { + { fg: "#b8bb26" attr: "b" } + } else if $in < 6wk { + "#8ec07c" + } else if $in < 52wk { + "#83a598" + } else { "dark_gray" } + } + range: "#d5c4a1" + float: "#d5c4a1" + string: "#d5c4a1" + nothing: "#d5c4a1" + binary: "#d5c4a1" + cellpath: "#d5c4a1" + row_index: { fg: "#b8bb26" attr: "b" } + record: "#d5c4a1" + list: "#d5c4a1" + block: "#d5c4a1" + hints: "dark_gray" + + shape_and: { fg: "#d3869b" attr: "b" } + shape_binary: { fg: "#d3869b" attr: "b" } + shape_block: { fg: "#83a598" attr: "b" } + shape_bool: "#8ec07c" + shape_custom: "#b8bb26" + shape_datetime: { fg: "#8ec07c" attr: "b" } + shape_directory: "#8ec07c" + shape_external: "#8ec07c" + shape_externalarg: { fg: "#b8bb26" attr: "b" } + shape_filepath: "#8ec07c" + shape_flag: { fg: "#83a598" attr: "b" } + shape_float: { fg: "#d3869b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8ec07c" attr: "b" } + shape_int: { fg: "#d3869b" attr: "b" } + shape_internalcall: { fg: "#8ec07c" attr: "b" } + shape_list: { fg: "#8ec07c" attr: "b" } + shape_literal: "#83a598" + shape_match_pattern: "#b8bb26" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8ec07c" + shape_operator: "#fabd2f" + shape_or: { fg: "#d3869b" attr: "b" } + shape_pipe: { fg: "#d3869b" attr: "b" } + shape_range: { fg: "#fabd2f" attr: "b" } + shape_record: { fg: "#8ec07c" attr: "b" } + shape_redirection: { fg: "#d3869b" attr: "b" } + shape_signature: { fg: "#b8bb26" attr: "b" } + shape_string: "#b8bb26" + shape_string_interpolation: { fg: "#8ec07c" attr: "b" } + shape_table: { fg: "#83a598" attr: "b" } + shape_variable: "#d3869b" + + background: "#282828" + foreground: "#d5c4a1" + cursor: "#d5c4a1" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-dark-pale.nu b/themes/themes/gruvbox-dark-pale.nu index fe77638..c3b43bb 100644 --- a/themes/themes/gruvbox-dark-pale.nu +++ b/themes/themes/gruvbox-dark-pale.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_dark-pale theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#262626" - # foreground: "#dab997" - # cursor: "#dab997" - - { - # color for nushell primitives - separator: "#ebdbb2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#afaf00" - empty: "#83adad" - bool: "#ebdbb2" - int: "#ebdbb2" - filesize: "#ebdbb2" - duration: "#ebdbb2" - date: "#ebdbb2" - range: "#ebdbb2" - float: "#ebdbb2" - string: "#ebdbb2" - nothing: "#ebdbb2" - binary: "#ebdbb2" - cellpath: "#ebdbb2" - row_index: "#afaf00" - record: "#ebdbb2" - list: "#ebdbb2" - block: "#ebdbb2" - hints: "#8a8a8a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d485ad" - shape_bool: "#85ad85" - shape_int: "#d485ad" - shape_float: "#d485ad" - shape_range: "#ffaf00" - shape_internalcall: "#85ad85" - shape_external: "#85ad85" - shape_externalarg: "#afaf00" - shape_literal: "#83adad" - shape_operator: "#ffaf00" - shape_signature: "#afaf00" - shape_string: "#afaf00" - shape_string_interpolation: "#85ad85" - shape_datetime: "#85ad85" - shape_list: "#85ad85" - shape_table: "#83adad" - shape_record: "#85ad85" - shape_block: "#83adad" - shape_filepath: "#85ad85" - shape_globpattern: "#85ad85" - shape_variable: "#d485ad" - shape_flag: "#83adad" - shape_custom: "#afaf00" - shape_nothing: "#85ad85" +export def main [] { return { + separator: "#dab997" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#afaf00" attr: "b" } + empty: "#83adad" + bool: {|| if $in { "#85ad85" } else { "light_gray" } } + int: "#dab997" + filesize: {|e| + if $e == 0b { + "#dab997" + } else if $e < 1mb { + "#85ad85" + } else {{ fg: "#83adad" }} } -} + duration: "#dab997" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d75f5f" attr: "b" } + } else if $in < 6hr { + "#d75f5f" + } else if $in < 1day { + "#ffaf00" + } else if $in < 3day { + "#afaf00" + } else if $in < 1wk { + { fg: "#afaf00" attr: "b" } + } else if $in < 6wk { + "#85ad85" + } else if $in < 52wk { + "#83adad" + } else { "dark_gray" } + } + range: "#dab997" + float: "#dab997" + string: "#dab997" + nothing: "#dab997" + binary: "#dab997" + cellpath: "#dab997" + row_index: { fg: "#afaf00" attr: "b" } + record: "#dab997" + list: "#dab997" + block: "#dab997" + hints: "dark_gray" + + shape_and: { fg: "#d485ad" attr: "b" } + shape_binary: { fg: "#d485ad" attr: "b" } + shape_block: { fg: "#83adad" attr: "b" } + shape_bool: "#85ad85" + shape_custom: "#afaf00" + shape_datetime: { fg: "#85ad85" attr: "b" } + shape_directory: "#85ad85" + shape_external: "#85ad85" + shape_externalarg: { fg: "#afaf00" attr: "b" } + shape_filepath: "#85ad85" + shape_flag: { fg: "#83adad" attr: "b" } + shape_float: { fg: "#d485ad" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#85ad85" attr: "b" } + shape_int: { fg: "#d485ad" attr: "b" } + shape_internalcall: { fg: "#85ad85" attr: "b" } + shape_list: { fg: "#85ad85" attr: "b" } + shape_literal: "#83adad" + shape_match_pattern: "#afaf00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#85ad85" + shape_operator: "#ffaf00" + shape_or: { fg: "#d485ad" attr: "b" } + shape_pipe: { fg: "#d485ad" attr: "b" } + shape_range: { fg: "#ffaf00" attr: "b" } + shape_record: { fg: "#85ad85" attr: "b" } + shape_redirection: { fg: "#d485ad" attr: "b" } + shape_signature: { fg: "#afaf00" attr: "b" } + shape_string: "#afaf00" + shape_string_interpolation: { fg: "#85ad85" attr: "b" } + shape_table: { fg: "#83adad" attr: "b" } + shape_variable: "#d485ad" + + background: "#262626" + foreground: "#dab997" + cursor: "#dab997" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-dark-soft.nu b/themes/themes/gruvbox-dark-soft.nu index 8c29ca5..43b81a3 100644 --- a/themes/themes/gruvbox-dark-soft.nu +++ b/themes/themes/gruvbox-dark-soft.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_dark-soft theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#32302f" - # foreground: "#d5c4a1" - # cursor: "#d5c4a1" - - { - # color for nushell primitives - separator: "#fbf1c7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b8bb26" - empty: "#83a598" - bool: "#fbf1c7" - int: "#fbf1c7" - filesize: "#fbf1c7" - duration: "#fbf1c7" - date: "#fbf1c7" - range: "#fbf1c7" - float: "#fbf1c7" - string: "#fbf1c7" - nothing: "#fbf1c7" - binary: "#fbf1c7" - cellpath: "#fbf1c7" - row_index: "#b8bb26" - record: "#fbf1c7" - list: "#fbf1c7" - block: "#fbf1c7" - hints: "#665c54" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#8ec07c" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#fabd2f" - shape_internalcall: "#8ec07c" - shape_external: "#8ec07c" - shape_externalarg: "#b8bb26" - shape_literal: "#83a598" - shape_operator: "#fabd2f" - shape_signature: "#b8bb26" - shape_string: "#b8bb26" - shape_string_interpolation: "#8ec07c" - shape_datetime: "#8ec07c" - shape_list: "#8ec07c" - shape_table: "#83a598" - shape_record: "#8ec07c" - shape_block: "#83a598" - shape_filepath: "#8ec07c" - shape_globpattern: "#8ec07c" - shape_variable: "#d3869b" - shape_flag: "#83a598" - shape_custom: "#b8bb26" - shape_nothing: "#8ec07c" +export def main [] { return { + separator: "#d5c4a1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b8bb26" attr: "b" } + empty: "#83a598" + bool: {|| if $in { "#8ec07c" } else { "light_gray" } } + int: "#d5c4a1" + filesize: {|e| + if $e == 0b { + "#d5c4a1" + } else if $e < 1mb { + "#8ec07c" + } else {{ fg: "#83a598" }} } -} + duration: "#d5c4a1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb4934" attr: "b" } + } else if $in < 6hr { + "#fb4934" + } else if $in < 1day { + "#fabd2f" + } else if $in < 3day { + "#b8bb26" + } else if $in < 1wk { + { fg: "#b8bb26" attr: "b" } + } else if $in < 6wk { + "#8ec07c" + } else if $in < 52wk { + "#83a598" + } else { "dark_gray" } + } + range: "#d5c4a1" + float: "#d5c4a1" + string: "#d5c4a1" + nothing: "#d5c4a1" + binary: "#d5c4a1" + cellpath: "#d5c4a1" + row_index: { fg: "#b8bb26" attr: "b" } + record: "#d5c4a1" + list: "#d5c4a1" + block: "#d5c4a1" + hints: "dark_gray" + + shape_and: { fg: "#d3869b" attr: "b" } + shape_binary: { fg: "#d3869b" attr: "b" } + shape_block: { fg: "#83a598" attr: "b" } + shape_bool: "#8ec07c" + shape_custom: "#b8bb26" + shape_datetime: { fg: "#8ec07c" attr: "b" } + shape_directory: "#8ec07c" + shape_external: "#8ec07c" + shape_externalarg: { fg: "#b8bb26" attr: "b" } + shape_filepath: "#8ec07c" + shape_flag: { fg: "#83a598" attr: "b" } + shape_float: { fg: "#d3869b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8ec07c" attr: "b" } + shape_int: { fg: "#d3869b" attr: "b" } + shape_internalcall: { fg: "#8ec07c" attr: "b" } + shape_list: { fg: "#8ec07c" attr: "b" } + shape_literal: "#83a598" + shape_match_pattern: "#b8bb26" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8ec07c" + shape_operator: "#fabd2f" + shape_or: { fg: "#d3869b" attr: "b" } + shape_pipe: { fg: "#d3869b" attr: "b" } + shape_range: { fg: "#fabd2f" attr: "b" } + shape_record: { fg: "#8ec07c" attr: "b" } + shape_redirection: { fg: "#d3869b" attr: "b" } + shape_signature: { fg: "#b8bb26" attr: "b" } + shape_string: "#b8bb26" + shape_string_interpolation: { fg: "#8ec07c" attr: "b" } + shape_table: { fg: "#83a598" attr: "b" } + shape_variable: "#d3869b" + + background: "#32302f" + foreground: "#d5c4a1" + cursor: "#d5c4a1" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-dark.nu b/themes/themes/gruvbox-dark.nu index 9076238..cbd642f 100644 --- a/themes/themes/gruvbox-dark.nu +++ b/themes/themes/gruvbox-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282828" - # foreground: "#ebdbb2" - # cursor: "#ebdbb2" - - { - # color for nushell primitives - separator: "#ebdbb2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b8bb26" - empty: "#458588" - bool: "#ebdbb2" - int: "#ebdbb2" - filesize: "#ebdbb2" - duration: "#ebdbb2" - date: "#ebdbb2" - range: "#ebdbb2" - float: "#ebdbb2" - string: "#ebdbb2" - nothing: "#ebdbb2" - binary: "#ebdbb2" - cellpath: "#ebdbb2" - row_index: "#b8bb26" - record: "#ebdbb2" - list: "#ebdbb2" - block: "#ebdbb2" - hints: "#928374" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#8ec07c" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#fabd2f" - shape_internalcall: "#8ec07c" - shape_external: "#689d6a" - shape_externalarg: "#b8bb26" - shape_literal: "#458588" - shape_operator: "#d79921" - shape_signature: "#b8bb26" - shape_string: "#98971a" - shape_string_interpolation: "#8ec07c" - shape_datetime: "#8ec07c" - shape_list: "#8ec07c" - shape_table: "#83a598" - shape_record: "#8ec07c" - shape_block: "#83a598" - shape_filepath: "#689d6a" - shape_globpattern: "#8ec07c" - shape_variable: "#b16286" - shape_flag: "#83a598" - shape_custom: "#98971a" - shape_nothing: "#8ec07c" +export def main [] { return { + separator: "#a89984" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#98971a" attr: "b" } + empty: "#458588" + bool: {|| if $in { "#8ec07c" } else { "light_gray" } } + int: "#a89984" + filesize: {|e| + if $e == 0b { + "#a89984" + } else if $e < 1mb { + "#689d6a" + } else {{ fg: "#458588" }} } -} + duration: "#a89984" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc241d" attr: "b" } + } else if $in < 6hr { + "#cc241d" + } else if $in < 1day { + "#d79921" + } else if $in < 3day { + "#98971a" + } else if $in < 1wk { + { fg: "#98971a" attr: "b" } + } else if $in < 6wk { + "#689d6a" + } else if $in < 52wk { + "#458588" + } else { "dark_gray" } + } + range: "#a89984" + float: "#a89984" + string: "#a89984" + nothing: "#a89984" + binary: "#a89984" + cellpath: "#a89984" + row_index: { fg: "#98971a" attr: "b" } + record: "#a89984" + list: "#a89984" + block: "#a89984" + hints: "dark_gray" + + shape_and: { fg: "#b16286" attr: "b" } + shape_binary: { fg: "#b16286" attr: "b" } + shape_block: { fg: "#458588" attr: "b" } + shape_bool: "#8ec07c" + shape_custom: "#98971a" + shape_datetime: { fg: "#689d6a" attr: "b" } + shape_directory: "#689d6a" + shape_external: "#689d6a" + shape_externalarg: { fg: "#98971a" attr: "b" } + shape_filepath: "#689d6a" + shape_flag: { fg: "#458588" attr: "b" } + shape_float: { fg: "#b16286" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#689d6a" attr: "b" } + shape_int: { fg: "#b16286" attr: "b" } + shape_internalcall: { fg: "#689d6a" attr: "b" } + shape_list: { fg: "#689d6a" attr: "b" } + shape_literal: "#458588" + shape_match_pattern: "#98971a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8ec07c" + shape_operator: "#d79921" + shape_or: { fg: "#b16286" attr: "b" } + shape_pipe: { fg: "#b16286" attr: "b" } + shape_range: { fg: "#d79921" attr: "b" } + shape_record: { fg: "#689d6a" attr: "b" } + shape_redirection: { fg: "#b16286" attr: "b" } + shape_signature: { fg: "#98971a" attr: "b" } + shape_string: "#98971a" + shape_string_interpolation: { fg: "#689d6a" attr: "b" } + shape_table: { fg: "#458588" attr: "b" } + shape_variable: "#b16286" + + background: "#282828" + foreground: "#ebdbb2" + cursor: "#ebdbb2" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-light-hard.nu b/themes/themes/gruvbox-light-hard.nu index a391368..6d6d2bb 100644 --- a/themes/themes/gruvbox-light-hard.nu +++ b/themes/themes/gruvbox-light-hard.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_light-hard theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f9f5d7" - # foreground: "#504945" - # cursor: "#504945" - - { - # color for nushell primitives - separator: "#282828" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#79740e" - empty: "#076678" - bool: "#282828" - int: "#282828" - filesize: "#282828" - duration: "#282828" - date: "#282828" - range: "#282828" - float: "#282828" - string: "#282828" - nothing: "#282828" - binary: "#282828" - cellpath: "#282828" - row_index: "#79740e" - record: "#282828" - list: "#282828" - block: "#282828" - hints: "#bdae93" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8f3f71" - shape_bool: "#427b58" - shape_int: "#8f3f71" - shape_float: "#8f3f71" - shape_range: "#b57614" - shape_internalcall: "#427b58" - shape_external: "#427b58" - shape_externalarg: "#79740e" - shape_literal: "#076678" - shape_operator: "#b57614" - shape_signature: "#79740e" - shape_string: "#79740e" - shape_string_interpolation: "#427b58" - shape_datetime: "#427b58" - shape_list: "#427b58" - shape_table: "#076678" - shape_record: "#427b58" - shape_block: "#076678" - shape_filepath: "#427b58" - shape_globpattern: "#427b58" - shape_variable: "#8f3f71" - shape_flag: "#076678" - shape_custom: "#79740e" - shape_nothing: "#427b58" +export def main [] { return { + separator: "#504945" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#79740e" attr: "b" } + empty: "#076678" + bool: {|| if $in { "#427b58" } else { "light_gray" } } + int: "#504945" + filesize: {|e| + if $e == 0b { + "#504945" + } else if $e < 1mb { + "#427b58" + } else {{ fg: "#076678" }} } -} + duration: "#504945" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#9d0006" attr: "b" } + } else if $in < 6hr { + "#9d0006" + } else if $in < 1day { + "#b57614" + } else if $in < 3day { + "#79740e" + } else if $in < 1wk { + { fg: "#79740e" attr: "b" } + } else if $in < 6wk { + "#427b58" + } else if $in < 52wk { + "#076678" + } else { "dark_gray" } + } + range: "#504945" + float: "#504945" + string: "#504945" + nothing: "#504945" + binary: "#504945" + cellpath: "#504945" + row_index: { fg: "#79740e" attr: "b" } + record: "#504945" + list: "#504945" + block: "#504945" + hints: "dark_gray" + + shape_and: { fg: "#8f3f71" attr: "b" } + shape_binary: { fg: "#8f3f71" attr: "b" } + shape_block: { fg: "#076678" attr: "b" } + shape_bool: "#427b58" + shape_custom: "#79740e" + shape_datetime: { fg: "#427b58" attr: "b" } + shape_directory: "#427b58" + shape_external: "#427b58" + shape_externalarg: { fg: "#79740e" attr: "b" } + shape_filepath: "#427b58" + shape_flag: { fg: "#076678" attr: "b" } + shape_float: { fg: "#8f3f71" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#427b58" attr: "b" } + shape_int: { fg: "#8f3f71" attr: "b" } + shape_internalcall: { fg: "#427b58" attr: "b" } + shape_list: { fg: "#427b58" attr: "b" } + shape_literal: "#076678" + shape_match_pattern: "#79740e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#427b58" + shape_operator: "#b57614" + shape_or: { fg: "#8f3f71" attr: "b" } + shape_pipe: { fg: "#8f3f71" attr: "b" } + shape_range: { fg: "#b57614" attr: "b" } + shape_record: { fg: "#427b58" attr: "b" } + shape_redirection: { fg: "#8f3f71" attr: "b" } + shape_signature: { fg: "#79740e" attr: "b" } + shape_string: "#79740e" + shape_string_interpolation: { fg: "#427b58" attr: "b" } + shape_table: { fg: "#076678" attr: "b" } + shape_variable: "#8f3f71" + + background: "#f9f5d7" + foreground: "#504945" + cursor: "#504945" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-light-medium.nu b/themes/themes/gruvbox-light-medium.nu index 7c7134c..ae1dbdd 100644 --- a/themes/themes/gruvbox-light-medium.nu +++ b/themes/themes/gruvbox-light-medium.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_light-medium theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fbf1c7" - # foreground: "#504945" - # cursor: "#504945" - - { - # color for nushell primitives - separator: "#282828" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#79740e" - empty: "#076678" - bool: "#282828" - int: "#282828" - filesize: "#282828" - duration: "#282828" - date: "#282828" - range: "#282828" - float: "#282828" - string: "#282828" - nothing: "#282828" - binary: "#282828" - cellpath: "#282828" - row_index: "#79740e" - record: "#282828" - list: "#282828" - block: "#282828" - hints: "#bdae93" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8f3f71" - shape_bool: "#427b58" - shape_int: "#8f3f71" - shape_float: "#8f3f71" - shape_range: "#b57614" - shape_internalcall: "#427b58" - shape_external: "#427b58" - shape_externalarg: "#79740e" - shape_literal: "#076678" - shape_operator: "#b57614" - shape_signature: "#79740e" - shape_string: "#79740e" - shape_string_interpolation: "#427b58" - shape_datetime: "#427b58" - shape_list: "#427b58" - shape_table: "#076678" - shape_record: "#427b58" - shape_block: "#076678" - shape_filepath: "#427b58" - shape_globpattern: "#427b58" - shape_variable: "#8f3f71" - shape_flag: "#076678" - shape_custom: "#79740e" - shape_nothing: "#427b58" +export def main [] { return { + separator: "#504945" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#79740e" attr: "b" } + empty: "#076678" + bool: {|| if $in { "#427b58" } else { "light_gray" } } + int: "#504945" + filesize: {|e| + if $e == 0b { + "#504945" + } else if $e < 1mb { + "#427b58" + } else {{ fg: "#076678" }} } -} + duration: "#504945" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#9d0006" attr: "b" } + } else if $in < 6hr { + "#9d0006" + } else if $in < 1day { + "#b57614" + } else if $in < 3day { + "#79740e" + } else if $in < 1wk { + { fg: "#79740e" attr: "b" } + } else if $in < 6wk { + "#427b58" + } else if $in < 52wk { + "#076678" + } else { "dark_gray" } + } + range: "#504945" + float: "#504945" + string: "#504945" + nothing: "#504945" + binary: "#504945" + cellpath: "#504945" + row_index: { fg: "#79740e" attr: "b" } + record: "#504945" + list: "#504945" + block: "#504945" + hints: "dark_gray" + + shape_and: { fg: "#8f3f71" attr: "b" } + shape_binary: { fg: "#8f3f71" attr: "b" } + shape_block: { fg: "#076678" attr: "b" } + shape_bool: "#427b58" + shape_custom: "#79740e" + shape_datetime: { fg: "#427b58" attr: "b" } + shape_directory: "#427b58" + shape_external: "#427b58" + shape_externalarg: { fg: "#79740e" attr: "b" } + shape_filepath: "#427b58" + shape_flag: { fg: "#076678" attr: "b" } + shape_float: { fg: "#8f3f71" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#427b58" attr: "b" } + shape_int: { fg: "#8f3f71" attr: "b" } + shape_internalcall: { fg: "#427b58" attr: "b" } + shape_list: { fg: "#427b58" attr: "b" } + shape_literal: "#076678" + shape_match_pattern: "#79740e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#427b58" + shape_operator: "#b57614" + shape_or: { fg: "#8f3f71" attr: "b" } + shape_pipe: { fg: "#8f3f71" attr: "b" } + shape_range: { fg: "#b57614" attr: "b" } + shape_record: { fg: "#427b58" attr: "b" } + shape_redirection: { fg: "#8f3f71" attr: "b" } + shape_signature: { fg: "#79740e" attr: "b" } + shape_string: "#79740e" + shape_string_interpolation: { fg: "#427b58" attr: "b" } + shape_table: { fg: "#076678" attr: "b" } + shape_variable: "#8f3f71" + + background: "#fbf1c7" + foreground: "#504945" + cursor: "#504945" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-light-soft.nu b/themes/themes/gruvbox-light-soft.nu index 095d8f9..d9dff23 100644 --- a/themes/themes/gruvbox-light-soft.nu +++ b/themes/themes/gruvbox-light-soft.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_light-soft theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f2e5bc" - # foreground: "#504945" - # cursor: "#504945" - - { - # color for nushell primitives - separator: "#282828" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#79740e" - empty: "#076678" - bool: "#282828" - int: "#282828" - filesize: "#282828" - duration: "#282828" - date: "#282828" - range: "#282828" - float: "#282828" - string: "#282828" - nothing: "#282828" - binary: "#282828" - cellpath: "#282828" - row_index: "#79740e" - record: "#282828" - list: "#282828" - block: "#282828" - hints: "#bdae93" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8f3f71" - shape_bool: "#427b58" - shape_int: "#8f3f71" - shape_float: "#8f3f71" - shape_range: "#b57614" - shape_internalcall: "#427b58" - shape_external: "#427b58" - shape_externalarg: "#79740e" - shape_literal: "#076678" - shape_operator: "#b57614" - shape_signature: "#79740e" - shape_string: "#79740e" - shape_string_interpolation: "#427b58" - shape_datetime: "#427b58" - shape_list: "#427b58" - shape_table: "#076678" - shape_record: "#427b58" - shape_block: "#076678" - shape_filepath: "#427b58" - shape_globpattern: "#427b58" - shape_variable: "#8f3f71" - shape_flag: "#076678" - shape_custom: "#79740e" - shape_nothing: "#427b58" +export def main [] { return { + separator: "#504945" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#79740e" attr: "b" } + empty: "#076678" + bool: {|| if $in { "#427b58" } else { "light_gray" } } + int: "#504945" + filesize: {|e| + if $e == 0b { + "#504945" + } else if $e < 1mb { + "#427b58" + } else {{ fg: "#076678" }} } -} + duration: "#504945" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#9d0006" attr: "b" } + } else if $in < 6hr { + "#9d0006" + } else if $in < 1day { + "#b57614" + } else if $in < 3day { + "#79740e" + } else if $in < 1wk { + { fg: "#79740e" attr: "b" } + } else if $in < 6wk { + "#427b58" + } else if $in < 52wk { + "#076678" + } else { "dark_gray" } + } + range: "#504945" + float: "#504945" + string: "#504945" + nothing: "#504945" + binary: "#504945" + cellpath: "#504945" + row_index: { fg: "#79740e" attr: "b" } + record: "#504945" + list: "#504945" + block: "#504945" + hints: "dark_gray" + + shape_and: { fg: "#8f3f71" attr: "b" } + shape_binary: { fg: "#8f3f71" attr: "b" } + shape_block: { fg: "#076678" attr: "b" } + shape_bool: "#427b58" + shape_custom: "#79740e" + shape_datetime: { fg: "#427b58" attr: "b" } + shape_directory: "#427b58" + shape_external: "#427b58" + shape_externalarg: { fg: "#79740e" attr: "b" } + shape_filepath: "#427b58" + shape_flag: { fg: "#076678" attr: "b" } + shape_float: { fg: "#8f3f71" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#427b58" attr: "b" } + shape_int: { fg: "#8f3f71" attr: "b" } + shape_internalcall: { fg: "#427b58" attr: "b" } + shape_list: { fg: "#427b58" attr: "b" } + shape_literal: "#076678" + shape_match_pattern: "#79740e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#427b58" + shape_operator: "#b57614" + shape_or: { fg: "#8f3f71" attr: "b" } + shape_pipe: { fg: "#8f3f71" attr: "b" } + shape_range: { fg: "#b57614" attr: "b" } + shape_record: { fg: "#427b58" attr: "b" } + shape_redirection: { fg: "#8f3f71" attr: "b" } + shape_signature: { fg: "#79740e" attr: "b" } + shape_string: "#79740e" + shape_string_interpolation: { fg: "#427b58" attr: "b" } + shape_table: { fg: "#076678" attr: "b" } + shape_variable: "#8f3f71" + + background: "#f2e5bc" + foreground: "#504945" + cursor: "#504945" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-material-dark-hard.nu b/themes/themes/gruvbox-material-dark-hard.nu index 7617cf6..ce9092a 100644 --- a/themes/themes/gruvbox-material-dark-hard.nu +++ b/themes/themes/gruvbox-material-dark-hard.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_material-dark-hard theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d2021" - # foreground: "#d4be98" - # cursor: "#d4be98" - - { - # color for nushell primitives - separator: "#d4be98" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a9b665" - empty: "#7daea3" - bool: "#d4be98" - int: "#d4be98" - filesize: "#d4be98" - duration: "#d4be98" - date: "#d4be98" - range: "#d4be98" - float: "#d4be98" - string: "#d4be98" - nothing: "#d4be98" - binary: "#d4be98" - cellpath: "#d4be98" - row_index: "#a9b665" - record: "#d4be98" - list: "#d4be98" - block: "#d4be98" - hints: "#1d2021" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#89b482" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#d8a657" - shape_internalcall: "#89b482" - shape_external: "#89b482" - shape_externalarg: "#a9b665" - shape_literal: "#7daea3" - shape_operator: "#d8a657" - shape_signature: "#a9b665" - shape_string: "#a9b665" - shape_string_interpolation: "#89b482" - shape_datetime: "#89b482" - shape_list: "#89b482" - shape_table: "#7daea3" - shape_record: "#89b482" - shape_block: "#7daea3" - shape_filepath: "#89b482" - shape_globpattern: "#89b482" - shape_variable: "#d3869b" - shape_flag: "#7daea3" - shape_custom: "#a9b665" - shape_nothing: "#89b482" +export def main [] { return { + separator: "#d4be98" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a9b665" attr: "b" } + empty: "#7daea3" + bool: {|| if $in { "#89b482" } else { "light_gray" } } + int: "#d4be98" + filesize: {|e| + if $e == 0b { + "#d4be98" + } else if $e < 1mb { + "#89b482" + } else {{ fg: "#7daea3" }} } -} + duration: "#d4be98" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ea6962" attr: "b" } + } else if $in < 6hr { + "#ea6962" + } else if $in < 1day { + "#d8a657" + } else if $in < 3day { + "#a9b665" + } else if $in < 1wk { + { fg: "#a9b665" attr: "b" } + } else if $in < 6wk { + "#89b482" + } else if $in < 52wk { + "#7daea3" + } else { "dark_gray" } + } + range: "#d4be98" + float: "#d4be98" + string: "#d4be98" + nothing: "#d4be98" + binary: "#d4be98" + cellpath: "#d4be98" + row_index: { fg: "#a9b665" attr: "b" } + record: "#d4be98" + list: "#d4be98" + block: "#d4be98" + hints: "dark_gray" + + shape_and: { fg: "#d3869b" attr: "b" } + shape_binary: { fg: "#d3869b" attr: "b" } + shape_block: { fg: "#7daea3" attr: "b" } + shape_bool: "#89b482" + shape_custom: "#a9b665" + shape_datetime: { fg: "#89b482" attr: "b" } + shape_directory: "#89b482" + shape_external: "#89b482" + shape_externalarg: { fg: "#a9b665" attr: "b" } + shape_filepath: "#89b482" + shape_flag: { fg: "#7daea3" attr: "b" } + shape_float: { fg: "#d3869b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#89b482" attr: "b" } + shape_int: { fg: "#d3869b" attr: "b" } + shape_internalcall: { fg: "#89b482" attr: "b" } + shape_list: { fg: "#89b482" attr: "b" } + shape_literal: "#7daea3" + shape_match_pattern: "#a9b665" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#89b482" + shape_operator: "#d8a657" + shape_or: { fg: "#d3869b" attr: "b" } + shape_pipe: { fg: "#d3869b" attr: "b" } + shape_range: { fg: "#d8a657" attr: "b" } + shape_record: { fg: "#89b482" attr: "b" } + shape_redirection: { fg: "#d3869b" attr: "b" } + shape_signature: { fg: "#a9b665" attr: "b" } + shape_string: "#a9b665" + shape_string_interpolation: { fg: "#89b482" attr: "b" } + shape_table: { fg: "#7daea3" attr: "b" } + shape_variable: "#d3869b" + + background: "#1d2021" + foreground: "#d4be98" + cursor: "#d4be98" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-material-dark-medium.nu b/themes/themes/gruvbox-material-dark-medium.nu index bef64df..2f070c7 100644 --- a/themes/themes/gruvbox-material-dark-medium.nu +++ b/themes/themes/gruvbox-material-dark-medium.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_material-dark-medium theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282828" - # foreground: "#d4be98" - # cursor: "#d4be98" - - { - # color for nushell primitives - separator: "#d4be98" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a9b665" - empty: "#7daea3" - bool: "#d4be98" - int: "#d4be98" - filesize: "#d4be98" - duration: "#d4be98" - date: "#d4be98" - range: "#d4be98" - float: "#d4be98" - string: "#d4be98" - nothing: "#d4be98" - binary: "#d4be98" - cellpath: "#d4be98" - row_index: "#a9b665" - record: "#d4be98" - list: "#d4be98" - block: "#d4be98" - hints: "#282828" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#89b482" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#d8a657" - shape_internalcall: "#89b482" - shape_external: "#89b482" - shape_externalarg: "#a9b665" - shape_literal: "#7daea3" - shape_operator: "#d8a657" - shape_signature: "#a9b665" - shape_string: "#a9b665" - shape_string_interpolation: "#89b482" - shape_datetime: "#89b482" - shape_list: "#89b482" - shape_table: "#7daea3" - shape_record: "#89b482" - shape_block: "#7daea3" - shape_filepath: "#89b482" - shape_globpattern: "#89b482" - shape_variable: "#d3869b" - shape_flag: "#7daea3" - shape_custom: "#a9b665" - shape_nothing: "#89b482" +export def main [] { return { + separator: "#d4be98" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a9b665" attr: "b" } + empty: "#7daea3" + bool: {|| if $in { "#89b482" } else { "light_gray" } } + int: "#d4be98" + filesize: {|e| + if $e == 0b { + "#d4be98" + } else if $e < 1mb { + "#89b482" + } else {{ fg: "#7daea3" }} } -} + duration: "#d4be98" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ea6962" attr: "b" } + } else if $in < 6hr { + "#ea6962" + } else if $in < 1day { + "#d8a657" + } else if $in < 3day { + "#a9b665" + } else if $in < 1wk { + { fg: "#a9b665" attr: "b" } + } else if $in < 6wk { + "#89b482" + } else if $in < 52wk { + "#7daea3" + } else { "dark_gray" } + } + range: "#d4be98" + float: "#d4be98" + string: "#d4be98" + nothing: "#d4be98" + binary: "#d4be98" + cellpath: "#d4be98" + row_index: { fg: "#a9b665" attr: "b" } + record: "#d4be98" + list: "#d4be98" + block: "#d4be98" + hints: "dark_gray" + + shape_and: { fg: "#d3869b" attr: "b" } + shape_binary: { fg: "#d3869b" attr: "b" } + shape_block: { fg: "#7daea3" attr: "b" } + shape_bool: "#89b482" + shape_custom: "#a9b665" + shape_datetime: { fg: "#89b482" attr: "b" } + shape_directory: "#89b482" + shape_external: "#89b482" + shape_externalarg: { fg: "#a9b665" attr: "b" } + shape_filepath: "#89b482" + shape_flag: { fg: "#7daea3" attr: "b" } + shape_float: { fg: "#d3869b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#89b482" attr: "b" } + shape_int: { fg: "#d3869b" attr: "b" } + shape_internalcall: { fg: "#89b482" attr: "b" } + shape_list: { fg: "#89b482" attr: "b" } + shape_literal: "#7daea3" + shape_match_pattern: "#a9b665" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#89b482" + shape_operator: "#d8a657" + shape_or: { fg: "#d3869b" attr: "b" } + shape_pipe: { fg: "#d3869b" attr: "b" } + shape_range: { fg: "#d8a657" attr: "b" } + shape_record: { fg: "#89b482" attr: "b" } + shape_redirection: { fg: "#d3869b" attr: "b" } + shape_signature: { fg: "#a9b665" attr: "b" } + shape_string: "#a9b665" + shape_string_interpolation: { fg: "#89b482" attr: "b" } + shape_table: { fg: "#7daea3" attr: "b" } + shape_variable: "#d3869b" + + background: "#282828" + foreground: "#d4be98" + cursor: "#d4be98" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-material-dark-soft.nu b/themes/themes/gruvbox-material-dark-soft.nu index 29a7204..233cd31 100644 --- a/themes/themes/gruvbox-material-dark-soft.nu +++ b/themes/themes/gruvbox-material-dark-soft.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_material-dark-soft theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#32302f" - # foreground: "#d4be98" - # cursor: "#d4be98" - - { - # color for nushell primitives - separator: "#d4be98" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a9b665" - empty: "#7daea3" - bool: "#d4be98" - int: "#d4be98" - filesize: "#d4be98" - duration: "#d4be98" - date: "#d4be98" - range: "#d4be98" - float: "#d4be98" - string: "#d4be98" - nothing: "#d4be98" - binary: "#d4be98" - cellpath: "#d4be98" - row_index: "#a9b665" - record: "#d4be98" - list: "#d4be98" - block: "#d4be98" - hints: "#32302f" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#89b482" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#d8a657" - shape_internalcall: "#89b482" - shape_external: "#89b482" - shape_externalarg: "#a9b665" - shape_literal: "#7daea3" - shape_operator: "#d8a657" - shape_signature: "#a9b665" - shape_string: "#a9b665" - shape_string_interpolation: "#89b482" - shape_datetime: "#89b482" - shape_list: "#89b482" - shape_table: "#7daea3" - shape_record: "#89b482" - shape_block: "#7daea3" - shape_filepath: "#89b482" - shape_globpattern: "#89b482" - shape_variable: "#d3869b" - shape_flag: "#7daea3" - shape_custom: "#a9b665" - shape_nothing: "#89b482" +export def main [] { return { + separator: "#d4be98" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a9b665" attr: "b" } + empty: "#7daea3" + bool: {|| if $in { "#89b482" } else { "light_gray" } } + int: "#d4be98" + filesize: {|e| + if $e == 0b { + "#d4be98" + } else if $e < 1mb { + "#89b482" + } else {{ fg: "#7daea3" }} } -} + duration: "#d4be98" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ea6962" attr: "b" } + } else if $in < 6hr { + "#ea6962" + } else if $in < 1day { + "#d8a657" + } else if $in < 3day { + "#a9b665" + } else if $in < 1wk { + { fg: "#a9b665" attr: "b" } + } else if $in < 6wk { + "#89b482" + } else if $in < 52wk { + "#7daea3" + } else { "dark_gray" } + } + range: "#d4be98" + float: "#d4be98" + string: "#d4be98" + nothing: "#d4be98" + binary: "#d4be98" + cellpath: "#d4be98" + row_index: { fg: "#a9b665" attr: "b" } + record: "#d4be98" + list: "#d4be98" + block: "#d4be98" + hints: "dark_gray" + + shape_and: { fg: "#d3869b" attr: "b" } + shape_binary: { fg: "#d3869b" attr: "b" } + shape_block: { fg: "#7daea3" attr: "b" } + shape_bool: "#89b482" + shape_custom: "#a9b665" + shape_datetime: { fg: "#89b482" attr: "b" } + shape_directory: "#89b482" + shape_external: "#89b482" + shape_externalarg: { fg: "#a9b665" attr: "b" } + shape_filepath: "#89b482" + shape_flag: { fg: "#7daea3" attr: "b" } + shape_float: { fg: "#d3869b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#89b482" attr: "b" } + shape_int: { fg: "#d3869b" attr: "b" } + shape_internalcall: { fg: "#89b482" attr: "b" } + shape_list: { fg: "#89b482" attr: "b" } + shape_literal: "#7daea3" + shape_match_pattern: "#a9b665" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#89b482" + shape_operator: "#d8a657" + shape_or: { fg: "#d3869b" attr: "b" } + shape_pipe: { fg: "#d3869b" attr: "b" } + shape_range: { fg: "#d8a657" attr: "b" } + shape_record: { fg: "#89b482" attr: "b" } + shape_redirection: { fg: "#d3869b" attr: "b" } + shape_signature: { fg: "#a9b665" attr: "b" } + shape_string: "#a9b665" + shape_string_interpolation: { fg: "#89b482" attr: "b" } + shape_table: { fg: "#7daea3" attr: "b" } + shape_variable: "#d3869b" + + background: "#32302f" + foreground: "#d4be98" + cursor: "#d4be98" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-material-light-hard.nu b/themes/themes/gruvbox-material-light-hard.nu index be21c2b..18df87d 100644 --- a/themes/themes/gruvbox-material-light-hard.nu +++ b/themes/themes/gruvbox-material-light-hard.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_material-light-hard theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f9f5d7" - # foreground: "#654735" - # cursor: "#654735" - - { - # color for nushell primitives - separator: "#654735" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#6c782e" - empty: "#45707a" - bool: "#654735" - int: "#654735" - filesize: "#654735" - duration: "#654735" - date: "#654735" - range: "#654735" - float: "#654735" - string: "#654735" - nothing: "#654735" - binary: "#654735" - cellpath: "#654735" - row_index: "#6c782e" - record: "#654735" - list: "#654735" - block: "#654735" - hints: "#f9f5d7" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#945e80" - shape_bool: "#4c7a5d" - shape_int: "#945e80" - shape_float: "#945e80" - shape_range: "#b47109" - shape_internalcall: "#4c7a5d" - shape_external: "#4c7a5d" - shape_externalarg: "#6c782e" - shape_literal: "#45707a" - shape_operator: "#b47109" - shape_signature: "#6c782e" - shape_string: "#6c782e" - shape_string_interpolation: "#4c7a5d" - shape_datetime: "#4c7a5d" - shape_list: "#4c7a5d" - shape_table: "#45707a" - shape_record: "#4c7a5d" - shape_block: "#45707a" - shape_filepath: "#4c7a5d" - shape_globpattern: "#4c7a5d" - shape_variable: "#945e80" - shape_flag: "#45707a" - shape_custom: "#6c782e" - shape_nothing: "#4c7a5d" +export def main [] { return { + separator: "#654735" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6c782e" attr: "b" } + empty: "#45707a" + bool: {|| if $in { "#4c7a5d" } else { "light_gray" } } + int: "#654735" + filesize: {|e| + if $e == 0b { + "#654735" + } else if $e < 1mb { + "#4c7a5d" + } else {{ fg: "#45707a" }} } -} + duration: "#654735" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c14a4a" attr: "b" } + } else if $in < 6hr { + "#c14a4a" + } else if $in < 1day { + "#b47109" + } else if $in < 3day { + "#6c782e" + } else if $in < 1wk { + { fg: "#6c782e" attr: "b" } + } else if $in < 6wk { + "#4c7a5d" + } else if $in < 52wk { + "#45707a" + } else { "dark_gray" } + } + range: "#654735" + float: "#654735" + string: "#654735" + nothing: "#654735" + binary: "#654735" + cellpath: "#654735" + row_index: { fg: "#6c782e" attr: "b" } + record: "#654735" + list: "#654735" + block: "#654735" + hints: "dark_gray" + + shape_and: { fg: "#945e80" attr: "b" } + shape_binary: { fg: "#945e80" attr: "b" } + shape_block: { fg: "#45707a" attr: "b" } + shape_bool: "#4c7a5d" + shape_custom: "#6c782e" + shape_datetime: { fg: "#4c7a5d" attr: "b" } + shape_directory: "#4c7a5d" + shape_external: "#4c7a5d" + shape_externalarg: { fg: "#6c782e" attr: "b" } + shape_filepath: "#4c7a5d" + shape_flag: { fg: "#45707a" attr: "b" } + shape_float: { fg: "#945e80" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#4c7a5d" attr: "b" } + shape_int: { fg: "#945e80" attr: "b" } + shape_internalcall: { fg: "#4c7a5d" attr: "b" } + shape_list: { fg: "#4c7a5d" attr: "b" } + shape_literal: "#45707a" + shape_match_pattern: "#6c782e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4c7a5d" + shape_operator: "#b47109" + shape_or: { fg: "#945e80" attr: "b" } + shape_pipe: { fg: "#945e80" attr: "b" } + shape_range: { fg: "#b47109" attr: "b" } + shape_record: { fg: "#4c7a5d" attr: "b" } + shape_redirection: { fg: "#945e80" attr: "b" } + shape_signature: { fg: "#6c782e" attr: "b" } + shape_string: "#6c782e" + shape_string_interpolation: { fg: "#4c7a5d" attr: "b" } + shape_table: { fg: "#45707a" attr: "b" } + shape_variable: "#945e80" + + background: "#f9f5d7" + foreground: "#654735" + cursor: "#654735" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-material-light-medium.nu b/themes/themes/gruvbox-material-light-medium.nu index b0e815e..c93a3d7 100644 --- a/themes/themes/gruvbox-material-light-medium.nu +++ b/themes/themes/gruvbox-material-light-medium.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_material-light-medium theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fbf1c7" - # foreground: "#654735" - # cursor: "#654735" - - { - # color for nushell primitives - separator: "#654735" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#6c782e" - empty: "#45707a" - bool: "#654735" - int: "#654735" - filesize: "#654735" - duration: "#654735" - date: "#654735" - range: "#654735" - float: "#654735" - string: "#654735" - nothing: "#654735" - binary: "#654735" - cellpath: "#654735" - row_index: "#6c782e" - record: "#654735" - list: "#654735" - block: "#654735" - hints: "#fbf1c7" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#945e80" - shape_bool: "#4c7a5d" - shape_int: "#945e80" - shape_float: "#945e80" - shape_range: "#b47109" - shape_internalcall: "#4c7a5d" - shape_external: "#4c7a5d" - shape_externalarg: "#6c782e" - shape_literal: "#45707a" - shape_operator: "#b47109" - shape_signature: "#6c782e" - shape_string: "#6c782e" - shape_string_interpolation: "#4c7a5d" - shape_datetime: "#4c7a5d" - shape_list: "#4c7a5d" - shape_table: "#45707a" - shape_record: "#4c7a5d" - shape_block: "#45707a" - shape_filepath: "#4c7a5d" - shape_globpattern: "#4c7a5d" - shape_variable: "#945e80" - shape_flag: "#45707a" - shape_custom: "#6c782e" - shape_nothing: "#4c7a5d" +export def main [] { return { + separator: "#654735" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6c782e" attr: "b" } + empty: "#45707a" + bool: {|| if $in { "#4c7a5d" } else { "light_gray" } } + int: "#654735" + filesize: {|e| + if $e == 0b { + "#654735" + } else if $e < 1mb { + "#4c7a5d" + } else {{ fg: "#45707a" }} } -} + duration: "#654735" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c14a4a" attr: "b" } + } else if $in < 6hr { + "#c14a4a" + } else if $in < 1day { + "#b47109" + } else if $in < 3day { + "#6c782e" + } else if $in < 1wk { + { fg: "#6c782e" attr: "b" } + } else if $in < 6wk { + "#4c7a5d" + } else if $in < 52wk { + "#45707a" + } else { "dark_gray" } + } + range: "#654735" + float: "#654735" + string: "#654735" + nothing: "#654735" + binary: "#654735" + cellpath: "#654735" + row_index: { fg: "#6c782e" attr: "b" } + record: "#654735" + list: "#654735" + block: "#654735" + hints: "dark_gray" + + shape_and: { fg: "#945e80" attr: "b" } + shape_binary: { fg: "#945e80" attr: "b" } + shape_block: { fg: "#45707a" attr: "b" } + shape_bool: "#4c7a5d" + shape_custom: "#6c782e" + shape_datetime: { fg: "#4c7a5d" attr: "b" } + shape_directory: "#4c7a5d" + shape_external: "#4c7a5d" + shape_externalarg: { fg: "#6c782e" attr: "b" } + shape_filepath: "#4c7a5d" + shape_flag: { fg: "#45707a" attr: "b" } + shape_float: { fg: "#945e80" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#4c7a5d" attr: "b" } + shape_int: { fg: "#945e80" attr: "b" } + shape_internalcall: { fg: "#4c7a5d" attr: "b" } + shape_list: { fg: "#4c7a5d" attr: "b" } + shape_literal: "#45707a" + shape_match_pattern: "#6c782e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4c7a5d" + shape_operator: "#b47109" + shape_or: { fg: "#945e80" attr: "b" } + shape_pipe: { fg: "#945e80" attr: "b" } + shape_range: { fg: "#b47109" attr: "b" } + shape_record: { fg: "#4c7a5d" attr: "b" } + shape_redirection: { fg: "#945e80" attr: "b" } + shape_signature: { fg: "#6c782e" attr: "b" } + shape_string: "#6c782e" + shape_string_interpolation: { fg: "#4c7a5d" attr: "b" } + shape_table: { fg: "#45707a" attr: "b" } + shape_variable: "#945e80" + + background: "#fbf1c7" + foreground: "#654735" + cursor: "#654735" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-material-light-soft.nu b/themes/themes/gruvbox-material-light-soft.nu index 363ec2b..6843308 100644 --- a/themes/themes/gruvbox-material-light-soft.nu +++ b/themes/themes/gruvbox-material-light-soft.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_material-light-soft theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f2e5bc" - # foreground: "#654735" - # cursor: "#654735" - - { - # color for nushell primitives - separator: "#654735" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#6c782e" - empty: "#45707a" - bool: "#654735" - int: "#654735" - filesize: "#654735" - duration: "#654735" - date: "#654735" - range: "#654735" - float: "#654735" - string: "#654735" - nothing: "#654735" - binary: "#654735" - cellpath: "#654735" - row_index: "#6c782e" - record: "#654735" - list: "#654735" - block: "#654735" - hints: "#f2e5bc" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#945e80" - shape_bool: "#4c7a5d" - shape_int: "#945e80" - shape_float: "#945e80" - shape_range: "#b47109" - shape_internalcall: "#4c7a5d" - shape_external: "#4c7a5d" - shape_externalarg: "#6c782e" - shape_literal: "#45707a" - shape_operator: "#b47109" - shape_signature: "#6c782e" - shape_string: "#6c782e" - shape_string_interpolation: "#4c7a5d" - shape_datetime: "#4c7a5d" - shape_list: "#4c7a5d" - shape_table: "#45707a" - shape_record: "#4c7a5d" - shape_block: "#45707a" - shape_filepath: "#4c7a5d" - shape_globpattern: "#4c7a5d" - shape_variable: "#945e80" - shape_flag: "#45707a" - shape_custom: "#6c782e" - shape_nothing: "#4c7a5d" +export def main [] { return { + separator: "#654735" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6c782e" attr: "b" } + empty: "#45707a" + bool: {|| if $in { "#4c7a5d" } else { "light_gray" } } + int: "#654735" + filesize: {|e| + if $e == 0b { + "#654735" + } else if $e < 1mb { + "#4c7a5d" + } else {{ fg: "#45707a" }} } -} + duration: "#654735" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c14a4a" attr: "b" } + } else if $in < 6hr { + "#c14a4a" + } else if $in < 1day { + "#b47109" + } else if $in < 3day { + "#6c782e" + } else if $in < 1wk { + { fg: "#6c782e" attr: "b" } + } else if $in < 6wk { + "#4c7a5d" + } else if $in < 52wk { + "#45707a" + } else { "dark_gray" } + } + range: "#654735" + float: "#654735" + string: "#654735" + nothing: "#654735" + binary: "#654735" + cellpath: "#654735" + row_index: { fg: "#6c782e" attr: "b" } + record: "#654735" + list: "#654735" + block: "#654735" + hints: "dark_gray" + + shape_and: { fg: "#945e80" attr: "b" } + shape_binary: { fg: "#945e80" attr: "b" } + shape_block: { fg: "#45707a" attr: "b" } + shape_bool: "#4c7a5d" + shape_custom: "#6c782e" + shape_datetime: { fg: "#4c7a5d" attr: "b" } + shape_directory: "#4c7a5d" + shape_external: "#4c7a5d" + shape_externalarg: { fg: "#6c782e" attr: "b" } + shape_filepath: "#4c7a5d" + shape_flag: { fg: "#45707a" attr: "b" } + shape_float: { fg: "#945e80" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#4c7a5d" attr: "b" } + shape_int: { fg: "#945e80" attr: "b" } + shape_internalcall: { fg: "#4c7a5d" attr: "b" } + shape_list: { fg: "#4c7a5d" attr: "b" } + shape_literal: "#45707a" + shape_match_pattern: "#6c782e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4c7a5d" + shape_operator: "#b47109" + shape_or: { fg: "#945e80" attr: "b" } + shape_pipe: { fg: "#945e80" attr: "b" } + shape_range: { fg: "#b47109" attr: "b" } + shape_record: { fg: "#4c7a5d" attr: "b" } + shape_redirection: { fg: "#945e80" attr: "b" } + shape_signature: { fg: "#6c782e" attr: "b" } + shape_string: "#6c782e" + shape_string_interpolation: { fg: "#4c7a5d" attr: "b" } + shape_table: { fg: "#45707a" attr: "b" } + shape_variable: "#945e80" + + background: "#f2e5bc" + foreground: "#654735" + cursor: "#654735" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-mix-dark-hard.nu b/themes/themes/gruvbox-mix-dark-hard.nu index 03ef5b7..c0e58cf 100644 --- a/themes/themes/gruvbox-mix-dark-hard.nu +++ b/themes/themes/gruvbox-mix-dark-hard.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_mix-dark-hard theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d2021" - # foreground: "#e2cca9" - # cursor: "#e2cca9" - - { - # color for nushell primitives - separator: "#e2cca9" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b0b846" - empty: "#80aa9e" - bool: "#e2cca9" - int: "#e2cca9" - filesize: "#e2cca9" - duration: "#e2cca9" - date: "#e2cca9" - range: "#e2cca9" - float: "#e2cca9" - string: "#e2cca9" - nothing: "#e2cca9" - binary: "#e2cca9" - cellpath: "#e2cca9" - row_index: "#b0b846" - record: "#e2cca9" - list: "#e2cca9" - block: "#e2cca9" - hints: "#1d2021" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#8bba7f" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#e9b143" - shape_internalcall: "#8bba7f" - shape_external: "#8bba7f" - shape_externalarg: "#b0b846" - shape_literal: "#80aa9e" - shape_operator: "#e9b143" - shape_signature: "#b0b846" - shape_string: "#b0b846" - shape_string_interpolation: "#8bba7f" - shape_datetime: "#8bba7f" - shape_list: "#8bba7f" - shape_table: "#80aa9e" - shape_record: "#8bba7f" - shape_block: "#80aa9e" - shape_filepath: "#8bba7f" - shape_globpattern: "#8bba7f" - shape_variable: "#d3869b" - shape_flag: "#80aa9e" - shape_custom: "#b0b846" - shape_nothing: "#8bba7f" +export def main [] { return { + separator: "#e2cca9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b0b846" attr: "b" } + empty: "#80aa9e" + bool: {|| if $in { "#8bba7f" } else { "light_gray" } } + int: "#e2cca9" + filesize: {|e| + if $e == 0b { + "#e2cca9" + } else if $e < 1mb { + "#8bba7f" + } else {{ fg: "#80aa9e" }} } -} + duration: "#e2cca9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f2594b" attr: "b" } + } else if $in < 6hr { + "#f2594b" + } else if $in < 1day { + "#e9b143" + } else if $in < 3day { + "#b0b846" + } else if $in < 1wk { + { fg: "#b0b846" attr: "b" } + } else if $in < 6wk { + "#8bba7f" + } else if $in < 52wk { + "#80aa9e" + } else { "dark_gray" } + } + range: "#e2cca9" + float: "#e2cca9" + string: "#e2cca9" + nothing: "#e2cca9" + binary: "#e2cca9" + cellpath: "#e2cca9" + row_index: { fg: "#b0b846" attr: "b" } + record: "#e2cca9" + list: "#e2cca9" + block: "#e2cca9" + hints: "dark_gray" + + shape_and: { fg: "#d3869b" attr: "b" } + shape_binary: { fg: "#d3869b" attr: "b" } + shape_block: { fg: "#80aa9e" attr: "b" } + shape_bool: "#8bba7f" + shape_custom: "#b0b846" + shape_datetime: { fg: "#8bba7f" attr: "b" } + shape_directory: "#8bba7f" + shape_external: "#8bba7f" + shape_externalarg: { fg: "#b0b846" attr: "b" } + shape_filepath: "#8bba7f" + shape_flag: { fg: "#80aa9e" attr: "b" } + shape_float: { fg: "#d3869b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8bba7f" attr: "b" } + shape_int: { fg: "#d3869b" attr: "b" } + shape_internalcall: { fg: "#8bba7f" attr: "b" } + shape_list: { fg: "#8bba7f" attr: "b" } + shape_literal: "#80aa9e" + shape_match_pattern: "#b0b846" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8bba7f" + shape_operator: "#e9b143" + shape_or: { fg: "#d3869b" attr: "b" } + shape_pipe: { fg: "#d3869b" attr: "b" } + shape_range: { fg: "#e9b143" attr: "b" } + shape_record: { fg: "#8bba7f" attr: "b" } + shape_redirection: { fg: "#d3869b" attr: "b" } + shape_signature: { fg: "#b0b846" attr: "b" } + shape_string: "#b0b846" + shape_string_interpolation: { fg: "#8bba7f" attr: "b" } + shape_table: { fg: "#80aa9e" attr: "b" } + shape_variable: "#d3869b" + + background: "#1d2021" + foreground: "#e2cca9" + cursor: "#e2cca9" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-mix-dark-medium.nu b/themes/themes/gruvbox-mix-dark-medium.nu index f6ab08f..0effebc 100644 --- a/themes/themes/gruvbox-mix-dark-medium.nu +++ b/themes/themes/gruvbox-mix-dark-medium.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_mix-dark-medium theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282828" - # foreground: "#e2cca9" - # cursor: "#e2cca9" - - { - # color for nushell primitives - separator: "#e2cca9" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b0b846" - empty: "#80aa9e" - bool: "#e2cca9" - int: "#e2cca9" - filesize: "#e2cca9" - duration: "#e2cca9" - date: "#e2cca9" - range: "#e2cca9" - float: "#e2cca9" - string: "#e2cca9" - nothing: "#e2cca9" - binary: "#e2cca9" - cellpath: "#e2cca9" - row_index: "#b0b846" - record: "#e2cca9" - list: "#e2cca9" - block: "#e2cca9" - hints: "#282828" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#8bba7f" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#e9b143" - shape_internalcall: "#8bba7f" - shape_external: "#8bba7f" - shape_externalarg: "#b0b846" - shape_literal: "#80aa9e" - shape_operator: "#e9b143" - shape_signature: "#b0b846" - shape_string: "#b0b846" - shape_string_interpolation: "#8bba7f" - shape_datetime: "#8bba7f" - shape_list: "#8bba7f" - shape_table: "#80aa9e" - shape_record: "#8bba7f" - shape_block: "#80aa9e" - shape_filepath: "#8bba7f" - shape_globpattern: "#8bba7f" - shape_variable: "#d3869b" - shape_flag: "#80aa9e" - shape_custom: "#b0b846" - shape_nothing: "#8bba7f" +export def main [] { return { + separator: "#e2cca9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b0b846" attr: "b" } + empty: "#80aa9e" + bool: {|| if $in { "#8bba7f" } else { "light_gray" } } + int: "#e2cca9" + filesize: {|e| + if $e == 0b { + "#e2cca9" + } else if $e < 1mb { + "#8bba7f" + } else {{ fg: "#80aa9e" }} } -} + duration: "#e2cca9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f2594b" attr: "b" } + } else if $in < 6hr { + "#f2594b" + } else if $in < 1day { + "#e9b143" + } else if $in < 3day { + "#b0b846" + } else if $in < 1wk { + { fg: "#b0b846" attr: "b" } + } else if $in < 6wk { + "#8bba7f" + } else if $in < 52wk { + "#80aa9e" + } else { "dark_gray" } + } + range: "#e2cca9" + float: "#e2cca9" + string: "#e2cca9" + nothing: "#e2cca9" + binary: "#e2cca9" + cellpath: "#e2cca9" + row_index: { fg: "#b0b846" attr: "b" } + record: "#e2cca9" + list: "#e2cca9" + block: "#e2cca9" + hints: "dark_gray" + + shape_and: { fg: "#d3869b" attr: "b" } + shape_binary: { fg: "#d3869b" attr: "b" } + shape_block: { fg: "#80aa9e" attr: "b" } + shape_bool: "#8bba7f" + shape_custom: "#b0b846" + shape_datetime: { fg: "#8bba7f" attr: "b" } + shape_directory: "#8bba7f" + shape_external: "#8bba7f" + shape_externalarg: { fg: "#b0b846" attr: "b" } + shape_filepath: "#8bba7f" + shape_flag: { fg: "#80aa9e" attr: "b" } + shape_float: { fg: "#d3869b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8bba7f" attr: "b" } + shape_int: { fg: "#d3869b" attr: "b" } + shape_internalcall: { fg: "#8bba7f" attr: "b" } + shape_list: { fg: "#8bba7f" attr: "b" } + shape_literal: "#80aa9e" + shape_match_pattern: "#b0b846" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8bba7f" + shape_operator: "#e9b143" + shape_or: { fg: "#d3869b" attr: "b" } + shape_pipe: { fg: "#d3869b" attr: "b" } + shape_range: { fg: "#e9b143" attr: "b" } + shape_record: { fg: "#8bba7f" attr: "b" } + shape_redirection: { fg: "#d3869b" attr: "b" } + shape_signature: { fg: "#b0b846" attr: "b" } + shape_string: "#b0b846" + shape_string_interpolation: { fg: "#8bba7f" attr: "b" } + shape_table: { fg: "#80aa9e" attr: "b" } + shape_variable: "#d3869b" + + background: "#282828" + foreground: "#e2cca9" + cursor: "#e2cca9" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-mix-dark-soft.nu b/themes/themes/gruvbox-mix-dark-soft.nu index b2e9cbc..4399bf8 100644 --- a/themes/themes/gruvbox-mix-dark-soft.nu +++ b/themes/themes/gruvbox-mix-dark-soft.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_mix-dark-soft theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#32302f" - # foreground: "#e2cca9" - # cursor: "#e2cca9" - - { - # color for nushell primitives - separator: "#e2cca9" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b0b846" - empty: "#80aa9e" - bool: "#e2cca9" - int: "#e2cca9" - filesize: "#e2cca9" - duration: "#e2cca9" - date: "#e2cca9" - range: "#e2cca9" - float: "#e2cca9" - string: "#e2cca9" - nothing: "#e2cca9" - binary: "#e2cca9" - cellpath: "#e2cca9" - row_index: "#b0b846" - record: "#e2cca9" - list: "#e2cca9" - block: "#e2cca9" - hints: "#32302f" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#8bba7f" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#e9b143" - shape_internalcall: "#8bba7f" - shape_external: "#8bba7f" - shape_externalarg: "#b0b846" - shape_literal: "#80aa9e" - shape_operator: "#e9b143" - shape_signature: "#b0b846" - shape_string: "#b0b846" - shape_string_interpolation: "#8bba7f" - shape_datetime: "#8bba7f" - shape_list: "#8bba7f" - shape_table: "#80aa9e" - shape_record: "#8bba7f" - shape_block: "#80aa9e" - shape_filepath: "#8bba7f" - shape_globpattern: "#8bba7f" - shape_variable: "#d3869b" - shape_flag: "#80aa9e" - shape_custom: "#b0b846" - shape_nothing: "#8bba7f" +export def main [] { return { + separator: "#e2cca9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b0b846" attr: "b" } + empty: "#80aa9e" + bool: {|| if $in { "#8bba7f" } else { "light_gray" } } + int: "#e2cca9" + filesize: {|e| + if $e == 0b { + "#e2cca9" + } else if $e < 1mb { + "#8bba7f" + } else {{ fg: "#80aa9e" }} } -} + duration: "#e2cca9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f2594b" attr: "b" } + } else if $in < 6hr { + "#f2594b" + } else if $in < 1day { + "#e9b143" + } else if $in < 3day { + "#b0b846" + } else if $in < 1wk { + { fg: "#b0b846" attr: "b" } + } else if $in < 6wk { + "#8bba7f" + } else if $in < 52wk { + "#80aa9e" + } else { "dark_gray" } + } + range: "#e2cca9" + float: "#e2cca9" + string: "#e2cca9" + nothing: "#e2cca9" + binary: "#e2cca9" + cellpath: "#e2cca9" + row_index: { fg: "#b0b846" attr: "b" } + record: "#e2cca9" + list: "#e2cca9" + block: "#e2cca9" + hints: "dark_gray" + + shape_and: { fg: "#d3869b" attr: "b" } + shape_binary: { fg: "#d3869b" attr: "b" } + shape_block: { fg: "#80aa9e" attr: "b" } + shape_bool: "#8bba7f" + shape_custom: "#b0b846" + shape_datetime: { fg: "#8bba7f" attr: "b" } + shape_directory: "#8bba7f" + shape_external: "#8bba7f" + shape_externalarg: { fg: "#b0b846" attr: "b" } + shape_filepath: "#8bba7f" + shape_flag: { fg: "#80aa9e" attr: "b" } + shape_float: { fg: "#d3869b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8bba7f" attr: "b" } + shape_int: { fg: "#d3869b" attr: "b" } + shape_internalcall: { fg: "#8bba7f" attr: "b" } + shape_list: { fg: "#8bba7f" attr: "b" } + shape_literal: "#80aa9e" + shape_match_pattern: "#b0b846" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8bba7f" + shape_operator: "#e9b143" + shape_or: { fg: "#d3869b" attr: "b" } + shape_pipe: { fg: "#d3869b" attr: "b" } + shape_range: { fg: "#e9b143" attr: "b" } + shape_record: { fg: "#8bba7f" attr: "b" } + shape_redirection: { fg: "#d3869b" attr: "b" } + shape_signature: { fg: "#b0b846" attr: "b" } + shape_string: "#b0b846" + shape_string_interpolation: { fg: "#8bba7f" attr: "b" } + shape_table: { fg: "#80aa9e" attr: "b" } + shape_variable: "#d3869b" + + background: "#32302f" + foreground: "#e2cca9" + cursor: "#e2cca9" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-mix-light-hard.nu b/themes/themes/gruvbox-mix-light-hard.nu index 0f71c7e..2214f44 100644 --- a/themes/themes/gruvbox-mix-light-hard.nu +++ b/themes/themes/gruvbox-mix-light-hard.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_mix-light-hard theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f9f5d7" - # foreground: "#514036" - # cursor: "#514036" - - { - # color for nushell primitives - separator: "#514036" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#72761e" - empty: "#266b79" - bool: "#514036" - int: "#514036" - filesize: "#514036" - duration: "#514036" - date: "#514036" - range: "#514036" - float: "#514036" - string: "#514036" - nothing: "#514036" - binary: "#514036" - cellpath: "#514036" - row_index: "#72761e" - record: "#514036" - list: "#514036" - block: "#514036" - hints: "#f9f5d7" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#924f79" - shape_bool: "#477a5b" - shape_int: "#924f79" - shape_float: "#924f79" - shape_range: "#b4730e" - shape_internalcall: "#477a5b" - shape_external: "#477a5b" - shape_externalarg: "#72761e" - shape_literal: "#266b79" - shape_operator: "#b4730e" - shape_signature: "#72761e" - shape_string: "#72761e" - shape_string_interpolation: "#477a5b" - shape_datetime: "#477a5b" - shape_list: "#477a5b" - shape_table: "#266b79" - shape_record: "#477a5b" - shape_block: "#266b79" - shape_filepath: "#477a5b" - shape_globpattern: "#477a5b" - shape_variable: "#924f79" - shape_flag: "#266b79" - shape_custom: "#72761e" - shape_nothing: "#477a5b" +export def main [] { return { + separator: "#514036" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#72761e" attr: "b" } + empty: "#266b79" + bool: {|| if $in { "#477a5b" } else { "light_gray" } } + int: "#514036" + filesize: {|e| + if $e == 0b { + "#514036" + } else if $e < 1mb { + "#477a5b" + } else {{ fg: "#266b79" }} } -} + duration: "#514036" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#af2528" attr: "b" } + } else if $in < 6hr { + "#af2528" + } else if $in < 1day { + "#b4730e" + } else if $in < 3day { + "#72761e" + } else if $in < 1wk { + { fg: "#72761e" attr: "b" } + } else if $in < 6wk { + "#477a5b" + } else if $in < 52wk { + "#266b79" + } else { "dark_gray" } + } + range: "#514036" + float: "#514036" + string: "#514036" + nothing: "#514036" + binary: "#514036" + cellpath: "#514036" + row_index: { fg: "#72761e" attr: "b" } + record: "#514036" + list: "#514036" + block: "#514036" + hints: "dark_gray" + + shape_and: { fg: "#924f79" attr: "b" } + shape_binary: { fg: "#924f79" attr: "b" } + shape_block: { fg: "#266b79" attr: "b" } + shape_bool: "#477a5b" + shape_custom: "#72761e" + shape_datetime: { fg: "#477a5b" attr: "b" } + shape_directory: "#477a5b" + shape_external: "#477a5b" + shape_externalarg: { fg: "#72761e" attr: "b" } + shape_filepath: "#477a5b" + shape_flag: { fg: "#266b79" attr: "b" } + shape_float: { fg: "#924f79" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#477a5b" attr: "b" } + shape_int: { fg: "#924f79" attr: "b" } + shape_internalcall: { fg: "#477a5b" attr: "b" } + shape_list: { fg: "#477a5b" attr: "b" } + shape_literal: "#266b79" + shape_match_pattern: "#72761e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#477a5b" + shape_operator: "#b4730e" + shape_or: { fg: "#924f79" attr: "b" } + shape_pipe: { fg: "#924f79" attr: "b" } + shape_range: { fg: "#b4730e" attr: "b" } + shape_record: { fg: "#477a5b" attr: "b" } + shape_redirection: { fg: "#924f79" attr: "b" } + shape_signature: { fg: "#72761e" attr: "b" } + shape_string: "#72761e" + shape_string_interpolation: { fg: "#477a5b" attr: "b" } + shape_table: { fg: "#266b79" attr: "b" } + shape_variable: "#924f79" + + background: "#f9f5d7" + foreground: "#514036" + cursor: "#514036" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-mix-light-medium.nu b/themes/themes/gruvbox-mix-light-medium.nu index 1332187..6ea081a 100644 --- a/themes/themes/gruvbox-mix-light-medium.nu +++ b/themes/themes/gruvbox-mix-light-medium.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_mix-light-medium theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fbf1c7" - # foreground: "#514036" - # cursor: "#514036" - - { - # color for nushell primitives - separator: "#514036" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#72761e" - empty: "#266b79" - bool: "#514036" - int: "#514036" - filesize: "#514036" - duration: "#514036" - date: "#514036" - range: "#514036" - float: "#514036" - string: "#514036" - nothing: "#514036" - binary: "#514036" - cellpath: "#514036" - row_index: "#72761e" - record: "#514036" - list: "#514036" - block: "#514036" - hints: "#fbf1c7" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#924f79" - shape_bool: "#477a5b" - shape_int: "#924f79" - shape_float: "#924f79" - shape_range: "#b4730e" - shape_internalcall: "#477a5b" - shape_external: "#477a5b" - shape_externalarg: "#72761e" - shape_literal: "#266b79" - shape_operator: "#b4730e" - shape_signature: "#72761e" - shape_string: "#72761e" - shape_string_interpolation: "#477a5b" - shape_datetime: "#477a5b" - shape_list: "#477a5b" - shape_table: "#266b79" - shape_record: "#477a5b" - shape_block: "#266b79" - shape_filepath: "#477a5b" - shape_globpattern: "#477a5b" - shape_variable: "#924f79" - shape_flag: "#266b79" - shape_custom: "#72761e" - shape_nothing: "#477a5b" +export def main [] { return { + separator: "#514036" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#72761e" attr: "b" } + empty: "#266b79" + bool: {|| if $in { "#477a5b" } else { "light_gray" } } + int: "#514036" + filesize: {|e| + if $e == 0b { + "#514036" + } else if $e < 1mb { + "#477a5b" + } else {{ fg: "#266b79" }} } -} + duration: "#514036" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#af2528" attr: "b" } + } else if $in < 6hr { + "#af2528" + } else if $in < 1day { + "#b4730e" + } else if $in < 3day { + "#72761e" + } else if $in < 1wk { + { fg: "#72761e" attr: "b" } + } else if $in < 6wk { + "#477a5b" + } else if $in < 52wk { + "#266b79" + } else { "dark_gray" } + } + range: "#514036" + float: "#514036" + string: "#514036" + nothing: "#514036" + binary: "#514036" + cellpath: "#514036" + row_index: { fg: "#72761e" attr: "b" } + record: "#514036" + list: "#514036" + block: "#514036" + hints: "dark_gray" + + shape_and: { fg: "#924f79" attr: "b" } + shape_binary: { fg: "#924f79" attr: "b" } + shape_block: { fg: "#266b79" attr: "b" } + shape_bool: "#477a5b" + shape_custom: "#72761e" + shape_datetime: { fg: "#477a5b" attr: "b" } + shape_directory: "#477a5b" + shape_external: "#477a5b" + shape_externalarg: { fg: "#72761e" attr: "b" } + shape_filepath: "#477a5b" + shape_flag: { fg: "#266b79" attr: "b" } + shape_float: { fg: "#924f79" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#477a5b" attr: "b" } + shape_int: { fg: "#924f79" attr: "b" } + shape_internalcall: { fg: "#477a5b" attr: "b" } + shape_list: { fg: "#477a5b" attr: "b" } + shape_literal: "#266b79" + shape_match_pattern: "#72761e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#477a5b" + shape_operator: "#b4730e" + shape_or: { fg: "#924f79" attr: "b" } + shape_pipe: { fg: "#924f79" attr: "b" } + shape_range: { fg: "#b4730e" attr: "b" } + shape_record: { fg: "#477a5b" attr: "b" } + shape_redirection: { fg: "#924f79" attr: "b" } + shape_signature: { fg: "#72761e" attr: "b" } + shape_string: "#72761e" + shape_string_interpolation: { fg: "#477a5b" attr: "b" } + shape_table: { fg: "#266b79" attr: "b" } + shape_variable: "#924f79" + + background: "#fbf1c7" + foreground: "#514036" + cursor: "#514036" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-mix-light-soft.nu b/themes/themes/gruvbox-mix-light-soft.nu index 863366c..ef1f2f6 100644 --- a/themes/themes/gruvbox-mix-light-soft.nu +++ b/themes/themes/gruvbox-mix-light-soft.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_mix-light-soft theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f2e5bc" - # foreground: "#514036" - # cursor: "#514036" - - { - # color for nushell primitives - separator: "#514036" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#72761e" - empty: "#266b79" - bool: "#514036" - int: "#514036" - filesize: "#514036" - duration: "#514036" - date: "#514036" - range: "#514036" - float: "#514036" - string: "#514036" - nothing: "#514036" - binary: "#514036" - cellpath: "#514036" - row_index: "#72761e" - record: "#514036" - list: "#514036" - block: "#514036" - hints: "#f2e5bc" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#924f79" - shape_bool: "#477a5b" - shape_int: "#924f79" - shape_float: "#924f79" - shape_range: "#b4730e" - shape_internalcall: "#477a5b" - shape_external: "#477a5b" - shape_externalarg: "#72761e" - shape_literal: "#266b79" - shape_operator: "#b4730e" - shape_signature: "#72761e" - shape_string: "#72761e" - shape_string_interpolation: "#477a5b" - shape_datetime: "#477a5b" - shape_list: "#477a5b" - shape_table: "#266b79" - shape_record: "#477a5b" - shape_block: "#266b79" - shape_filepath: "#477a5b" - shape_globpattern: "#477a5b" - shape_variable: "#924f79" - shape_flag: "#266b79" - shape_custom: "#72761e" - shape_nothing: "#477a5b" +export def main [] { return { + separator: "#514036" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#72761e" attr: "b" } + empty: "#266b79" + bool: {|| if $in { "#477a5b" } else { "light_gray" } } + int: "#514036" + filesize: {|e| + if $e == 0b { + "#514036" + } else if $e < 1mb { + "#477a5b" + } else {{ fg: "#266b79" }} } -} + duration: "#514036" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#af2528" attr: "b" } + } else if $in < 6hr { + "#af2528" + } else if $in < 1day { + "#b4730e" + } else if $in < 3day { + "#72761e" + } else if $in < 1wk { + { fg: "#72761e" attr: "b" } + } else if $in < 6wk { + "#477a5b" + } else if $in < 52wk { + "#266b79" + } else { "dark_gray" } + } + range: "#514036" + float: "#514036" + string: "#514036" + nothing: "#514036" + binary: "#514036" + cellpath: "#514036" + row_index: { fg: "#72761e" attr: "b" } + record: "#514036" + list: "#514036" + block: "#514036" + hints: "dark_gray" + + shape_and: { fg: "#924f79" attr: "b" } + shape_binary: { fg: "#924f79" attr: "b" } + shape_block: { fg: "#266b79" attr: "b" } + shape_bool: "#477a5b" + shape_custom: "#72761e" + shape_datetime: { fg: "#477a5b" attr: "b" } + shape_directory: "#477a5b" + shape_external: "#477a5b" + shape_externalarg: { fg: "#72761e" attr: "b" } + shape_filepath: "#477a5b" + shape_flag: { fg: "#266b79" attr: "b" } + shape_float: { fg: "#924f79" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#477a5b" attr: "b" } + shape_int: { fg: "#924f79" attr: "b" } + shape_internalcall: { fg: "#477a5b" attr: "b" } + shape_list: { fg: "#477a5b" attr: "b" } + shape_literal: "#266b79" + shape_match_pattern: "#72761e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#477a5b" + shape_operator: "#b4730e" + shape_or: { fg: "#924f79" attr: "b" } + shape_pipe: { fg: "#924f79" attr: "b" } + shape_range: { fg: "#b4730e" attr: "b" } + shape_record: { fg: "#477a5b" attr: "b" } + shape_redirection: { fg: "#924f79" attr: "b" } + shape_signature: { fg: "#72761e" attr: "b" } + shape_string: "#72761e" + shape_string_interpolation: { fg: "#477a5b" attr: "b" } + shape_table: { fg: "#266b79" attr: "b" } + shape_variable: "#924f79" + + background: "#f2e5bc" + foreground: "#514036" + cursor: "#514036" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-original-dark-hard.nu b/themes/themes/gruvbox-original-dark-hard.nu index 069ac6e..72f72ae 100644 --- a/themes/themes/gruvbox-original-dark-hard.nu +++ b/themes/themes/gruvbox-original-dark-hard.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_original-dark-hard theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d2021" - # foreground: "#ebdbb2" - # cursor: "#ebdbb2" - - { - # color for nushell primitives - separator: "#ebdbb2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b8bb26" - empty: "#83a598" - bool: "#ebdbb2" - int: "#ebdbb2" - filesize: "#ebdbb2" - duration: "#ebdbb2" - date: "#ebdbb2" - range: "#ebdbb2" - float: "#ebdbb2" - string: "#ebdbb2" - nothing: "#ebdbb2" - binary: "#ebdbb2" - cellpath: "#ebdbb2" - row_index: "#b8bb26" - record: "#ebdbb2" - list: "#ebdbb2" - block: "#ebdbb2" - hints: "#1d2021" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#8ec07c" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#fabd2f" - shape_internalcall: "#8ec07c" - shape_external: "#8ec07c" - shape_externalarg: "#b8bb26" - shape_literal: "#83a598" - shape_operator: "#fabd2f" - shape_signature: "#b8bb26" - shape_string: "#b8bb26" - shape_string_interpolation: "#8ec07c" - shape_datetime: "#8ec07c" - shape_list: "#8ec07c" - shape_table: "#83a598" - shape_record: "#8ec07c" - shape_block: "#83a598" - shape_filepath: "#8ec07c" - shape_globpattern: "#8ec07c" - shape_variable: "#d3869b" - shape_flag: "#83a598" - shape_custom: "#b8bb26" - shape_nothing: "#8ec07c" +export def main [] { return { + separator: "#ebdbb2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b8bb26" attr: "b" } + empty: "#83a598" + bool: {|| if $in { "#8ec07c" } else { "light_gray" } } + int: "#ebdbb2" + filesize: {|e| + if $e == 0b { + "#ebdbb2" + } else if $e < 1mb { + "#8ec07c" + } else {{ fg: "#83a598" }} } -} + duration: "#ebdbb2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb4934" attr: "b" } + } else if $in < 6hr { + "#fb4934" + } else if $in < 1day { + "#fabd2f" + } else if $in < 3day { + "#b8bb26" + } else if $in < 1wk { + { fg: "#b8bb26" attr: "b" } + } else if $in < 6wk { + "#8ec07c" + } else if $in < 52wk { + "#83a598" + } else { "dark_gray" } + } + range: "#ebdbb2" + float: "#ebdbb2" + string: "#ebdbb2" + nothing: "#ebdbb2" + binary: "#ebdbb2" + cellpath: "#ebdbb2" + row_index: { fg: "#b8bb26" attr: "b" } + record: "#ebdbb2" + list: "#ebdbb2" + block: "#ebdbb2" + hints: "dark_gray" + + shape_and: { fg: "#d3869b" attr: "b" } + shape_binary: { fg: "#d3869b" attr: "b" } + shape_block: { fg: "#83a598" attr: "b" } + shape_bool: "#8ec07c" + shape_custom: "#b8bb26" + shape_datetime: { fg: "#8ec07c" attr: "b" } + shape_directory: "#8ec07c" + shape_external: "#8ec07c" + shape_externalarg: { fg: "#b8bb26" attr: "b" } + shape_filepath: "#8ec07c" + shape_flag: { fg: "#83a598" attr: "b" } + shape_float: { fg: "#d3869b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8ec07c" attr: "b" } + shape_int: { fg: "#d3869b" attr: "b" } + shape_internalcall: { fg: "#8ec07c" attr: "b" } + shape_list: { fg: "#8ec07c" attr: "b" } + shape_literal: "#83a598" + shape_match_pattern: "#b8bb26" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8ec07c" + shape_operator: "#fabd2f" + shape_or: { fg: "#d3869b" attr: "b" } + shape_pipe: { fg: "#d3869b" attr: "b" } + shape_range: { fg: "#fabd2f" attr: "b" } + shape_record: { fg: "#8ec07c" attr: "b" } + shape_redirection: { fg: "#d3869b" attr: "b" } + shape_signature: { fg: "#b8bb26" attr: "b" } + shape_string: "#b8bb26" + shape_string_interpolation: { fg: "#8ec07c" attr: "b" } + shape_table: { fg: "#83a598" attr: "b" } + shape_variable: "#d3869b" + + background: "#1d2021" + foreground: "#ebdbb2" + cursor: "#ebdbb2" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-original-dark-medium.nu b/themes/themes/gruvbox-original-dark-medium.nu index dd1cd7a..44bd9c3 100644 --- a/themes/themes/gruvbox-original-dark-medium.nu +++ b/themes/themes/gruvbox-original-dark-medium.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_original-dark-medium theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282828" - # foreground: "#ebdbb2" - # cursor: "#ebdbb2" - - { - # color for nushell primitives - separator: "#ebdbb2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b8bb26" - empty: "#83a598" - bool: "#ebdbb2" - int: "#ebdbb2" - filesize: "#ebdbb2" - duration: "#ebdbb2" - date: "#ebdbb2" - range: "#ebdbb2" - float: "#ebdbb2" - string: "#ebdbb2" - nothing: "#ebdbb2" - binary: "#ebdbb2" - cellpath: "#ebdbb2" - row_index: "#b8bb26" - record: "#ebdbb2" - list: "#ebdbb2" - block: "#ebdbb2" - hints: "#282828" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#8ec07c" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#fabd2f" - shape_internalcall: "#8ec07c" - shape_external: "#8ec07c" - shape_externalarg: "#b8bb26" - shape_literal: "#83a598" - shape_operator: "#fabd2f" - shape_signature: "#b8bb26" - shape_string: "#b8bb26" - shape_string_interpolation: "#8ec07c" - shape_datetime: "#8ec07c" - shape_list: "#8ec07c" - shape_table: "#83a598" - shape_record: "#8ec07c" - shape_block: "#83a598" - shape_filepath: "#8ec07c" - shape_globpattern: "#8ec07c" - shape_variable: "#d3869b" - shape_flag: "#83a598" - shape_custom: "#b8bb26" - shape_nothing: "#8ec07c" +export def main [] { return { + separator: "#ebdbb2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b8bb26" attr: "b" } + empty: "#83a598" + bool: {|| if $in { "#8ec07c" } else { "light_gray" } } + int: "#ebdbb2" + filesize: {|e| + if $e == 0b { + "#ebdbb2" + } else if $e < 1mb { + "#8ec07c" + } else {{ fg: "#83a598" }} } -} + duration: "#ebdbb2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb4934" attr: "b" } + } else if $in < 6hr { + "#fb4934" + } else if $in < 1day { + "#fabd2f" + } else if $in < 3day { + "#b8bb26" + } else if $in < 1wk { + { fg: "#b8bb26" attr: "b" } + } else if $in < 6wk { + "#8ec07c" + } else if $in < 52wk { + "#83a598" + } else { "dark_gray" } + } + range: "#ebdbb2" + float: "#ebdbb2" + string: "#ebdbb2" + nothing: "#ebdbb2" + binary: "#ebdbb2" + cellpath: "#ebdbb2" + row_index: { fg: "#b8bb26" attr: "b" } + record: "#ebdbb2" + list: "#ebdbb2" + block: "#ebdbb2" + hints: "dark_gray" + + shape_and: { fg: "#d3869b" attr: "b" } + shape_binary: { fg: "#d3869b" attr: "b" } + shape_block: { fg: "#83a598" attr: "b" } + shape_bool: "#8ec07c" + shape_custom: "#b8bb26" + shape_datetime: { fg: "#8ec07c" attr: "b" } + shape_directory: "#8ec07c" + shape_external: "#8ec07c" + shape_externalarg: { fg: "#b8bb26" attr: "b" } + shape_filepath: "#8ec07c" + shape_flag: { fg: "#83a598" attr: "b" } + shape_float: { fg: "#d3869b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8ec07c" attr: "b" } + shape_int: { fg: "#d3869b" attr: "b" } + shape_internalcall: { fg: "#8ec07c" attr: "b" } + shape_list: { fg: "#8ec07c" attr: "b" } + shape_literal: "#83a598" + shape_match_pattern: "#b8bb26" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8ec07c" + shape_operator: "#fabd2f" + shape_or: { fg: "#d3869b" attr: "b" } + shape_pipe: { fg: "#d3869b" attr: "b" } + shape_range: { fg: "#fabd2f" attr: "b" } + shape_record: { fg: "#8ec07c" attr: "b" } + shape_redirection: { fg: "#d3869b" attr: "b" } + shape_signature: { fg: "#b8bb26" attr: "b" } + shape_string: "#b8bb26" + shape_string_interpolation: { fg: "#8ec07c" attr: "b" } + shape_table: { fg: "#83a598" attr: "b" } + shape_variable: "#d3869b" + + background: "#282828" + foreground: "#ebdbb2" + cursor: "#ebdbb2" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-original-dark-soft.nu b/themes/themes/gruvbox-original-dark-soft.nu index 30e323c..e76179e 100644 --- a/themes/themes/gruvbox-original-dark-soft.nu +++ b/themes/themes/gruvbox-original-dark-soft.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_original-dark-soft theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#32302f" - # foreground: "#ebdbb2" - # cursor: "#ebdbb2" - - { - # color for nushell primitives - separator: "#ebdbb2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b8bb26" - empty: "#83a598" - bool: "#ebdbb2" - int: "#ebdbb2" - filesize: "#ebdbb2" - duration: "#ebdbb2" - date: "#ebdbb2" - range: "#ebdbb2" - float: "#ebdbb2" - string: "#ebdbb2" - nothing: "#ebdbb2" - binary: "#ebdbb2" - cellpath: "#ebdbb2" - row_index: "#b8bb26" - record: "#ebdbb2" - list: "#ebdbb2" - block: "#ebdbb2" - hints: "#32302f" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3869b" - shape_bool: "#8ec07c" - shape_int: "#d3869b" - shape_float: "#d3869b" - shape_range: "#fabd2f" - shape_internalcall: "#8ec07c" - shape_external: "#8ec07c" - shape_externalarg: "#b8bb26" - shape_literal: "#83a598" - shape_operator: "#fabd2f" - shape_signature: "#b8bb26" - shape_string: "#b8bb26" - shape_string_interpolation: "#8ec07c" - shape_datetime: "#8ec07c" - shape_list: "#8ec07c" - shape_table: "#83a598" - shape_record: "#8ec07c" - shape_block: "#83a598" - shape_filepath: "#8ec07c" - shape_globpattern: "#8ec07c" - shape_variable: "#d3869b" - shape_flag: "#83a598" - shape_custom: "#b8bb26" - shape_nothing: "#8ec07c" +export def main [] { return { + separator: "#ebdbb2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b8bb26" attr: "b" } + empty: "#83a598" + bool: {|| if $in { "#8ec07c" } else { "light_gray" } } + int: "#ebdbb2" + filesize: {|e| + if $e == 0b { + "#ebdbb2" + } else if $e < 1mb { + "#8ec07c" + } else {{ fg: "#83a598" }} } -} + duration: "#ebdbb2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb4934" attr: "b" } + } else if $in < 6hr { + "#fb4934" + } else if $in < 1day { + "#fabd2f" + } else if $in < 3day { + "#b8bb26" + } else if $in < 1wk { + { fg: "#b8bb26" attr: "b" } + } else if $in < 6wk { + "#8ec07c" + } else if $in < 52wk { + "#83a598" + } else { "dark_gray" } + } + range: "#ebdbb2" + float: "#ebdbb2" + string: "#ebdbb2" + nothing: "#ebdbb2" + binary: "#ebdbb2" + cellpath: "#ebdbb2" + row_index: { fg: "#b8bb26" attr: "b" } + record: "#ebdbb2" + list: "#ebdbb2" + block: "#ebdbb2" + hints: "dark_gray" + + shape_and: { fg: "#d3869b" attr: "b" } + shape_binary: { fg: "#d3869b" attr: "b" } + shape_block: { fg: "#83a598" attr: "b" } + shape_bool: "#8ec07c" + shape_custom: "#b8bb26" + shape_datetime: { fg: "#8ec07c" attr: "b" } + shape_directory: "#8ec07c" + shape_external: "#8ec07c" + shape_externalarg: { fg: "#b8bb26" attr: "b" } + shape_filepath: "#8ec07c" + shape_flag: { fg: "#83a598" attr: "b" } + shape_float: { fg: "#d3869b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8ec07c" attr: "b" } + shape_int: { fg: "#d3869b" attr: "b" } + shape_internalcall: { fg: "#8ec07c" attr: "b" } + shape_list: { fg: "#8ec07c" attr: "b" } + shape_literal: "#83a598" + shape_match_pattern: "#b8bb26" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8ec07c" + shape_operator: "#fabd2f" + shape_or: { fg: "#d3869b" attr: "b" } + shape_pipe: { fg: "#d3869b" attr: "b" } + shape_range: { fg: "#fabd2f" attr: "b" } + shape_record: { fg: "#8ec07c" attr: "b" } + shape_redirection: { fg: "#d3869b" attr: "b" } + shape_signature: { fg: "#b8bb26" attr: "b" } + shape_string: "#b8bb26" + shape_string_interpolation: { fg: "#8ec07c" attr: "b" } + shape_table: { fg: "#83a598" attr: "b" } + shape_variable: "#d3869b" + + background: "#32302f" + foreground: "#ebdbb2" + cursor: "#ebdbb2" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-original-light-hard.nu b/themes/themes/gruvbox-original-light-hard.nu index 738d4e9..e99716f 100644 --- a/themes/themes/gruvbox-original-light-hard.nu +++ b/themes/themes/gruvbox-original-light-hard.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_original-light-hard theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f9f5d7" - # foreground: "#3c3836" - # cursor: "#3c3836" - - { - # color for nushell primitives - separator: "#3c3836" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#79740e" - empty: "#076678" - bool: "#3c3836" - int: "#3c3836" - filesize: "#3c3836" - duration: "#3c3836" - date: "#3c3836" - range: "#3c3836" - float: "#3c3836" - string: "#3c3836" - nothing: "#3c3836" - binary: "#3c3836" - cellpath: "#3c3836" - row_index: "#79740e" - record: "#3c3836" - list: "#3c3836" - block: "#3c3836" - hints: "#f9f5d7" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8f3f71" - shape_bool: "#427b58" - shape_int: "#8f3f71" - shape_float: "#8f3f71" - shape_range: "#b57614" - shape_internalcall: "#427b58" - shape_external: "#427b58" - shape_externalarg: "#79740e" - shape_literal: "#076678" - shape_operator: "#b57614" - shape_signature: "#79740e" - shape_string: "#79740e" - shape_string_interpolation: "#427b58" - shape_datetime: "#427b58" - shape_list: "#427b58" - shape_table: "#076678" - shape_record: "#427b58" - shape_block: "#076678" - shape_filepath: "#427b58" - shape_globpattern: "#427b58" - shape_variable: "#8f3f71" - shape_flag: "#076678" - shape_custom: "#79740e" - shape_nothing: "#427b58" +export def main [] { return { + separator: "#3c3836" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#79740e" attr: "b" } + empty: "#076678" + bool: {|| if $in { "#427b58" } else { "light_gray" } } + int: "#3c3836" + filesize: {|e| + if $e == 0b { + "#3c3836" + } else if $e < 1mb { + "#427b58" + } else {{ fg: "#076678" }} } -} + duration: "#3c3836" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#9d0006" attr: "b" } + } else if $in < 6hr { + "#9d0006" + } else if $in < 1day { + "#b57614" + } else if $in < 3day { + "#79740e" + } else if $in < 1wk { + { fg: "#79740e" attr: "b" } + } else if $in < 6wk { + "#427b58" + } else if $in < 52wk { + "#076678" + } else { "dark_gray" } + } + range: "#3c3836" + float: "#3c3836" + string: "#3c3836" + nothing: "#3c3836" + binary: "#3c3836" + cellpath: "#3c3836" + row_index: { fg: "#79740e" attr: "b" } + record: "#3c3836" + list: "#3c3836" + block: "#3c3836" + hints: "dark_gray" + + shape_and: { fg: "#8f3f71" attr: "b" } + shape_binary: { fg: "#8f3f71" attr: "b" } + shape_block: { fg: "#076678" attr: "b" } + shape_bool: "#427b58" + shape_custom: "#79740e" + shape_datetime: { fg: "#427b58" attr: "b" } + shape_directory: "#427b58" + shape_external: "#427b58" + shape_externalarg: { fg: "#79740e" attr: "b" } + shape_filepath: "#427b58" + shape_flag: { fg: "#076678" attr: "b" } + shape_float: { fg: "#8f3f71" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#427b58" attr: "b" } + shape_int: { fg: "#8f3f71" attr: "b" } + shape_internalcall: { fg: "#427b58" attr: "b" } + shape_list: { fg: "#427b58" attr: "b" } + shape_literal: "#076678" + shape_match_pattern: "#79740e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#427b58" + shape_operator: "#b57614" + shape_or: { fg: "#8f3f71" attr: "b" } + shape_pipe: { fg: "#8f3f71" attr: "b" } + shape_range: { fg: "#b57614" attr: "b" } + shape_record: { fg: "#427b58" attr: "b" } + shape_redirection: { fg: "#8f3f71" attr: "b" } + shape_signature: { fg: "#79740e" attr: "b" } + shape_string: "#79740e" + shape_string_interpolation: { fg: "#427b58" attr: "b" } + shape_table: { fg: "#076678" attr: "b" } + shape_variable: "#8f3f71" + + background: "#f9f5d7" + foreground: "#3c3836" + cursor: "#3c3836" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-original-light-medium.nu b/themes/themes/gruvbox-original-light-medium.nu index fec80bb..828cad2 100644 --- a/themes/themes/gruvbox-original-light-medium.nu +++ b/themes/themes/gruvbox-original-light-medium.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_original-light-medium theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fbf1c7" - # foreground: "#3c3836" - # cursor: "#3c3836" - - { - # color for nushell primitives - separator: "#3c3836" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#79740e" - empty: "#076678" - bool: "#3c3836" - int: "#3c3836" - filesize: "#3c3836" - duration: "#3c3836" - date: "#3c3836" - range: "#3c3836" - float: "#3c3836" - string: "#3c3836" - nothing: "#3c3836" - binary: "#3c3836" - cellpath: "#3c3836" - row_index: "#79740e" - record: "#3c3836" - list: "#3c3836" - block: "#3c3836" - hints: "#fbf1c7" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8f3f71" - shape_bool: "#427b58" - shape_int: "#8f3f71" - shape_float: "#8f3f71" - shape_range: "#b57614" - shape_internalcall: "#427b58" - shape_external: "#427b58" - shape_externalarg: "#79740e" - shape_literal: "#076678" - shape_operator: "#b57614" - shape_signature: "#79740e" - shape_string: "#79740e" - shape_string_interpolation: "#427b58" - shape_datetime: "#427b58" - shape_list: "#427b58" - shape_table: "#076678" - shape_record: "#427b58" - shape_block: "#076678" - shape_filepath: "#427b58" - shape_globpattern: "#427b58" - shape_variable: "#8f3f71" - shape_flag: "#076678" - shape_custom: "#79740e" - shape_nothing: "#427b58" +export def main [] { return { + separator: "#3c3836" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#79740e" attr: "b" } + empty: "#076678" + bool: {|| if $in { "#427b58" } else { "light_gray" } } + int: "#3c3836" + filesize: {|e| + if $e == 0b { + "#3c3836" + } else if $e < 1mb { + "#427b58" + } else {{ fg: "#076678" }} } -} + duration: "#3c3836" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#9d0006" attr: "b" } + } else if $in < 6hr { + "#9d0006" + } else if $in < 1day { + "#b57614" + } else if $in < 3day { + "#79740e" + } else if $in < 1wk { + { fg: "#79740e" attr: "b" } + } else if $in < 6wk { + "#427b58" + } else if $in < 52wk { + "#076678" + } else { "dark_gray" } + } + range: "#3c3836" + float: "#3c3836" + string: "#3c3836" + nothing: "#3c3836" + binary: "#3c3836" + cellpath: "#3c3836" + row_index: { fg: "#79740e" attr: "b" } + record: "#3c3836" + list: "#3c3836" + block: "#3c3836" + hints: "dark_gray" + + shape_and: { fg: "#8f3f71" attr: "b" } + shape_binary: { fg: "#8f3f71" attr: "b" } + shape_block: { fg: "#076678" attr: "b" } + shape_bool: "#427b58" + shape_custom: "#79740e" + shape_datetime: { fg: "#427b58" attr: "b" } + shape_directory: "#427b58" + shape_external: "#427b58" + shape_externalarg: { fg: "#79740e" attr: "b" } + shape_filepath: "#427b58" + shape_flag: { fg: "#076678" attr: "b" } + shape_float: { fg: "#8f3f71" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#427b58" attr: "b" } + shape_int: { fg: "#8f3f71" attr: "b" } + shape_internalcall: { fg: "#427b58" attr: "b" } + shape_list: { fg: "#427b58" attr: "b" } + shape_literal: "#076678" + shape_match_pattern: "#79740e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#427b58" + shape_operator: "#b57614" + shape_or: { fg: "#8f3f71" attr: "b" } + shape_pipe: { fg: "#8f3f71" attr: "b" } + shape_range: { fg: "#b57614" attr: "b" } + shape_record: { fg: "#427b58" attr: "b" } + shape_redirection: { fg: "#8f3f71" attr: "b" } + shape_signature: { fg: "#79740e" attr: "b" } + shape_string: "#79740e" + shape_string_interpolation: { fg: "#427b58" attr: "b" } + shape_table: { fg: "#076678" attr: "b" } + shape_variable: "#8f3f71" + + background: "#fbf1c7" + foreground: "#3c3836" + cursor: "#3c3836" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox-original-light-soft.nu b/themes/themes/gruvbox-original-light-soft.nu index 5ddfc16..5052b2c 100644 --- a/themes/themes/gruvbox-original-light-soft.nu +++ b/themes/themes/gruvbox-original-light-soft.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox_original-light-soft theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f2e5bc" - # foreground: "#3c3836" - # cursor: "#3c3836" - - { - # color for nushell primitives - separator: "#3c3836" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#79740e" - empty: "#076678" - bool: "#3c3836" - int: "#3c3836" - filesize: "#3c3836" - duration: "#3c3836" - date: "#3c3836" - range: "#3c3836" - float: "#3c3836" - string: "#3c3836" - nothing: "#3c3836" - binary: "#3c3836" - cellpath: "#3c3836" - row_index: "#79740e" - record: "#3c3836" - list: "#3c3836" - block: "#3c3836" - hints: "#f2e5bc" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8f3f71" - shape_bool: "#427b58" - shape_int: "#8f3f71" - shape_float: "#8f3f71" - shape_range: "#b57614" - shape_internalcall: "#427b58" - shape_external: "#427b58" - shape_externalarg: "#79740e" - shape_literal: "#076678" - shape_operator: "#b57614" - shape_signature: "#79740e" - shape_string: "#79740e" - shape_string_interpolation: "#427b58" - shape_datetime: "#427b58" - shape_list: "#427b58" - shape_table: "#076678" - shape_record: "#427b58" - shape_block: "#076678" - shape_filepath: "#427b58" - shape_globpattern: "#427b58" - shape_variable: "#8f3f71" - shape_flag: "#076678" - shape_custom: "#79740e" - shape_nothing: "#427b58" +export def main [] { return { + separator: "#3c3836" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#79740e" attr: "b" } + empty: "#076678" + bool: {|| if $in { "#427b58" } else { "light_gray" } } + int: "#3c3836" + filesize: {|e| + if $e == 0b { + "#3c3836" + } else if $e < 1mb { + "#427b58" + } else {{ fg: "#076678" }} } -} + duration: "#3c3836" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#9d0006" attr: "b" } + } else if $in < 6hr { + "#9d0006" + } else if $in < 1day { + "#b57614" + } else if $in < 3day { + "#79740e" + } else if $in < 1wk { + { fg: "#79740e" attr: "b" } + } else if $in < 6wk { + "#427b58" + } else if $in < 52wk { + "#076678" + } else { "dark_gray" } + } + range: "#3c3836" + float: "#3c3836" + string: "#3c3836" + nothing: "#3c3836" + binary: "#3c3836" + cellpath: "#3c3836" + row_index: { fg: "#79740e" attr: "b" } + record: "#3c3836" + list: "#3c3836" + block: "#3c3836" + hints: "dark_gray" + + shape_and: { fg: "#8f3f71" attr: "b" } + shape_binary: { fg: "#8f3f71" attr: "b" } + shape_block: { fg: "#076678" attr: "b" } + shape_bool: "#427b58" + shape_custom: "#79740e" + shape_datetime: { fg: "#427b58" attr: "b" } + shape_directory: "#427b58" + shape_external: "#427b58" + shape_externalarg: { fg: "#79740e" attr: "b" } + shape_filepath: "#427b58" + shape_flag: { fg: "#076678" attr: "b" } + shape_float: { fg: "#8f3f71" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#427b58" attr: "b" } + shape_int: { fg: "#8f3f71" attr: "b" } + shape_internalcall: { fg: "#427b58" attr: "b" } + shape_list: { fg: "#427b58" attr: "b" } + shape_literal: "#076678" + shape_match_pattern: "#79740e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#427b58" + shape_operator: "#b57614" + shape_or: { fg: "#8f3f71" attr: "b" } + shape_pipe: { fg: "#8f3f71" attr: "b" } + shape_range: { fg: "#b57614" attr: "b" } + shape_record: { fg: "#427b58" attr: "b" } + shape_redirection: { fg: "#8f3f71" attr: "b" } + shape_signature: { fg: "#79740e" attr: "b" } + shape_string: "#79740e" + shape_string_interpolation: { fg: "#427b58" attr: "b" } + shape_table: { fg: "#076678" attr: "b" } + shape_variable: "#8f3f71" + + background: "#f2e5bc" + foreground: "#3c3836" + cursor: "#3c3836" +}} \ No newline at end of file diff --git a/themes/themes/gruvbox.nu b/themes/themes/gruvbox.nu index 38be8f4..964dc8a 100644 --- a/themes/themes/gruvbox.nu +++ b/themes/themes/gruvbox.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the gruvbox theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fbf1c7" - # foreground: "#3c3836" - # cursor: "#3c3836" - - { - # color for nushell primitives - separator: "#3c3836" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#79740e" - empty: "#458588" - bool: "#3c3836" - int: "#3c3836" - filesize: "#3c3836" - duration: "#3c3836" - date: "#3c3836" - range: "#3c3836" - float: "#3c3836" - string: "#3c3836" - nothing: "#3c3836" - binary: "#3c3836" - cellpath: "#3c3836" - row_index: "#79740e" - record: "#3c3836" - list: "#3c3836" - block: "#3c3836" - hints: "#928374" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8f3f71" - shape_bool: "#427b58" - shape_int: "#8f3f71" - shape_float: "#8f3f71" - shape_range: "#b57614" - shape_internalcall: "#427b58" - shape_external: "#689d6a" - shape_externalarg: "#79740e" - shape_literal: "#458588" - shape_operator: "#d79921" - shape_signature: "#79740e" - shape_string: "#98971a" - shape_string_interpolation: "#427b58" - shape_datetime: "#427b58" - shape_list: "#427b58" - shape_table: "#076678" - shape_record: "#427b58" - shape_block: "#076678" - shape_filepath: "#689d6a" - shape_globpattern: "#427b58" - shape_variable: "#b16286" - shape_flag: "#076678" - shape_custom: "#98971a" - shape_nothing: "#427b58" +export def main [] { return { + separator: "#7c6f64" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#98971a" attr: "b" } + empty: "#458588" + bool: {|| if $in { "#427b58" } else { "light_gray" } } + int: "#7c6f64" + filesize: {|e| + if $e == 0b { + "#7c6f64" + } else if $e < 1mb { + "#689d6a" + } else {{ fg: "#458588" }} } -} + duration: "#7c6f64" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc241d" attr: "b" } + } else if $in < 6hr { + "#cc241d" + } else if $in < 1day { + "#d79921" + } else if $in < 3day { + "#98971a" + } else if $in < 1wk { + { fg: "#98971a" attr: "b" } + } else if $in < 6wk { + "#689d6a" + } else if $in < 52wk { + "#458588" + } else { "dark_gray" } + } + range: "#7c6f64" + float: "#7c6f64" + string: "#7c6f64" + nothing: "#7c6f64" + binary: "#7c6f64" + cellpath: "#7c6f64" + row_index: { fg: "#98971a" attr: "b" } + record: "#7c6f64" + list: "#7c6f64" + block: "#7c6f64" + hints: "dark_gray" + + shape_and: { fg: "#b16286" attr: "b" } + shape_binary: { fg: "#b16286" attr: "b" } + shape_block: { fg: "#458588" attr: "b" } + shape_bool: "#427b58" + shape_custom: "#98971a" + shape_datetime: { fg: "#689d6a" attr: "b" } + shape_directory: "#689d6a" + shape_external: "#689d6a" + shape_externalarg: { fg: "#98971a" attr: "b" } + shape_filepath: "#689d6a" + shape_flag: { fg: "#458588" attr: "b" } + shape_float: { fg: "#b16286" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#689d6a" attr: "b" } + shape_int: { fg: "#b16286" attr: "b" } + shape_internalcall: { fg: "#689d6a" attr: "b" } + shape_list: { fg: "#689d6a" attr: "b" } + shape_literal: "#458588" + shape_match_pattern: "#98971a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#427b58" + shape_operator: "#d79921" + shape_or: { fg: "#b16286" attr: "b" } + shape_pipe: { fg: "#b16286" attr: "b" } + shape_range: { fg: "#d79921" attr: "b" } + shape_record: { fg: "#689d6a" attr: "b" } + shape_redirection: { fg: "#b16286" attr: "b" } + shape_signature: { fg: "#98971a" attr: "b" } + shape_string: "#98971a" + shape_string_interpolation: { fg: "#689d6a" attr: "b" } + shape_table: { fg: "#458588" attr: "b" } + shape_variable: "#b16286" + + background: "#fbf1c7" + foreground: "#3c3836" + cursor: "#3c3836" +}} \ No newline at end of file diff --git a/themes/themes/hardcore.nu b/themes/themes/hardcore.nu index 11c7231..f32f851 100644 --- a/themes/themes/hardcore.nu +++ b/themes/themes/hardcore.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the hardcore theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#212121" - # foreground: "#cdcdcd" - # cursor: "#cdcdcd" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a6e22e" - empty: "#66d9ef" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#a6e22e" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#4a4a4a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9e6ffe" - shape_bool: "#708387" - shape_int: "#9e6ffe" - shape_float: "#9e6ffe" - shape_range: "#e6db74" - shape_internalcall: "#708387" - shape_external: "#708387" - shape_externalarg: "#a6e22e" - shape_literal: "#66d9ef" - shape_operator: "#e6db74" - shape_signature: "#a6e22e" - shape_string: "#a6e22e" - shape_string_interpolation: "#708387" - shape_datetime: "#708387" - shape_list: "#708387" - shape_table: "#66d9ef" - shape_record: "#708387" - shape_block: "#66d9ef" - shape_filepath: "#708387" - shape_globpattern: "#708387" - shape_variable: "#9e6ffe" - shape_flag: "#66d9ef" - shape_custom: "#a6e22e" - shape_nothing: "#708387" +export def main [] { return { + separator: "#cdcdcd" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a6e22e" attr: "b" } + empty: "#66d9ef" + bool: {|| if $in { "#708387" } else { "light_gray" } } + int: "#cdcdcd" + filesize: {|e| + if $e == 0b { + "#cdcdcd" + } else if $e < 1mb { + "#708387" + } else {{ fg: "#66d9ef" }} } -} + duration: "#cdcdcd" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f92672" attr: "b" } + } else if $in < 6hr { + "#f92672" + } else if $in < 1day { + "#e6db74" + } else if $in < 3day { + "#a6e22e" + } else if $in < 1wk { + { fg: "#a6e22e" attr: "b" } + } else if $in < 6wk { + "#708387" + } else if $in < 52wk { + "#66d9ef" + } else { "dark_gray" } + } + range: "#cdcdcd" + float: "#cdcdcd" + string: "#cdcdcd" + nothing: "#cdcdcd" + binary: "#cdcdcd" + cellpath: "#cdcdcd" + row_index: { fg: "#a6e22e" attr: "b" } + record: "#cdcdcd" + list: "#cdcdcd" + block: "#cdcdcd" + hints: "dark_gray" + + shape_and: { fg: "#9e6ffe" attr: "b" } + shape_binary: { fg: "#9e6ffe" attr: "b" } + shape_block: { fg: "#66d9ef" attr: "b" } + shape_bool: "#708387" + shape_custom: "#a6e22e" + shape_datetime: { fg: "#708387" attr: "b" } + shape_directory: "#708387" + shape_external: "#708387" + shape_externalarg: { fg: "#a6e22e" attr: "b" } + shape_filepath: "#708387" + shape_flag: { fg: "#66d9ef" attr: "b" } + shape_float: { fg: "#9e6ffe" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#708387" attr: "b" } + shape_int: { fg: "#9e6ffe" attr: "b" } + shape_internalcall: { fg: "#708387" attr: "b" } + shape_list: { fg: "#708387" attr: "b" } + shape_literal: "#66d9ef" + shape_match_pattern: "#a6e22e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#708387" + shape_operator: "#e6db74" + shape_or: { fg: "#9e6ffe" attr: "b" } + shape_pipe: { fg: "#9e6ffe" attr: "b" } + shape_range: { fg: "#e6db74" attr: "b" } + shape_record: { fg: "#708387" attr: "b" } + shape_redirection: { fg: "#9e6ffe" attr: "b" } + shape_signature: { fg: "#a6e22e" attr: "b" } + shape_string: "#a6e22e" + shape_string_interpolation: { fg: "#708387" attr: "b" } + shape_table: { fg: "#66d9ef" attr: "b" } + shape_variable: "#9e6ffe" + + background: "#212121" + foreground: "#cdcdcd" + cursor: "#cdcdcd" +}} \ No newline at end of file diff --git a/themes/themes/harmonic-dark.nu b/themes/themes/harmonic-dark.nu index 73f5198..a184a0e 100644 --- a/themes/themes/harmonic-dark.nu +++ b/themes/themes/harmonic-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the harmonic_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0b1c2c" - # foreground: "#cbd6e2" - # cursor: "#cbd6e2" - - { - # color for nushell primitives - separator: "#f7f9fb" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#56bf8b" - empty: "#8b56bf" - bool: "#f7f9fb" - int: "#f7f9fb" - filesize: "#f7f9fb" - duration: "#f7f9fb" - date: "#f7f9fb" - range: "#f7f9fb" - float: "#f7f9fb" - string: "#f7f9fb" - nothing: "#f7f9fb" - binary: "#f7f9fb" - cellpath: "#f7f9fb" - row_index: "#56bf8b" - record: "#f7f9fb" - list: "#f7f9fb" - block: "#f7f9fb" - hints: "#627e99" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bf568b" - shape_bool: "#568bbf" - shape_int: "#bf568b" - shape_float: "#bf568b" - shape_range: "#8bbf56" - shape_internalcall: "#568bbf" - shape_external: "#568bbf" - shape_externalarg: "#56bf8b" - shape_literal: "#8b56bf" - shape_operator: "#8bbf56" - shape_signature: "#56bf8b" - shape_string: "#56bf8b" - shape_string_interpolation: "#568bbf" - shape_datetime: "#568bbf" - shape_list: "#568bbf" - shape_table: "#8b56bf" - shape_record: "#568bbf" - shape_block: "#8b56bf" - shape_filepath: "#568bbf" - shape_globpattern: "#568bbf" - shape_variable: "#bf568b" - shape_flag: "#8b56bf" - shape_custom: "#56bf8b" - shape_nothing: "#568bbf" +export def main [] { return { + separator: "#cbd6e2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#56bf8b" attr: "b" } + empty: "#8b56bf" + bool: {|| if $in { "#568bbf" } else { "light_gray" } } + int: "#cbd6e2" + filesize: {|e| + if $e == 0b { + "#cbd6e2" + } else if $e < 1mb { + "#568bbf" + } else {{ fg: "#8b56bf" }} } -} + duration: "#cbd6e2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bf8b56" attr: "b" } + } else if $in < 6hr { + "#bf8b56" + } else if $in < 1day { + "#8bbf56" + } else if $in < 3day { + "#56bf8b" + } else if $in < 1wk { + { fg: "#56bf8b" attr: "b" } + } else if $in < 6wk { + "#568bbf" + } else if $in < 52wk { + "#8b56bf" + } else { "dark_gray" } + } + range: "#cbd6e2" + float: "#cbd6e2" + string: "#cbd6e2" + nothing: "#cbd6e2" + binary: "#cbd6e2" + cellpath: "#cbd6e2" + row_index: { fg: "#56bf8b" attr: "b" } + record: "#cbd6e2" + list: "#cbd6e2" + block: "#cbd6e2" + hints: "dark_gray" + + shape_and: { fg: "#bf568b" attr: "b" } + shape_binary: { fg: "#bf568b" attr: "b" } + shape_block: { fg: "#8b56bf" attr: "b" } + shape_bool: "#568bbf" + shape_custom: "#56bf8b" + shape_datetime: { fg: "#568bbf" attr: "b" } + shape_directory: "#568bbf" + shape_external: "#568bbf" + shape_externalarg: { fg: "#56bf8b" attr: "b" } + shape_filepath: "#568bbf" + shape_flag: { fg: "#8b56bf" attr: "b" } + shape_float: { fg: "#bf568b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#568bbf" attr: "b" } + shape_int: { fg: "#bf568b" attr: "b" } + shape_internalcall: { fg: "#568bbf" attr: "b" } + shape_list: { fg: "#568bbf" attr: "b" } + shape_literal: "#8b56bf" + shape_match_pattern: "#56bf8b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#568bbf" + shape_operator: "#8bbf56" + shape_or: { fg: "#bf568b" attr: "b" } + shape_pipe: { fg: "#bf568b" attr: "b" } + shape_range: { fg: "#8bbf56" attr: "b" } + shape_record: { fg: "#568bbf" attr: "b" } + shape_redirection: { fg: "#bf568b" attr: "b" } + shape_signature: { fg: "#56bf8b" attr: "b" } + shape_string: "#56bf8b" + shape_string_interpolation: { fg: "#568bbf" attr: "b" } + shape_table: { fg: "#8b56bf" attr: "b" } + shape_variable: "#bf568b" + + background: "#0b1c2c" + foreground: "#cbd6e2" + cursor: "#cbd6e2" +}} \ No newline at end of file diff --git a/themes/themes/harmonic-light.nu b/themes/themes/harmonic-light.nu index 846a71b..6c9ee39 100644 --- a/themes/themes/harmonic-light.nu +++ b/themes/themes/harmonic-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the harmonic_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f7f9fb" - # foreground: "#405c79" - # cursor: "#405c79" - - { - # color for nushell primitives - separator: "#0b1c2c" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#56bf8b" - empty: "#8b56bf" - bool: "#0b1c2c" - int: "#0b1c2c" - filesize: "#0b1c2c" - duration: "#0b1c2c" - date: "#0b1c2c" - range: "#0b1c2c" - float: "#0b1c2c" - string: "#0b1c2c" - nothing: "#0b1c2c" - binary: "#0b1c2c" - cellpath: "#0b1c2c" - row_index: "#56bf8b" - record: "#0b1c2c" - list: "#0b1c2c" - block: "#0b1c2c" - hints: "#aabcce" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bf568b" - shape_bool: "#568bbf" - shape_int: "#bf568b" - shape_float: "#bf568b" - shape_range: "#8bbf56" - shape_internalcall: "#568bbf" - shape_external: "#568bbf" - shape_externalarg: "#56bf8b" - shape_literal: "#8b56bf" - shape_operator: "#8bbf56" - shape_signature: "#56bf8b" - shape_string: "#56bf8b" - shape_string_interpolation: "#568bbf" - shape_datetime: "#568bbf" - shape_list: "#568bbf" - shape_table: "#8b56bf" - shape_record: "#568bbf" - shape_block: "#8b56bf" - shape_filepath: "#568bbf" - shape_globpattern: "#568bbf" - shape_variable: "#bf568b" - shape_flag: "#8b56bf" - shape_custom: "#56bf8b" - shape_nothing: "#568bbf" +export def main [] { return { + separator: "#405c79" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#56bf8b" attr: "b" } + empty: "#8b56bf" + bool: {|| if $in { "#568bbf" } else { "light_gray" } } + int: "#405c79" + filesize: {|e| + if $e == 0b { + "#405c79" + } else if $e < 1mb { + "#568bbf" + } else {{ fg: "#8b56bf" }} } -} + duration: "#405c79" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bf8b56" attr: "b" } + } else if $in < 6hr { + "#bf8b56" + } else if $in < 1day { + "#8bbf56" + } else if $in < 3day { + "#56bf8b" + } else if $in < 1wk { + { fg: "#56bf8b" attr: "b" } + } else if $in < 6wk { + "#568bbf" + } else if $in < 52wk { + "#8b56bf" + } else { "dark_gray" } + } + range: "#405c79" + float: "#405c79" + string: "#405c79" + nothing: "#405c79" + binary: "#405c79" + cellpath: "#405c79" + row_index: { fg: "#56bf8b" attr: "b" } + record: "#405c79" + list: "#405c79" + block: "#405c79" + hints: "dark_gray" + + shape_and: { fg: "#bf568b" attr: "b" } + shape_binary: { fg: "#bf568b" attr: "b" } + shape_block: { fg: "#8b56bf" attr: "b" } + shape_bool: "#568bbf" + shape_custom: "#56bf8b" + shape_datetime: { fg: "#568bbf" attr: "b" } + shape_directory: "#568bbf" + shape_external: "#568bbf" + shape_externalarg: { fg: "#56bf8b" attr: "b" } + shape_filepath: "#568bbf" + shape_flag: { fg: "#8b56bf" attr: "b" } + shape_float: { fg: "#bf568b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#568bbf" attr: "b" } + shape_int: { fg: "#bf568b" attr: "b" } + shape_internalcall: { fg: "#568bbf" attr: "b" } + shape_list: { fg: "#568bbf" attr: "b" } + shape_literal: "#8b56bf" + shape_match_pattern: "#56bf8b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#568bbf" + shape_operator: "#8bbf56" + shape_or: { fg: "#bf568b" attr: "b" } + shape_pipe: { fg: "#bf568b" attr: "b" } + shape_range: { fg: "#8bbf56" attr: "b" } + shape_record: { fg: "#568bbf" attr: "b" } + shape_redirection: { fg: "#bf568b" attr: "b" } + shape_signature: { fg: "#56bf8b" attr: "b" } + shape_string: "#56bf8b" + shape_string_interpolation: { fg: "#568bbf" attr: "b" } + shape_table: { fg: "#8b56bf" attr: "b" } + shape_variable: "#bf568b" + + background: "#f7f9fb" + foreground: "#405c79" + cursor: "#405c79" +}} \ No newline at end of file diff --git a/themes/themes/harmonic16-dark.nu b/themes/themes/harmonic16-dark.nu index 8b43bd5..a184a0e 100644 --- a/themes/themes/harmonic16-dark.nu +++ b/themes/themes/harmonic16-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the harmonic16_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0b1c2c" - # foreground: "#cbd6e2" - # cursor: "#cbd6e2" - - { - # color for nushell primitives - separator: "#f7f9fb" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#56bf8b" - empty: "#8b56bf" - bool: "#f7f9fb" - int: "#f7f9fb" - filesize: "#f7f9fb" - duration: "#f7f9fb" - date: "#f7f9fb" - range: "#f7f9fb" - float: "#f7f9fb" - string: "#f7f9fb" - nothing: "#f7f9fb" - binary: "#f7f9fb" - cellpath: "#f7f9fb" - row_index: "#56bf8b" - record: "#f7f9fb" - list: "#f7f9fb" - block: "#f7f9fb" - hints: "#627e99" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bf568b" - shape_bool: "#568bbf" - shape_int: "#bf568b" - shape_float: "#bf568b" - shape_range: "#8bbf56" - shape_internalcall: "#568bbf" - shape_external: "#568bbf" - shape_externalarg: "#56bf8b" - shape_literal: "#8b56bf" - shape_operator: "#8bbf56" - shape_signature: "#56bf8b" - shape_string: "#56bf8b" - shape_string_interpolation: "#568bbf" - shape_datetime: "#568bbf" - shape_list: "#568bbf" - shape_table: "#8b56bf" - shape_record: "#568bbf" - shape_block: "#8b56bf" - shape_filepath: "#568bbf" - shape_globpattern: "#568bbf" - shape_variable: "#bf568b" - shape_flag: "#8b56bf" - shape_custom: "#56bf8b" - shape_nothing: "#568bbf" +export def main [] { return { + separator: "#cbd6e2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#56bf8b" attr: "b" } + empty: "#8b56bf" + bool: {|| if $in { "#568bbf" } else { "light_gray" } } + int: "#cbd6e2" + filesize: {|e| + if $e == 0b { + "#cbd6e2" + } else if $e < 1mb { + "#568bbf" + } else {{ fg: "#8b56bf" }} } -} + duration: "#cbd6e2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bf8b56" attr: "b" } + } else if $in < 6hr { + "#bf8b56" + } else if $in < 1day { + "#8bbf56" + } else if $in < 3day { + "#56bf8b" + } else if $in < 1wk { + { fg: "#56bf8b" attr: "b" } + } else if $in < 6wk { + "#568bbf" + } else if $in < 52wk { + "#8b56bf" + } else { "dark_gray" } + } + range: "#cbd6e2" + float: "#cbd6e2" + string: "#cbd6e2" + nothing: "#cbd6e2" + binary: "#cbd6e2" + cellpath: "#cbd6e2" + row_index: { fg: "#56bf8b" attr: "b" } + record: "#cbd6e2" + list: "#cbd6e2" + block: "#cbd6e2" + hints: "dark_gray" + + shape_and: { fg: "#bf568b" attr: "b" } + shape_binary: { fg: "#bf568b" attr: "b" } + shape_block: { fg: "#8b56bf" attr: "b" } + shape_bool: "#568bbf" + shape_custom: "#56bf8b" + shape_datetime: { fg: "#568bbf" attr: "b" } + shape_directory: "#568bbf" + shape_external: "#568bbf" + shape_externalarg: { fg: "#56bf8b" attr: "b" } + shape_filepath: "#568bbf" + shape_flag: { fg: "#8b56bf" attr: "b" } + shape_float: { fg: "#bf568b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#568bbf" attr: "b" } + shape_int: { fg: "#bf568b" attr: "b" } + shape_internalcall: { fg: "#568bbf" attr: "b" } + shape_list: { fg: "#568bbf" attr: "b" } + shape_literal: "#8b56bf" + shape_match_pattern: "#56bf8b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#568bbf" + shape_operator: "#8bbf56" + shape_or: { fg: "#bf568b" attr: "b" } + shape_pipe: { fg: "#bf568b" attr: "b" } + shape_range: { fg: "#8bbf56" attr: "b" } + shape_record: { fg: "#568bbf" attr: "b" } + shape_redirection: { fg: "#bf568b" attr: "b" } + shape_signature: { fg: "#56bf8b" attr: "b" } + shape_string: "#56bf8b" + shape_string_interpolation: { fg: "#568bbf" attr: "b" } + shape_table: { fg: "#8b56bf" attr: "b" } + shape_variable: "#bf568b" + + background: "#0b1c2c" + foreground: "#cbd6e2" + cursor: "#cbd6e2" +}} \ No newline at end of file diff --git a/themes/themes/harmonic16-light.nu b/themes/themes/harmonic16-light.nu index 281d27c..6c9ee39 100644 --- a/themes/themes/harmonic16-light.nu +++ b/themes/themes/harmonic16-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the harmonic16_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f7f9fb" - # foreground: "#405c79" - # cursor: "#405c79" - - { - # color for nushell primitives - separator: "#0b1c2c" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#56bf8b" - empty: "#8b56bf" - bool: "#0b1c2c" - int: "#0b1c2c" - filesize: "#0b1c2c" - duration: "#0b1c2c" - date: "#0b1c2c" - range: "#0b1c2c" - float: "#0b1c2c" - string: "#0b1c2c" - nothing: "#0b1c2c" - binary: "#0b1c2c" - cellpath: "#0b1c2c" - row_index: "#56bf8b" - record: "#0b1c2c" - list: "#0b1c2c" - block: "#0b1c2c" - hints: "#aabcce" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bf568b" - shape_bool: "#568bbf" - shape_int: "#bf568b" - shape_float: "#bf568b" - shape_range: "#8bbf56" - shape_internalcall: "#568bbf" - shape_external: "#568bbf" - shape_externalarg: "#56bf8b" - shape_literal: "#8b56bf" - shape_operator: "#8bbf56" - shape_signature: "#56bf8b" - shape_string: "#56bf8b" - shape_string_interpolation: "#568bbf" - shape_datetime: "#568bbf" - shape_list: "#568bbf" - shape_table: "#8b56bf" - shape_record: "#568bbf" - shape_block: "#8b56bf" - shape_filepath: "#568bbf" - shape_globpattern: "#568bbf" - shape_variable: "#bf568b" - shape_flag: "#8b56bf" - shape_custom: "#56bf8b" - shape_nothing: "#568bbf" +export def main [] { return { + separator: "#405c79" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#56bf8b" attr: "b" } + empty: "#8b56bf" + bool: {|| if $in { "#568bbf" } else { "light_gray" } } + int: "#405c79" + filesize: {|e| + if $e == 0b { + "#405c79" + } else if $e < 1mb { + "#568bbf" + } else {{ fg: "#8b56bf" }} } -} + duration: "#405c79" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bf8b56" attr: "b" } + } else if $in < 6hr { + "#bf8b56" + } else if $in < 1day { + "#8bbf56" + } else if $in < 3day { + "#56bf8b" + } else if $in < 1wk { + { fg: "#56bf8b" attr: "b" } + } else if $in < 6wk { + "#568bbf" + } else if $in < 52wk { + "#8b56bf" + } else { "dark_gray" } + } + range: "#405c79" + float: "#405c79" + string: "#405c79" + nothing: "#405c79" + binary: "#405c79" + cellpath: "#405c79" + row_index: { fg: "#56bf8b" attr: "b" } + record: "#405c79" + list: "#405c79" + block: "#405c79" + hints: "dark_gray" + + shape_and: { fg: "#bf568b" attr: "b" } + shape_binary: { fg: "#bf568b" attr: "b" } + shape_block: { fg: "#8b56bf" attr: "b" } + shape_bool: "#568bbf" + shape_custom: "#56bf8b" + shape_datetime: { fg: "#568bbf" attr: "b" } + shape_directory: "#568bbf" + shape_external: "#568bbf" + shape_externalarg: { fg: "#56bf8b" attr: "b" } + shape_filepath: "#568bbf" + shape_flag: { fg: "#8b56bf" attr: "b" } + shape_float: { fg: "#bf568b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#568bbf" attr: "b" } + shape_int: { fg: "#bf568b" attr: "b" } + shape_internalcall: { fg: "#568bbf" attr: "b" } + shape_list: { fg: "#568bbf" attr: "b" } + shape_literal: "#8b56bf" + shape_match_pattern: "#56bf8b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#568bbf" + shape_operator: "#8bbf56" + shape_or: { fg: "#bf568b" attr: "b" } + shape_pipe: { fg: "#bf568b" attr: "b" } + shape_range: { fg: "#8bbf56" attr: "b" } + shape_record: { fg: "#568bbf" attr: "b" } + shape_redirection: { fg: "#bf568b" attr: "b" } + shape_signature: { fg: "#56bf8b" attr: "b" } + shape_string: "#56bf8b" + shape_string_interpolation: { fg: "#568bbf" attr: "b" } + shape_table: { fg: "#8b56bf" attr: "b" } + shape_variable: "#bf568b" + + background: "#f7f9fb" + foreground: "#405c79" + cursor: "#405c79" +}} \ No newline at end of file diff --git a/themes/themes/harper.nu b/themes/themes/harper.nu index 0051584..875891e 100644 --- a/themes/themes/harper.nu +++ b/themes/themes/harper.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the harper theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#010101" - # foreground: "#a8a49d" - # cursor: "#a8a49d" - - { - # color for nushell primitives - separator: "#fefbea" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7fb5e1" - empty: "#489e48" - bool: "#fefbea" - int: "#fefbea" - filesize: "#fefbea" - duration: "#fefbea" - date: "#fefbea" - range: "#fefbea" - float: "#fefbea" - string: "#fefbea" - nothing: "#fefbea" - binary: "#fefbea" - cellpath: "#fefbea" - row_index: "#7fb5e1" - record: "#fefbea" - list: "#fefbea" - block: "#fefbea" - hints: "#726e6a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b296c6" - shape_bool: "#f5bfd7" - shape_int: "#b296c6" - shape_float: "#b296c6" - shape_range: "#d6da25" - shape_internalcall: "#f5bfd7" - shape_external: "#f5bfd7" - shape_externalarg: "#7fb5e1" - shape_literal: "#489e48" - shape_operator: "#d6da25" - shape_signature: "#7fb5e1" - shape_string: "#7fb5e1" - shape_string_interpolation: "#f5bfd7" - shape_datetime: "#f5bfd7" - shape_list: "#f5bfd7" - shape_table: "#489e48" - shape_record: "#f5bfd7" - shape_block: "#489e48" - shape_filepath: "#f5bfd7" - shape_globpattern: "#f5bfd7" - shape_variable: "#b296c6" - shape_flag: "#489e48" - shape_custom: "#7fb5e1" - shape_nothing: "#f5bfd7" +export def main [] { return { + separator: "#a8a49d" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7fb5e1" attr: "b" } + empty: "#489e48" + bool: {|| if $in { "#f5bfd7" } else { "light_gray" } } + int: "#a8a49d" + filesize: {|e| + if $e == 0b { + "#a8a49d" + } else if $e < 1mb { + "#f5bfd7" + } else {{ fg: "#489e48" }} } -} + duration: "#a8a49d" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f8b63f" attr: "b" } + } else if $in < 6hr { + "#f8b63f" + } else if $in < 1day { + "#d6da25" + } else if $in < 3day { + "#7fb5e1" + } else if $in < 1wk { + { fg: "#7fb5e1" attr: "b" } + } else if $in < 6wk { + "#f5bfd7" + } else if $in < 52wk { + "#489e48" + } else { "dark_gray" } + } + range: "#a8a49d" + float: "#a8a49d" + string: "#a8a49d" + nothing: "#a8a49d" + binary: "#a8a49d" + cellpath: "#a8a49d" + row_index: { fg: "#7fb5e1" attr: "b" } + record: "#a8a49d" + list: "#a8a49d" + block: "#a8a49d" + hints: "dark_gray" + + shape_and: { fg: "#b296c6" attr: "b" } + shape_binary: { fg: "#b296c6" attr: "b" } + shape_block: { fg: "#489e48" attr: "b" } + shape_bool: "#f5bfd7" + shape_custom: "#7fb5e1" + shape_datetime: { fg: "#f5bfd7" attr: "b" } + shape_directory: "#f5bfd7" + shape_external: "#f5bfd7" + shape_externalarg: { fg: "#7fb5e1" attr: "b" } + shape_filepath: "#f5bfd7" + shape_flag: { fg: "#489e48" attr: "b" } + shape_float: { fg: "#b296c6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#f5bfd7" attr: "b" } + shape_int: { fg: "#b296c6" attr: "b" } + shape_internalcall: { fg: "#f5bfd7" attr: "b" } + shape_list: { fg: "#f5bfd7" attr: "b" } + shape_literal: "#489e48" + shape_match_pattern: "#7fb5e1" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#f5bfd7" + shape_operator: "#d6da25" + shape_or: { fg: "#b296c6" attr: "b" } + shape_pipe: { fg: "#b296c6" attr: "b" } + shape_range: { fg: "#d6da25" attr: "b" } + shape_record: { fg: "#f5bfd7" attr: "b" } + shape_redirection: { fg: "#b296c6" attr: "b" } + shape_signature: { fg: "#7fb5e1" attr: "b" } + shape_string: "#7fb5e1" + shape_string_interpolation: { fg: "#f5bfd7" attr: "b" } + shape_table: { fg: "#489e48" attr: "b" } + shape_variable: "#b296c6" + + background: "#010101" + foreground: "#a8a49d" + cursor: "#a8a49d" +}} \ No newline at end of file diff --git a/themes/themes/heetch-light.nu b/themes/themes/heetch-light.nu index f472dc9..1e1ae5a 100644 --- a/themes/themes/heetch-light.nu +++ b/themes/themes/heetch-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the heetch_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#feffff" - # foreground: "#5a496e" - # cursor: "#5a496e" - - { - # color for nushell primitives - separator: "#190134" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#f80059" - empty: "#47f9f5" - bool: "#190134" - int: "#190134" - filesize: "#190134" - duration: "#190134" - date: "#190134" - range: "#190134" - float: "#190134" - string: "#190134" - nothing: "#190134" - binary: "#190134" - cellpath: "#190134" - row_index: "#f80059" - record: "#190134" - list: "#190134" - block: "#190134" - hints: "#9c92a8" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bd0152" - shape_bool: "#c33678" - shape_int: "#bd0152" - shape_float: "#bd0152" - shape_range: "#5ba2b6" - shape_internalcall: "#c33678" - shape_external: "#c33678" - shape_externalarg: "#f80059" - shape_literal: "#47f9f5" - shape_operator: "#5ba2b6" - shape_signature: "#f80059" - shape_string: "#f80059" - shape_string_interpolation: "#c33678" - shape_datetime: "#c33678" - shape_list: "#c33678" - shape_table: "#47f9f5" - shape_record: "#c33678" - shape_block: "#47f9f5" - shape_filepath: "#c33678" - shape_globpattern: "#c33678" - shape_variable: "#bd0152" - shape_flag: "#47f9f5" - shape_custom: "#f80059" - shape_nothing: "#c33678" +export def main [] { return { + separator: "#5a496e" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#f80059" attr: "b" } + empty: "#47f9f5" + bool: {|| if $in { "#c33678" } else { "light_gray" } } + int: "#5a496e" + filesize: {|e| + if $e == 0b { + "#5a496e" + } else if $e < 1mb { + "#c33678" + } else {{ fg: "#47f9f5" }} } -} + duration: "#5a496e" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#27d9d5" attr: "b" } + } else if $in < 6hr { + "#27d9d5" + } else if $in < 1day { + "#5ba2b6" + } else if $in < 3day { + "#f80059" + } else if $in < 1wk { + { fg: "#f80059" attr: "b" } + } else if $in < 6wk { + "#c33678" + } else if $in < 52wk { + "#47f9f5" + } else { "dark_gray" } + } + range: "#5a496e" + float: "#5a496e" + string: "#5a496e" + nothing: "#5a496e" + binary: "#5a496e" + cellpath: "#5a496e" + row_index: { fg: "#f80059" attr: "b" } + record: "#5a496e" + list: "#5a496e" + block: "#5a496e" + hints: "dark_gray" + + shape_and: { fg: "#bd0152" attr: "b" } + shape_binary: { fg: "#bd0152" attr: "b" } + shape_block: { fg: "#47f9f5" attr: "b" } + shape_bool: "#c33678" + shape_custom: "#f80059" + shape_datetime: { fg: "#c33678" attr: "b" } + shape_directory: "#c33678" + shape_external: "#c33678" + shape_externalarg: { fg: "#f80059" attr: "b" } + shape_filepath: "#c33678" + shape_flag: { fg: "#47f9f5" attr: "b" } + shape_float: { fg: "#bd0152" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#c33678" attr: "b" } + shape_int: { fg: "#bd0152" attr: "b" } + shape_internalcall: { fg: "#c33678" attr: "b" } + shape_list: { fg: "#c33678" attr: "b" } + shape_literal: "#47f9f5" + shape_match_pattern: "#f80059" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#c33678" + shape_operator: "#5ba2b6" + shape_or: { fg: "#bd0152" attr: "b" } + shape_pipe: { fg: "#bd0152" attr: "b" } + shape_range: { fg: "#5ba2b6" attr: "b" } + shape_record: { fg: "#c33678" attr: "b" } + shape_redirection: { fg: "#bd0152" attr: "b" } + shape_signature: { fg: "#f80059" attr: "b" } + shape_string: "#f80059" + shape_string_interpolation: { fg: "#c33678" attr: "b" } + shape_table: { fg: "#47f9f5" attr: "b" } + shape_variable: "#bd0152" + + background: "#feffff" + foreground: "#5a496e" + cursor: "#5a496e" +}} \ No newline at end of file diff --git a/themes/themes/heetch.nu b/themes/themes/heetch.nu index 7580f2e..a134d2e 100644 --- a/themes/themes/heetch.nu +++ b/themes/themes/heetch.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the heetch theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#190134" - # foreground: "#bdb6c5" - # cursor: "#bdb6c5" - - { - # color for nushell primitives - separator: "#feffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#c33678" - empty: "#bd0152" - bool: "#feffff" - int: "#feffff" - filesize: "#feffff" - duration: "#feffff" - date: "#feffff" - range: "#feffff" - float: "#feffff" - string: "#feffff" - nothing: "#feffff" - binary: "#feffff" - cellpath: "#feffff" - row_index: "#c33678" - record: "#feffff" - list: "#feffff" - block: "#feffff" - hints: "#7b6d8b" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#82034c" - shape_bool: "#f80059" - shape_int: "#82034c" - shape_float: "#82034c" - shape_range: "#8f6c97" - shape_internalcall: "#f80059" - shape_external: "#f80059" - shape_externalarg: "#c33678" - shape_literal: "#bd0152" - shape_operator: "#8f6c97" - shape_signature: "#c33678" - shape_string: "#c33678" - shape_string_interpolation: "#f80059" - shape_datetime: "#f80059" - shape_list: "#f80059" - shape_table: "#bd0152" - shape_record: "#f80059" - shape_block: "#bd0152" - shape_filepath: "#f80059" - shape_globpattern: "#f80059" - shape_variable: "#82034c" - shape_flag: "#bd0152" - shape_custom: "#c33678" - shape_nothing: "#f80059" +export def main [] { return { + separator: "#bdb6c5" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#c33678" attr: "b" } + empty: "#bd0152" + bool: {|| if $in { "#f80059" } else { "light_gray" } } + int: "#bdb6c5" + filesize: {|e| + if $e == 0b { + "#bdb6c5" + } else if $e < 1mb { + "#f80059" + } else {{ fg: "#bd0152" }} } -} + duration: "#bdb6c5" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#27d9d5" attr: "b" } + } else if $in < 6hr { + "#27d9d5" + } else if $in < 1day { + "#8f6c97" + } else if $in < 3day { + "#c33678" + } else if $in < 1wk { + { fg: "#c33678" attr: "b" } + } else if $in < 6wk { + "#f80059" + } else if $in < 52wk { + "#bd0152" + } else { "dark_gray" } + } + range: "#bdb6c5" + float: "#bdb6c5" + string: "#bdb6c5" + nothing: "#bdb6c5" + binary: "#bdb6c5" + cellpath: "#bdb6c5" + row_index: { fg: "#c33678" attr: "b" } + record: "#bdb6c5" + list: "#bdb6c5" + block: "#bdb6c5" + hints: "dark_gray" + + shape_and: { fg: "#82034c" attr: "b" } + shape_binary: { fg: "#82034c" attr: "b" } + shape_block: { fg: "#bd0152" attr: "b" } + shape_bool: "#f80059" + shape_custom: "#c33678" + shape_datetime: { fg: "#f80059" attr: "b" } + shape_directory: "#f80059" + shape_external: "#f80059" + shape_externalarg: { fg: "#c33678" attr: "b" } + shape_filepath: "#f80059" + shape_flag: { fg: "#bd0152" attr: "b" } + shape_float: { fg: "#82034c" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#f80059" attr: "b" } + shape_int: { fg: "#82034c" attr: "b" } + shape_internalcall: { fg: "#f80059" attr: "b" } + shape_list: { fg: "#f80059" attr: "b" } + shape_literal: "#bd0152" + shape_match_pattern: "#c33678" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#f80059" + shape_operator: "#8f6c97" + shape_or: { fg: "#82034c" attr: "b" } + shape_pipe: { fg: "#82034c" attr: "b" } + shape_range: { fg: "#8f6c97" attr: "b" } + shape_record: { fg: "#f80059" attr: "b" } + shape_redirection: { fg: "#82034c" attr: "b" } + shape_signature: { fg: "#c33678" attr: "b" } + shape_string: "#c33678" + shape_string_interpolation: { fg: "#f80059" attr: "b" } + shape_table: { fg: "#bd0152" attr: "b" } + shape_variable: "#82034c" + + background: "#190134" + foreground: "#bdb6c5" + cursor: "#bdb6c5" +}} \ No newline at end of file diff --git a/themes/themes/helios.nu b/themes/themes/helios.nu index 561dfc3..7e11718 100644 --- a/themes/themes/helios.nu +++ b/themes/themes/helios.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the helios theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d2021" - # foreground: "#d5d5d5" - # cursor: "#d5d5d5" - - { - # color for nushell primitives - separator: "#e5e5e5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#88b92d" - empty: "#1e8bac" - bool: "#e5e5e5" - int: "#e5e5e5" - filesize: "#e5e5e5" - duration: "#e5e5e5" - date: "#e5e5e5" - range: "#e5e5e5" - float: "#e5e5e5" - string: "#e5e5e5" - nothing: "#e5e5e5" - binary: "#e5e5e5" - cellpath: "#e5e5e5" - row_index: "#88b92d" - record: "#e5e5e5" - list: "#e5e5e5" - block: "#e5e5e5" - hints: "#6f7579" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#be4264" - shape_bool: "#1ba595" - shape_int: "#be4264" - shape_float: "#be4264" - shape_range: "#f19d1a" - shape_internalcall: "#1ba595" - shape_external: "#1ba595" - shape_externalarg: "#88b92d" - shape_literal: "#1e8bac" - shape_operator: "#f19d1a" - shape_signature: "#88b92d" - shape_string: "#88b92d" - shape_string_interpolation: "#1ba595" - shape_datetime: "#1ba595" - shape_list: "#1ba595" - shape_table: "#1e8bac" - shape_record: "#1ba595" - shape_block: "#1e8bac" - shape_filepath: "#1ba595" - shape_globpattern: "#1ba595" - shape_variable: "#be4264" - shape_flag: "#1e8bac" - shape_custom: "#88b92d" - shape_nothing: "#1ba595" +export def main [] { return { + separator: "#d5d5d5" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#88b92d" attr: "b" } + empty: "#1e8bac" + bool: {|| if $in { "#1ba595" } else { "light_gray" } } + int: "#d5d5d5" + filesize: {|e| + if $e == 0b { + "#d5d5d5" + } else if $e < 1mb { + "#1ba595" + } else {{ fg: "#1e8bac" }} } -} + duration: "#d5d5d5" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d72638" attr: "b" } + } else if $in < 6hr { + "#d72638" + } else if $in < 1day { + "#f19d1a" + } else if $in < 3day { + "#88b92d" + } else if $in < 1wk { + { fg: "#88b92d" attr: "b" } + } else if $in < 6wk { + "#1ba595" + } else if $in < 52wk { + "#1e8bac" + } else { "dark_gray" } + } + range: "#d5d5d5" + float: "#d5d5d5" + string: "#d5d5d5" + nothing: "#d5d5d5" + binary: "#d5d5d5" + cellpath: "#d5d5d5" + row_index: { fg: "#88b92d" attr: "b" } + record: "#d5d5d5" + list: "#d5d5d5" + block: "#d5d5d5" + hints: "dark_gray" + + shape_and: { fg: "#be4264" attr: "b" } + shape_binary: { fg: "#be4264" attr: "b" } + shape_block: { fg: "#1e8bac" attr: "b" } + shape_bool: "#1ba595" + shape_custom: "#88b92d" + shape_datetime: { fg: "#1ba595" attr: "b" } + shape_directory: "#1ba595" + shape_external: "#1ba595" + shape_externalarg: { fg: "#88b92d" attr: "b" } + shape_filepath: "#1ba595" + shape_flag: { fg: "#1e8bac" attr: "b" } + shape_float: { fg: "#be4264" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1ba595" attr: "b" } + shape_int: { fg: "#be4264" attr: "b" } + shape_internalcall: { fg: "#1ba595" attr: "b" } + shape_list: { fg: "#1ba595" attr: "b" } + shape_literal: "#1e8bac" + shape_match_pattern: "#88b92d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1ba595" + shape_operator: "#f19d1a" + shape_or: { fg: "#be4264" attr: "b" } + shape_pipe: { fg: "#be4264" attr: "b" } + shape_range: { fg: "#f19d1a" attr: "b" } + shape_record: { fg: "#1ba595" attr: "b" } + shape_redirection: { fg: "#be4264" attr: "b" } + shape_signature: { fg: "#88b92d" attr: "b" } + shape_string: "#88b92d" + shape_string_interpolation: { fg: "#1ba595" attr: "b" } + shape_table: { fg: "#1e8bac" attr: "b" } + shape_variable: "#be4264" + + background: "#1d2021" + foreground: "#d5d5d5" + cursor: "#d5d5d5" +}} \ No newline at end of file diff --git a/themes/themes/hemisu-dark.nu b/themes/themes/hemisu-dark.nu index 68f7233..5df9d95 100644 --- a/themes/themes/hemisu-dark.nu +++ b/themes/themes/hemisu-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the hemisu_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#ffffff" - # cursor: "#baffaa" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#baffaa" - empty: "#67bee3" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#baffaa" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#777777" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#deb3df" - shape_bool: "#b6e0e5" - shape_int: "#deb3df" - shape_float: "#deb3df" - shape_range: "#ece1c8" - shape_internalcall: "#b6e0e5" - shape_external: "#569a9f" - shape_externalarg: "#baffaa" - shape_literal: "#67bee3" - shape_operator: "#9d895e" - shape_signature: "#baffaa" - shape_string: "#b1d630" - shape_string_interpolation: "#b6e0e5" - shape_datetime: "#b6e0e5" - shape_list: "#b6e0e5" - shape_table: "#9fd3e5" - shape_record: "#b6e0e5" - shape_block: "#9fd3e5" - shape_filepath: "#569a9f" - shape_globpattern: "#b6e0e5" - shape_variable: "#b576bc" - shape_flag: "#9fd3e5" - shape_custom: "#b1d630" - shape_nothing: "#b6e0e5" +export def main [] { return { + separator: "#ededed" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b1d630" attr: "b" } + empty: "#67bee3" + bool: {|| if $in { "#b6e0e5" } else { "light_gray" } } + int: "#ededed" + filesize: {|e| + if $e == 0b { + "#ededed" + } else if $e < 1mb { + "#569a9f" + } else {{ fg: "#67bee3" }} } -} + duration: "#ededed" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff0054" attr: "b" } + } else if $in < 6hr { + "#ff0054" + } else if $in < 1day { + "#9d895e" + } else if $in < 3day { + "#b1d630" + } else if $in < 1wk { + { fg: "#b1d630" attr: "b" } + } else if $in < 6wk { + "#569a9f" + } else if $in < 52wk { + "#67bee3" + } else { "dark_gray" } + } + range: "#ededed" + float: "#ededed" + string: "#ededed" + nothing: "#ededed" + binary: "#ededed" + cellpath: "#ededed" + row_index: { fg: "#b1d630" attr: "b" } + record: "#ededed" + list: "#ededed" + block: "#ededed" + hints: "dark_gray" + + shape_and: { fg: "#b576bc" attr: "b" } + shape_binary: { fg: "#b576bc" attr: "b" } + shape_block: { fg: "#67bee3" attr: "b" } + shape_bool: "#b6e0e5" + shape_custom: "#b1d630" + shape_datetime: { fg: "#569a9f" attr: "b" } + shape_directory: "#569a9f" + shape_external: "#569a9f" + shape_externalarg: { fg: "#b1d630" attr: "b" } + shape_filepath: "#569a9f" + shape_flag: { fg: "#67bee3" attr: "b" } + shape_float: { fg: "#b576bc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#569a9f" attr: "b" } + shape_int: { fg: "#b576bc" attr: "b" } + shape_internalcall: { fg: "#569a9f" attr: "b" } + shape_list: { fg: "#569a9f" attr: "b" } + shape_literal: "#67bee3" + shape_match_pattern: "#b1d630" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#b6e0e5" + shape_operator: "#9d895e" + shape_or: { fg: "#b576bc" attr: "b" } + shape_pipe: { fg: "#b576bc" attr: "b" } + shape_range: { fg: "#9d895e" attr: "b" } + shape_record: { fg: "#569a9f" attr: "b" } + shape_redirection: { fg: "#b576bc" attr: "b" } + shape_signature: { fg: "#b1d630" attr: "b" } + shape_string: "#b1d630" + shape_string_interpolation: { fg: "#569a9f" attr: "b" } + shape_table: { fg: "#67bee3" attr: "b" } + shape_variable: "#b576bc" + + background: "#000000" + foreground: "#ffffff" + cursor: "#baffaa" +}} \ No newline at end of file diff --git a/themes/themes/hemisu-light.nu b/themes/themes/hemisu-light.nu index f356ae9..5aa8240 100644 --- a/themes/themes/hemisu-light.nu +++ b/themes/themes/hemisu-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the hemisu_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#efefef" - # foreground: "#444444" - # cursor: "#ff0054" - - { - # color for nushell primitives - separator: "#bababa" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#9cc700" - empty: "#538091" - bool: "#bababa" - int: "#bababa" - filesize: "#bababa" - duration: "#bababa" - date: "#bababa" - range: "#bababa" - float: "#bababa" - string: "#bababa" - nothing: "#bababa" - binary: "#bababa" - cellpath: "#bababa" - row_index: "#9cc700" - record: "#bababa" - list: "#bababa" - block: "#bababa" - hints: "#999999" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a184a4" - shape_bool: "#85b2aa" - shape_int: "#a184a4" - shape_float: "#a184a4" - shape_range: "#947555" - shape_internalcall: "#85b2aa" - shape_external: "#538091" - shape_externalarg: "#9cc700" - shape_literal: "#538091" - shape_operator: "#503d15" - shape_signature: "#9cc700" - shape_string: "#739100" - shape_string_interpolation: "#85b2aa" - shape_datetime: "#85b2aa" - shape_list: "#85b2aa" - shape_table: "#9db3cd" - shape_record: "#85b2aa" - shape_block: "#9db3cd" - shape_filepath: "#538091" - shape_globpattern: "#85b2aa" - shape_variable: "#5b345e" - shape_flag: "#9db3cd" - shape_custom: "#739100" - shape_nothing: "#85b2aa" +export def main [] { return { + separator: "#999999" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#739100" attr: "b" } + empty: "#538091" + bool: {|| if $in { "#85b2aa" } else { "light_gray" } } + int: "#999999" + filesize: {|e| + if $e == 0b { + "#999999" + } else if $e < 1mb { + "#538091" + } else {{ fg: "#538091" }} } -} + duration: "#999999" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff0055" attr: "b" } + } else if $in < 6hr { + "#ff0055" + } else if $in < 1day { + "#503d15" + } else if $in < 3day { + "#739100" + } else if $in < 1wk { + { fg: "#739100" attr: "b" } + } else if $in < 6wk { + "#538091" + } else if $in < 52wk { + "#538091" + } else { "dark_gray" } + } + range: "#999999" + float: "#999999" + string: "#999999" + nothing: "#999999" + binary: "#999999" + cellpath: "#999999" + row_index: { fg: "#739100" attr: "b" } + record: "#999999" + list: "#999999" + block: "#999999" + hints: "dark_gray" + + shape_and: { fg: "#5b345e" attr: "b" } + shape_binary: { fg: "#5b345e" attr: "b" } + shape_block: { fg: "#538091" attr: "b" } + shape_bool: "#85b2aa" + shape_custom: "#739100" + shape_datetime: { fg: "#538091" attr: "b" } + shape_directory: "#538091" + shape_external: "#538091" + shape_externalarg: { fg: "#739100" attr: "b" } + shape_filepath: "#538091" + shape_flag: { fg: "#538091" attr: "b" } + shape_float: { fg: "#5b345e" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#538091" attr: "b" } + shape_int: { fg: "#5b345e" attr: "b" } + shape_internalcall: { fg: "#538091" attr: "b" } + shape_list: { fg: "#538091" attr: "b" } + shape_literal: "#538091" + shape_match_pattern: "#739100" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#85b2aa" + shape_operator: "#503d15" + shape_or: { fg: "#5b345e" attr: "b" } + shape_pipe: { fg: "#5b345e" attr: "b" } + shape_range: { fg: "#503d15" attr: "b" } + shape_record: { fg: "#538091" attr: "b" } + shape_redirection: { fg: "#5b345e" attr: "b" } + shape_signature: { fg: "#739100" attr: "b" } + shape_string: "#739100" + shape_string_interpolation: { fg: "#538091" attr: "b" } + shape_table: { fg: "#538091" attr: "b" } + shape_variable: "#5b345e" + + background: "#efefef" + foreground: "#444444" + cursor: "#ff0054" +}} \ No newline at end of file diff --git a/themes/themes/highway.nu b/themes/themes/highway.nu index ff70451..5995745 100644 --- a/themes/themes/highway.nu +++ b/themes/themes/highway.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the highway theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222225" - # foreground: "#ededed" - # cursor: "#ededed" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b1d130" - empty: "#006bb3" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#b1d130" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#5d504a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#de0071" - shape_bool: "#5d504a" - shape_int: "#de0071" - shape_float: "#de0071" - shape_range: "#fff120" - shape_internalcall: "#5d504a" - shape_external: "#384564" - shape_externalarg: "#b1d130" - shape_literal: "#006bb3" - shape_operator: "#ffcb3e" - shape_signature: "#b1d130" - shape_string: "#138034" - shape_string_interpolation: "#5d504a" - shape_datetime: "#5d504a" - shape_list: "#5d504a" - shape_table: "#4fc2fd" - shape_record: "#5d504a" - shape_block: "#4fc2fd" - shape_filepath: "#384564" - shape_globpattern: "#5d504a" - shape_variable: "#6b2775" - shape_flag: "#4fc2fd" - shape_custom: "#138034" - shape_nothing: "#5d504a" +export def main [] { return { + separator: "#ededed" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#138034" attr: "b" } + empty: "#006bb3" + bool: {|| if $in { "#5d504a" } else { "light_gray" } } + int: "#ededed" + filesize: {|e| + if $e == 0b { + "#ededed" + } else if $e < 1mb { + "#384564" + } else {{ fg: "#006bb3" }} } -} + duration: "#ededed" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d00e18" attr: "b" } + } else if $in < 6hr { + "#d00e18" + } else if $in < 1day { + "#ffcb3e" + } else if $in < 3day { + "#138034" + } else if $in < 1wk { + { fg: "#138034" attr: "b" } + } else if $in < 6wk { + "#384564" + } else if $in < 52wk { + "#006bb3" + } else { "dark_gray" } + } + range: "#ededed" + float: "#ededed" + string: "#ededed" + nothing: "#ededed" + binary: "#ededed" + cellpath: "#ededed" + row_index: { fg: "#138034" attr: "b" } + record: "#ededed" + list: "#ededed" + block: "#ededed" + hints: "dark_gray" + + shape_and: { fg: "#6b2775" attr: "b" } + shape_binary: { fg: "#6b2775" attr: "b" } + shape_block: { fg: "#006bb3" attr: "b" } + shape_bool: "#5d504a" + shape_custom: "#138034" + shape_datetime: { fg: "#384564" attr: "b" } + shape_directory: "#384564" + shape_external: "#384564" + shape_externalarg: { fg: "#138034" attr: "b" } + shape_filepath: "#384564" + shape_flag: { fg: "#006bb3" attr: "b" } + shape_float: { fg: "#6b2775" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#384564" attr: "b" } + shape_int: { fg: "#6b2775" attr: "b" } + shape_internalcall: { fg: "#384564" attr: "b" } + shape_list: { fg: "#384564" attr: "b" } + shape_literal: "#006bb3" + shape_match_pattern: "#138034" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5d504a" + shape_operator: "#ffcb3e" + shape_or: { fg: "#6b2775" attr: "b" } + shape_pipe: { fg: "#6b2775" attr: "b" } + shape_range: { fg: "#ffcb3e" attr: "b" } + shape_record: { fg: "#384564" attr: "b" } + shape_redirection: { fg: "#6b2775" attr: "b" } + shape_signature: { fg: "#138034" attr: "b" } + shape_string: "#138034" + shape_string_interpolation: { fg: "#384564" attr: "b" } + shape_table: { fg: "#006bb3" attr: "b" } + shape_variable: "#6b2775" + + background: "#222225" + foreground: "#ededed" + cursor: "#ededed" +}} \ No newline at end of file diff --git a/themes/themes/hipster-green.nu b/themes/themes/hipster-green.nu index b8d1103..a5db213 100644 --- a/themes/themes/hipster-green.nu +++ b/themes/themes/hipster-green.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the hipster_green theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#100b05" - # foreground: "#84c138" - # cursor: "#84c138" - - { - # color for nushell primitives - separator: "#e5e5e5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#86a93e" - empty: "#246eb2" - bool: "#e5e5e5" - int: "#e5e5e5" - filesize: "#e5e5e5" - duration: "#e5e5e5" - date: "#e5e5e5" - range: "#e5e5e5" - float: "#e5e5e5" - string: "#e5e5e5" - nothing: "#e5e5e5" - binary: "#e5e5e5" - cellpath: "#e5e5e5" - row_index: "#86a93e" - record: "#e5e5e5" - list: "#e5e5e5" - block: "#e5e5e5" - hints: "#666666" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e500e5" - shape_bool: "#00e5e5" - shape_int: "#e500e5" - shape_float: "#e500e5" - shape_range: "#e5e500" - shape_internalcall: "#00e5e5" - shape_external: "#00a6b2" - shape_externalarg: "#86a93e" - shape_literal: "#246eb2" - shape_operator: "#bfbf00" - shape_signature: "#86a93e" - shape_string: "#00a600" - shape_string_interpolation: "#00e5e5" - shape_datetime: "#00e5e5" - shape_list: "#00e5e5" - shape_table: "#0000ff" - shape_record: "#00e5e5" - shape_block: "#0000ff" - shape_filepath: "#00a6b2" - shape_globpattern: "#00e5e5" - shape_variable: "#b200b2" - shape_flag: "#0000ff" - shape_custom: "#00a600" - shape_nothing: "#00e5e5" +export def main [] { return { + separator: "#bfbfbf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00a600" attr: "b" } + empty: "#246eb2" + bool: {|| if $in { "#00e5e5" } else { "light_gray" } } + int: "#bfbfbf" + filesize: {|e| + if $e == 0b { + "#bfbfbf" + } else if $e < 1mb { + "#00a6b2" + } else {{ fg: "#246eb2" }} } -} + duration: "#bfbfbf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b6214a" attr: "b" } + } else if $in < 6hr { + "#b6214a" + } else if $in < 1day { + "#bfbf00" + } else if $in < 3day { + "#00a600" + } else if $in < 1wk { + { fg: "#00a600" attr: "b" } + } else if $in < 6wk { + "#00a6b2" + } else if $in < 52wk { + "#246eb2" + } else { "dark_gray" } + } + range: "#bfbfbf" + float: "#bfbfbf" + string: "#bfbfbf" + nothing: "#bfbfbf" + binary: "#bfbfbf" + cellpath: "#bfbfbf" + row_index: { fg: "#00a600" attr: "b" } + record: "#bfbfbf" + list: "#bfbfbf" + block: "#bfbfbf" + hints: "dark_gray" + + shape_and: { fg: "#b200b2" attr: "b" } + shape_binary: { fg: "#b200b2" attr: "b" } + shape_block: { fg: "#246eb2" attr: "b" } + shape_bool: "#00e5e5" + shape_custom: "#00a600" + shape_datetime: { fg: "#00a6b2" attr: "b" } + shape_directory: "#00a6b2" + shape_external: "#00a6b2" + shape_externalarg: { fg: "#00a600" attr: "b" } + shape_filepath: "#00a6b2" + shape_flag: { fg: "#246eb2" attr: "b" } + shape_float: { fg: "#b200b2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00a6b2" attr: "b" } + shape_int: { fg: "#b200b2" attr: "b" } + shape_internalcall: { fg: "#00a6b2" attr: "b" } + shape_list: { fg: "#00a6b2" attr: "b" } + shape_literal: "#246eb2" + shape_match_pattern: "#00a600" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00e5e5" + shape_operator: "#bfbf00" + shape_or: { fg: "#b200b2" attr: "b" } + shape_pipe: { fg: "#b200b2" attr: "b" } + shape_range: { fg: "#bfbf00" attr: "b" } + shape_record: { fg: "#00a6b2" attr: "b" } + shape_redirection: { fg: "#b200b2" attr: "b" } + shape_signature: { fg: "#00a600" attr: "b" } + shape_string: "#00a600" + shape_string_interpolation: { fg: "#00a6b2" attr: "b" } + shape_table: { fg: "#246eb2" attr: "b" } + shape_variable: "#b200b2" + + background: "#100b05" + foreground: "#84c138" + cursor: "#84c138" +}} \ No newline at end of file diff --git a/themes/themes/homebrew.nu b/themes/themes/homebrew.nu index 54accbb..46be7f5 100644 --- a/themes/themes/homebrew.nu +++ b/themes/themes/homebrew.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the homebrew theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#00ff00" - # cursor: "#00ff00" - - { - # color for nushell primitives - separator: "#e5e5e5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00d900" - empty: "#0000b2" - bool: "#e5e5e5" - int: "#e5e5e5" - filesize: "#e5e5e5" - duration: "#e5e5e5" - date: "#e5e5e5" - range: "#e5e5e5" - float: "#e5e5e5" - string: "#e5e5e5" - nothing: "#e5e5e5" - binary: "#e5e5e5" - cellpath: "#e5e5e5" - row_index: "#00d900" - record: "#e5e5e5" - list: "#e5e5e5" - block: "#e5e5e5" - hints: "#666666" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e500e5" - shape_bool: "#00e5e5" - shape_int: "#e500e5" - shape_float: "#e500e5" - shape_range: "#e5e500" - shape_internalcall: "#00e5e5" - shape_external: "#00a6b2" - shape_externalarg: "#00d900" - shape_literal: "#0000b2" - shape_operator: "#999900" - shape_signature: "#00d900" - shape_string: "#00a600" - shape_string_interpolation: "#00e5e5" - shape_datetime: "#00e5e5" - shape_list: "#00e5e5" - shape_table: "#0000ff" - shape_record: "#00e5e5" - shape_block: "#0000ff" - shape_filepath: "#00a6b2" - shape_globpattern: "#00e5e5" - shape_variable: "#b200b2" - shape_flag: "#0000ff" - shape_custom: "#00a600" - shape_nothing: "#00e5e5" +export def main [] { return { + separator: "#bfbfbf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00a600" attr: "b" } + empty: "#0000b2" + bool: {|| if $in { "#00e5e5" } else { "light_gray" } } + int: "#bfbfbf" + filesize: {|e| + if $e == 0b { + "#bfbfbf" + } else if $e < 1mb { + "#00a6b2" + } else {{ fg: "#0000b2" }} } -} + duration: "#bfbfbf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#990000" attr: "b" } + } else if $in < 6hr { + "#990000" + } else if $in < 1day { + "#999900" + } else if $in < 3day { + "#00a600" + } else if $in < 1wk { + { fg: "#00a600" attr: "b" } + } else if $in < 6wk { + "#00a6b2" + } else if $in < 52wk { + "#0000b2" + } else { "dark_gray" } + } + range: "#bfbfbf" + float: "#bfbfbf" + string: "#bfbfbf" + nothing: "#bfbfbf" + binary: "#bfbfbf" + cellpath: "#bfbfbf" + row_index: { fg: "#00a600" attr: "b" } + record: "#bfbfbf" + list: "#bfbfbf" + block: "#bfbfbf" + hints: "dark_gray" + + shape_and: { fg: "#b200b2" attr: "b" } + shape_binary: { fg: "#b200b2" attr: "b" } + shape_block: { fg: "#0000b2" attr: "b" } + shape_bool: "#00e5e5" + shape_custom: "#00a600" + shape_datetime: { fg: "#00a6b2" attr: "b" } + shape_directory: "#00a6b2" + shape_external: "#00a6b2" + shape_externalarg: { fg: "#00a600" attr: "b" } + shape_filepath: "#00a6b2" + shape_flag: { fg: "#0000b2" attr: "b" } + shape_float: { fg: "#b200b2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00a6b2" attr: "b" } + shape_int: { fg: "#b200b2" attr: "b" } + shape_internalcall: { fg: "#00a6b2" attr: "b" } + shape_list: { fg: "#00a6b2" attr: "b" } + shape_literal: "#0000b2" + shape_match_pattern: "#00a600" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00e5e5" + shape_operator: "#999900" + shape_or: { fg: "#b200b2" attr: "b" } + shape_pipe: { fg: "#b200b2" attr: "b" } + shape_range: { fg: "#999900" attr: "b" } + shape_record: { fg: "#00a6b2" attr: "b" } + shape_redirection: { fg: "#b200b2" attr: "b" } + shape_signature: { fg: "#00a600" attr: "b" } + shape_string: "#00a600" + shape_string_interpolation: { fg: "#00a6b2" attr: "b" } + shape_table: { fg: "#0000b2" attr: "b" } + shape_variable: "#b200b2" + + background: "#000000" + foreground: "#00ff00" + cursor: "#00ff00" +}} \ No newline at end of file diff --git a/themes/themes/hopscotch.nu b/themes/themes/hopscotch.nu index ac73b88..c7cc2bb 100644 --- a/themes/themes/hopscotch.nu +++ b/themes/themes/hopscotch.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the hopscotch theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#322931" - # foreground: "#b9b5b8" - # cursor: "#b9b5b8" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8fc13e" - empty: "#1290bf" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#8fc13e" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#797379" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c85e7c" - shape_bool: "#149b93" - shape_int: "#c85e7c" - shape_float: "#c85e7c" - shape_range: "#fdcc59" - shape_internalcall: "#149b93" - shape_external: "#149b93" - shape_externalarg: "#8fc13e" - shape_literal: "#1290bf" - shape_operator: "#fdcc59" - shape_signature: "#8fc13e" - shape_string: "#8fc13e" - shape_string_interpolation: "#149b93" - shape_datetime: "#149b93" - shape_list: "#149b93" - shape_table: "#1290bf" - shape_record: "#149b93" - shape_block: "#1290bf" - shape_filepath: "#149b93" - shape_globpattern: "#149b93" - shape_variable: "#c85e7c" - shape_flag: "#1290bf" - shape_custom: "#8fc13e" - shape_nothing: "#149b93" +export def main [] { return { + separator: "#b9b5b8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8fc13e" attr: "b" } + empty: "#1290bf" + bool: {|| if $in { "#149b93" } else { "light_gray" } } + int: "#b9b5b8" + filesize: {|e| + if $e == 0b { + "#b9b5b8" + } else if $e < 1mb { + "#149b93" + } else {{ fg: "#1290bf" }} } -} + duration: "#b9b5b8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#dd464c" attr: "b" } + } else if $in < 6hr { + "#dd464c" + } else if $in < 1day { + "#fdcc59" + } else if $in < 3day { + "#8fc13e" + } else if $in < 1wk { + { fg: "#8fc13e" attr: "b" } + } else if $in < 6wk { + "#149b93" + } else if $in < 52wk { + "#1290bf" + } else { "dark_gray" } + } + range: "#b9b5b8" + float: "#b9b5b8" + string: "#b9b5b8" + nothing: "#b9b5b8" + binary: "#b9b5b8" + cellpath: "#b9b5b8" + row_index: { fg: "#8fc13e" attr: "b" } + record: "#b9b5b8" + list: "#b9b5b8" + block: "#b9b5b8" + hints: "dark_gray" + + shape_and: { fg: "#c85e7c" attr: "b" } + shape_binary: { fg: "#c85e7c" attr: "b" } + shape_block: { fg: "#1290bf" attr: "b" } + shape_bool: "#149b93" + shape_custom: "#8fc13e" + shape_datetime: { fg: "#149b93" attr: "b" } + shape_directory: "#149b93" + shape_external: "#149b93" + shape_externalarg: { fg: "#8fc13e" attr: "b" } + shape_filepath: "#149b93" + shape_flag: { fg: "#1290bf" attr: "b" } + shape_float: { fg: "#c85e7c" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#149b93" attr: "b" } + shape_int: { fg: "#c85e7c" attr: "b" } + shape_internalcall: { fg: "#149b93" attr: "b" } + shape_list: { fg: "#149b93" attr: "b" } + shape_literal: "#1290bf" + shape_match_pattern: "#8fc13e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#149b93" + shape_operator: "#fdcc59" + shape_or: { fg: "#c85e7c" attr: "b" } + shape_pipe: { fg: "#c85e7c" attr: "b" } + shape_range: { fg: "#fdcc59" attr: "b" } + shape_record: { fg: "#149b93" attr: "b" } + shape_redirection: { fg: "#c85e7c" attr: "b" } + shape_signature: { fg: "#8fc13e" attr: "b" } + shape_string: "#8fc13e" + shape_string_interpolation: { fg: "#149b93" attr: "b" } + shape_table: { fg: "#1290bf" attr: "b" } + shape_variable: "#c85e7c" + + background: "#322931" + foreground: "#b9b5b8" + cursor: "#b9b5b8" +}} \ No newline at end of file diff --git a/themes/themes/horizon-dark.nu b/themes/themes/horizon-dark.nu index ff854fa..23920c9 100644 --- a/themes/themes/horizon-dark.nu +++ b/themes/themes/horizon-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the horizon_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1c1e26" - # foreground: "#cbced0" - # cursor: "#cbced0" - - { - # color for nushell primitives - separator: "#e3e6ee" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#efaf8e" - empty: "#df5273" - bool: "#e3e6ee" - int: "#e3e6ee" - filesize: "#e3e6ee" - duration: "#e3e6ee" - date: "#e3e6ee" - range: "#e3e6ee" - float: "#e3e6ee" - string: "#e3e6ee" - nothing: "#e3e6ee" - binary: "#e3e6ee" - cellpath: "#e3e6ee" - row_index: "#efaf8e" - record: "#e3e6ee" - list: "#e3e6ee" - block: "#e3e6ee" - hints: "#6f6f70" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b072d1" - shape_bool: "#24a8b4" - shape_int: "#b072d1" - shape_float: "#b072d1" - shape_range: "#efb993" - shape_internalcall: "#24a8b4" - shape_external: "#24a8b4" - shape_externalarg: "#efaf8e" - shape_literal: "#df5273" - shape_operator: "#efb993" - shape_signature: "#efaf8e" - shape_string: "#efaf8e" - shape_string_interpolation: "#24a8b4" - shape_datetime: "#24a8b4" - shape_list: "#24a8b4" - shape_table: "#df5273" - shape_record: "#24a8b4" - shape_block: "#df5273" - shape_filepath: "#24a8b4" - shape_globpattern: "#24a8b4" - shape_variable: "#b072d1" - shape_flag: "#df5273" - shape_custom: "#efaf8e" - shape_nothing: "#24a8b4" +export def main [] { return { + separator: "#cbced0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#efaf8e" attr: "b" } + empty: "#df5273" + bool: {|| if $in { "#24a8b4" } else { "light_gray" } } + int: "#cbced0" + filesize: {|e| + if $e == 0b { + "#cbced0" + } else if $e < 1mb { + "#24a8b4" + } else {{ fg: "#df5273" }} } -} + duration: "#cbced0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e93c58" attr: "b" } + } else if $in < 6hr { + "#e93c58" + } else if $in < 1day { + "#efb993" + } else if $in < 3day { + "#efaf8e" + } else if $in < 1wk { + { fg: "#efaf8e" attr: "b" } + } else if $in < 6wk { + "#24a8b4" + } else if $in < 52wk { + "#df5273" + } else { "dark_gray" } + } + range: "#cbced0" + float: "#cbced0" + string: "#cbced0" + nothing: "#cbced0" + binary: "#cbced0" + cellpath: "#cbced0" + row_index: { fg: "#efaf8e" attr: "b" } + record: "#cbced0" + list: "#cbced0" + block: "#cbced0" + hints: "dark_gray" + + shape_and: { fg: "#b072d1" attr: "b" } + shape_binary: { fg: "#b072d1" attr: "b" } + shape_block: { fg: "#df5273" attr: "b" } + shape_bool: "#24a8b4" + shape_custom: "#efaf8e" + shape_datetime: { fg: "#24a8b4" attr: "b" } + shape_directory: "#24a8b4" + shape_external: "#24a8b4" + shape_externalarg: { fg: "#efaf8e" attr: "b" } + shape_filepath: "#24a8b4" + shape_flag: { fg: "#df5273" attr: "b" } + shape_float: { fg: "#b072d1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#24a8b4" attr: "b" } + shape_int: { fg: "#b072d1" attr: "b" } + shape_internalcall: { fg: "#24a8b4" attr: "b" } + shape_list: { fg: "#24a8b4" attr: "b" } + shape_literal: "#df5273" + shape_match_pattern: "#efaf8e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#24a8b4" + shape_operator: "#efb993" + shape_or: { fg: "#b072d1" attr: "b" } + shape_pipe: { fg: "#b072d1" attr: "b" } + shape_range: { fg: "#efb993" attr: "b" } + shape_record: { fg: "#24a8b4" attr: "b" } + shape_redirection: { fg: "#b072d1" attr: "b" } + shape_signature: { fg: "#efaf8e" attr: "b" } + shape_string: "#efaf8e" + shape_string_interpolation: { fg: "#24a8b4" attr: "b" } + shape_table: { fg: "#df5273" attr: "b" } + shape_variable: "#b072d1" + + background: "#1c1e26" + foreground: "#cbced0" + cursor: "#cbced0" +}} \ No newline at end of file diff --git a/themes/themes/horizon-light.nu b/themes/themes/horizon-light.nu index e4ef712..b595a02 100644 --- a/themes/themes/horizon-light.nu +++ b/themes/themes/horizon-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the horizon_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fdf0ed" - # foreground: "#403c3d" - # cursor: "#403c3d" - - { - # color for nushell primitives - separator: "#201c1d" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#94e1b0" - empty: "#da103f" - bool: "#201c1d" - int: "#201c1d" - filesize: "#201c1d" - duration: "#201c1d" - date: "#201c1d" - range: "#201c1d" - float: "#201c1d" - string: "#201c1d" - nothing: "#201c1d" - binary: "#201c1d" - cellpath: "#201c1d" - row_index: "#94e1b0" - record: "#201c1d" - list: "#201c1d" - block: "#201c1d" - hints: "#bdb3b1" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#1d8991" - shape_bool: "#dc3318" - shape_int: "#1d8991" - shape_float: "#1d8991" - shape_range: "#fbe0d9" - shape_internalcall: "#dc3318" - shape_external: "#dc3318" - shape_externalarg: "#94e1b0" - shape_literal: "#da103f" - shape_operator: "#fbe0d9" - shape_signature: "#94e1b0" - shape_string: "#94e1b0" - shape_string_interpolation: "#dc3318" - shape_datetime: "#dc3318" - shape_list: "#dc3318" - shape_table: "#da103f" - shape_record: "#dc3318" - shape_block: "#da103f" - shape_filepath: "#dc3318" - shape_globpattern: "#dc3318" - shape_variable: "#1d8991" - shape_flag: "#da103f" - shape_custom: "#94e1b0" - shape_nothing: "#dc3318" +export def main [] { return { + separator: "#403c3d" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#94e1b0" attr: "b" } + empty: "#da103f" + bool: {|| if $in { "#dc3318" } else { "light_gray" } } + int: "#403c3d" + filesize: {|e| + if $e == 0b { + "#403c3d" + } else if $e < 1mb { + "#dc3318" + } else {{ fg: "#da103f" }} } -} + duration: "#403c3d" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f7939b" attr: "b" } + } else if $in < 6hr { + "#f7939b" + } else if $in < 1day { + "#fbe0d9" + } else if $in < 3day { + "#94e1b0" + } else if $in < 1wk { + { fg: "#94e1b0" attr: "b" } + } else if $in < 6wk { + "#dc3318" + } else if $in < 52wk { + "#da103f" + } else { "dark_gray" } + } + range: "#403c3d" + float: "#403c3d" + string: "#403c3d" + nothing: "#403c3d" + binary: "#403c3d" + cellpath: "#403c3d" + row_index: { fg: "#94e1b0" attr: "b" } + record: "#403c3d" + list: "#403c3d" + block: "#403c3d" + hints: "dark_gray" + + shape_and: { fg: "#1d8991" attr: "b" } + shape_binary: { fg: "#1d8991" attr: "b" } + shape_block: { fg: "#da103f" attr: "b" } + shape_bool: "#dc3318" + shape_custom: "#94e1b0" + shape_datetime: { fg: "#dc3318" attr: "b" } + shape_directory: "#dc3318" + shape_external: "#dc3318" + shape_externalarg: { fg: "#94e1b0" attr: "b" } + shape_filepath: "#dc3318" + shape_flag: { fg: "#da103f" attr: "b" } + shape_float: { fg: "#1d8991" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#dc3318" attr: "b" } + shape_int: { fg: "#1d8991" attr: "b" } + shape_internalcall: { fg: "#dc3318" attr: "b" } + shape_list: { fg: "#dc3318" attr: "b" } + shape_literal: "#da103f" + shape_match_pattern: "#94e1b0" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#dc3318" + shape_operator: "#fbe0d9" + shape_or: { fg: "#1d8991" attr: "b" } + shape_pipe: { fg: "#1d8991" attr: "b" } + shape_range: { fg: "#fbe0d9" attr: "b" } + shape_record: { fg: "#dc3318" attr: "b" } + shape_redirection: { fg: "#1d8991" attr: "b" } + shape_signature: { fg: "#94e1b0" attr: "b" } + shape_string: "#94e1b0" + shape_string_interpolation: { fg: "#dc3318" attr: "b" } + shape_table: { fg: "#da103f" attr: "b" } + shape_variable: "#1d8991" + + background: "#fdf0ed" + foreground: "#403c3d" + cursor: "#403c3d" +}} \ No newline at end of file diff --git a/themes/themes/horizon-terminal-dark.nu b/themes/themes/horizon-terminal-dark.nu index 21fad9e..d9554f0 100644 --- a/themes/themes/horizon-terminal-dark.nu +++ b/themes/themes/horizon-terminal-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the horizon_terminal-dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1c1e26" - # foreground: "#cbced0" - # cursor: "#cbced0" - - { - # color for nushell primitives - separator: "#e3e6ee" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#29d398" - empty: "#26bbd9" - bool: "#e3e6ee" - int: "#e3e6ee" - filesize: "#e3e6ee" - duration: "#e3e6ee" - date: "#e3e6ee" - range: "#e3e6ee" - float: "#e3e6ee" - string: "#e3e6ee" - nothing: "#e3e6ee" - binary: "#e3e6ee" - cellpath: "#e3e6ee" - row_index: "#29d398" - record: "#e3e6ee" - list: "#e3e6ee" - block: "#e3e6ee" - hints: "#6f6f70" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ee64ac" - shape_bool: "#59e1e3" - shape_int: "#ee64ac" - shape_float: "#ee64ac" - shape_range: "#fac29a" - shape_internalcall: "#59e1e3" - shape_external: "#59e1e3" - shape_externalarg: "#29d398" - shape_literal: "#26bbd9" - shape_operator: "#fac29a" - shape_signature: "#29d398" - shape_string: "#29d398" - shape_string_interpolation: "#59e1e3" - shape_datetime: "#59e1e3" - shape_list: "#59e1e3" - shape_table: "#26bbd9" - shape_record: "#59e1e3" - shape_block: "#26bbd9" - shape_filepath: "#59e1e3" - shape_globpattern: "#59e1e3" - shape_variable: "#ee64ac" - shape_flag: "#26bbd9" - shape_custom: "#29d398" - shape_nothing: "#59e1e3" +export def main [] { return { + separator: "#cbced0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#29d398" attr: "b" } + empty: "#26bbd9" + bool: {|| if $in { "#59e1e3" } else { "light_gray" } } + int: "#cbced0" + filesize: {|e| + if $e == 0b { + "#cbced0" + } else if $e < 1mb { + "#59e1e3" + } else {{ fg: "#26bbd9" }} } -} + duration: "#cbced0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e95678" attr: "b" } + } else if $in < 6hr { + "#e95678" + } else if $in < 1day { + "#fac29a" + } else if $in < 3day { + "#29d398" + } else if $in < 1wk { + { fg: "#29d398" attr: "b" } + } else if $in < 6wk { + "#59e1e3" + } else if $in < 52wk { + "#26bbd9" + } else { "dark_gray" } + } + range: "#cbced0" + float: "#cbced0" + string: "#cbced0" + nothing: "#cbced0" + binary: "#cbced0" + cellpath: "#cbced0" + row_index: { fg: "#29d398" attr: "b" } + record: "#cbced0" + list: "#cbced0" + block: "#cbced0" + hints: "dark_gray" + + shape_and: { fg: "#ee64ac" attr: "b" } + shape_binary: { fg: "#ee64ac" attr: "b" } + shape_block: { fg: "#26bbd9" attr: "b" } + shape_bool: "#59e1e3" + shape_custom: "#29d398" + shape_datetime: { fg: "#59e1e3" attr: "b" } + shape_directory: "#59e1e3" + shape_external: "#59e1e3" + shape_externalarg: { fg: "#29d398" attr: "b" } + shape_filepath: "#59e1e3" + shape_flag: { fg: "#26bbd9" attr: "b" } + shape_float: { fg: "#ee64ac" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#59e1e3" attr: "b" } + shape_int: { fg: "#ee64ac" attr: "b" } + shape_internalcall: { fg: "#59e1e3" attr: "b" } + shape_list: { fg: "#59e1e3" attr: "b" } + shape_literal: "#26bbd9" + shape_match_pattern: "#29d398" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#59e1e3" + shape_operator: "#fac29a" + shape_or: { fg: "#ee64ac" attr: "b" } + shape_pipe: { fg: "#ee64ac" attr: "b" } + shape_range: { fg: "#fac29a" attr: "b" } + shape_record: { fg: "#59e1e3" attr: "b" } + shape_redirection: { fg: "#ee64ac" attr: "b" } + shape_signature: { fg: "#29d398" attr: "b" } + shape_string: "#29d398" + shape_string_interpolation: { fg: "#59e1e3" attr: "b" } + shape_table: { fg: "#26bbd9" attr: "b" } + shape_variable: "#ee64ac" + + background: "#1c1e26" + foreground: "#cbced0" + cursor: "#cbced0" +}} \ No newline at end of file diff --git a/themes/themes/horizon-terminal-light.nu b/themes/themes/horizon-terminal-light.nu index 40fe753..9464b9c 100644 --- a/themes/themes/horizon-terminal-light.nu +++ b/themes/themes/horizon-terminal-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the horizon_terminal-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fdf0ed" - # foreground: "#403c3d" - # cursor: "#403c3d" - - { - # color for nushell primitives - separator: "#201c1d" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#29d398" - empty: "#26bbd9" - bool: "#201c1d" - int: "#201c1d" - filesize: "#201c1d" - duration: "#201c1d" - date: "#201c1d" - range: "#201c1d" - float: "#201c1d" - string: "#201c1d" - nothing: "#201c1d" - binary: "#201c1d" - cellpath: "#201c1d" - row_index: "#29d398" - record: "#201c1d" - list: "#201c1d" - block: "#201c1d" - hints: "#bdb3b1" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ee64ac" - shape_bool: "#59e1e3" - shape_int: "#ee64ac" - shape_float: "#ee64ac" - shape_range: "#fadad1" - shape_internalcall: "#59e1e3" - shape_external: "#59e1e3" - shape_externalarg: "#29d398" - shape_literal: "#26bbd9" - shape_operator: "#fadad1" - shape_signature: "#29d398" - shape_string: "#29d398" - shape_string_interpolation: "#59e1e3" - shape_datetime: "#59e1e3" - shape_list: "#59e1e3" - shape_table: "#26bbd9" - shape_record: "#59e1e3" - shape_block: "#26bbd9" - shape_filepath: "#59e1e3" - shape_globpattern: "#59e1e3" - shape_variable: "#ee64ac" - shape_flag: "#26bbd9" - shape_custom: "#29d398" - shape_nothing: "#59e1e3" +export def main [] { return { + separator: "#403c3d" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#29d398" attr: "b" } + empty: "#26bbd9" + bool: {|| if $in { "#59e1e3" } else { "light_gray" } } + int: "#403c3d" + filesize: {|e| + if $e == 0b { + "#403c3d" + } else if $e < 1mb { + "#59e1e3" + } else {{ fg: "#26bbd9" }} } -} + duration: "#403c3d" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e95678" attr: "b" } + } else if $in < 6hr { + "#e95678" + } else if $in < 1day { + "#fadad1" + } else if $in < 3day { + "#29d398" + } else if $in < 1wk { + { fg: "#29d398" attr: "b" } + } else if $in < 6wk { + "#59e1e3" + } else if $in < 52wk { + "#26bbd9" + } else { "dark_gray" } + } + range: "#403c3d" + float: "#403c3d" + string: "#403c3d" + nothing: "#403c3d" + binary: "#403c3d" + cellpath: "#403c3d" + row_index: { fg: "#29d398" attr: "b" } + record: "#403c3d" + list: "#403c3d" + block: "#403c3d" + hints: "dark_gray" + + shape_and: { fg: "#ee64ac" attr: "b" } + shape_binary: { fg: "#ee64ac" attr: "b" } + shape_block: { fg: "#26bbd9" attr: "b" } + shape_bool: "#59e1e3" + shape_custom: "#29d398" + shape_datetime: { fg: "#59e1e3" attr: "b" } + shape_directory: "#59e1e3" + shape_external: "#59e1e3" + shape_externalarg: { fg: "#29d398" attr: "b" } + shape_filepath: "#59e1e3" + shape_flag: { fg: "#26bbd9" attr: "b" } + shape_float: { fg: "#ee64ac" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#59e1e3" attr: "b" } + shape_int: { fg: "#ee64ac" attr: "b" } + shape_internalcall: { fg: "#59e1e3" attr: "b" } + shape_list: { fg: "#59e1e3" attr: "b" } + shape_literal: "#26bbd9" + shape_match_pattern: "#29d398" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#59e1e3" + shape_operator: "#fadad1" + shape_or: { fg: "#ee64ac" attr: "b" } + shape_pipe: { fg: "#ee64ac" attr: "b" } + shape_range: { fg: "#fadad1" attr: "b" } + shape_record: { fg: "#59e1e3" attr: "b" } + shape_redirection: { fg: "#ee64ac" attr: "b" } + shape_signature: { fg: "#29d398" attr: "b" } + shape_string: "#29d398" + shape_string_interpolation: { fg: "#59e1e3" attr: "b" } + shape_table: { fg: "#26bbd9" attr: "b" } + shape_variable: "#ee64ac" + + background: "#fdf0ed" + foreground: "#403c3d" + cursor: "#403c3d" +}} \ No newline at end of file diff --git a/themes/themes/humanoid-dark.nu b/themes/themes/humanoid-dark.nu index 689fc29..d79fe70 100644 --- a/themes/themes/humanoid-dark.nu +++ b/themes/themes/humanoid-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the humanoid_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#232629" - # foreground: "#f8f8f2" - # cursor: "#f8f8f2" - - { - # color for nushell primitives - separator: "#fcfcfc" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#02d849" - empty: "#00a6fb" - bool: "#fcfcfc" - int: "#fcfcfc" - filesize: "#fcfcfc" - duration: "#fcfcfc" - date: "#fcfcfc" - range: "#fcfcfc" - float: "#fcfcfc" - string: "#fcfcfc" - nothing: "#fcfcfc" - binary: "#fcfcfc" - cellpath: "#fcfcfc" - row_index: "#02d849" - record: "#fcfcfc" - list: "#fcfcfc" - block: "#fcfcfc" - hints: "#60615d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#f15ee3" - shape_bool: "#0dd9d6" - shape_int: "#f15ee3" - shape_float: "#f15ee3" - shape_range: "#ffb627" - shape_internalcall: "#0dd9d6" - shape_external: "#0dd9d6" - shape_externalarg: "#02d849" - shape_literal: "#00a6fb" - shape_operator: "#ffb627" - shape_signature: "#02d849" - shape_string: "#02d849" - shape_string_interpolation: "#0dd9d6" - shape_datetime: "#0dd9d6" - shape_list: "#0dd9d6" - shape_table: "#00a6fb" - shape_record: "#0dd9d6" - shape_block: "#00a6fb" - shape_filepath: "#0dd9d6" - shape_globpattern: "#0dd9d6" - shape_variable: "#f15ee3" - shape_flag: "#00a6fb" - shape_custom: "#02d849" - shape_nothing: "#0dd9d6" +export def main [] { return { + separator: "#f8f8f2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#02d849" attr: "b" } + empty: "#00a6fb" + bool: {|| if $in { "#0dd9d6" } else { "light_gray" } } + int: "#f8f8f2" + filesize: {|e| + if $e == 0b { + "#f8f8f2" + } else if $e < 1mb { + "#0dd9d6" + } else {{ fg: "#00a6fb" }} } -} + duration: "#f8f8f2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f11235" attr: "b" } + } else if $in < 6hr { + "#f11235" + } else if $in < 1day { + "#ffb627" + } else if $in < 3day { + "#02d849" + } else if $in < 1wk { + { fg: "#02d849" attr: "b" } + } else if $in < 6wk { + "#0dd9d6" + } else if $in < 52wk { + "#00a6fb" + } else { "dark_gray" } + } + range: "#f8f8f2" + float: "#f8f8f2" + string: "#f8f8f2" + nothing: "#f8f8f2" + binary: "#f8f8f2" + cellpath: "#f8f8f2" + row_index: { fg: "#02d849" attr: "b" } + record: "#f8f8f2" + list: "#f8f8f2" + block: "#f8f8f2" + hints: "dark_gray" + + shape_and: { fg: "#f15ee3" attr: "b" } + shape_binary: { fg: "#f15ee3" attr: "b" } + shape_block: { fg: "#00a6fb" attr: "b" } + shape_bool: "#0dd9d6" + shape_custom: "#02d849" + shape_datetime: { fg: "#0dd9d6" attr: "b" } + shape_directory: "#0dd9d6" + shape_external: "#0dd9d6" + shape_externalarg: { fg: "#02d849" attr: "b" } + shape_filepath: "#0dd9d6" + shape_flag: { fg: "#00a6fb" attr: "b" } + shape_float: { fg: "#f15ee3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0dd9d6" attr: "b" } + shape_int: { fg: "#f15ee3" attr: "b" } + shape_internalcall: { fg: "#0dd9d6" attr: "b" } + shape_list: { fg: "#0dd9d6" attr: "b" } + shape_literal: "#00a6fb" + shape_match_pattern: "#02d849" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#0dd9d6" + shape_operator: "#ffb627" + shape_or: { fg: "#f15ee3" attr: "b" } + shape_pipe: { fg: "#f15ee3" attr: "b" } + shape_range: { fg: "#ffb627" attr: "b" } + shape_record: { fg: "#0dd9d6" attr: "b" } + shape_redirection: { fg: "#f15ee3" attr: "b" } + shape_signature: { fg: "#02d849" attr: "b" } + shape_string: "#02d849" + shape_string_interpolation: { fg: "#0dd9d6" attr: "b" } + shape_table: { fg: "#00a6fb" attr: "b" } + shape_variable: "#f15ee3" + + background: "#232629" + foreground: "#f8f8f2" + cursor: "#f8f8f2" +}} \ No newline at end of file diff --git a/themes/themes/humanoid-light.nu b/themes/themes/humanoid-light.nu index 82b0e9c..13528ec 100644 --- a/themes/themes/humanoid-light.nu +++ b/themes/themes/humanoid-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the humanoid_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f8f8f2" - # foreground: "#232629" - # cursor: "#232629" - - { - # color for nushell primitives - separator: "#070708" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#388e3c" - empty: "#0082c9" - bool: "#070708" - int: "#070708" - filesize: "#070708" - duration: "#070708" - date: "#070708" - range: "#070708" - float: "#070708" - string: "#070708" - nothing: "#070708" - binary: "#070708" - cellpath: "#070708" - row_index: "#388e3c" - record: "#070708" - list: "#070708" - block: "#070708" - hints: "#c0c0bd" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#700f98" - shape_bool: "#008e8e" - shape_int: "#700f98" - shape_float: "#700f98" - shape_range: "#ffb627" - shape_internalcall: "#008e8e" - shape_external: "#008e8e" - shape_externalarg: "#388e3c" - shape_literal: "#0082c9" - shape_operator: "#ffb627" - shape_signature: "#388e3c" - shape_string: "#388e3c" - shape_string_interpolation: "#008e8e" - shape_datetime: "#008e8e" - shape_list: "#008e8e" - shape_table: "#0082c9" - shape_record: "#008e8e" - shape_block: "#0082c9" - shape_filepath: "#008e8e" - shape_globpattern: "#008e8e" - shape_variable: "#700f98" - shape_flag: "#0082c9" - shape_custom: "#388e3c" - shape_nothing: "#008e8e" +export def main [] { return { + separator: "#232629" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#388e3c" attr: "b" } + empty: "#0082c9" + bool: {|| if $in { "#008e8e" } else { "light_gray" } } + int: "#232629" + filesize: {|e| + if $e == 0b { + "#232629" + } else if $e < 1mb { + "#008e8e" + } else {{ fg: "#0082c9" }} } -} + duration: "#232629" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b0151a" attr: "b" } + } else if $in < 6hr { + "#b0151a" + } else if $in < 1day { + "#ffb627" + } else if $in < 3day { + "#388e3c" + } else if $in < 1wk { + { fg: "#388e3c" attr: "b" } + } else if $in < 6wk { + "#008e8e" + } else if $in < 52wk { + "#0082c9" + } else { "dark_gray" } + } + range: "#232629" + float: "#232629" + string: "#232629" + nothing: "#232629" + binary: "#232629" + cellpath: "#232629" + row_index: { fg: "#388e3c" attr: "b" } + record: "#232629" + list: "#232629" + block: "#232629" + hints: "dark_gray" + + shape_and: { fg: "#700f98" attr: "b" } + shape_binary: { fg: "#700f98" attr: "b" } + shape_block: { fg: "#0082c9" attr: "b" } + shape_bool: "#008e8e" + shape_custom: "#388e3c" + shape_datetime: { fg: "#008e8e" attr: "b" } + shape_directory: "#008e8e" + shape_external: "#008e8e" + shape_externalarg: { fg: "#388e3c" attr: "b" } + shape_filepath: "#008e8e" + shape_flag: { fg: "#0082c9" attr: "b" } + shape_float: { fg: "#700f98" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#008e8e" attr: "b" } + shape_int: { fg: "#700f98" attr: "b" } + shape_internalcall: { fg: "#008e8e" attr: "b" } + shape_list: { fg: "#008e8e" attr: "b" } + shape_literal: "#0082c9" + shape_match_pattern: "#388e3c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#008e8e" + shape_operator: "#ffb627" + shape_or: { fg: "#700f98" attr: "b" } + shape_pipe: { fg: "#700f98" attr: "b" } + shape_range: { fg: "#ffb627" attr: "b" } + shape_record: { fg: "#008e8e" attr: "b" } + shape_redirection: { fg: "#700f98" attr: "b" } + shape_signature: { fg: "#388e3c" attr: "b" } + shape_string: "#388e3c" + shape_string_interpolation: { fg: "#008e8e" attr: "b" } + shape_table: { fg: "#0082c9" attr: "b" } + shape_variable: "#700f98" + + background: "#f8f8f2" + foreground: "#232629" + cursor: "#232629" +}} \ No newline at end of file diff --git a/themes/themes/hurtado.nu b/themes/themes/hurtado.nu index 58f22ec..da164be 100644 --- a/themes/themes/hurtado.nu +++ b/themes/themes/hurtado.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the hurtado theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#dbdbdb" - # cursor: "#dbdbdb" - - { - # color for nushell primitives - separator: "#dbdbdb" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a5df55" - empty: "#496487" - bool: "#dbdbdb" - int: "#dbdbdb" - filesize: "#dbdbdb" - duration: "#dbdbdb" - date: "#dbdbdb" - range: "#dbdbdb" - float: "#dbdbdb" - string: "#dbdbdb" - nothing: "#dbdbdb" - binary: "#dbdbdb" - cellpath: "#dbdbdb" - row_index: "#a5df55" - record: "#dbdbdb" - list: "#dbdbdb" - block: "#dbdbdb" - hints: "#262626" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c001c1" - shape_bool: "#86eafe" - shape_int: "#c001c1" - shape_float: "#c001c1" - shape_range: "#fbe84a" - shape_internalcall: "#86eafe" - shape_external: "#86e9fe" - shape_externalarg: "#a5df55" - shape_literal: "#496487" - shape_operator: "#fbe74a" - shape_signature: "#a5df55" - shape_string: "#a5e055" - shape_string_interpolation: "#86eafe" - shape_datetime: "#86eafe" - shape_list: "#86eafe" - shape_table: "#89beff" - shape_record: "#86eafe" - shape_block: "#89beff" - shape_filepath: "#86e9fe" - shape_globpattern: "#86eafe" - shape_variable: "#fd5ff1" - shape_flag: "#89beff" - shape_custom: "#a5e055" - shape_nothing: "#86eafe" +export def main [] { return { + separator: "#cbcccb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a5e055" attr: "b" } + empty: "#496487" + bool: {|| if $in { "#86eafe" } else { "light_gray" } } + int: "#cbcccb" + filesize: {|e| + if $e == 0b { + "#cbcccb" + } else if $e < 1mb { + "#86e9fe" + } else {{ fg: "#496487" }} } -} + duration: "#cbcccb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff1b00" attr: "b" } + } else if $in < 6hr { + "#ff1b00" + } else if $in < 1day { + "#fbe74a" + } else if $in < 3day { + "#a5e055" + } else if $in < 1wk { + { fg: "#a5e055" attr: "b" } + } else if $in < 6wk { + "#86e9fe" + } else if $in < 52wk { + "#496487" + } else { "dark_gray" } + } + range: "#cbcccb" + float: "#cbcccb" + string: "#cbcccb" + nothing: "#cbcccb" + binary: "#cbcccb" + cellpath: "#cbcccb" + row_index: { fg: "#a5e055" attr: "b" } + record: "#cbcccb" + list: "#cbcccb" + block: "#cbcccb" + hints: "dark_gray" + + shape_and: { fg: "#fd5ff1" attr: "b" } + shape_binary: { fg: "#fd5ff1" attr: "b" } + shape_block: { fg: "#496487" attr: "b" } + shape_bool: "#86eafe" + shape_custom: "#a5e055" + shape_datetime: { fg: "#86e9fe" attr: "b" } + shape_directory: "#86e9fe" + shape_external: "#86e9fe" + shape_externalarg: { fg: "#a5e055" attr: "b" } + shape_filepath: "#86e9fe" + shape_flag: { fg: "#496487" attr: "b" } + shape_float: { fg: "#fd5ff1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#86e9fe" attr: "b" } + shape_int: { fg: "#fd5ff1" attr: "b" } + shape_internalcall: { fg: "#86e9fe" attr: "b" } + shape_list: { fg: "#86e9fe" attr: "b" } + shape_literal: "#496487" + shape_match_pattern: "#a5e055" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#86eafe" + shape_operator: "#fbe74a" + shape_or: { fg: "#fd5ff1" attr: "b" } + shape_pipe: { fg: "#fd5ff1" attr: "b" } + shape_range: { fg: "#fbe74a" attr: "b" } + shape_record: { fg: "#86e9fe" attr: "b" } + shape_redirection: { fg: "#fd5ff1" attr: "b" } + shape_signature: { fg: "#a5e055" attr: "b" } + shape_string: "#a5e055" + shape_string_interpolation: { fg: "#86e9fe" attr: "b" } + shape_table: { fg: "#496487" attr: "b" } + shape_variable: "#fd5ff1" + + background: "#000000" + foreground: "#dbdbdb" + cursor: "#dbdbdb" +}} \ No newline at end of file diff --git a/themes/themes/hybrid.nu b/themes/themes/hybrid.nu index d037dd2..db3a135 100644 --- a/themes/themes/hybrid.nu +++ b/themes/themes/hybrid.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the hybrid theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#141414" - # foreground: "#94a3a5" - # cursor: "#94a3a5" - - { - # color for nushell primitives - separator: "#c5c8c6" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b5bd68" - empty: "#5f819d" - bool: "#c5c8c6" - int: "#c5c8c6" - filesize: "#c5c8c6" - duration: "#c5c8c6" - date: "#c5c8c6" - range: "#c5c8c6" - float: "#c5c8c6" - string: "#c5c8c6" - nothing: "#c5c8c6" - binary: "#c5c8c6" - cellpath: "#c5c8c6" - row_index: "#b5bd68" - record: "#c5c8c6" - list: "#c5c8c6" - block: "#c5c8c6" - hints: "#373b41" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b294bb" - shape_bool: "#8abeb7" - shape_int: "#b294bb" - shape_float: "#b294bb" - shape_range: "#f0c674" - shape_internalcall: "#8abeb7" - shape_external: "#5e8d87" - shape_externalarg: "#b5bd68" - shape_literal: "#5f819d" - shape_operator: "#de935f" - shape_signature: "#b5bd68" - shape_string: "#8c9440" - shape_string_interpolation: "#8abeb7" - shape_datetime: "#8abeb7" - shape_list: "#8abeb7" - shape_table: "#81a2be" - shape_record: "#8abeb7" - shape_block: "#81a2be" - shape_filepath: "#5e8d87" - shape_globpattern: "#8abeb7" - shape_variable: "#85678f" - shape_flag: "#81a2be" - shape_custom: "#8c9440" - shape_nothing: "#8abeb7" +export def main [] { return { + separator: "#969896" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8c9440" attr: "b" } + empty: "#5f819d" + bool: {|| if $in { "#8abeb7" } else { "light_gray" } } + int: "#969896" + filesize: {|e| + if $e == 0b { + "#969896" + } else if $e < 1mb { + "#5e8d87" + } else {{ fg: "#5f819d" }} } -} + duration: "#969896" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a54242" attr: "b" } + } else if $in < 6hr { + "#a54242" + } else if $in < 1day { + "#de935f" + } else if $in < 3day { + "#8c9440" + } else if $in < 1wk { + { fg: "#8c9440" attr: "b" } + } else if $in < 6wk { + "#5e8d87" + } else if $in < 52wk { + "#5f819d" + } else { "dark_gray" } + } + range: "#969896" + float: "#969896" + string: "#969896" + nothing: "#969896" + binary: "#969896" + cellpath: "#969896" + row_index: { fg: "#8c9440" attr: "b" } + record: "#969896" + list: "#969896" + block: "#969896" + hints: "dark_gray" + + shape_and: { fg: "#85678f" attr: "b" } + shape_binary: { fg: "#85678f" attr: "b" } + shape_block: { fg: "#5f819d" attr: "b" } + shape_bool: "#8abeb7" + shape_custom: "#8c9440" + shape_datetime: { fg: "#5e8d87" attr: "b" } + shape_directory: "#5e8d87" + shape_external: "#5e8d87" + shape_externalarg: { fg: "#8c9440" attr: "b" } + shape_filepath: "#5e8d87" + shape_flag: { fg: "#5f819d" attr: "b" } + shape_float: { fg: "#85678f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5e8d87" attr: "b" } + shape_int: { fg: "#85678f" attr: "b" } + shape_internalcall: { fg: "#5e8d87" attr: "b" } + shape_list: { fg: "#5e8d87" attr: "b" } + shape_literal: "#5f819d" + shape_match_pattern: "#8c9440" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8abeb7" + shape_operator: "#de935f" + shape_or: { fg: "#85678f" attr: "b" } + shape_pipe: { fg: "#85678f" attr: "b" } + shape_range: { fg: "#de935f" attr: "b" } + shape_record: { fg: "#5e8d87" attr: "b" } + shape_redirection: { fg: "#85678f" attr: "b" } + shape_signature: { fg: "#8c9440" attr: "b" } + shape_string: "#8c9440" + shape_string_interpolation: { fg: "#5e8d87" attr: "b" } + shape_table: { fg: "#5f819d" attr: "b" } + shape_variable: "#85678f" + + background: "#141414" + foreground: "#94a3a5" + cursor: "#94a3a5" +}} \ No newline at end of file diff --git a/themes/themes/ia-dark.nu b/themes/themes/ia-dark.nu index c8d36ad..523d4b1 100644 --- a/themes/themes/ia-dark.nu +++ b/themes/themes/ia-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ia_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1a1a1a" - # foreground: "#cccccc" - # cursor: "#cccccc" - - { - # color for nushell primitives - separator: "#f8f8f8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#83a471" - empty: "#8eccdd" - bool: "#f8f8f8" - int: "#f8f8f8" - filesize: "#f8f8f8" - duration: "#f8f8f8" - date: "#f8f8f8" - range: "#f8f8f8" - float: "#f8f8f8" - string: "#f8f8f8" - nothing: "#f8f8f8" - binary: "#f8f8f8" - cellpath: "#f8f8f8" - row_index: "#83a471" - record: "#f8f8f8" - list: "#f8f8f8" - block: "#f8f8f8" - hints: "#767676" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b98eb2" - shape_bool: "#7c9cae" - shape_int: "#b98eb2" - shape_float: "#b98eb2" - shape_range: "#b99353" - shape_internalcall: "#7c9cae" - shape_external: "#7c9cae" - shape_externalarg: "#83a471" - shape_literal: "#8eccdd" - shape_operator: "#b99353" - shape_signature: "#83a471" - shape_string: "#83a471" - shape_string_interpolation: "#7c9cae" - shape_datetime: "#7c9cae" - shape_list: "#7c9cae" - shape_table: "#8eccdd" - shape_record: "#7c9cae" - shape_block: "#8eccdd" - shape_filepath: "#7c9cae" - shape_globpattern: "#7c9cae" - shape_variable: "#b98eb2" - shape_flag: "#8eccdd" - shape_custom: "#83a471" - shape_nothing: "#7c9cae" +export def main [] { return { + separator: "#cccccc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#83a471" attr: "b" } + empty: "#8eccdd" + bool: {|| if $in { "#7c9cae" } else { "light_gray" } } + int: "#cccccc" + filesize: {|e| + if $e == 0b { + "#cccccc" + } else if $e < 1mb { + "#7c9cae" + } else {{ fg: "#8eccdd" }} } -} + duration: "#cccccc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d88568" attr: "b" } + } else if $in < 6hr { + "#d88568" + } else if $in < 1day { + "#b99353" + } else if $in < 3day { + "#83a471" + } else if $in < 1wk { + { fg: "#83a471" attr: "b" } + } else if $in < 6wk { + "#7c9cae" + } else if $in < 52wk { + "#8eccdd" + } else { "dark_gray" } + } + range: "#cccccc" + float: "#cccccc" + string: "#cccccc" + nothing: "#cccccc" + binary: "#cccccc" + cellpath: "#cccccc" + row_index: { fg: "#83a471" attr: "b" } + record: "#cccccc" + list: "#cccccc" + block: "#cccccc" + hints: "dark_gray" + + shape_and: { fg: "#b98eb2" attr: "b" } + shape_binary: { fg: "#b98eb2" attr: "b" } + shape_block: { fg: "#8eccdd" attr: "b" } + shape_bool: "#7c9cae" + shape_custom: "#83a471" + shape_datetime: { fg: "#7c9cae" attr: "b" } + shape_directory: "#7c9cae" + shape_external: "#7c9cae" + shape_externalarg: { fg: "#83a471" attr: "b" } + shape_filepath: "#7c9cae" + shape_flag: { fg: "#8eccdd" attr: "b" } + shape_float: { fg: "#b98eb2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7c9cae" attr: "b" } + shape_int: { fg: "#b98eb2" attr: "b" } + shape_internalcall: { fg: "#7c9cae" attr: "b" } + shape_list: { fg: "#7c9cae" attr: "b" } + shape_literal: "#8eccdd" + shape_match_pattern: "#83a471" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7c9cae" + shape_operator: "#b99353" + shape_or: { fg: "#b98eb2" attr: "b" } + shape_pipe: { fg: "#b98eb2" attr: "b" } + shape_range: { fg: "#b99353" attr: "b" } + shape_record: { fg: "#7c9cae" attr: "b" } + shape_redirection: { fg: "#b98eb2" attr: "b" } + shape_signature: { fg: "#83a471" attr: "b" } + shape_string: "#83a471" + shape_string_interpolation: { fg: "#7c9cae" attr: "b" } + shape_table: { fg: "#8eccdd" attr: "b" } + shape_variable: "#b98eb2" + + background: "#1a1a1a" + foreground: "#cccccc" + cursor: "#cccccc" +}} \ No newline at end of file diff --git a/themes/themes/ia-light.nu b/themes/themes/ia-light.nu index 688e6ca..0a0a44e 100644 --- a/themes/themes/ia-light.nu +++ b/themes/themes/ia-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ia_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f6f6f6" - # foreground: "#181818" - # cursor: "#181818" - - { - # color for nushell primitives - separator: "#f8f8f8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#38781c" - empty: "#48bac2" - bool: "#f8f8f8" - int: "#f8f8f8" - filesize: "#f8f8f8" - duration: "#f8f8f8" - date: "#f8f8f8" - range: "#f8f8f8" - float: "#f8f8f8" - string: "#f8f8f8" - nothing: "#f8f8f8" - binary: "#f8f8f8" - cellpath: "#f8f8f8" - row_index: "#38781c" - record: "#f8f8f8" - list: "#f8f8f8" - block: "#f8f8f8" - hints: "#898989" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a94598" - shape_bool: "#2d6bb1" - shape_int: "#a94598" - shape_float: "#a94598" - shape_range: "#c48218" - shape_internalcall: "#2d6bb1" - shape_external: "#2d6bb1" - shape_externalarg: "#38781c" - shape_literal: "#48bac2" - shape_operator: "#c48218" - shape_signature: "#38781c" - shape_string: "#38781c" - shape_string_interpolation: "#2d6bb1" - shape_datetime: "#2d6bb1" - shape_list: "#2d6bb1" - shape_table: "#48bac2" - shape_record: "#2d6bb1" - shape_block: "#48bac2" - shape_filepath: "#2d6bb1" - shape_globpattern: "#2d6bb1" - shape_variable: "#a94598" - shape_flag: "#48bac2" - shape_custom: "#38781c" - shape_nothing: "#2d6bb1" +export def main [] { return { + separator: "#181818" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#38781c" attr: "b" } + empty: "#48bac2" + bool: {|| if $in { "#2d6bb1" } else { "light_gray" } } + int: "#181818" + filesize: {|e| + if $e == 0b { + "#181818" + } else if $e < 1mb { + "#2d6bb1" + } else {{ fg: "#48bac2" }} } -} + duration: "#181818" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#9c5a02" attr: "b" } + } else if $in < 6hr { + "#9c5a02" + } else if $in < 1day { + "#c48218" + } else if $in < 3day { + "#38781c" + } else if $in < 1wk { + { fg: "#38781c" attr: "b" } + } else if $in < 6wk { + "#2d6bb1" + } else if $in < 52wk { + "#48bac2" + } else { "dark_gray" } + } + range: "#181818" + float: "#181818" + string: "#181818" + nothing: "#181818" + binary: "#181818" + cellpath: "#181818" + row_index: { fg: "#38781c" attr: "b" } + record: "#181818" + list: "#181818" + block: "#181818" + hints: "dark_gray" + + shape_and: { fg: "#a94598" attr: "b" } + shape_binary: { fg: "#a94598" attr: "b" } + shape_block: { fg: "#48bac2" attr: "b" } + shape_bool: "#2d6bb1" + shape_custom: "#38781c" + shape_datetime: { fg: "#2d6bb1" attr: "b" } + shape_directory: "#2d6bb1" + shape_external: "#2d6bb1" + shape_externalarg: { fg: "#38781c" attr: "b" } + shape_filepath: "#2d6bb1" + shape_flag: { fg: "#48bac2" attr: "b" } + shape_float: { fg: "#a94598" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2d6bb1" attr: "b" } + shape_int: { fg: "#a94598" attr: "b" } + shape_internalcall: { fg: "#2d6bb1" attr: "b" } + shape_list: { fg: "#2d6bb1" attr: "b" } + shape_literal: "#48bac2" + shape_match_pattern: "#38781c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2d6bb1" + shape_operator: "#c48218" + shape_or: { fg: "#a94598" attr: "b" } + shape_pipe: { fg: "#a94598" attr: "b" } + shape_range: { fg: "#c48218" attr: "b" } + shape_record: { fg: "#2d6bb1" attr: "b" } + shape_redirection: { fg: "#a94598" attr: "b" } + shape_signature: { fg: "#38781c" attr: "b" } + shape_string: "#38781c" + shape_string_interpolation: { fg: "#2d6bb1" attr: "b" } + shape_table: { fg: "#48bac2" attr: "b" } + shape_variable: "#a94598" + + background: "#f6f6f6" + foreground: "#181818" + cursor: "#181818" +}} \ No newline at end of file diff --git a/themes/themes/ibm3270.nu b/themes/themes/ibm3270.nu index aa205da..78b1abe 100644 --- a/themes/themes/ibm3270.nu +++ b/themes/themes/ibm3270.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ibm3270 theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#fdfdfd" - # cursor: "#fdfdfd" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7ed684" - empty: "#7890f0" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#7ed684" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#888888" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#efb3e3" - shape_bool: "#9ce2e2" - shape_int: "#efb3e3" - shape_float: "#efb3e3" - shape_range: "#efe28b" - shape_internalcall: "#9ce2e2" - shape_external: "#54e4e4" - shape_externalarg: "#7ed684" - shape_literal: "#7890f0" - shape_operator: "#f0d824" - shape_signature: "#7ed684" - shape_string: "#24d830" - shape_string_interpolation: "#9ce2e2" - shape_datetime: "#9ce2e2" - shape_list: "#9ce2e2" - shape_table: "#b3bfef" - shape_record: "#9ce2e2" - shape_block: "#b3bfef" - shape_filepath: "#54e4e4" - shape_globpattern: "#9ce2e2" - shape_variable: "#f078d8" - shape_flag: "#b3bfef" - shape_custom: "#24d830" - shape_nothing: "#9ce2e2" +export def main [] { return { + separator: "#a5a5a5" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#24d830" attr: "b" } + empty: "#7890f0" + bool: {|| if $in { "#9ce2e2" } else { "light_gray" } } + int: "#a5a5a5" + filesize: {|e| + if $e == 0b { + "#a5a5a5" + } else if $e < 1mb { + "#54e4e4" + } else {{ fg: "#7890f0" }} } -} + duration: "#a5a5a5" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f01818" attr: "b" } + } else if $in < 6hr { + "#f01818" + } else if $in < 1day { + "#f0d824" + } else if $in < 3day { + "#24d830" + } else if $in < 1wk { + { fg: "#24d830" attr: "b" } + } else if $in < 6wk { + "#54e4e4" + } else if $in < 52wk { + "#7890f0" + } else { "dark_gray" } + } + range: "#a5a5a5" + float: "#a5a5a5" + string: "#a5a5a5" + nothing: "#a5a5a5" + binary: "#a5a5a5" + cellpath: "#a5a5a5" + row_index: { fg: "#24d830" attr: "b" } + record: "#a5a5a5" + list: "#a5a5a5" + block: "#a5a5a5" + hints: "dark_gray" + + shape_and: { fg: "#f078d8" attr: "b" } + shape_binary: { fg: "#f078d8" attr: "b" } + shape_block: { fg: "#7890f0" attr: "b" } + shape_bool: "#9ce2e2" + shape_custom: "#24d830" + shape_datetime: { fg: "#54e4e4" attr: "b" } + shape_directory: "#54e4e4" + shape_external: "#54e4e4" + shape_externalarg: { fg: "#24d830" attr: "b" } + shape_filepath: "#54e4e4" + shape_flag: { fg: "#7890f0" attr: "b" } + shape_float: { fg: "#f078d8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#54e4e4" attr: "b" } + shape_int: { fg: "#f078d8" attr: "b" } + shape_internalcall: { fg: "#54e4e4" attr: "b" } + shape_list: { fg: "#54e4e4" attr: "b" } + shape_literal: "#7890f0" + shape_match_pattern: "#24d830" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#9ce2e2" + shape_operator: "#f0d824" + shape_or: { fg: "#f078d8" attr: "b" } + shape_pipe: { fg: "#f078d8" attr: "b" } + shape_range: { fg: "#f0d824" attr: "b" } + shape_record: { fg: "#54e4e4" attr: "b" } + shape_redirection: { fg: "#f078d8" attr: "b" } + shape_signature: { fg: "#24d830" attr: "b" } + shape_string: "#24d830" + shape_string_interpolation: { fg: "#54e4e4" attr: "b" } + shape_table: { fg: "#7890f0" attr: "b" } + shape_variable: "#f078d8" + + background: "#000000" + foreground: "#fdfdfd" + cursor: "#fdfdfd" +}} \ No newline at end of file diff --git a/themes/themes/ic-green-ppl.nu b/themes/themes/ic-green-ppl.nu index 36598bc..0798ea1 100644 --- a/themes/themes/ic-green-ppl.nu +++ b/themes/themes/ic-green-ppl.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ic_green-ppl theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#3a3d3f" - # foreground: "#d9efd3" - # cursor: "#d9efd3" - - { - # color for nushell primitives - separator: "#daefd0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#9fff6d" - empty: "#149b45" - bool: "#daefd0" - int: "#daefd0" - filesize: "#daefd0" - duration: "#daefd0" - date: "#daefd0" - range: "#daefd0" - float: "#daefd0" - string: "#daefd0" - nothing: "#daefd0" - binary: "#daefd0" - cellpath: "#daefd0" - row_index: "#9fff6d" - record: "#daefd0" - list: "#daefd0" - block: "#daefd0" - hints: "#032710" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#50ff3e" - shape_bool: "#22ff71" - shape_int: "#50ff3e" - shape_float: "#50ff3e" - shape_range: "#d2ff6d" - shape_internalcall: "#22ff71" - shape_external: "#2cb868" - shape_externalarg: "#9fff6d" - shape_literal: "#149b45" - shape_operator: "#659b25" - shape_signature: "#9fff6d" - shape_string: "#339c24" - shape_string_interpolation: "#22ff71" - shape_datetime: "#22ff71" - shape_list: "#22ff71" - shape_table: "#72ffb5" - shape_record: "#22ff71" - shape_block: "#72ffb5" - shape_filepath: "#2cb868" - shape_globpattern: "#22ff71" - shape_variable: "#53b82c" - shape_flag: "#72ffb5" - shape_custom: "#339c24" - shape_nothing: "#22ff71" +export def main [] { return { + separator: "#e0ffef" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#339c24" attr: "b" } + empty: "#149b45" + bool: {|| if $in { "#22ff71" } else { "light_gray" } } + int: "#e0ffef" + filesize: {|e| + if $e == 0b { + "#e0ffef" + } else if $e < 1mb { + "#2cb868" + } else {{ fg: "#149b45" }} } -} + duration: "#e0ffef" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb002a" attr: "b" } + } else if $in < 6hr { + "#fb002a" + } else if $in < 1day { + "#659b25" + } else if $in < 3day { + "#339c24" + } else if $in < 1wk { + { fg: "#339c24" attr: "b" } + } else if $in < 6wk { + "#2cb868" + } else if $in < 52wk { + "#149b45" + } else { "dark_gray" } + } + range: "#e0ffef" + float: "#e0ffef" + string: "#e0ffef" + nothing: "#e0ffef" + binary: "#e0ffef" + cellpath: "#e0ffef" + row_index: { fg: "#339c24" attr: "b" } + record: "#e0ffef" + list: "#e0ffef" + block: "#e0ffef" + hints: "dark_gray" + + shape_and: { fg: "#53b82c" attr: "b" } + shape_binary: { fg: "#53b82c" attr: "b" } + shape_block: { fg: "#149b45" attr: "b" } + shape_bool: "#22ff71" + shape_custom: "#339c24" + shape_datetime: { fg: "#2cb868" attr: "b" } + shape_directory: "#2cb868" + shape_external: "#2cb868" + shape_externalarg: { fg: "#339c24" attr: "b" } + shape_filepath: "#2cb868" + shape_flag: { fg: "#149b45" attr: "b" } + shape_float: { fg: "#53b82c" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2cb868" attr: "b" } + shape_int: { fg: "#53b82c" attr: "b" } + shape_internalcall: { fg: "#2cb868" attr: "b" } + shape_list: { fg: "#2cb868" attr: "b" } + shape_literal: "#149b45" + shape_match_pattern: "#339c24" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#22ff71" + shape_operator: "#659b25" + shape_or: { fg: "#53b82c" attr: "b" } + shape_pipe: { fg: "#53b82c" attr: "b" } + shape_range: { fg: "#659b25" attr: "b" } + shape_record: { fg: "#2cb868" attr: "b" } + shape_redirection: { fg: "#53b82c" attr: "b" } + shape_signature: { fg: "#339c24" attr: "b" } + shape_string: "#339c24" + shape_string_interpolation: { fg: "#2cb868" attr: "b" } + shape_table: { fg: "#149b45" attr: "b" } + shape_variable: "#53b82c" + + background: "#3a3d3f" + foreground: "#d9efd3" + cursor: "#d9efd3" +}} \ No newline at end of file diff --git a/themes/themes/ic-orange-ppl.nu b/themes/themes/ic-orange-ppl.nu index aa39268..4d860fe 100644 --- a/themes/themes/ic-orange-ppl.nu +++ b/themes/themes/ic-orange-ppl.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ic_orange-ppl theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#262626" - # foreground: "#ffcb83" - # cursor: "#ffcb83" - - { - # color for nushell primitives - separator: "#fafaff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#f6ff40" - empty: "#bd6d00" - bool: "#fafaff" - int: "#fafaff" - filesize: "#fafaff" - duration: "#fafaff" - date: "#fafaff" - range: "#fafaff" - float: "#fafaff" - string: "#fafaff" - nothing: "#fafaff" - binary: "#fafaff" - cellpath: "#fafaff" - row_index: "#f6ff40" - record: "#fafaff" - list: "#fafaff" - block: "#fafaff" - hints: "#6a4f2a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fc874f" - shape_bool: "#c69752" - shape_int: "#fc874f" - shape_float: "#fc874f" - shape_range: "#ffe36e" - shape_internalcall: "#c69752" - shape_external: "#f79500" - shape_externalarg: "#f6ff40" - shape_literal: "#bd6d00" - shape_operator: "#caaf00" - shape_signature: "#f6ff40" - shape_string: "#a4a900" - shape_string_interpolation: "#c69752" - shape_datetime: "#c69752" - shape_list: "#c69752" - shape_table: "#ffbe55" - shape_record: "#c69752" - shape_block: "#ffbe55" - shape_filepath: "#f79500" - shape_globpattern: "#c69752" - shape_variable: "#fc5e00" - shape_flag: "#ffbe55" - shape_custom: "#a4a900" - shape_nothing: "#c69752" +export def main [] { return { + separator: "#ffc88a" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a4a900" attr: "b" } + empty: "#bd6d00" + bool: {|| if $in { "#c69752" } else { "light_gray" } } + int: "#ffc88a" + filesize: {|e| + if $e == 0b { + "#ffc88a" + } else if $e < 1mb { + "#f79500" + } else {{ fg: "#bd6d00" }} } -} + duration: "#ffc88a" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c13900" attr: "b" } + } else if $in < 6hr { + "#c13900" + } else if $in < 1day { + "#caaf00" + } else if $in < 3day { + "#a4a900" + } else if $in < 1wk { + { fg: "#a4a900" attr: "b" } + } else if $in < 6wk { + "#f79500" + } else if $in < 52wk { + "#bd6d00" + } else { "dark_gray" } + } + range: "#ffc88a" + float: "#ffc88a" + string: "#ffc88a" + nothing: "#ffc88a" + binary: "#ffc88a" + cellpath: "#ffc88a" + row_index: { fg: "#a4a900" attr: "b" } + record: "#ffc88a" + list: "#ffc88a" + block: "#ffc88a" + hints: "dark_gray" + + shape_and: { fg: "#fc5e00" attr: "b" } + shape_binary: { fg: "#fc5e00" attr: "b" } + shape_block: { fg: "#bd6d00" attr: "b" } + shape_bool: "#c69752" + shape_custom: "#a4a900" + shape_datetime: { fg: "#f79500" attr: "b" } + shape_directory: "#f79500" + shape_external: "#f79500" + shape_externalarg: { fg: "#a4a900" attr: "b" } + shape_filepath: "#f79500" + shape_flag: { fg: "#bd6d00" attr: "b" } + shape_float: { fg: "#fc5e00" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#f79500" attr: "b" } + shape_int: { fg: "#fc5e00" attr: "b" } + shape_internalcall: { fg: "#f79500" attr: "b" } + shape_list: { fg: "#f79500" attr: "b" } + shape_literal: "#bd6d00" + shape_match_pattern: "#a4a900" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#c69752" + shape_operator: "#caaf00" + shape_or: { fg: "#fc5e00" attr: "b" } + shape_pipe: { fg: "#fc5e00" attr: "b" } + shape_range: { fg: "#caaf00" attr: "b" } + shape_record: { fg: "#f79500" attr: "b" } + shape_redirection: { fg: "#fc5e00" attr: "b" } + shape_signature: { fg: "#a4a900" attr: "b" } + shape_string: "#a4a900" + shape_string_interpolation: { fg: "#f79500" attr: "b" } + shape_table: { fg: "#bd6d00" attr: "b" } + shape_variable: "#fc5e00" + + background: "#262626" + foreground: "#ffcb83" + cursor: "#ffcb83" +}} \ No newline at end of file diff --git a/themes/themes/iceberg-light.nu b/themes/themes/iceberg-light.nu index 2f7ee28..1a0310e 100644 --- a/themes/themes/iceberg-light.nu +++ b/themes/themes/iceberg-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the iceberg_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#e8e9ec" - # foreground: "#33374c" - # cursor: "#33374c" - - { - # color for nushell primitives - separator: "#262a3f" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#598030" - empty: "#2d539e" - bool: "#262a3f" - int: "#262a3f" - filesize: "#262a3f" - duration: "#262a3f" - date: "#262a3f" - range: "#262a3f" - float: "#262a3f" - string: "#262a3f" - nothing: "#262a3f" - binary: "#262a3f" - cellpath: "#262a3f" - row_index: "#598030" - record: "#262a3f" - list: "#262a3f" - block: "#262a3f" - hints: "#8389a3" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6845ad" - shape_bool: "#327698" - shape_int: "#6845ad" - shape_float: "#6845ad" - shape_range: "#b6662d" - shape_internalcall: "#327698" - shape_external: "#3f83a6" - shape_externalarg: "#598030" - shape_literal: "#2d539e" - shape_operator: "#c57339" - shape_signature: "#598030" - shape_string: "#668e3d" - shape_string_interpolation: "#327698" - shape_datetime: "#327698" - shape_list: "#327698" - shape_table: "#22478e" - shape_record: "#327698" - shape_block: "#22478e" - shape_filepath: "#3f83a6" - shape_globpattern: "#327698" - shape_variable: "#7759b4" - shape_flag: "#22478e" - shape_custom: "#668e3d" - shape_nothing: "#327698" +export def main [] { return { + separator: "#33374c" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#668e3d" attr: "b" } + empty: "#2d539e" + bool: {|| if $in { "#327698" } else { "light_gray" } } + int: "#33374c" + filesize: {|e| + if $e == 0b { + "#33374c" + } else if $e < 1mb { + "#3f83a6" + } else {{ fg: "#2d539e" }} } -} + duration: "#33374c" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc517a" attr: "b" } + } else if $in < 6hr { + "#cc517a" + } else if $in < 1day { + "#c57339" + } else if $in < 3day { + "#668e3d" + } else if $in < 1wk { + { fg: "#668e3d" attr: "b" } + } else if $in < 6wk { + "#3f83a6" + } else if $in < 52wk { + "#2d539e" + } else { "dark_gray" } + } + range: "#33374c" + float: "#33374c" + string: "#33374c" + nothing: "#33374c" + binary: "#33374c" + cellpath: "#33374c" + row_index: { fg: "#668e3d" attr: "b" } + record: "#33374c" + list: "#33374c" + block: "#33374c" + hints: "dark_gray" + + shape_and: { fg: "#7759b4" attr: "b" } + shape_binary: { fg: "#7759b4" attr: "b" } + shape_block: { fg: "#2d539e" attr: "b" } + shape_bool: "#327698" + shape_custom: "#668e3d" + shape_datetime: { fg: "#3f83a6" attr: "b" } + shape_directory: "#3f83a6" + shape_external: "#3f83a6" + shape_externalarg: { fg: "#668e3d" attr: "b" } + shape_filepath: "#3f83a6" + shape_flag: { fg: "#2d539e" attr: "b" } + shape_float: { fg: "#7759b4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3f83a6" attr: "b" } + shape_int: { fg: "#7759b4" attr: "b" } + shape_internalcall: { fg: "#3f83a6" attr: "b" } + shape_list: { fg: "#3f83a6" attr: "b" } + shape_literal: "#2d539e" + shape_match_pattern: "#668e3d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#327698" + shape_operator: "#c57339" + shape_or: { fg: "#7759b4" attr: "b" } + shape_pipe: { fg: "#7759b4" attr: "b" } + shape_range: { fg: "#c57339" attr: "b" } + shape_record: { fg: "#3f83a6" attr: "b" } + shape_redirection: { fg: "#7759b4" attr: "b" } + shape_signature: { fg: "#668e3d" attr: "b" } + shape_string: "#668e3d" + shape_string_interpolation: { fg: "#3f83a6" attr: "b" } + shape_table: { fg: "#2d539e" attr: "b" } + shape_variable: "#7759b4" + + background: "#e8e9ec" + foreground: "#33374c" + cursor: "#33374c" +}} \ No newline at end of file diff --git a/themes/themes/icy.nu b/themes/themes/icy.nu index 1f50cd9..4888434 100644 --- a/themes/themes/icy.nu +++ b/themes/themes/icy.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the icy theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#021012" - # foreground: "#095b67" - # cursor: "#095b67" - - { - # color for nushell primitives - separator: "#109cb0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#4dd0e1" - empty: "#00bcd4" - bool: "#109cb0" - int: "#109cb0" - filesize: "#109cb0" - duration: "#109cb0" - date: "#109cb0" - range: "#109cb0" - float: "#109cb0" - string: "#109cb0" - nothing: "#109cb0" - binary: "#109cb0" - cellpath: "#109cb0" - row_index: "#4dd0e1" - record: "#109cb0" - list: "#109cb0" - block: "#109cb0" - hints: "#052e34" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#00acc1" - shape_bool: "#26c6da" - shape_int: "#00acc1" - shape_float: "#00acc1" - shape_range: "#80deea" - shape_internalcall: "#26c6da" - shape_external: "#26c6da" - shape_externalarg: "#4dd0e1" - shape_literal: "#00bcd4" - shape_operator: "#80deea" - shape_signature: "#4dd0e1" - shape_string: "#4dd0e1" - shape_string_interpolation: "#26c6da" - shape_datetime: "#26c6da" - shape_list: "#26c6da" - shape_table: "#00bcd4" - shape_record: "#26c6da" - shape_block: "#00bcd4" - shape_filepath: "#26c6da" - shape_globpattern: "#26c6da" - shape_variable: "#00acc1" - shape_flag: "#00bcd4" - shape_custom: "#4dd0e1" - shape_nothing: "#26c6da" +export def main [] { return { + separator: "#095b67" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4dd0e1" attr: "b" } + empty: "#00bcd4" + bool: {|| if $in { "#26c6da" } else { "light_gray" } } + int: "#095b67" + filesize: {|e| + if $e == 0b { + "#095b67" + } else if $e < 1mb { + "#26c6da" + } else {{ fg: "#00bcd4" }} } -} + duration: "#095b67" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#16c1d9" attr: "b" } + } else if $in < 6hr { + "#16c1d9" + } else if $in < 1day { + "#80deea" + } else if $in < 3day { + "#4dd0e1" + } else if $in < 1wk { + { fg: "#4dd0e1" attr: "b" } + } else if $in < 6wk { + "#26c6da" + } else if $in < 52wk { + "#00bcd4" + } else { "dark_gray" } + } + range: "#095b67" + float: "#095b67" + string: "#095b67" + nothing: "#095b67" + binary: "#095b67" + cellpath: "#095b67" + row_index: { fg: "#4dd0e1" attr: "b" } + record: "#095b67" + list: "#095b67" + block: "#095b67" + hints: "dark_gray" + + shape_and: { fg: "#00acc1" attr: "b" } + shape_binary: { fg: "#00acc1" attr: "b" } + shape_block: { fg: "#00bcd4" attr: "b" } + shape_bool: "#26c6da" + shape_custom: "#4dd0e1" + shape_datetime: { fg: "#26c6da" attr: "b" } + shape_directory: "#26c6da" + shape_external: "#26c6da" + shape_externalarg: { fg: "#4dd0e1" attr: "b" } + shape_filepath: "#26c6da" + shape_flag: { fg: "#00bcd4" attr: "b" } + shape_float: { fg: "#00acc1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#26c6da" attr: "b" } + shape_int: { fg: "#00acc1" attr: "b" } + shape_internalcall: { fg: "#26c6da" attr: "b" } + shape_list: { fg: "#26c6da" attr: "b" } + shape_literal: "#00bcd4" + shape_match_pattern: "#4dd0e1" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#26c6da" + shape_operator: "#80deea" + shape_or: { fg: "#00acc1" attr: "b" } + shape_pipe: { fg: "#00acc1" attr: "b" } + shape_range: { fg: "#80deea" attr: "b" } + shape_record: { fg: "#26c6da" attr: "b" } + shape_redirection: { fg: "#00acc1" attr: "b" } + shape_signature: { fg: "#4dd0e1" attr: "b" } + shape_string: "#4dd0e1" + shape_string_interpolation: { fg: "#26c6da" attr: "b" } + shape_table: { fg: "#00bcd4" attr: "b" } + shape_variable: "#00acc1" + + background: "#021012" + foreground: "#095b67" + cursor: "#095b67" +}} \ No newline at end of file diff --git a/themes/themes/idle-toes.nu b/themes/themes/idle-toes.nu index b943015..9ba95fd 100644 --- a/themes/themes/idle-toes.nu +++ b/themes/themes/idle-toes.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the idle_toes theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#323232" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#9dff91" - empty: "#4099ff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#9dff91" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#535353" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff9dff" - shape_bool: "#dcf4ff" - shape_int: "#ff9dff" - shape_float: "#ff9dff" - shape_range: "#ffe48b" - shape_internalcall: "#dcf4ff" - shape_external: "#bed6ff" - shape_externalarg: "#9dff91" - shape_literal: "#4099ff" - shape_operator: "#ffc66d" - shape_signature: "#9dff91" - shape_string: "#7fe173" - shape_string_interpolation: "#dcf4ff" - shape_datetime: "#dcf4ff" - shape_list: "#dcf4ff" - shape_table: "#5eb7f7" - shape_record: "#dcf4ff" - shape_block: "#5eb7f7" - shape_filepath: "#bed6ff" - shape_globpattern: "#dcf4ff" - shape_variable: "#f680ff" - shape_flag: "#5eb7f7" - shape_custom: "#7fe173" - shape_nothing: "#dcf4ff" +export def main [] { return { + separator: "#eeeeec" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7fe173" attr: "b" } + empty: "#4099ff" + bool: {|| if $in { "#dcf4ff" } else { "light_gray" } } + int: "#eeeeec" + filesize: {|e| + if $e == 0b { + "#eeeeec" + } else if $e < 1mb { + "#bed6ff" + } else {{ fg: "#4099ff" }} } -} + duration: "#eeeeec" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d25252" attr: "b" } + } else if $in < 6hr { + "#d25252" + } else if $in < 1day { + "#ffc66d" + } else if $in < 3day { + "#7fe173" + } else if $in < 1wk { + { fg: "#7fe173" attr: "b" } + } else if $in < 6wk { + "#bed6ff" + } else if $in < 52wk { + "#4099ff" + } else { "dark_gray" } + } + range: "#eeeeec" + float: "#eeeeec" + string: "#eeeeec" + nothing: "#eeeeec" + binary: "#eeeeec" + cellpath: "#eeeeec" + row_index: { fg: "#7fe173" attr: "b" } + record: "#eeeeec" + list: "#eeeeec" + block: "#eeeeec" + hints: "dark_gray" + + shape_and: { fg: "#f680ff" attr: "b" } + shape_binary: { fg: "#f680ff" attr: "b" } + shape_block: { fg: "#4099ff" attr: "b" } + shape_bool: "#dcf4ff" + shape_custom: "#7fe173" + shape_datetime: { fg: "#bed6ff" attr: "b" } + shape_directory: "#bed6ff" + shape_external: "#bed6ff" + shape_externalarg: { fg: "#7fe173" attr: "b" } + shape_filepath: "#bed6ff" + shape_flag: { fg: "#4099ff" attr: "b" } + shape_float: { fg: "#f680ff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#bed6ff" attr: "b" } + shape_int: { fg: "#f680ff" attr: "b" } + shape_internalcall: { fg: "#bed6ff" attr: "b" } + shape_list: { fg: "#bed6ff" attr: "b" } + shape_literal: "#4099ff" + shape_match_pattern: "#7fe173" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#dcf4ff" + shape_operator: "#ffc66d" + shape_or: { fg: "#f680ff" attr: "b" } + shape_pipe: { fg: "#f680ff" attr: "b" } + shape_range: { fg: "#ffc66d" attr: "b" } + shape_record: { fg: "#bed6ff" attr: "b" } + shape_redirection: { fg: "#f680ff" attr: "b" } + shape_signature: { fg: "#7fe173" attr: "b" } + shape_string: "#7fe173" + shape_string_interpolation: { fg: "#bed6ff" attr: "b" } + shape_table: { fg: "#4099ff" attr: "b" } + shape_variable: "#f680ff" + + background: "#323232" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/idm_3b.nu b/themes/themes/idm_3b.nu index c3af7ec..3ceaf92 100644 --- a/themes/themes/idm_3b.nu +++ b/themes/themes/idm_3b.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the idm_3b theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#200a28" - # foreground: "#ffcada" - # cursor: "#ffa0a0" - - { - # color for nushell primitives - separator: "#e0e0e0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#aaf0d0" - empty: "#408aca" - bool: "#e0e0e0" - int: "#e0e0e0" - filesize: "#e0e0e0" - duration: "#e0e0e0" - date: "#e0e0e0" - range: "#e0e0e0" - float: "#e0e0e0" - string: "#e0e0e0" - nothing: "#e0e0e0" - binary: "#e0e0e0" - cellpath: "#e0e0e0" - row_index: "#aaf0d0" - record: "#e0e0e0" - list: "#e0e0e0" - block: "#e0e0e0" - hints: "#b0b0b0" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ffb0d0" - shape_bool: "#caa0f0" - shape_int: "#ffb0d0" - shape_float: "#ffb0d0" - shape_range: "#ffda90" - shape_internalcall: "#caa0f0" - shape_external: "#a070e0" - shape_externalarg: "#aaf0d0" - shape_literal: "#408aca" - shape_operator: "#ffb060" - shape_signature: "#aaf0d0" - shape_string: "#70d0a0" - shape_string_interpolation: "#caa0f0" - shape_datetime: "#caa0f0" - shape_list: "#caa0f0" - shape_table: "#80baf0" - shape_record: "#caa0f0" - shape_block: "#80baf0" - shape_filepath: "#a070e0" - shape_globpattern: "#caa0f0" - shape_variable: "#ba5aba" - shape_flag: "#80baf0" - shape_custom: "#70d0a0" - shape_nothing: "#caa0f0" +export def main [] { return { + separator: "#606060" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#70d0a0" attr: "b" } + empty: "#408aca" + bool: {|| if $in { "#caa0f0" } else { "light_gray" } } + int: "#606060" + filesize: {|e| + if $e == 0b { + "#606060" + } else if $e < 1mb { + "#a070e0" + } else {{ fg: "#408aca" }} } -} + duration: "#606060" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b04060" attr: "b" } + } else if $in < 6hr { + "#b04060" + } else if $in < 1day { + "#ffb060" + } else if $in < 3day { + "#70d0a0" + } else if $in < 1wk { + { fg: "#70d0a0" attr: "b" } + } else if $in < 6wk { + "#a070e0" + } else if $in < 52wk { + "#408aca" + } else { "dark_gray" } + } + range: "#606060" + float: "#606060" + string: "#606060" + nothing: "#606060" + binary: "#606060" + cellpath: "#606060" + row_index: { fg: "#70d0a0" attr: "b" } + record: "#606060" + list: "#606060" + block: "#606060" + hints: "dark_gray" + + shape_and: { fg: "#ba5aba" attr: "b" } + shape_binary: { fg: "#ba5aba" attr: "b" } + shape_block: { fg: "#408aca" attr: "b" } + shape_bool: "#caa0f0" + shape_custom: "#70d0a0" + shape_datetime: { fg: "#a070e0" attr: "b" } + shape_directory: "#a070e0" + shape_external: "#a070e0" + shape_externalarg: { fg: "#70d0a0" attr: "b" } + shape_filepath: "#a070e0" + shape_flag: { fg: "#408aca" attr: "b" } + shape_float: { fg: "#ba5aba" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#a070e0" attr: "b" } + shape_int: { fg: "#ba5aba" attr: "b" } + shape_internalcall: { fg: "#a070e0" attr: "b" } + shape_list: { fg: "#a070e0" attr: "b" } + shape_literal: "#408aca" + shape_match_pattern: "#70d0a0" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#caa0f0" + shape_operator: "#ffb060" + shape_or: { fg: "#ba5aba" attr: "b" } + shape_pipe: { fg: "#ba5aba" attr: "b" } + shape_range: { fg: "#ffb060" attr: "b" } + shape_record: { fg: "#a070e0" attr: "b" } + shape_redirection: { fg: "#ba5aba" attr: "b" } + shape_signature: { fg: "#70d0a0" attr: "b" } + shape_string: "#70d0a0" + shape_string_interpolation: { fg: "#a070e0" attr: "b" } + shape_table: { fg: "#408aca" attr: "b" } + shape_variable: "#ba5aba" + + background: "#200a28" + foreground: "#ffcada" + cursor: "#ffa0a0" +}} \ No newline at end of file diff --git a/themes/themes/ir-black.nu b/themes/themes/ir-black.nu index 65e204a..1bb129a 100644 --- a/themes/themes/ir-black.nu +++ b/themes/themes/ir-black.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ir_black theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#b5b3aa" - # cursor: "#b5b3aa" - - { - # color for nushell primitives - separator: "#fdfbee" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a8ff60" - empty: "#96cbfe" - bool: "#fdfbee" - int: "#fdfbee" - filesize: "#fdfbee" - duration: "#fdfbee" - date: "#fdfbee" - range: "#fdfbee" - float: "#fdfbee" - string: "#fdfbee" - nothing: "#fdfbee" - binary: "#fdfbee" - cellpath: "#fdfbee" - row_index: "#a8ff60" - record: "#fdfbee" - list: "#fdfbee" - block: "#fdfbee" - hints: "#6c6c66" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff73fd" - shape_bool: "#c6c5fe" - shape_int: "#ff73fd" - shape_float: "#ff73fd" - shape_range: "#ffffb6" - shape_internalcall: "#c6c5fe" - shape_external: "#c6c5fe" - shape_externalarg: "#a8ff60" - shape_literal: "#96cbfe" - shape_operator: "#ffffb6" - shape_signature: "#a8ff60" - shape_string: "#a8ff60" - shape_string_interpolation: "#c6c5fe" - shape_datetime: "#c6c5fe" - shape_list: "#c6c5fe" - shape_table: "#96cbfe" - shape_record: "#c6c5fe" - shape_block: "#96cbfe" - shape_filepath: "#c6c5fe" - shape_globpattern: "#c6c5fe" - shape_variable: "#ff73fd" - shape_flag: "#96cbfe" - shape_custom: "#a8ff60" - shape_nothing: "#c6c5fe" +export def main [] { return { + separator: "#b5b3aa" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a8ff60" attr: "b" } + empty: "#96cbfe" + bool: {|| if $in { "#c6c5fe" } else { "light_gray" } } + int: "#b5b3aa" + filesize: {|e| + if $e == 0b { + "#b5b3aa" + } else if $e < 1mb { + "#c6c5fe" + } else {{ fg: "#96cbfe" }} } -} + duration: "#b5b3aa" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff6c60" attr: "b" } + } else if $in < 6hr { + "#ff6c60" + } else if $in < 1day { + "#ffffb6" + } else if $in < 3day { + "#a8ff60" + } else if $in < 1wk { + { fg: "#a8ff60" attr: "b" } + } else if $in < 6wk { + "#c6c5fe" + } else if $in < 52wk { + "#96cbfe" + } else { "dark_gray" } + } + range: "#b5b3aa" + float: "#b5b3aa" + string: "#b5b3aa" + nothing: "#b5b3aa" + binary: "#b5b3aa" + cellpath: "#b5b3aa" + row_index: { fg: "#a8ff60" attr: "b" } + record: "#b5b3aa" + list: "#b5b3aa" + block: "#b5b3aa" + hints: "dark_gray" + + shape_and: { fg: "#ff73fd" attr: "b" } + shape_binary: { fg: "#ff73fd" attr: "b" } + shape_block: { fg: "#96cbfe" attr: "b" } + shape_bool: "#c6c5fe" + shape_custom: "#a8ff60" + shape_datetime: { fg: "#c6c5fe" attr: "b" } + shape_directory: "#c6c5fe" + shape_external: "#c6c5fe" + shape_externalarg: { fg: "#a8ff60" attr: "b" } + shape_filepath: "#c6c5fe" + shape_flag: { fg: "#96cbfe" attr: "b" } + shape_float: { fg: "#ff73fd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#c6c5fe" attr: "b" } + shape_int: { fg: "#ff73fd" attr: "b" } + shape_internalcall: { fg: "#c6c5fe" attr: "b" } + shape_list: { fg: "#c6c5fe" attr: "b" } + shape_literal: "#96cbfe" + shape_match_pattern: "#a8ff60" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#c6c5fe" + shape_operator: "#ffffb6" + shape_or: { fg: "#ff73fd" attr: "b" } + shape_pipe: { fg: "#ff73fd" attr: "b" } + shape_range: { fg: "#ffffb6" attr: "b" } + shape_record: { fg: "#c6c5fe" attr: "b" } + shape_redirection: { fg: "#ff73fd" attr: "b" } + shape_signature: { fg: "#a8ff60" attr: "b" } + shape_string: "#a8ff60" + shape_string_interpolation: { fg: "#c6c5fe" attr: "b" } + shape_table: { fg: "#96cbfe" attr: "b" } + shape_variable: "#ff73fd" + + background: "#000000" + foreground: "#b5b3aa" + cursor: "#b5b3aa" +}} \ No newline at end of file diff --git a/themes/themes/irblack.nu b/themes/themes/irblack.nu index 8b761b4..1bb129a 100644 --- a/themes/themes/irblack.nu +++ b/themes/themes/irblack.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the irblack theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#b5b3aa" - # cursor: "#b5b3aa" - - { - # color for nushell primitives - separator: "#fdfbee" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a8ff60" - empty: "#96cbfe" - bool: "#fdfbee" - int: "#fdfbee" - filesize: "#fdfbee" - duration: "#fdfbee" - date: "#fdfbee" - range: "#fdfbee" - float: "#fdfbee" - string: "#fdfbee" - nothing: "#fdfbee" - binary: "#fdfbee" - cellpath: "#fdfbee" - row_index: "#a8ff60" - record: "#fdfbee" - list: "#fdfbee" - block: "#fdfbee" - hints: "#6c6c66" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff73fd" - shape_bool: "#c6c5fe" - shape_int: "#ff73fd" - shape_float: "#ff73fd" - shape_range: "#ffffb6" - shape_internalcall: "#c6c5fe" - shape_external: "#c6c5fe" - shape_externalarg: "#a8ff60" - shape_literal: "#96cbfe" - shape_operator: "#ffffb6" - shape_signature: "#a8ff60" - shape_string: "#a8ff60" - shape_string_interpolation: "#c6c5fe" - shape_datetime: "#c6c5fe" - shape_list: "#c6c5fe" - shape_table: "#96cbfe" - shape_record: "#c6c5fe" - shape_block: "#96cbfe" - shape_filepath: "#c6c5fe" - shape_globpattern: "#c6c5fe" - shape_variable: "#ff73fd" - shape_flag: "#96cbfe" - shape_custom: "#a8ff60" - shape_nothing: "#c6c5fe" +export def main [] { return { + separator: "#b5b3aa" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a8ff60" attr: "b" } + empty: "#96cbfe" + bool: {|| if $in { "#c6c5fe" } else { "light_gray" } } + int: "#b5b3aa" + filesize: {|e| + if $e == 0b { + "#b5b3aa" + } else if $e < 1mb { + "#c6c5fe" + } else {{ fg: "#96cbfe" }} } -} + duration: "#b5b3aa" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff6c60" attr: "b" } + } else if $in < 6hr { + "#ff6c60" + } else if $in < 1day { + "#ffffb6" + } else if $in < 3day { + "#a8ff60" + } else if $in < 1wk { + { fg: "#a8ff60" attr: "b" } + } else if $in < 6wk { + "#c6c5fe" + } else if $in < 52wk { + "#96cbfe" + } else { "dark_gray" } + } + range: "#b5b3aa" + float: "#b5b3aa" + string: "#b5b3aa" + nothing: "#b5b3aa" + binary: "#b5b3aa" + cellpath: "#b5b3aa" + row_index: { fg: "#a8ff60" attr: "b" } + record: "#b5b3aa" + list: "#b5b3aa" + block: "#b5b3aa" + hints: "dark_gray" + + shape_and: { fg: "#ff73fd" attr: "b" } + shape_binary: { fg: "#ff73fd" attr: "b" } + shape_block: { fg: "#96cbfe" attr: "b" } + shape_bool: "#c6c5fe" + shape_custom: "#a8ff60" + shape_datetime: { fg: "#c6c5fe" attr: "b" } + shape_directory: "#c6c5fe" + shape_external: "#c6c5fe" + shape_externalarg: { fg: "#a8ff60" attr: "b" } + shape_filepath: "#c6c5fe" + shape_flag: { fg: "#96cbfe" attr: "b" } + shape_float: { fg: "#ff73fd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#c6c5fe" attr: "b" } + shape_int: { fg: "#ff73fd" attr: "b" } + shape_internalcall: { fg: "#c6c5fe" attr: "b" } + shape_list: { fg: "#c6c5fe" attr: "b" } + shape_literal: "#96cbfe" + shape_match_pattern: "#a8ff60" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#c6c5fe" + shape_operator: "#ffffb6" + shape_or: { fg: "#ff73fd" attr: "b" } + shape_pipe: { fg: "#ff73fd" attr: "b" } + shape_range: { fg: "#ffffb6" attr: "b" } + shape_record: { fg: "#c6c5fe" attr: "b" } + shape_redirection: { fg: "#ff73fd" attr: "b" } + shape_signature: { fg: "#a8ff60" attr: "b" } + shape_string: "#a8ff60" + shape_string_interpolation: { fg: "#c6c5fe" attr: "b" } + shape_table: { fg: "#96cbfe" attr: "b" } + shape_variable: "#ff73fd" + + background: "#000000" + foreground: "#b5b3aa" + cursor: "#b5b3aa" +}} \ No newline at end of file diff --git a/themes/themes/isotope.nu b/themes/themes/isotope.nu index 4f201e5..b6e327a 100644 --- a/themes/themes/isotope.nu +++ b/themes/themes/isotope.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the isotope theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#d0d0d0" - # cursor: "#d0d0d0" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#33ff00" - empty: "#0066ff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#33ff00" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#808080" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#cc00ff" - shape_bool: "#00ffff" - shape_int: "#cc00ff" - shape_float: "#cc00ff" - shape_range: "#ff0099" - shape_internalcall: "#00ffff" - shape_external: "#00ffff" - shape_externalarg: "#33ff00" - shape_literal: "#0066ff" - shape_operator: "#ff0099" - shape_signature: "#33ff00" - shape_string: "#33ff00" - shape_string_interpolation: "#00ffff" - shape_datetime: "#00ffff" - shape_list: "#00ffff" - shape_table: "#0066ff" - shape_record: "#00ffff" - shape_block: "#0066ff" - shape_filepath: "#00ffff" - shape_globpattern: "#00ffff" - shape_variable: "#cc00ff" - shape_flag: "#0066ff" - shape_custom: "#33ff00" - shape_nothing: "#00ffff" +export def main [] { return { + separator: "#d0d0d0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#33ff00" attr: "b" } + empty: "#0066ff" + bool: {|| if $in { "#00ffff" } else { "light_gray" } } + int: "#d0d0d0" + filesize: {|e| + if $e == 0b { + "#d0d0d0" + } else if $e < 1mb { + "#00ffff" + } else {{ fg: "#0066ff" }} } -} + duration: "#d0d0d0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff0000" attr: "b" } + } else if $in < 6hr { + "#ff0000" + } else if $in < 1day { + "#ff0099" + } else if $in < 3day { + "#33ff00" + } else if $in < 1wk { + { fg: "#33ff00" attr: "b" } + } else if $in < 6wk { + "#00ffff" + } else if $in < 52wk { + "#0066ff" + } else { "dark_gray" } + } + range: "#d0d0d0" + float: "#d0d0d0" + string: "#d0d0d0" + nothing: "#d0d0d0" + binary: "#d0d0d0" + cellpath: "#d0d0d0" + row_index: { fg: "#33ff00" attr: "b" } + record: "#d0d0d0" + list: "#d0d0d0" + block: "#d0d0d0" + hints: "dark_gray" + + shape_and: { fg: "#cc00ff" attr: "b" } + shape_binary: { fg: "#cc00ff" attr: "b" } + shape_block: { fg: "#0066ff" attr: "b" } + shape_bool: "#00ffff" + shape_custom: "#33ff00" + shape_datetime: { fg: "#00ffff" attr: "b" } + shape_directory: "#00ffff" + shape_external: "#00ffff" + shape_externalarg: { fg: "#33ff00" attr: "b" } + shape_filepath: "#00ffff" + shape_flag: { fg: "#0066ff" attr: "b" } + shape_float: { fg: "#cc00ff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00ffff" attr: "b" } + shape_int: { fg: "#cc00ff" attr: "b" } + shape_internalcall: { fg: "#00ffff" attr: "b" } + shape_list: { fg: "#00ffff" attr: "b" } + shape_literal: "#0066ff" + shape_match_pattern: "#33ff00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00ffff" + shape_operator: "#ff0099" + shape_or: { fg: "#cc00ff" attr: "b" } + shape_pipe: { fg: "#cc00ff" attr: "b" } + shape_range: { fg: "#ff0099" attr: "b" } + shape_record: { fg: "#00ffff" attr: "b" } + shape_redirection: { fg: "#cc00ff" attr: "b" } + shape_signature: { fg: "#33ff00" attr: "b" } + shape_string: "#33ff00" + shape_string_interpolation: { fg: "#00ffff" attr: "b" } + shape_table: { fg: "#0066ff" attr: "b" } + shape_variable: "#cc00ff" + + background: "#000000" + foreground: "#d0d0d0" + cursor: "#d0d0d0" +}} \ No newline at end of file diff --git a/themes/themes/jackie-brown.nu b/themes/themes/jackie-brown.nu index 92b6bb0..0b206de 100644 --- a/themes/themes/jackie-brown.nu +++ b/themes/themes/jackie-brown.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the jackie_brown theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2c1d16" - # foreground: "#ffcc2f" - # cursor: "#ffcc2f" - - { - # color for nushell primitives - separator: "#e5e5e5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#86a93e" - empty: "#246eb2" - bool: "#e5e5e5" - int: "#e5e5e5" - filesize: "#e5e5e5" - duration: "#e5e5e5" - date: "#e5e5e5" - range: "#e5e5e5" - float: "#e5e5e5" - string: "#e5e5e5" - nothing: "#e5e5e5" - binary: "#e5e5e5" - cellpath: "#e5e5e5" - row_index: "#86a93e" - record: "#e5e5e5" - list: "#e5e5e5" - block: "#e5e5e5" - hints: "#666666" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e500e5" - shape_bool: "#00e5e5" - shape_int: "#e500e5" - shape_float: "#e500e5" - shape_range: "#e5e500" - shape_internalcall: "#00e5e5" - shape_external: "#00acee" - shape_externalarg: "#86a93e" - shape_literal: "#246eb2" - shape_operator: "#bebf00" - shape_signature: "#86a93e" - shape_string: "#2baf2b" - shape_string_interpolation: "#00e5e5" - shape_datetime: "#00e5e5" - shape_list: "#00e5e5" - shape_table: "#0000ff" - shape_record: "#00e5e5" - shape_block: "#0000ff" - shape_filepath: "#00acee" - shape_globpattern: "#00e5e5" - shape_variable: "#d05ec1" - shape_flag: "#0000ff" - shape_custom: "#2baf2b" - shape_nothing: "#00e5e5" +export def main [] { return { + separator: "#bfbfbf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#2baf2b" attr: "b" } + empty: "#246eb2" + bool: {|| if $in { "#00e5e5" } else { "light_gray" } } + int: "#bfbfbf" + filesize: {|e| + if $e == 0b { + "#bfbfbf" + } else if $e < 1mb { + "#00acee" + } else {{ fg: "#246eb2" }} } -} + duration: "#bfbfbf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ef5734" attr: "b" } + } else if $in < 6hr { + "#ef5734" + } else if $in < 1day { + "#bebf00" + } else if $in < 3day { + "#2baf2b" + } else if $in < 1wk { + { fg: "#2baf2b" attr: "b" } + } else if $in < 6wk { + "#00acee" + } else if $in < 52wk { + "#246eb2" + } else { "dark_gray" } + } + range: "#bfbfbf" + float: "#bfbfbf" + string: "#bfbfbf" + nothing: "#bfbfbf" + binary: "#bfbfbf" + cellpath: "#bfbfbf" + row_index: { fg: "#2baf2b" attr: "b" } + record: "#bfbfbf" + list: "#bfbfbf" + block: "#bfbfbf" + hints: "dark_gray" + + shape_and: { fg: "#d05ec1" attr: "b" } + shape_binary: { fg: "#d05ec1" attr: "b" } + shape_block: { fg: "#246eb2" attr: "b" } + shape_bool: "#00e5e5" + shape_custom: "#2baf2b" + shape_datetime: { fg: "#00acee" attr: "b" } + shape_directory: "#00acee" + shape_external: "#00acee" + shape_externalarg: { fg: "#2baf2b" attr: "b" } + shape_filepath: "#00acee" + shape_flag: { fg: "#246eb2" attr: "b" } + shape_float: { fg: "#d05ec1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00acee" attr: "b" } + shape_int: { fg: "#d05ec1" attr: "b" } + shape_internalcall: { fg: "#00acee" attr: "b" } + shape_list: { fg: "#00acee" attr: "b" } + shape_literal: "#246eb2" + shape_match_pattern: "#2baf2b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00e5e5" + shape_operator: "#bebf00" + shape_or: { fg: "#d05ec1" attr: "b" } + shape_pipe: { fg: "#d05ec1" attr: "b" } + shape_range: { fg: "#bebf00" attr: "b" } + shape_record: { fg: "#00acee" attr: "b" } + shape_redirection: { fg: "#d05ec1" attr: "b" } + shape_signature: { fg: "#2baf2b" attr: "b" } + shape_string: "#2baf2b" + shape_string_interpolation: { fg: "#00acee" attr: "b" } + shape_table: { fg: "#246eb2" attr: "b" } + shape_variable: "#d05ec1" + + background: "#2c1d16" + foreground: "#ffcc2f" + cursor: "#ffcc2f" +}} \ No newline at end of file diff --git a/themes/themes/japanesque.nu b/themes/themes/japanesque.nu index cba5b3e..529553e 100644 --- a/themes/themes/japanesque.nu +++ b/themes/themes/japanesque.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the japanesque theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1e1e1e" - # foreground: "#f7f6ec" - # cursor: "#f7f6ec" - - { - # color for nushell primitives - separator: "#b2b5ae" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#767f2c" - empty: "#4c9ad4" - bool: "#b2b5ae" - int: "#b2b5ae" - filesize: "#b2b5ae" - duration: "#b2b5ae" - date: "#b2b5ae" - range: "#b2b5ae" - float: "#b2b5ae" - string: "#b2b5ae" - nothing: "#b2b5ae" - binary: "#b2b5ae" - cellpath: "#b2b5ae" - row_index: "#767f2c" - record: "#b2b5ae" - list: "#b2b5ae" - block: "#b2b5ae" - hints: "#595b59" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#604291" - shape_bool: "#76bbca" - shape_int: "#604291" - shape_float: "#604291" - shape_range: "#78592f" - shape_internalcall: "#76bbca" - shape_external: "#389aad" - shape_externalarg: "#767f2c" - shape_literal: "#4c9ad4" - shape_operator: "#e9b32a" - shape_signature: "#767f2c" - shape_string: "#7bb75b" - shape_string_interpolation: "#76bbca" - shape_datetime: "#76bbca" - shape_list: "#76bbca" - shape_table: "#135979" - shape_record: "#76bbca" - shape_block: "#135979" - shape_filepath: "#389aad" - shape_globpattern: "#76bbca" - shape_variable: "#a57fc4" - shape_flag: "#135979" - shape_custom: "#7bb75b" - shape_nothing: "#76bbca" +export def main [] { return { + separator: "#fafaf6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7bb75b" attr: "b" } + empty: "#4c9ad4" + bool: {|| if $in { "#76bbca" } else { "light_gray" } } + int: "#fafaf6" + filesize: {|e| + if $e == 0b { + "#fafaf6" + } else if $e < 1mb { + "#389aad" + } else {{ fg: "#4c9ad4" }} } -} + duration: "#fafaf6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cf3f61" attr: "b" } + } else if $in < 6hr { + "#cf3f61" + } else if $in < 1day { + "#e9b32a" + } else if $in < 3day { + "#7bb75b" + } else if $in < 1wk { + { fg: "#7bb75b" attr: "b" } + } else if $in < 6wk { + "#389aad" + } else if $in < 52wk { + "#4c9ad4" + } else { "dark_gray" } + } + range: "#fafaf6" + float: "#fafaf6" + string: "#fafaf6" + nothing: "#fafaf6" + binary: "#fafaf6" + cellpath: "#fafaf6" + row_index: { fg: "#7bb75b" attr: "b" } + record: "#fafaf6" + list: "#fafaf6" + block: "#fafaf6" + hints: "dark_gray" + + shape_and: { fg: "#a57fc4" attr: "b" } + shape_binary: { fg: "#a57fc4" attr: "b" } + shape_block: { fg: "#4c9ad4" attr: "b" } + shape_bool: "#76bbca" + shape_custom: "#7bb75b" + shape_datetime: { fg: "#389aad" attr: "b" } + shape_directory: "#389aad" + shape_external: "#389aad" + shape_externalarg: { fg: "#7bb75b" attr: "b" } + shape_filepath: "#389aad" + shape_flag: { fg: "#4c9ad4" attr: "b" } + shape_float: { fg: "#a57fc4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#389aad" attr: "b" } + shape_int: { fg: "#a57fc4" attr: "b" } + shape_internalcall: { fg: "#389aad" attr: "b" } + shape_list: { fg: "#389aad" attr: "b" } + shape_literal: "#4c9ad4" + shape_match_pattern: "#7bb75b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#76bbca" + shape_operator: "#e9b32a" + shape_or: { fg: "#a57fc4" attr: "b" } + shape_pipe: { fg: "#a57fc4" attr: "b" } + shape_range: { fg: "#e9b32a" attr: "b" } + shape_record: { fg: "#389aad" attr: "b" } + shape_redirection: { fg: "#a57fc4" attr: "b" } + shape_signature: { fg: "#7bb75b" attr: "b" } + shape_string: "#7bb75b" + shape_string_interpolation: { fg: "#389aad" attr: "b" } + shape_table: { fg: "#4c9ad4" attr: "b" } + shape_variable: "#a57fc4" + + background: "#1e1e1e" + foreground: "#f7f6ec" + cursor: "#f7f6ec" +}} \ No newline at end of file diff --git a/themes/themes/jellybeans.nu b/themes/themes/jellybeans.nu index 880cedb..9ea29ed 100644 --- a/themes/themes/jellybeans.nu +++ b/themes/themes/jellybeans.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the jellybeans theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#121212" - # foreground: "#dedede" - # cursor: "#dedede" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#bddeab" - empty: "#97bedc" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#bddeab" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#bdbdbd" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fbdaff" - shape_bool: "#1ab2a8" - shape_int: "#fbdaff" - shape_float: "#fbdaff" - shape_range: "#ffdca0" - shape_internalcall: "#1ab2a8" - shape_external: "#00988e" - shape_externalarg: "#bddeab" - shape_literal: "#97bedc" - shape_operator: "#ffba7b" - shape_signature: "#bddeab" - shape_string: "#94b979" - shape_string_interpolation: "#1ab2a8" - shape_datetime: "#1ab2a8" - shape_list: "#1ab2a8" - shape_table: "#b1d8f6" - shape_record: "#1ab2a8" - shape_block: "#b1d8f6" - shape_filepath: "#00988e" - shape_globpattern: "#1ab2a8" - shape_variable: "#e1c0fa" - shape_flag: "#b1d8f6" - shape_custom: "#94b979" - shape_nothing: "#1ab2a8" +export def main [] { return { + separator: "#dedede" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#94b979" attr: "b" } + empty: "#97bedc" + bool: {|| if $in { "#1ab2a8" } else { "light_gray" } } + int: "#dedede" + filesize: {|e| + if $e == 0b { + "#dedede" + } else if $e < 1mb { + "#00988e" + } else {{ fg: "#97bedc" }} } -} + duration: "#dedede" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e27373" attr: "b" } + } else if $in < 6hr { + "#e27373" + } else if $in < 1day { + "#ffba7b" + } else if $in < 3day { + "#94b979" + } else if $in < 1wk { + { fg: "#94b979" attr: "b" } + } else if $in < 6wk { + "#00988e" + } else if $in < 52wk { + "#97bedc" + } else { "dark_gray" } + } + range: "#dedede" + float: "#dedede" + string: "#dedede" + nothing: "#dedede" + binary: "#dedede" + cellpath: "#dedede" + row_index: { fg: "#94b979" attr: "b" } + record: "#dedede" + list: "#dedede" + block: "#dedede" + hints: "dark_gray" + + shape_and: { fg: "#e1c0fa" attr: "b" } + shape_binary: { fg: "#e1c0fa" attr: "b" } + shape_block: { fg: "#97bedc" attr: "b" } + shape_bool: "#1ab2a8" + shape_custom: "#94b979" + shape_datetime: { fg: "#00988e" attr: "b" } + shape_directory: "#00988e" + shape_external: "#00988e" + shape_externalarg: { fg: "#94b979" attr: "b" } + shape_filepath: "#00988e" + shape_flag: { fg: "#97bedc" attr: "b" } + shape_float: { fg: "#e1c0fa" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00988e" attr: "b" } + shape_int: { fg: "#e1c0fa" attr: "b" } + shape_internalcall: { fg: "#00988e" attr: "b" } + shape_list: { fg: "#00988e" attr: "b" } + shape_literal: "#97bedc" + shape_match_pattern: "#94b979" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1ab2a8" + shape_operator: "#ffba7b" + shape_or: { fg: "#e1c0fa" attr: "b" } + shape_pipe: { fg: "#e1c0fa" attr: "b" } + shape_range: { fg: "#ffba7b" attr: "b" } + shape_record: { fg: "#00988e" attr: "b" } + shape_redirection: { fg: "#e1c0fa" attr: "b" } + shape_signature: { fg: "#94b979" attr: "b" } + shape_string: "#94b979" + shape_string_interpolation: { fg: "#00988e" attr: "b" } + shape_table: { fg: "#97bedc" attr: "b" } + shape_variable: "#e1c0fa" + + background: "#121212" + foreground: "#dedede" + cursor: "#dedede" +}} \ No newline at end of file diff --git a/themes/themes/jet-brains-darcula.nu b/themes/themes/jet-brains-darcula.nu index 40a7310..78bff24 100644 --- a/themes/themes/jet-brains-darcula.nu +++ b/themes/themes/jet-brains-darcula.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the jet_brains-darcula theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#202020" - # foreground: "#adadad" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#eeeeee" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#67ff4f" - empty: "#4581eb" - bool: "#eeeeee" - int: "#eeeeee" - filesize: "#eeeeee" - duration: "#eeeeee" - date: "#eeeeee" - range: "#eeeeee" - float: "#eeeeee" - string: "#eeeeee" - nothing: "#eeeeee" - binary: "#eeeeee" - cellpath: "#eeeeee" - row_index: "#67ff4f" - record: "#eeeeee" - list: "#eeeeee" - block: "#eeeeee" - hints: "#545454" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fb82ff" - shape_bool: "#60d3d1" - shape_int: "#fb82ff" - shape_float: "#fb82ff" - shape_range: "#ffff00" - shape_internalcall: "#60d3d1" - shape_external: "#33c2c1" - shape_externalarg: "#67ff4f" - shape_literal: "#4581eb" - shape_operator: "#c2c300" - shape_signature: "#67ff4f" - shape_string: "#126e00" - shape_string_interpolation: "#60d3d1" - shape_datetime: "#60d3d1" - shape_list: "#60d3d1" - shape_table: "#6d9df1" - shape_record: "#60d3d1" - shape_block: "#6d9df1" - shape_filepath: "#33c2c1" - shape_globpattern: "#60d3d1" - shape_variable: "#fa54ff" - shape_flag: "#6d9df1" - shape_custom: "#126e00" - shape_nothing: "#60d3d1" +export def main [] { return { + separator: "#adadad" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#126e00" attr: "b" } + empty: "#4581eb" + bool: {|| if $in { "#60d3d1" } else { "light_gray" } } + int: "#adadad" + filesize: {|e| + if $e == 0b { + "#adadad" + } else if $e < 1mb { + "#33c2c1" + } else {{ fg: "#4581eb" }} } -} + duration: "#adadad" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fa5355" attr: "b" } + } else if $in < 6hr { + "#fa5355" + } else if $in < 1day { + "#c2c300" + } else if $in < 3day { + "#126e00" + } else if $in < 1wk { + { fg: "#126e00" attr: "b" } + } else if $in < 6wk { + "#33c2c1" + } else if $in < 52wk { + "#4581eb" + } else { "dark_gray" } + } + range: "#adadad" + float: "#adadad" + string: "#adadad" + nothing: "#adadad" + binary: "#adadad" + cellpath: "#adadad" + row_index: { fg: "#126e00" attr: "b" } + record: "#adadad" + list: "#adadad" + block: "#adadad" + hints: "dark_gray" + + shape_and: { fg: "#fa54ff" attr: "b" } + shape_binary: { fg: "#fa54ff" attr: "b" } + shape_block: { fg: "#4581eb" attr: "b" } + shape_bool: "#60d3d1" + shape_custom: "#126e00" + shape_datetime: { fg: "#33c2c1" attr: "b" } + shape_directory: "#33c2c1" + shape_external: "#33c2c1" + shape_externalarg: { fg: "#126e00" attr: "b" } + shape_filepath: "#33c2c1" + shape_flag: { fg: "#4581eb" attr: "b" } + shape_float: { fg: "#fa54ff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#33c2c1" attr: "b" } + shape_int: { fg: "#fa54ff" attr: "b" } + shape_internalcall: { fg: "#33c2c1" attr: "b" } + shape_list: { fg: "#33c2c1" attr: "b" } + shape_literal: "#4581eb" + shape_match_pattern: "#126e00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#60d3d1" + shape_operator: "#c2c300" + shape_or: { fg: "#fa54ff" attr: "b" } + shape_pipe: { fg: "#fa54ff" attr: "b" } + shape_range: { fg: "#c2c300" attr: "b" } + shape_record: { fg: "#33c2c1" attr: "b" } + shape_redirection: { fg: "#fa54ff" attr: "b" } + shape_signature: { fg: "#126e00" attr: "b" } + shape_string: "#126e00" + shape_string_interpolation: { fg: "#33c2c1" attr: "b" } + shape_table: { fg: "#4581eb" attr: "b" } + shape_variable: "#fa54ff" + + background: "#202020" + foreground: "#adadad" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/jup.nu b/themes/themes/jup.nu index 263be93..0d0c2e1 100644 --- a/themes/themes/jup.nu +++ b/themes/themes/jup.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the jup theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#758480" - # foreground: "#23476a" - # cursor: "#23476a" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b9ff74" - empty: "#006fdd" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#b9ff74" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#7d7d7d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b974ff" - shape_bool: "#74ffb9" - shape_int: "#b974ff" - shape_float: "#b974ff" - shape_range: "#ffb974" - shape_internalcall: "#74ffb9" - shape_external: "#00dd6f" - shape_externalarg: "#b9ff74" - shape_literal: "#006fdd" - shape_operator: "#dd6f00" - shape_signature: "#b9ff74" - shape_string: "#6fdd00" - shape_string_interpolation: "#74ffb9" - shape_datetime: "#74ffb9" - shape_list: "#74ffb9" - shape_table: "#74b9ff" - shape_record: "#74ffb9" - shape_block: "#74b9ff" - shape_filepath: "#00dd6f" - shape_globpattern: "#74ffb9" - shape_variable: "#6f00dd" - shape_flag: "#74b9ff" - shape_custom: "#6fdd00" - shape_nothing: "#74ffb9" +export def main [] { return { + separator: "#f2f2f2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6fdd00" attr: "b" } + empty: "#006fdd" + bool: {|| if $in { "#74ffb9" } else { "light_gray" } } + int: "#f2f2f2" + filesize: {|e| + if $e == 0b { + "#f2f2f2" + } else if $e < 1mb { + "#00dd6f" + } else {{ fg: "#006fdd" }} } -} + duration: "#f2f2f2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#dd006f" attr: "b" } + } else if $in < 6hr { + "#dd006f" + } else if $in < 1day { + "#dd6f00" + } else if $in < 3day { + "#6fdd00" + } else if $in < 1wk { + { fg: "#6fdd00" attr: "b" } + } else if $in < 6wk { + "#00dd6f" + } else if $in < 52wk { + "#006fdd" + } else { "dark_gray" } + } + range: "#f2f2f2" + float: "#f2f2f2" + string: "#f2f2f2" + nothing: "#f2f2f2" + binary: "#f2f2f2" + cellpath: "#f2f2f2" + row_index: { fg: "#6fdd00" attr: "b" } + record: "#f2f2f2" + list: "#f2f2f2" + block: "#f2f2f2" + hints: "dark_gray" + + shape_and: { fg: "#6f00dd" attr: "b" } + shape_binary: { fg: "#6f00dd" attr: "b" } + shape_block: { fg: "#006fdd" attr: "b" } + shape_bool: "#74ffb9" + shape_custom: "#6fdd00" + shape_datetime: { fg: "#00dd6f" attr: "b" } + shape_directory: "#00dd6f" + shape_external: "#00dd6f" + shape_externalarg: { fg: "#6fdd00" attr: "b" } + shape_filepath: "#00dd6f" + shape_flag: { fg: "#006fdd" attr: "b" } + shape_float: { fg: "#6f00dd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00dd6f" attr: "b" } + shape_int: { fg: "#6f00dd" attr: "b" } + shape_internalcall: { fg: "#00dd6f" attr: "b" } + shape_list: { fg: "#00dd6f" attr: "b" } + shape_literal: "#006fdd" + shape_match_pattern: "#6fdd00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#74ffb9" + shape_operator: "#dd6f00" + shape_or: { fg: "#6f00dd" attr: "b" } + shape_pipe: { fg: "#6f00dd" attr: "b" } + shape_range: { fg: "#dd6f00" attr: "b" } + shape_record: { fg: "#00dd6f" attr: "b" } + shape_redirection: { fg: "#6f00dd" attr: "b" } + shape_signature: { fg: "#6fdd00" attr: "b" } + shape_string: "#6fdd00" + shape_string_interpolation: { fg: "#00dd6f" attr: "b" } + shape_table: { fg: "#006fdd" attr: "b" } + shape_variable: "#6f00dd" + + background: "#758480" + foreground: "#23476a" + cursor: "#23476a" +}} \ No newline at end of file diff --git a/themes/themes/kibble.nu b/themes/themes/kibble.nu index 931d598..8c45004 100644 --- a/themes/themes/kibble.nu +++ b/themes/themes/kibble.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the kibble theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0e100a" - # foreground: "#f7f7f7" - # cursor: "#f7f7f7" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#6ce05c" - empty: "#3449d1" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#6ce05c" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#5a5a5a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c495f0" - shape_bool: "#68f2e0" - shape_int: "#c495f0" - shape_float: "#c495f0" - shape_range: "#f3f79e" - shape_internalcall: "#68f2e0" - shape_external: "#0798ab" - shape_externalarg: "#6ce05c" - shape_literal: "#3449d1" - shape_operator: "#d8e30e" - shape_signature: "#6ce05c" - shape_string: "#29cf13" - shape_string_interpolation: "#68f2e0" - shape_datetime: "#68f2e0" - shape_list: "#68f2e0" - shape_table: "#97a4f7" - shape_record: "#68f2e0" - shape_block: "#97a4f7" - shape_filepath: "#0798ab" - shape_globpattern: "#68f2e0" - shape_variable: "#8400ff" - shape_flag: "#97a4f7" - shape_custom: "#29cf13" - shape_nothing: "#68f2e0" +export def main [] { return { + separator: "#e2d1e3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#29cf13" attr: "b" } + empty: "#3449d1" + bool: {|| if $in { "#68f2e0" } else { "light_gray" } } + int: "#e2d1e3" + filesize: {|e| + if $e == 0b { + "#e2d1e3" + } else if $e < 1mb { + "#0798ab" + } else {{ fg: "#3449d1" }} } -} + duration: "#e2d1e3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c70031" attr: "b" } + } else if $in < 6hr { + "#c70031" + } else if $in < 1day { + "#d8e30e" + } else if $in < 3day { + "#29cf13" + } else if $in < 1wk { + { fg: "#29cf13" attr: "b" } + } else if $in < 6wk { + "#0798ab" + } else if $in < 52wk { + "#3449d1" + } else { "dark_gray" } + } + range: "#e2d1e3" + float: "#e2d1e3" + string: "#e2d1e3" + nothing: "#e2d1e3" + binary: "#e2d1e3" + cellpath: "#e2d1e3" + row_index: { fg: "#29cf13" attr: "b" } + record: "#e2d1e3" + list: "#e2d1e3" + block: "#e2d1e3" + hints: "dark_gray" + + shape_and: { fg: "#8400ff" attr: "b" } + shape_binary: { fg: "#8400ff" attr: "b" } + shape_block: { fg: "#3449d1" attr: "b" } + shape_bool: "#68f2e0" + shape_custom: "#29cf13" + shape_datetime: { fg: "#0798ab" attr: "b" } + shape_directory: "#0798ab" + shape_external: "#0798ab" + shape_externalarg: { fg: "#29cf13" attr: "b" } + shape_filepath: "#0798ab" + shape_flag: { fg: "#3449d1" attr: "b" } + shape_float: { fg: "#8400ff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0798ab" attr: "b" } + shape_int: { fg: "#8400ff" attr: "b" } + shape_internalcall: { fg: "#0798ab" attr: "b" } + shape_list: { fg: "#0798ab" attr: "b" } + shape_literal: "#3449d1" + shape_match_pattern: "#29cf13" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#68f2e0" + shape_operator: "#d8e30e" + shape_or: { fg: "#8400ff" attr: "b" } + shape_pipe: { fg: "#8400ff" attr: "b" } + shape_range: { fg: "#d8e30e" attr: "b" } + shape_record: { fg: "#0798ab" attr: "b" } + shape_redirection: { fg: "#8400ff" attr: "b" } + shape_signature: { fg: "#29cf13" attr: "b" } + shape_string: "#29cf13" + shape_string_interpolation: { fg: "#0798ab" attr: "b" } + shape_table: { fg: "#3449d1" attr: "b" } + shape_variable: "#8400ff" + + background: "#0e100a" + foreground: "#f7f7f7" + cursor: "#f7f7f7" +}} \ No newline at end of file diff --git a/themes/themes/kimber.nu b/themes/themes/kimber.nu index 6522973..e1b6ed7 100644 --- a/themes/themes/kimber.nu +++ b/themes/themes/kimber.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the kimber theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222222" - # foreground: "#dedee7" - # cursor: "#dedee7" - - { - # color for nushell primitives - separator: "#ffffe6" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#99c899" - empty: "#537c9c" - bool: "#ffffe6" - int: "#ffffe6" - filesize: "#ffffe6" - duration: "#ffffe6" - date: "#ffffe6" - range: "#ffffe6" - float: "#ffffe6" - string: "#ffffe6" - nothing: "#ffffe6" - binary: "#ffffe6" - cellpath: "#ffffe6" - row_index: "#99c899" - record: "#ffffe6" - list: "#ffffe6" - block: "#ffffe6" - hints: "#644646" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#86cacd" - shape_bool: "#78b4b4" - shape_int: "#86cacd" - shape_float: "#86cacd" - shape_range: "#d8b56d" - shape_internalcall: "#78b4b4" - shape_external: "#78b4b4" - shape_externalarg: "#99c899" - shape_literal: "#537c9c" - shape_operator: "#d8b56d" - shape_signature: "#99c899" - shape_string: "#99c899" - shape_string_interpolation: "#78b4b4" - shape_datetime: "#78b4b4" - shape_list: "#78b4b4" - shape_table: "#537c9c" - shape_record: "#78b4b4" - shape_block: "#537c9c" - shape_filepath: "#78b4b4" - shape_globpattern: "#78b4b4" - shape_variable: "#86cacd" - shape_flag: "#537c9c" - shape_custom: "#99c899" - shape_nothing: "#78b4b4" +export def main [] { return { + separator: "#dedee7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#99c899" attr: "b" } + empty: "#537c9c" + bool: {|| if $in { "#78b4b4" } else { "light_gray" } } + int: "#dedee7" + filesize: {|e| + if $e == 0b { + "#dedee7" + } else if $e < 1mb { + "#78b4b4" + } else {{ fg: "#537c9c" }} } -} + duration: "#dedee7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c88c8c" attr: "b" } + } else if $in < 6hr { + "#c88c8c" + } else if $in < 1day { + "#d8b56d" + } else if $in < 3day { + "#99c899" + } else if $in < 1wk { + { fg: "#99c899" attr: "b" } + } else if $in < 6wk { + "#78b4b4" + } else if $in < 52wk { + "#537c9c" + } else { "dark_gray" } + } + range: "#dedee7" + float: "#dedee7" + string: "#dedee7" + nothing: "#dedee7" + binary: "#dedee7" + cellpath: "#dedee7" + row_index: { fg: "#99c899" attr: "b" } + record: "#dedee7" + list: "#dedee7" + block: "#dedee7" + hints: "dark_gray" + + shape_and: { fg: "#86cacd" attr: "b" } + shape_binary: { fg: "#86cacd" attr: "b" } + shape_block: { fg: "#537c9c" attr: "b" } + shape_bool: "#78b4b4" + shape_custom: "#99c899" + shape_datetime: { fg: "#78b4b4" attr: "b" } + shape_directory: "#78b4b4" + shape_external: "#78b4b4" + shape_externalarg: { fg: "#99c899" attr: "b" } + shape_filepath: "#78b4b4" + shape_flag: { fg: "#537c9c" attr: "b" } + shape_float: { fg: "#86cacd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#78b4b4" attr: "b" } + shape_int: { fg: "#86cacd" attr: "b" } + shape_internalcall: { fg: "#78b4b4" attr: "b" } + shape_list: { fg: "#78b4b4" attr: "b" } + shape_literal: "#537c9c" + shape_match_pattern: "#99c899" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#78b4b4" + shape_operator: "#d8b56d" + shape_or: { fg: "#86cacd" attr: "b" } + shape_pipe: { fg: "#86cacd" attr: "b" } + shape_range: { fg: "#d8b56d" attr: "b" } + shape_record: { fg: "#78b4b4" attr: "b" } + shape_redirection: { fg: "#86cacd" attr: "b" } + shape_signature: { fg: "#99c899" attr: "b" } + shape_string: "#99c899" + shape_string_interpolation: { fg: "#78b4b4" attr: "b" } + shape_table: { fg: "#537c9c" attr: "b" } + shape_variable: "#86cacd" + + background: "#222222" + foreground: "#dedee7" + cursor: "#dedee7" +}} \ No newline at end of file diff --git a/themes/themes/later-this-evening.nu b/themes/themes/later-this-evening.nu index 4667dde..f962199 100644 --- a/themes/themes/later-this-evening.nu +++ b/themes/themes/later-this-evening.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the later_this-evening theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222222" - # foreground: "#959595" - # cursor: "#959595" - - { - # color for nushell primitives - separator: "#c1c2c2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#aabb39" - empty: "#a0bad6" - bool: "#c1c2c2" - int: "#c1c2c2" - filesize: "#c1c2c2" - duration: "#c1c2c2" - date: "#c1c2c2" - range: "#c1c2c2" - float: "#c1c2c2" - string: "#c1c2c2" - nothing: "#c1c2c2" - binary: "#c1c2c2" - cellpath: "#c1c2c2" - row_index: "#aabb39" - record: "#c1c2c2" - list: "#c1c2c2" - block: "#c1c2c2" - hints: "#454747" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ab53d6" - shape_bool: "#5fc0ae" - shape_int: "#ab53d6" - shape_float: "#ab53d6" - shape_range: "#e5be39" - shape_internalcall: "#5fc0ae" - shape_external: "#91bfb7" - shape_externalarg: "#aabb39" - shape_literal: "#a0bad6" - shape_operator: "#e5d289" - shape_signature: "#aabb39" - shape_string: "#afba67" - shape_string_interpolation: "#5fc0ae" - shape_datetime: "#5fc0ae" - shape_list: "#5fc0ae" - shape_table: "#6699d6" - shape_record: "#5fc0ae" - shape_block: "#6699d6" - shape_filepath: "#91bfb7" - shape_globpattern: "#5fc0ae" - shape_variable: "#c092d6" - shape_flag: "#6699d6" - shape_custom: "#afba67" - shape_nothing: "#5fc0ae" +export def main [] { return { + separator: "#3c3d3d" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#afba67" attr: "b" } + empty: "#a0bad6" + bool: {|| if $in { "#5fc0ae" } else { "light_gray" } } + int: "#3c3d3d" + filesize: {|e| + if $e == 0b { + "#3c3d3d" + } else if $e < 1mb { + "#91bfb7" + } else {{ fg: "#a0bad6" }} } -} + duration: "#3c3d3d" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d45a60" attr: "b" } + } else if $in < 6hr { + "#d45a60" + } else if $in < 1day { + "#e5d289" + } else if $in < 3day { + "#afba67" + } else if $in < 1wk { + { fg: "#afba67" attr: "b" } + } else if $in < 6wk { + "#91bfb7" + } else if $in < 52wk { + "#a0bad6" + } else { "dark_gray" } + } + range: "#3c3d3d" + float: "#3c3d3d" + string: "#3c3d3d" + nothing: "#3c3d3d" + binary: "#3c3d3d" + cellpath: "#3c3d3d" + row_index: { fg: "#afba67" attr: "b" } + record: "#3c3d3d" + list: "#3c3d3d" + block: "#3c3d3d" + hints: "dark_gray" + + shape_and: { fg: "#c092d6" attr: "b" } + shape_binary: { fg: "#c092d6" attr: "b" } + shape_block: { fg: "#a0bad6" attr: "b" } + shape_bool: "#5fc0ae" + shape_custom: "#afba67" + shape_datetime: { fg: "#91bfb7" attr: "b" } + shape_directory: "#91bfb7" + shape_external: "#91bfb7" + shape_externalarg: { fg: "#afba67" attr: "b" } + shape_filepath: "#91bfb7" + shape_flag: { fg: "#a0bad6" attr: "b" } + shape_float: { fg: "#c092d6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#91bfb7" attr: "b" } + shape_int: { fg: "#c092d6" attr: "b" } + shape_internalcall: { fg: "#91bfb7" attr: "b" } + shape_list: { fg: "#91bfb7" attr: "b" } + shape_literal: "#a0bad6" + shape_match_pattern: "#afba67" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5fc0ae" + shape_operator: "#e5d289" + shape_or: { fg: "#c092d6" attr: "b" } + shape_pipe: { fg: "#c092d6" attr: "b" } + shape_range: { fg: "#e5d289" attr: "b" } + shape_record: { fg: "#91bfb7" attr: "b" } + shape_redirection: { fg: "#c092d6" attr: "b" } + shape_signature: { fg: "#afba67" attr: "b" } + shape_string: "#afba67" + shape_string_interpolation: { fg: "#91bfb7" attr: "b" } + shape_table: { fg: "#a0bad6" attr: "b" } + shape_variable: "#c092d6" + + background: "#222222" + foreground: "#959595" + cursor: "#959595" +}} \ No newline at end of file diff --git a/themes/themes/lavandula.nu b/themes/themes/lavandula.nu index beefc56..25b3ff7 100644 --- a/themes/themes/lavandula.nu +++ b/themes/themes/lavandula.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the lavandula theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#050014" - # foreground: "#736e7d" - # cursor: "#736e7d" - - { - # color for nushell primitives - separator: "#8c91fa" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#52e0c4" - empty: "#4f4a7f" - bool: "#8c91fa" - int: "#8c91fa" - filesize: "#8c91fa" - duration: "#8c91fa" - date: "#8c91fa" - range: "#8c91fa" - float: "#8c91fa" - string: "#8c91fa" - nothing: "#8c91fa" - binary: "#8c91fa" - cellpath: "#8c91fa" - row_index: "#52e0c4" - record: "#8c91fa" - list: "#8c91fa" - block: "#8c91fa" - hints: "#372d46" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a776e0" - shape_bool: "#9ad4e0" - shape_int: "#a776e0" - shape_float: "#a776e0" - shape_range: "#e0c386" - shape_internalcall: "#9ad4e0" - shape_external: "#58777f" - shape_externalarg: "#52e0c4" - shape_literal: "#4f4a7f" - shape_operator: "#7f6f49" - shape_signature: "#52e0c4" - shape_string: "#337e6f" - shape_string_interpolation: "#9ad4e0" - shape_datetime: "#9ad4e0" - shape_list: "#9ad4e0" - shape_table: "#8e87e0" - shape_record: "#9ad4e0" - shape_block: "#8e87e0" - shape_filepath: "#58777f" - shape_globpattern: "#9ad4e0" - shape_variable: "#5a3f7f" - shape_flag: "#8e87e0" - shape_custom: "#337e6f" - shape_nothing: "#9ad4e0" +export def main [] { return { + separator: "#736e7d" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#337e6f" attr: "b" } + empty: "#4f4a7f" + bool: {|| if $in { "#9ad4e0" } else { "light_gray" } } + int: "#736e7d" + filesize: {|e| + if $e == 0b { + "#736e7d" + } else if $e < 1mb { + "#58777f" + } else {{ fg: "#4f4a7f" }} } -} + duration: "#736e7d" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#7d1625" attr: "b" } + } else if $in < 6hr { + "#7d1625" + } else if $in < 1day { + "#7f6f49" + } else if $in < 3day { + "#337e6f" + } else if $in < 1wk { + { fg: "#337e6f" attr: "b" } + } else if $in < 6wk { + "#58777f" + } else if $in < 52wk { + "#4f4a7f" + } else { "dark_gray" } + } + range: "#736e7d" + float: "#736e7d" + string: "#736e7d" + nothing: "#736e7d" + binary: "#736e7d" + cellpath: "#736e7d" + row_index: { fg: "#337e6f" attr: "b" } + record: "#736e7d" + list: "#736e7d" + block: "#736e7d" + hints: "dark_gray" + + shape_and: { fg: "#5a3f7f" attr: "b" } + shape_binary: { fg: "#5a3f7f" attr: "b" } + shape_block: { fg: "#4f4a7f" attr: "b" } + shape_bool: "#9ad4e0" + shape_custom: "#337e6f" + shape_datetime: { fg: "#58777f" attr: "b" } + shape_directory: "#58777f" + shape_external: "#58777f" + shape_externalarg: { fg: "#337e6f" attr: "b" } + shape_filepath: "#58777f" + shape_flag: { fg: "#4f4a7f" attr: "b" } + shape_float: { fg: "#5a3f7f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#58777f" attr: "b" } + shape_int: { fg: "#5a3f7f" attr: "b" } + shape_internalcall: { fg: "#58777f" attr: "b" } + shape_list: { fg: "#58777f" attr: "b" } + shape_literal: "#4f4a7f" + shape_match_pattern: "#337e6f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#9ad4e0" + shape_operator: "#7f6f49" + shape_or: { fg: "#5a3f7f" attr: "b" } + shape_pipe: { fg: "#5a3f7f" attr: "b" } + shape_range: { fg: "#7f6f49" attr: "b" } + shape_record: { fg: "#58777f" attr: "b" } + shape_redirection: { fg: "#5a3f7f" attr: "b" } + shape_signature: { fg: "#337e6f" attr: "b" } + shape_string: "#337e6f" + shape_string_interpolation: { fg: "#58777f" attr: "b" } + shape_table: { fg: "#4f4a7f" attr: "b" } + shape_variable: "#5a3f7f" + + background: "#050014" + foreground: "#736e7d" + cursor: "#736e7d" +}} \ No newline at end of file diff --git a/themes/themes/liquid-carbon-transparent.nu b/themes/themes/liquid-carbon-transparent.nu index 481a8f2..22563b7 100644 --- a/themes/themes/liquid-carbon-transparent.nu +++ b/themes/themes/liquid-carbon-transparent.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the liquid_carbon-transparent theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#afc2c2" - # cursor: "#afc2c2" - - { - # color for nushell primitives - separator: "#bccccc" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#559a70" - empty: "#0099cc" - bool: "#bccccc" - int: "#bccccc" - filesize: "#bccccc" - duration: "#bccccc" - date: "#bccccc" - range: "#bccccc" - float: "#bccccc" - string: "#bccccc" - nothing: "#bccccc" - binary: "#bccccc" - cellpath: "#bccccc" - row_index: "#559a70" - record: "#bccccc" - list: "#bccccc" - block: "#bccccc" - hints: "#000000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#cc69c8" - shape_bool: "#7ac4cc" - shape_int: "#cc69c8" - shape_float: "#cc69c8" - shape_range: "#ccac00" - shape_internalcall: "#7ac4cc" - shape_external: "#7ac4cc" - shape_externalarg: "#559a70" - shape_literal: "#0099cc" - shape_operator: "#ccac00" - shape_signature: "#559a70" - shape_string: "#559a70" - shape_string_interpolation: "#7ac4cc" - shape_datetime: "#7ac4cc" - shape_list: "#7ac4cc" - shape_table: "#0099cc" - shape_record: "#7ac4cc" - shape_block: "#0099cc" - shape_filepath: "#7ac4cc" - shape_globpattern: "#7ac4cc" - shape_variable: "#cc69c8" - shape_flag: "#0099cc" - shape_custom: "#559a70" - shape_nothing: "#7ac4cc" +export def main [] { return { + separator: "#bccccc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#559a70" attr: "b" } + empty: "#0099cc" + bool: {|| if $in { "#7ac4cc" } else { "light_gray" } } + int: "#bccccc" + filesize: {|e| + if $e == 0b { + "#bccccc" + } else if $e < 1mb { + "#7ac4cc" + } else {{ fg: "#0099cc" }} } -} + duration: "#bccccc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff3030" attr: "b" } + } else if $in < 6hr { + "#ff3030" + } else if $in < 1day { + "#ccac00" + } else if $in < 3day { + "#559a70" + } else if $in < 1wk { + { fg: "#559a70" attr: "b" } + } else if $in < 6wk { + "#7ac4cc" + } else if $in < 52wk { + "#0099cc" + } else { "dark_gray" } + } + range: "#bccccc" + float: "#bccccc" + string: "#bccccc" + nothing: "#bccccc" + binary: "#bccccc" + cellpath: "#bccccc" + row_index: { fg: "#559a70" attr: "b" } + record: "#bccccc" + list: "#bccccc" + block: "#bccccc" + hints: "dark_gray" + + shape_and: { fg: "#cc69c8" attr: "b" } + shape_binary: { fg: "#cc69c8" attr: "b" } + shape_block: { fg: "#0099cc" attr: "b" } + shape_bool: "#7ac4cc" + shape_custom: "#559a70" + shape_datetime: { fg: "#7ac4cc" attr: "b" } + shape_directory: "#7ac4cc" + shape_external: "#7ac4cc" + shape_externalarg: { fg: "#559a70" attr: "b" } + shape_filepath: "#7ac4cc" + shape_flag: { fg: "#0099cc" attr: "b" } + shape_float: { fg: "#cc69c8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7ac4cc" attr: "b" } + shape_int: { fg: "#cc69c8" attr: "b" } + shape_internalcall: { fg: "#7ac4cc" attr: "b" } + shape_list: { fg: "#7ac4cc" attr: "b" } + shape_literal: "#0099cc" + shape_match_pattern: "#559a70" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7ac4cc" + shape_operator: "#ccac00" + shape_or: { fg: "#cc69c8" attr: "b" } + shape_pipe: { fg: "#cc69c8" attr: "b" } + shape_range: { fg: "#ccac00" attr: "b" } + shape_record: { fg: "#7ac4cc" attr: "b" } + shape_redirection: { fg: "#cc69c8" attr: "b" } + shape_signature: { fg: "#559a70" attr: "b" } + shape_string: "#559a70" + shape_string_interpolation: { fg: "#7ac4cc" attr: "b" } + shape_table: { fg: "#0099cc" attr: "b" } + shape_variable: "#cc69c8" + + background: "#000000" + foreground: "#afc2c2" + cursor: "#afc2c2" +}} \ No newline at end of file diff --git a/themes/themes/liquid-carbon.nu b/themes/themes/liquid-carbon.nu index 2b45094..8fb0da9 100644 --- a/themes/themes/liquid-carbon.nu +++ b/themes/themes/liquid-carbon.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the liquid_carbon theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#303030" - # foreground: "#afc2c2" - # cursor: "#afc2c2" - - { - # color for nushell primitives - separator: "#bccccc" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#559a70" - empty: "#0099cc" - bool: "#bccccc" - int: "#bccccc" - filesize: "#bccccc" - duration: "#bccccc" - date: "#bccccc" - range: "#bccccc" - float: "#bccccc" - string: "#bccccc" - nothing: "#bccccc" - binary: "#bccccc" - cellpath: "#bccccc" - row_index: "#559a70" - record: "#bccccc" - list: "#bccccc" - block: "#bccccc" - hints: "#000000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#cc69c8" - shape_bool: "#7ac4cc" - shape_int: "#cc69c8" - shape_float: "#cc69c8" - shape_range: "#ccac00" - shape_internalcall: "#7ac4cc" - shape_external: "#7ac4cc" - shape_externalarg: "#559a70" - shape_literal: "#0099cc" - shape_operator: "#ccac00" - shape_signature: "#559a70" - shape_string: "#559a70" - shape_string_interpolation: "#7ac4cc" - shape_datetime: "#7ac4cc" - shape_list: "#7ac4cc" - shape_table: "#0099cc" - shape_record: "#7ac4cc" - shape_block: "#0099cc" - shape_filepath: "#7ac4cc" - shape_globpattern: "#7ac4cc" - shape_variable: "#cc69c8" - shape_flag: "#0099cc" - shape_custom: "#559a70" - shape_nothing: "#7ac4cc" +export def main [] { return { + separator: "#bccccc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#559a70" attr: "b" } + empty: "#0099cc" + bool: {|| if $in { "#7ac4cc" } else { "light_gray" } } + int: "#bccccc" + filesize: {|e| + if $e == 0b { + "#bccccc" + } else if $e < 1mb { + "#7ac4cc" + } else {{ fg: "#0099cc" }} } -} + duration: "#bccccc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff3030" attr: "b" } + } else if $in < 6hr { + "#ff3030" + } else if $in < 1day { + "#ccac00" + } else if $in < 3day { + "#559a70" + } else if $in < 1wk { + { fg: "#559a70" attr: "b" } + } else if $in < 6wk { + "#7ac4cc" + } else if $in < 52wk { + "#0099cc" + } else { "dark_gray" } + } + range: "#bccccc" + float: "#bccccc" + string: "#bccccc" + nothing: "#bccccc" + binary: "#bccccc" + cellpath: "#bccccc" + row_index: { fg: "#559a70" attr: "b" } + record: "#bccccc" + list: "#bccccc" + block: "#bccccc" + hints: "dark_gray" + + shape_and: { fg: "#cc69c8" attr: "b" } + shape_binary: { fg: "#cc69c8" attr: "b" } + shape_block: { fg: "#0099cc" attr: "b" } + shape_bool: "#7ac4cc" + shape_custom: "#559a70" + shape_datetime: { fg: "#7ac4cc" attr: "b" } + shape_directory: "#7ac4cc" + shape_external: "#7ac4cc" + shape_externalarg: { fg: "#559a70" attr: "b" } + shape_filepath: "#7ac4cc" + shape_flag: { fg: "#0099cc" attr: "b" } + shape_float: { fg: "#cc69c8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7ac4cc" attr: "b" } + shape_int: { fg: "#cc69c8" attr: "b" } + shape_internalcall: { fg: "#7ac4cc" attr: "b" } + shape_list: { fg: "#7ac4cc" attr: "b" } + shape_literal: "#0099cc" + shape_match_pattern: "#559a70" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7ac4cc" + shape_operator: "#ccac00" + shape_or: { fg: "#cc69c8" attr: "b" } + shape_pipe: { fg: "#cc69c8" attr: "b" } + shape_range: { fg: "#ccac00" attr: "b" } + shape_record: { fg: "#7ac4cc" attr: "b" } + shape_redirection: { fg: "#cc69c8" attr: "b" } + shape_signature: { fg: "#559a70" attr: "b" } + shape_string: "#559a70" + shape_string_interpolation: { fg: "#7ac4cc" attr: "b" } + shape_table: { fg: "#0099cc" attr: "b" } + shape_variable: "#cc69c8" + + background: "#303030" + foreground: "#afc2c2" + cursor: "#afc2c2" +}} \ No newline at end of file diff --git a/themes/themes/london-tube.nu b/themes/themes/london-tube.nu index f971b07..76c6d5b 100644 --- a/themes/themes/london-tube.nu +++ b/themes/themes/london-tube.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the london_tube theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#231f20" - # foreground: "#d9d8d8" - # cursor: "#d9d8d8" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00853e" - empty: "#009ddc" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#00853e" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#737171" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#98005d" - shape_bool: "#85cebc" - shape_int: "#98005d" - shape_float: "#98005d" - shape_range: "#ffd204" - shape_internalcall: "#85cebc" - shape_external: "#85cebc" - shape_externalarg: "#00853e" - shape_literal: "#009ddc" - shape_operator: "#ffd204" - shape_signature: "#00853e" - shape_string: "#00853e" - shape_string_interpolation: "#85cebc" - shape_datetime: "#85cebc" - shape_list: "#85cebc" - shape_table: "#009ddc" - shape_record: "#85cebc" - shape_block: "#009ddc" - shape_filepath: "#85cebc" - shape_globpattern: "#85cebc" - shape_variable: "#98005d" - shape_flag: "#009ddc" - shape_custom: "#00853e" - shape_nothing: "#85cebc" +export def main [] { return { + separator: "#d9d8d8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00853e" attr: "b" } + empty: "#009ddc" + bool: {|| if $in { "#85cebc" } else { "light_gray" } } + int: "#d9d8d8" + filesize: {|e| + if $e == 0b { + "#d9d8d8" + } else if $e < 1mb { + "#85cebc" + } else {{ fg: "#009ddc" }} } -} + duration: "#d9d8d8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ee2e24" attr: "b" } + } else if $in < 6hr { + "#ee2e24" + } else if $in < 1day { + "#ffd204" + } else if $in < 3day { + "#00853e" + } else if $in < 1wk { + { fg: "#00853e" attr: "b" } + } else if $in < 6wk { + "#85cebc" + } else if $in < 52wk { + "#009ddc" + } else { "dark_gray" } + } + range: "#d9d8d8" + float: "#d9d8d8" + string: "#d9d8d8" + nothing: "#d9d8d8" + binary: "#d9d8d8" + cellpath: "#d9d8d8" + row_index: { fg: "#00853e" attr: "b" } + record: "#d9d8d8" + list: "#d9d8d8" + block: "#d9d8d8" + hints: "dark_gray" + + shape_and: { fg: "#98005d" attr: "b" } + shape_binary: { fg: "#98005d" attr: "b" } + shape_block: { fg: "#009ddc" attr: "b" } + shape_bool: "#85cebc" + shape_custom: "#00853e" + shape_datetime: { fg: "#85cebc" attr: "b" } + shape_directory: "#85cebc" + shape_external: "#85cebc" + shape_externalarg: { fg: "#00853e" attr: "b" } + shape_filepath: "#85cebc" + shape_flag: { fg: "#009ddc" attr: "b" } + shape_float: { fg: "#98005d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#85cebc" attr: "b" } + shape_int: { fg: "#98005d" attr: "b" } + shape_internalcall: { fg: "#85cebc" attr: "b" } + shape_list: { fg: "#85cebc" attr: "b" } + shape_literal: "#009ddc" + shape_match_pattern: "#00853e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#85cebc" + shape_operator: "#ffd204" + shape_or: { fg: "#98005d" attr: "b" } + shape_pipe: { fg: "#98005d" attr: "b" } + shape_range: { fg: "#ffd204" attr: "b" } + shape_record: { fg: "#85cebc" attr: "b" } + shape_redirection: { fg: "#98005d" attr: "b" } + shape_signature: { fg: "#00853e" attr: "b" } + shape_string: "#00853e" + shape_string_interpolation: { fg: "#85cebc" attr: "b" } + shape_table: { fg: "#009ddc" attr: "b" } + shape_variable: "#98005d" + + background: "#231f20" + foreground: "#d9d8d8" + cursor: "#d9d8d8" +}} \ No newline at end of file diff --git a/themes/themes/macintosh.nu b/themes/themes/macintosh.nu index f1334e1..a37eb56 100644 --- a/themes/themes/macintosh.nu +++ b/themes/themes/macintosh.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the macintosh theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c0c0c0" - # cursor: "#c0c0c0" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#1fb714" - empty: "#0000d3" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#1fb714" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#808080" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#4700a5" - shape_bool: "#02abea" - shape_int: "#4700a5" - shape_float: "#4700a5" - shape_range: "#fbf305" - shape_internalcall: "#02abea" - shape_external: "#02abea" - shape_externalarg: "#1fb714" - shape_literal: "#0000d3" - shape_operator: "#fbf305" - shape_signature: "#1fb714" - shape_string: "#1fb714" - shape_string_interpolation: "#02abea" - shape_datetime: "#02abea" - shape_list: "#02abea" - shape_table: "#0000d3" - shape_record: "#02abea" - shape_block: "#0000d3" - shape_filepath: "#02abea" - shape_globpattern: "#02abea" - shape_variable: "#4700a5" - shape_flag: "#0000d3" - shape_custom: "#1fb714" - shape_nothing: "#02abea" +export def main [] { return { + separator: "#c0c0c0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#1fb714" attr: "b" } + empty: "#0000d3" + bool: {|| if $in { "#02abea" } else { "light_gray" } } + int: "#c0c0c0" + filesize: {|e| + if $e == 0b { + "#c0c0c0" + } else if $e < 1mb { + "#02abea" + } else {{ fg: "#0000d3" }} } -} + duration: "#c0c0c0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#dd0907" attr: "b" } + } else if $in < 6hr { + "#dd0907" + } else if $in < 1day { + "#fbf305" + } else if $in < 3day { + "#1fb714" + } else if $in < 1wk { + { fg: "#1fb714" attr: "b" } + } else if $in < 6wk { + "#02abea" + } else if $in < 52wk { + "#0000d3" + } else { "dark_gray" } + } + range: "#c0c0c0" + float: "#c0c0c0" + string: "#c0c0c0" + nothing: "#c0c0c0" + binary: "#c0c0c0" + cellpath: "#c0c0c0" + row_index: { fg: "#1fb714" attr: "b" } + record: "#c0c0c0" + list: "#c0c0c0" + block: "#c0c0c0" + hints: "dark_gray" + + shape_and: { fg: "#4700a5" attr: "b" } + shape_binary: { fg: "#4700a5" attr: "b" } + shape_block: { fg: "#0000d3" attr: "b" } + shape_bool: "#02abea" + shape_custom: "#1fb714" + shape_datetime: { fg: "#02abea" attr: "b" } + shape_directory: "#02abea" + shape_external: "#02abea" + shape_externalarg: { fg: "#1fb714" attr: "b" } + shape_filepath: "#02abea" + shape_flag: { fg: "#0000d3" attr: "b" } + shape_float: { fg: "#4700a5" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#02abea" attr: "b" } + shape_int: { fg: "#4700a5" attr: "b" } + shape_internalcall: { fg: "#02abea" attr: "b" } + shape_list: { fg: "#02abea" attr: "b" } + shape_literal: "#0000d3" + shape_match_pattern: "#1fb714" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#02abea" + shape_operator: "#fbf305" + shape_or: { fg: "#4700a5" attr: "b" } + shape_pipe: { fg: "#4700a5" attr: "b" } + shape_range: { fg: "#fbf305" attr: "b" } + shape_record: { fg: "#02abea" attr: "b" } + shape_redirection: { fg: "#4700a5" attr: "b" } + shape_signature: { fg: "#1fb714" attr: "b" } + shape_string: "#1fb714" + shape_string_interpolation: { fg: "#02abea" attr: "b" } + shape_table: { fg: "#0000d3" attr: "b" } + shape_variable: "#4700a5" + + background: "#000000" + foreground: "#c0c0c0" + cursor: "#c0c0c0" +}} \ No newline at end of file diff --git a/themes/themes/maia.nu b/themes/themes/maia.nu index 97a9a0e..d09fa57 100644 --- a/themes/themes/maia.nu +++ b/themes/themes/maia.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the maia theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#272827" - # foreground: "#fdf6e3" - # cursor: "#16a085" - - { - # color for nushell primitives - separator: "#e8e8e8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8d8f8d" - empty: "#16a085" - bool: "#e8e8e8" - int: "#e8e8e8" - filesize: "#e8e8e8" - duration: "#e8e8e8" - date: "#e8e8e8" - range: "#e8e8e8" - float: "#e8e8e8" - string: "#e8e8e8" - nothing: "#e8e8e8" - binary: "#e8e8e8" - cellpath: "#e8e8e8" - row_index: "#8d8f8d" - record: "#e8e8e8" - list: "#e8e8e8" - block: "#e8e8e8" - hints: "#282928" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#487d72" - shape_bool: "#00d1d1" - shape_int: "#487d72" - shape_float: "#487d72" - shape_range: "#4e524f" - shape_internalcall: "#00d1d1" - shape_external: "#00cccc" - shape_externalarg: "#8d8f8d" - shape_literal: "#16a085" - shape_operator: "#4c4f4d" - shape_signature: "#8d8f8d" - shape_string: "#7e807e" - shape_string_interpolation: "#00d1d1" - shape_datetime: "#00d1d1" - shape_list: "#00d1d1" - shape_table: "#13bf9d" - shape_record: "#00d1d1" - shape_block: "#13bf9d" - shape_filepath: "#00cccc" - shape_globpattern: "#00d1d1" - shape_variable: "#43746a" - shape_flag: "#13bf9d" - shape_custom: "#7e807e" - shape_nothing: "#00d1d1" +export def main [] { return { + separator: "#e0e0e0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7e807e" attr: "b" } + empty: "#16a085" + bool: {|| if $in { "#00d1d1" } else { "light_gray" } } + int: "#e0e0e0" + filesize: {|e| + if $e == 0b { + "#e0e0e0" + } else if $e < 1mb { + "#00cccc" + } else {{ fg: "#16a085" }} } -} + duration: "#e0e0e0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ba2922" attr: "b" } + } else if $in < 6hr { + "#ba2922" + } else if $in < 1day { + "#4c4f4d" + } else if $in < 3day { + "#7e807e" + } else if $in < 1wk { + { fg: "#7e807e" attr: "b" } + } else if $in < 6wk { + "#00cccc" + } else if $in < 52wk { + "#16a085" + } else { "dark_gray" } + } + range: "#e0e0e0" + float: "#e0e0e0" + string: "#e0e0e0" + nothing: "#e0e0e0" + binary: "#e0e0e0" + cellpath: "#e0e0e0" + row_index: { fg: "#7e807e" attr: "b" } + record: "#e0e0e0" + list: "#e0e0e0" + block: "#e0e0e0" + hints: "dark_gray" + + shape_and: { fg: "#43746a" attr: "b" } + shape_binary: { fg: "#43746a" attr: "b" } + shape_block: { fg: "#16a085" attr: "b" } + shape_bool: "#00d1d1" + shape_custom: "#7e807e" + shape_datetime: { fg: "#00cccc" attr: "b" } + shape_directory: "#00cccc" + shape_external: "#00cccc" + shape_externalarg: { fg: "#7e807e" attr: "b" } + shape_filepath: "#00cccc" + shape_flag: { fg: "#16a085" attr: "b" } + shape_float: { fg: "#43746a" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00cccc" attr: "b" } + shape_int: { fg: "#43746a" attr: "b" } + shape_internalcall: { fg: "#00cccc" attr: "b" } + shape_list: { fg: "#00cccc" attr: "b" } + shape_literal: "#16a085" + shape_match_pattern: "#7e807e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00d1d1" + shape_operator: "#4c4f4d" + shape_or: { fg: "#43746a" attr: "b" } + shape_pipe: { fg: "#43746a" attr: "b" } + shape_range: { fg: "#4c4f4d" attr: "b" } + shape_record: { fg: "#00cccc" attr: "b" } + shape_redirection: { fg: "#43746a" attr: "b" } + shape_signature: { fg: "#7e807e" attr: "b" } + shape_string: "#7e807e" + shape_string_interpolation: { fg: "#00cccc" attr: "b" } + shape_table: { fg: "#16a085" attr: "b" } + shape_variable: "#43746a" + + background: "#272827" + foreground: "#fdf6e3" + cursor: "#16a085" +}} \ No newline at end of file diff --git a/themes/themes/man-page.nu b/themes/themes/man-page.nu index 6b88941..149cec2 100644 --- a/themes/themes/man-page.nu +++ b/themes/themes/man-page.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the man_page theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fef49c" - # foreground: "#000000" - # cursor: "#000000" - - { - # color for nushell primitives - separator: "#e5e5e5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00d900" - empty: "#0000b2" - bool: "#e5e5e5" - int: "#e5e5e5" - filesize: "#e5e5e5" - duration: "#e5e5e5" - date: "#e5e5e5" - range: "#e5e5e5" - float: "#e5e5e5" - string: "#e5e5e5" - nothing: "#e5e5e5" - binary: "#e5e5e5" - cellpath: "#e5e5e5" - row_index: "#00d900" - record: "#e5e5e5" - list: "#e5e5e5" - block: "#e5e5e5" - hints: "#666666" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e500e5" - shape_bool: "#00e5e5" - shape_int: "#e500e5" - shape_float: "#e500e5" - shape_range: "#e5e500" - shape_internalcall: "#00e5e5" - shape_external: "#00a6b2" - shape_externalarg: "#00d900" - shape_literal: "#0000b2" - shape_operator: "#999900" - shape_signature: "#00d900" - shape_string: "#00a600" - shape_string_interpolation: "#00e5e5" - shape_datetime: "#00e5e5" - shape_list: "#00e5e5" - shape_table: "#0000ff" - shape_record: "#00e5e5" - shape_block: "#0000ff" - shape_filepath: "#00a6b2" - shape_globpattern: "#00e5e5" - shape_variable: "#b200b2" - shape_flag: "#0000ff" - shape_custom: "#00a600" - shape_nothing: "#00e5e5" +export def main [] { return { + separator: "#cccccc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00a600" attr: "b" } + empty: "#0000b2" + bool: {|| if $in { "#00e5e5" } else { "light_gray" } } + int: "#cccccc" + filesize: {|e| + if $e == 0b { + "#cccccc" + } else if $e < 1mb { + "#00a6b2" + } else {{ fg: "#0000b2" }} } -} + duration: "#cccccc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc0000" attr: "b" } + } else if $in < 6hr { + "#cc0000" + } else if $in < 1day { + "#999900" + } else if $in < 3day { + "#00a600" + } else if $in < 1wk { + { fg: "#00a600" attr: "b" } + } else if $in < 6wk { + "#00a6b2" + } else if $in < 52wk { + "#0000b2" + } else { "dark_gray" } + } + range: "#cccccc" + float: "#cccccc" + string: "#cccccc" + nothing: "#cccccc" + binary: "#cccccc" + cellpath: "#cccccc" + row_index: { fg: "#00a600" attr: "b" } + record: "#cccccc" + list: "#cccccc" + block: "#cccccc" + hints: "dark_gray" + + shape_and: { fg: "#b200b2" attr: "b" } + shape_binary: { fg: "#b200b2" attr: "b" } + shape_block: { fg: "#0000b2" attr: "b" } + shape_bool: "#00e5e5" + shape_custom: "#00a600" + shape_datetime: { fg: "#00a6b2" attr: "b" } + shape_directory: "#00a6b2" + shape_external: "#00a6b2" + shape_externalarg: { fg: "#00a600" attr: "b" } + shape_filepath: "#00a6b2" + shape_flag: { fg: "#0000b2" attr: "b" } + shape_float: { fg: "#b200b2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00a6b2" attr: "b" } + shape_int: { fg: "#b200b2" attr: "b" } + shape_internalcall: { fg: "#00a6b2" attr: "b" } + shape_list: { fg: "#00a6b2" attr: "b" } + shape_literal: "#0000b2" + shape_match_pattern: "#00a600" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00e5e5" + shape_operator: "#999900" + shape_or: { fg: "#b200b2" attr: "b" } + shape_pipe: { fg: "#b200b2" attr: "b" } + shape_range: { fg: "#999900" attr: "b" } + shape_record: { fg: "#00a6b2" attr: "b" } + shape_redirection: { fg: "#b200b2" attr: "b" } + shape_signature: { fg: "#00a600" attr: "b" } + shape_string: "#00a600" + shape_string_interpolation: { fg: "#00a6b2" attr: "b" } + shape_table: { fg: "#0000b2" attr: "b" } + shape_variable: "#b200b2" + + background: "#fef49c" + foreground: "#000000" + cursor: "#000000" +}} \ No newline at end of file diff --git a/themes/themes/mar.nu b/themes/themes/mar.nu index c3329bf..14cdde9 100644 --- a/themes/themes/mar.nu +++ b/themes/themes/mar.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mar theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#23476a" - # cursor: "#23476a" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a0cd73" - empty: "#407bb5" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#a0cd73" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#737373" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a073cd" - shape_bool: "#73cda0" - shape_int: "#a073cd" - shape_float: "#a073cd" - shape_range: "#cda073" - shape_internalcall: "#73cda0" - shape_external: "#40b57b" - shape_externalarg: "#a0cd73" - shape_literal: "#407bb5" - shape_operator: "#b57b40" - shape_signature: "#a0cd73" - shape_string: "#7bb540" - shape_string_interpolation: "#73cda0" - shape_datetime: "#73cda0" - shape_list: "#73cda0" - shape_table: "#73a0cd" - shape_record: "#73cda0" - shape_block: "#73a0cd" - shape_filepath: "#40b57b" - shape_globpattern: "#73cda0" - shape_variable: "#7b40b5" - shape_flag: "#73a0cd" - shape_custom: "#7bb540" - shape_nothing: "#73cda0" +export def main [] { return { + separator: "#f8f8f8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7bb540" attr: "b" } + empty: "#407bb5" + bool: {|| if $in { "#73cda0" } else { "light_gray" } } + int: "#f8f8f8" + filesize: {|e| + if $e == 0b { + "#f8f8f8" + } else if $e < 1mb { + "#40b57b" + } else {{ fg: "#407bb5" }} } -} + duration: "#f8f8f8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b5407b" attr: "b" } + } else if $in < 6hr { + "#b5407b" + } else if $in < 1day { + "#b57b40" + } else if $in < 3day { + "#7bb540" + } else if $in < 1wk { + { fg: "#7bb540" attr: "b" } + } else if $in < 6wk { + "#40b57b" + } else if $in < 52wk { + "#407bb5" + } else { "dark_gray" } + } + range: "#f8f8f8" + float: "#f8f8f8" + string: "#f8f8f8" + nothing: "#f8f8f8" + binary: "#f8f8f8" + cellpath: "#f8f8f8" + row_index: { fg: "#7bb540" attr: "b" } + record: "#f8f8f8" + list: "#f8f8f8" + block: "#f8f8f8" + hints: "dark_gray" + + shape_and: { fg: "#7b40b5" attr: "b" } + shape_binary: { fg: "#7b40b5" attr: "b" } + shape_block: { fg: "#407bb5" attr: "b" } + shape_bool: "#73cda0" + shape_custom: "#7bb540" + shape_datetime: { fg: "#40b57b" attr: "b" } + shape_directory: "#40b57b" + shape_external: "#40b57b" + shape_externalarg: { fg: "#7bb540" attr: "b" } + shape_filepath: "#40b57b" + shape_flag: { fg: "#407bb5" attr: "b" } + shape_float: { fg: "#7b40b5" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#40b57b" attr: "b" } + shape_int: { fg: "#7b40b5" attr: "b" } + shape_internalcall: { fg: "#40b57b" attr: "b" } + shape_list: { fg: "#40b57b" attr: "b" } + shape_literal: "#407bb5" + shape_match_pattern: "#7bb540" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#73cda0" + shape_operator: "#b57b40" + shape_or: { fg: "#7b40b5" attr: "b" } + shape_pipe: { fg: "#7b40b5" attr: "b" } + shape_range: { fg: "#b57b40" attr: "b" } + shape_record: { fg: "#40b57b" attr: "b" } + shape_redirection: { fg: "#7b40b5" attr: "b" } + shape_signature: { fg: "#7bb540" attr: "b" } + shape_string: "#7bb540" + shape_string_interpolation: { fg: "#40b57b" attr: "b" } + shape_table: { fg: "#407bb5" attr: "b" } + shape_variable: "#7b40b5" + + background: "#ffffff" + foreground: "#23476a" + cursor: "#23476a" +}} \ No newline at end of file diff --git a/themes/themes/marrakesh.nu b/themes/themes/marrakesh.nu index 5ebc8fc..b8d7ac5 100644 --- a/themes/themes/marrakesh.nu +++ b/themes/themes/marrakesh.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the marrakesh theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#201602" - # foreground: "#948e48" - # cursor: "#948e48" - - { - # color for nushell primitives - separator: "#faf0a5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#18974e" - empty: "#477ca1" - bool: "#faf0a5" - int: "#faf0a5" - filesize: "#faf0a5" - duration: "#faf0a5" - date: "#faf0a5" - range: "#faf0a5" - float: "#faf0a5" - string: "#faf0a5" - nothing: "#faf0a5" - binary: "#faf0a5" - cellpath: "#faf0a5" - row_index: "#18974e" - record: "#faf0a5" - list: "#faf0a5" - block: "#faf0a5" - hints: "#6c6823" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8868b3" - shape_bool: "#75a738" - shape_int: "#8868b3" - shape_float: "#8868b3" - shape_range: "#a88339" - shape_internalcall: "#75a738" - shape_external: "#75a738" - shape_externalarg: "#18974e" - shape_literal: "#477ca1" - shape_operator: "#a88339" - shape_signature: "#18974e" - shape_string: "#18974e" - shape_string_interpolation: "#75a738" - shape_datetime: "#75a738" - shape_list: "#75a738" - shape_table: "#477ca1" - shape_record: "#75a738" - shape_block: "#477ca1" - shape_filepath: "#75a738" - shape_globpattern: "#75a738" - shape_variable: "#8868b3" - shape_flag: "#477ca1" - shape_custom: "#18974e" - shape_nothing: "#75a738" +export def main [] { return { + separator: "#948e48" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#18974e" attr: "b" } + empty: "#477ca1" + bool: {|| if $in { "#75a738" } else { "light_gray" } } + int: "#948e48" + filesize: {|e| + if $e == 0b { + "#948e48" + } else if $e < 1mb { + "#75a738" + } else {{ fg: "#477ca1" }} } -} + duration: "#948e48" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c35359" attr: "b" } + } else if $in < 6hr { + "#c35359" + } else if $in < 1day { + "#a88339" + } else if $in < 3day { + "#18974e" + } else if $in < 1wk { + { fg: "#18974e" attr: "b" } + } else if $in < 6wk { + "#75a738" + } else if $in < 52wk { + "#477ca1" + } else { "dark_gray" } + } + range: "#948e48" + float: "#948e48" + string: "#948e48" + nothing: "#948e48" + binary: "#948e48" + cellpath: "#948e48" + row_index: { fg: "#18974e" attr: "b" } + record: "#948e48" + list: "#948e48" + block: "#948e48" + hints: "dark_gray" + + shape_and: { fg: "#8868b3" attr: "b" } + shape_binary: { fg: "#8868b3" attr: "b" } + shape_block: { fg: "#477ca1" attr: "b" } + shape_bool: "#75a738" + shape_custom: "#18974e" + shape_datetime: { fg: "#75a738" attr: "b" } + shape_directory: "#75a738" + shape_external: "#75a738" + shape_externalarg: { fg: "#18974e" attr: "b" } + shape_filepath: "#75a738" + shape_flag: { fg: "#477ca1" attr: "b" } + shape_float: { fg: "#8868b3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#75a738" attr: "b" } + shape_int: { fg: "#8868b3" attr: "b" } + shape_internalcall: { fg: "#75a738" attr: "b" } + shape_list: { fg: "#75a738" attr: "b" } + shape_literal: "#477ca1" + shape_match_pattern: "#18974e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#75a738" + shape_operator: "#a88339" + shape_or: { fg: "#8868b3" attr: "b" } + shape_pipe: { fg: "#8868b3" attr: "b" } + shape_range: { fg: "#a88339" attr: "b" } + shape_record: { fg: "#75a738" attr: "b" } + shape_redirection: { fg: "#8868b3" attr: "b" } + shape_signature: { fg: "#18974e" attr: "b" } + shape_string: "#18974e" + shape_string_interpolation: { fg: "#75a738" attr: "b" } + shape_table: { fg: "#477ca1" attr: "b" } + shape_variable: "#8868b3" + + background: "#201602" + foreground: "#948e48" + cursor: "#948e48" +}} \ No newline at end of file diff --git a/themes/themes/materia.nu b/themes/themes/materia.nu index 60dbd73..8df5ea4 100644 --- a/themes/themes/materia.nu +++ b/themes/themes/materia.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the materia theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#263238" - # foreground: "#cdd3de" - # cursor: "#cdd3de" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8bd649" - empty: "#89ddff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#8bd649" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#707880" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#82aaff" - shape_bool: "#80cbc4" - shape_int: "#82aaff" - shape_float: "#82aaff" - shape_range: "#ffcc00" - shape_internalcall: "#80cbc4" - shape_external: "#80cbc4" - shape_externalarg: "#8bd649" - shape_literal: "#89ddff" - shape_operator: "#ffcc00" - shape_signature: "#8bd649" - shape_string: "#8bd649" - shape_string_interpolation: "#80cbc4" - shape_datetime: "#80cbc4" - shape_list: "#80cbc4" - shape_table: "#89ddff" - shape_record: "#80cbc4" - shape_block: "#89ddff" - shape_filepath: "#80cbc4" - shape_globpattern: "#80cbc4" - shape_variable: "#82aaff" - shape_flag: "#89ddff" - shape_custom: "#8bd649" - shape_nothing: "#80cbc4" +export def main [] { return { + separator: "#cdd3de" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8bd649" attr: "b" } + empty: "#89ddff" + bool: {|| if $in { "#80cbc4" } else { "light_gray" } } + int: "#cdd3de" + filesize: {|e| + if $e == 0b { + "#cdd3de" + } else if $e < 1mb { + "#80cbc4" + } else {{ fg: "#89ddff" }} } -} + duration: "#cdd3de" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ec5f67" attr: "b" } + } else if $in < 6hr { + "#ec5f67" + } else if $in < 1day { + "#ffcc00" + } else if $in < 3day { + "#8bd649" + } else if $in < 1wk { + { fg: "#8bd649" attr: "b" } + } else if $in < 6wk { + "#80cbc4" + } else if $in < 52wk { + "#89ddff" + } else { "dark_gray" } + } + range: "#cdd3de" + float: "#cdd3de" + string: "#cdd3de" + nothing: "#cdd3de" + binary: "#cdd3de" + cellpath: "#cdd3de" + row_index: { fg: "#8bd649" attr: "b" } + record: "#cdd3de" + list: "#cdd3de" + block: "#cdd3de" + hints: "dark_gray" + + shape_and: { fg: "#82aaff" attr: "b" } + shape_binary: { fg: "#82aaff" attr: "b" } + shape_block: { fg: "#89ddff" attr: "b" } + shape_bool: "#80cbc4" + shape_custom: "#8bd649" + shape_datetime: { fg: "#80cbc4" attr: "b" } + shape_directory: "#80cbc4" + shape_external: "#80cbc4" + shape_externalarg: { fg: "#8bd649" attr: "b" } + shape_filepath: "#80cbc4" + shape_flag: { fg: "#89ddff" attr: "b" } + shape_float: { fg: "#82aaff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#80cbc4" attr: "b" } + shape_int: { fg: "#82aaff" attr: "b" } + shape_internalcall: { fg: "#80cbc4" attr: "b" } + shape_list: { fg: "#80cbc4" attr: "b" } + shape_literal: "#89ddff" + shape_match_pattern: "#8bd649" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#80cbc4" + shape_operator: "#ffcc00" + shape_or: { fg: "#82aaff" attr: "b" } + shape_pipe: { fg: "#82aaff" attr: "b" } + shape_range: { fg: "#ffcc00" attr: "b" } + shape_record: { fg: "#80cbc4" attr: "b" } + shape_redirection: { fg: "#82aaff" attr: "b" } + shape_signature: { fg: "#8bd649" attr: "b" } + shape_string: "#8bd649" + shape_string_interpolation: { fg: "#80cbc4" attr: "b" } + shape_table: { fg: "#89ddff" attr: "b" } + shape_variable: "#82aaff" + + background: "#263238" + foreground: "#cdd3de" + cursor: "#cdd3de" +}} \ No newline at end of file diff --git a/themes/themes/material-dark.nu b/themes/themes/material-dark.nu index 253e4f2..6055484 100644 --- a/themes/themes/material-dark.nu +++ b/themes/themes/material-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the material_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222221" - # foreground: "#e4e4e4" - # cursor: "#16aec9" - - { - # color for nushell primitives - separator: "#d8d8d8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7aba39" - empty: "#134eb2" - bool: "#d8d8d8" - int: "#d8d8d8" - filesize: "#d8d8d8" - duration: "#d8d8d8" - date: "#d8d8d8" - range: "#d8d8d8" - float: "#d8d8d8" - string: "#d8d8d8" - nothing: "#d8d8d8" - binary: "#d8d8d8" - cellpath: "#d8d8d8" - row_index: "#7aba39" - record: "#d8d8d8" - list: "#d8d8d8" - block: "#d8d8d8" - hints: "#424242" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a94dbb" - shape_bool: "#26bad1" - shape_int: "#a94dbb" - shape_float: "#a94dbb" - shape_range: "#fee92e" - shape_internalcall: "#26bad1" - shape_external: "#0e707c" - shape_externalarg: "#7aba39" - shape_literal: "#134eb2" - shape_operator: "#f5971d" - shape_signature: "#7aba39" - shape_string: "#457b23" - shape_string_interpolation: "#26bad1" - shape_datetime: "#26bad1" - shape_list: "#26bad1" - shape_table: "#53a4f3" - shape_record: "#26bad1" - shape_block: "#53a4f3" - shape_filepath: "#0e707c" - shape_globpattern: "#26bad1" - shape_variable: "#550087" - shape_flag: "#53a4f3" - shape_custom: "#457b23" - shape_nothing: "#26bad1" +export def main [] { return { + separator: "#eeeeee" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#457b23" attr: "b" } + empty: "#134eb2" + bool: {|| if $in { "#26bad1" } else { "light_gray" } } + int: "#eeeeee" + filesize: {|e| + if $e == 0b { + "#eeeeee" + } else if $e < 1mb { + "#0e707c" + } else {{ fg: "#134eb2" }} } -} + duration: "#eeeeee" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b7141e" attr: "b" } + } else if $in < 6hr { + "#b7141e" + } else if $in < 1day { + "#f5971d" + } else if $in < 3day { + "#457b23" + } else if $in < 1wk { + { fg: "#457b23" attr: "b" } + } else if $in < 6wk { + "#0e707c" + } else if $in < 52wk { + "#134eb2" + } else { "dark_gray" } + } + range: "#eeeeee" + float: "#eeeeee" + string: "#eeeeee" + nothing: "#eeeeee" + binary: "#eeeeee" + cellpath: "#eeeeee" + row_index: { fg: "#457b23" attr: "b" } + record: "#eeeeee" + list: "#eeeeee" + block: "#eeeeee" + hints: "dark_gray" + + shape_and: { fg: "#550087" attr: "b" } + shape_binary: { fg: "#550087" attr: "b" } + shape_block: { fg: "#134eb2" attr: "b" } + shape_bool: "#26bad1" + shape_custom: "#457b23" + shape_datetime: { fg: "#0e707c" attr: "b" } + shape_directory: "#0e707c" + shape_external: "#0e707c" + shape_externalarg: { fg: "#457b23" attr: "b" } + shape_filepath: "#0e707c" + shape_flag: { fg: "#134eb2" attr: "b" } + shape_float: { fg: "#550087" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0e707c" attr: "b" } + shape_int: { fg: "#550087" attr: "b" } + shape_internalcall: { fg: "#0e707c" attr: "b" } + shape_list: { fg: "#0e707c" attr: "b" } + shape_literal: "#134eb2" + shape_match_pattern: "#457b23" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#26bad1" + shape_operator: "#f5971d" + shape_or: { fg: "#550087" attr: "b" } + shape_pipe: { fg: "#550087" attr: "b" } + shape_range: { fg: "#f5971d" attr: "b" } + shape_record: { fg: "#0e707c" attr: "b" } + shape_redirection: { fg: "#550087" attr: "b" } + shape_signature: { fg: "#457b23" attr: "b" } + shape_string: "#457b23" + shape_string_interpolation: { fg: "#0e707c" attr: "b" } + shape_table: { fg: "#134eb2" attr: "b" } + shape_variable: "#550087" + + background: "#222221" + foreground: "#e4e4e4" + cursor: "#16aec9" +}} \ No newline at end of file diff --git a/themes/themes/material-darker.nu b/themes/themes/material-darker.nu index c4a7b32..3f424b7 100644 --- a/themes/themes/material-darker.nu +++ b/themes/themes/material-darker.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the material_darker theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#212121" - # foreground: "#eeffff" - # cursor: "#eeffff" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#c3e88d" - empty: "#82aaff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#c3e88d" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#4a4a4a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c792ea" - shape_bool: "#89ddff" - shape_int: "#c792ea" - shape_float: "#c792ea" - shape_range: "#ffcb6b" - shape_internalcall: "#89ddff" - shape_external: "#89ddff" - shape_externalarg: "#c3e88d" - shape_literal: "#82aaff" - shape_operator: "#ffcb6b" - shape_signature: "#c3e88d" - shape_string: "#c3e88d" - shape_string_interpolation: "#89ddff" - shape_datetime: "#89ddff" - shape_list: "#89ddff" - shape_table: "#82aaff" - shape_record: "#89ddff" - shape_block: "#82aaff" - shape_filepath: "#89ddff" - shape_globpattern: "#89ddff" - shape_variable: "#c792ea" - shape_flag: "#82aaff" - shape_custom: "#c3e88d" - shape_nothing: "#89ddff" +export def main [] { return { + separator: "#eeffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#c3e88d" attr: "b" } + empty: "#82aaff" + bool: {|| if $in { "#89ddff" } else { "light_gray" } } + int: "#eeffff" + filesize: {|e| + if $e == 0b { + "#eeffff" + } else if $e < 1mb { + "#89ddff" + } else {{ fg: "#82aaff" }} } -} + duration: "#eeffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f07178" attr: "b" } + } else if $in < 6hr { + "#f07178" + } else if $in < 1day { + "#ffcb6b" + } else if $in < 3day { + "#c3e88d" + } else if $in < 1wk { + { fg: "#c3e88d" attr: "b" } + } else if $in < 6wk { + "#89ddff" + } else if $in < 52wk { + "#82aaff" + } else { "dark_gray" } + } + range: "#eeffff" + float: "#eeffff" + string: "#eeffff" + nothing: "#eeffff" + binary: "#eeffff" + cellpath: "#eeffff" + row_index: { fg: "#c3e88d" attr: "b" } + record: "#eeffff" + list: "#eeffff" + block: "#eeffff" + hints: "dark_gray" + + shape_and: { fg: "#c792ea" attr: "b" } + shape_binary: { fg: "#c792ea" attr: "b" } + shape_block: { fg: "#82aaff" attr: "b" } + shape_bool: "#89ddff" + shape_custom: "#c3e88d" + shape_datetime: { fg: "#89ddff" attr: "b" } + shape_directory: "#89ddff" + shape_external: "#89ddff" + shape_externalarg: { fg: "#c3e88d" attr: "b" } + shape_filepath: "#89ddff" + shape_flag: { fg: "#82aaff" attr: "b" } + shape_float: { fg: "#c792ea" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#89ddff" attr: "b" } + shape_int: { fg: "#c792ea" attr: "b" } + shape_internalcall: { fg: "#89ddff" attr: "b" } + shape_list: { fg: "#89ddff" attr: "b" } + shape_literal: "#82aaff" + shape_match_pattern: "#c3e88d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#89ddff" + shape_operator: "#ffcb6b" + shape_or: { fg: "#c792ea" attr: "b" } + shape_pipe: { fg: "#c792ea" attr: "b" } + shape_range: { fg: "#ffcb6b" attr: "b" } + shape_record: { fg: "#89ddff" attr: "b" } + shape_redirection: { fg: "#c792ea" attr: "b" } + shape_signature: { fg: "#c3e88d" attr: "b" } + shape_string: "#c3e88d" + shape_string_interpolation: { fg: "#89ddff" attr: "b" } + shape_table: { fg: "#82aaff" attr: "b" } + shape_variable: "#c792ea" + + background: "#212121" + foreground: "#eeffff" + cursor: "#eeffff" +}} \ No newline at end of file diff --git a/themes/themes/material-lighter.nu b/themes/themes/material-lighter.nu index 1e98d59..1a4bb0f 100644 --- a/themes/themes/material-lighter.nu +++ b/themes/themes/material-lighter.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the material_lighter theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fafafa" - # foreground: "#80cbc4" - # cursor: "#80cbc4" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#91b859" - empty: "#6182b8" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#91b859" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#ccd7da" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#7c4dff" - shape_bool: "#39adb5" - shape_int: "#7c4dff" - shape_float: "#7c4dff" - shape_range: "#ffb62c" - shape_internalcall: "#39adb5" - shape_external: "#39adb5" - shape_externalarg: "#91b859" - shape_literal: "#6182b8" - shape_operator: "#ffb62c" - shape_signature: "#91b859" - shape_string: "#91b859" - shape_string_interpolation: "#39adb5" - shape_datetime: "#39adb5" - shape_list: "#39adb5" - shape_table: "#6182b8" - shape_record: "#39adb5" - shape_block: "#6182b8" - shape_filepath: "#39adb5" - shape_globpattern: "#39adb5" - shape_variable: "#7c4dff" - shape_flag: "#6182b8" - shape_custom: "#91b859" - shape_nothing: "#39adb5" +export def main [] { return { + separator: "#80cbc4" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#91b859" attr: "b" } + empty: "#6182b8" + bool: {|| if $in { "#39adb5" } else { "light_gray" } } + int: "#80cbc4" + filesize: {|e| + if $e == 0b { + "#80cbc4" + } else if $e < 1mb { + "#39adb5" + } else {{ fg: "#6182b8" }} } -} + duration: "#80cbc4" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff5370" attr: "b" } + } else if $in < 6hr { + "#ff5370" + } else if $in < 1day { + "#ffb62c" + } else if $in < 3day { + "#91b859" + } else if $in < 1wk { + { fg: "#91b859" attr: "b" } + } else if $in < 6wk { + "#39adb5" + } else if $in < 52wk { + "#6182b8" + } else { "dark_gray" } + } + range: "#80cbc4" + float: "#80cbc4" + string: "#80cbc4" + nothing: "#80cbc4" + binary: "#80cbc4" + cellpath: "#80cbc4" + row_index: { fg: "#91b859" attr: "b" } + record: "#80cbc4" + list: "#80cbc4" + block: "#80cbc4" + hints: "dark_gray" + + shape_and: { fg: "#7c4dff" attr: "b" } + shape_binary: { fg: "#7c4dff" attr: "b" } + shape_block: { fg: "#6182b8" attr: "b" } + shape_bool: "#39adb5" + shape_custom: "#91b859" + shape_datetime: { fg: "#39adb5" attr: "b" } + shape_directory: "#39adb5" + shape_external: "#39adb5" + shape_externalarg: { fg: "#91b859" attr: "b" } + shape_filepath: "#39adb5" + shape_flag: { fg: "#6182b8" attr: "b" } + shape_float: { fg: "#7c4dff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#39adb5" attr: "b" } + shape_int: { fg: "#7c4dff" attr: "b" } + shape_internalcall: { fg: "#39adb5" attr: "b" } + shape_list: { fg: "#39adb5" attr: "b" } + shape_literal: "#6182b8" + shape_match_pattern: "#91b859" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#39adb5" + shape_operator: "#ffb62c" + shape_or: { fg: "#7c4dff" attr: "b" } + shape_pipe: { fg: "#7c4dff" attr: "b" } + shape_range: { fg: "#ffb62c" attr: "b" } + shape_record: { fg: "#39adb5" attr: "b" } + shape_redirection: { fg: "#7c4dff" attr: "b" } + shape_signature: { fg: "#91b859" attr: "b" } + shape_string: "#91b859" + shape_string_interpolation: { fg: "#39adb5" attr: "b" } + shape_table: { fg: "#6182b8" attr: "b" } + shape_variable: "#7c4dff" + + background: "#fafafa" + foreground: "#80cbc4" + cursor: "#80cbc4" +}} \ No newline at end of file diff --git a/themes/themes/material-palenight.nu b/themes/themes/material-palenight.nu index 255ed38..519f3a2 100644 --- a/themes/themes/material-palenight.nu +++ b/themes/themes/material-palenight.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the material_palenight theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#292d3e" - # foreground: "#959dcb" - # cursor: "#959dcb" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#c3e88d" - empty: "#82aaff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#c3e88d" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#676e95" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c792ea" - shape_bool: "#89ddff" - shape_int: "#c792ea" - shape_float: "#c792ea" - shape_range: "#ffcb6b" - shape_internalcall: "#89ddff" - shape_external: "#89ddff" - shape_externalarg: "#c3e88d" - shape_literal: "#82aaff" - shape_operator: "#ffcb6b" - shape_signature: "#c3e88d" - shape_string: "#c3e88d" - shape_string_interpolation: "#89ddff" - shape_datetime: "#89ddff" - shape_list: "#89ddff" - shape_table: "#82aaff" - shape_record: "#89ddff" - shape_block: "#82aaff" - shape_filepath: "#89ddff" - shape_globpattern: "#89ddff" - shape_variable: "#c792ea" - shape_flag: "#82aaff" - shape_custom: "#c3e88d" - shape_nothing: "#89ddff" +export def main [] { return { + separator: "#959dcb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#c3e88d" attr: "b" } + empty: "#82aaff" + bool: {|| if $in { "#89ddff" } else { "light_gray" } } + int: "#959dcb" + filesize: {|e| + if $e == 0b { + "#959dcb" + } else if $e < 1mb { + "#89ddff" + } else {{ fg: "#82aaff" }} } -} + duration: "#959dcb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f07178" attr: "b" } + } else if $in < 6hr { + "#f07178" + } else if $in < 1day { + "#ffcb6b" + } else if $in < 3day { + "#c3e88d" + } else if $in < 1wk { + { fg: "#c3e88d" attr: "b" } + } else if $in < 6wk { + "#89ddff" + } else if $in < 52wk { + "#82aaff" + } else { "dark_gray" } + } + range: "#959dcb" + float: "#959dcb" + string: "#959dcb" + nothing: "#959dcb" + binary: "#959dcb" + cellpath: "#959dcb" + row_index: { fg: "#c3e88d" attr: "b" } + record: "#959dcb" + list: "#959dcb" + block: "#959dcb" + hints: "dark_gray" + + shape_and: { fg: "#c792ea" attr: "b" } + shape_binary: { fg: "#c792ea" attr: "b" } + shape_block: { fg: "#82aaff" attr: "b" } + shape_bool: "#89ddff" + shape_custom: "#c3e88d" + shape_datetime: { fg: "#89ddff" attr: "b" } + shape_directory: "#89ddff" + shape_external: "#89ddff" + shape_externalarg: { fg: "#c3e88d" attr: "b" } + shape_filepath: "#89ddff" + shape_flag: { fg: "#82aaff" attr: "b" } + shape_float: { fg: "#c792ea" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#89ddff" attr: "b" } + shape_int: { fg: "#c792ea" attr: "b" } + shape_internalcall: { fg: "#89ddff" attr: "b" } + shape_list: { fg: "#89ddff" attr: "b" } + shape_literal: "#82aaff" + shape_match_pattern: "#c3e88d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#89ddff" + shape_operator: "#ffcb6b" + shape_or: { fg: "#c792ea" attr: "b" } + shape_pipe: { fg: "#c792ea" attr: "b" } + shape_range: { fg: "#ffcb6b" attr: "b" } + shape_record: { fg: "#89ddff" attr: "b" } + shape_redirection: { fg: "#c792ea" attr: "b" } + shape_signature: { fg: "#c3e88d" attr: "b" } + shape_string: "#c3e88d" + shape_string_interpolation: { fg: "#89ddff" attr: "b" } + shape_table: { fg: "#82aaff" attr: "b" } + shape_variable: "#c792ea" + + background: "#292d3e" + foreground: "#959dcb" + cursor: "#959dcb" +}} \ No newline at end of file diff --git a/themes/themes/material-vivid.nu b/themes/themes/material-vivid.nu index 3926670..969be49 100644 --- a/themes/themes/material-vivid.nu +++ b/themes/themes/material-vivid.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the material_vivid theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#202124" - # foreground: "#80868b" - # cursor: "#80868b" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00e676" - empty: "#2196f3" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#00e676" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#44464d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#673ab7" - shape_bool: "#00bcd4" - shape_int: "#673ab7" - shape_float: "#673ab7" - shape_range: "#ffeb3b" - shape_internalcall: "#00bcd4" - shape_external: "#00bcd4" - shape_externalarg: "#00e676" - shape_literal: "#2196f3" - shape_operator: "#ffeb3b" - shape_signature: "#00e676" - shape_string: "#00e676" - shape_string_interpolation: "#00bcd4" - shape_datetime: "#00bcd4" - shape_list: "#00bcd4" - shape_table: "#2196f3" - shape_record: "#00bcd4" - shape_block: "#2196f3" - shape_filepath: "#00bcd4" - shape_globpattern: "#00bcd4" - shape_variable: "#673ab7" - shape_flag: "#2196f3" - shape_custom: "#00e676" - shape_nothing: "#00bcd4" +export def main [] { return { + separator: "#80868b" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00e676" attr: "b" } + empty: "#2196f3" + bool: {|| if $in { "#00bcd4" } else { "light_gray" } } + int: "#80868b" + filesize: {|e| + if $e == 0b { + "#80868b" + } else if $e < 1mb { + "#00bcd4" + } else {{ fg: "#2196f3" }} } -} + duration: "#80868b" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f44336" attr: "b" } + } else if $in < 6hr { + "#f44336" + } else if $in < 1day { + "#ffeb3b" + } else if $in < 3day { + "#00e676" + } else if $in < 1wk { + { fg: "#00e676" attr: "b" } + } else if $in < 6wk { + "#00bcd4" + } else if $in < 52wk { + "#2196f3" + } else { "dark_gray" } + } + range: "#80868b" + float: "#80868b" + string: "#80868b" + nothing: "#80868b" + binary: "#80868b" + cellpath: "#80868b" + row_index: { fg: "#00e676" attr: "b" } + record: "#80868b" + list: "#80868b" + block: "#80868b" + hints: "dark_gray" + + shape_and: { fg: "#673ab7" attr: "b" } + shape_binary: { fg: "#673ab7" attr: "b" } + shape_block: { fg: "#2196f3" attr: "b" } + shape_bool: "#00bcd4" + shape_custom: "#00e676" + shape_datetime: { fg: "#00bcd4" attr: "b" } + shape_directory: "#00bcd4" + shape_external: "#00bcd4" + shape_externalarg: { fg: "#00e676" attr: "b" } + shape_filepath: "#00bcd4" + shape_flag: { fg: "#2196f3" attr: "b" } + shape_float: { fg: "#673ab7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00bcd4" attr: "b" } + shape_int: { fg: "#673ab7" attr: "b" } + shape_internalcall: { fg: "#00bcd4" attr: "b" } + shape_list: { fg: "#00bcd4" attr: "b" } + shape_literal: "#2196f3" + shape_match_pattern: "#00e676" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00bcd4" + shape_operator: "#ffeb3b" + shape_or: { fg: "#673ab7" attr: "b" } + shape_pipe: { fg: "#673ab7" attr: "b" } + shape_range: { fg: "#ffeb3b" attr: "b" } + shape_record: { fg: "#00bcd4" attr: "b" } + shape_redirection: { fg: "#673ab7" attr: "b" } + shape_signature: { fg: "#00e676" attr: "b" } + shape_string: "#00e676" + shape_string_interpolation: { fg: "#00bcd4" attr: "b" } + shape_table: { fg: "#2196f3" attr: "b" } + shape_variable: "#673ab7" + + background: "#202124" + foreground: "#80868b" + cursor: "#80868b" +}} \ No newline at end of file diff --git a/themes/themes/material.nu b/themes/themes/material.nu index 84f5de0..3258fd0 100644 --- a/themes/themes/material.nu +++ b/themes/themes/material.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the material theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#263238" - # foreground: "#eeffff" - # cursor: "#eeffff" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#c3e88d" - empty: "#82aaff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#c3e88d" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#546e7a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c792ea" - shape_bool: "#89ddff" - shape_int: "#c792ea" - shape_float: "#c792ea" - shape_range: "#ffcb6b" - shape_internalcall: "#89ddff" - shape_external: "#89ddff" - shape_externalarg: "#c3e88d" - shape_literal: "#82aaff" - shape_operator: "#ffcb6b" - shape_signature: "#c3e88d" - shape_string: "#c3e88d" - shape_string_interpolation: "#89ddff" - shape_datetime: "#89ddff" - shape_list: "#89ddff" - shape_table: "#82aaff" - shape_record: "#89ddff" - shape_block: "#82aaff" - shape_filepath: "#89ddff" - shape_globpattern: "#89ddff" - shape_variable: "#c792ea" - shape_flag: "#82aaff" - shape_custom: "#c3e88d" - shape_nothing: "#89ddff" +export def main [] { return { + separator: "#eeffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#c3e88d" attr: "b" } + empty: "#82aaff" + bool: {|| if $in { "#89ddff" } else { "light_gray" } } + int: "#eeffff" + filesize: {|e| + if $e == 0b { + "#eeffff" + } else if $e < 1mb { + "#89ddff" + } else {{ fg: "#82aaff" }} } -} + duration: "#eeffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f07178" attr: "b" } + } else if $in < 6hr { + "#f07178" + } else if $in < 1day { + "#ffcb6b" + } else if $in < 3day { + "#c3e88d" + } else if $in < 1wk { + { fg: "#c3e88d" attr: "b" } + } else if $in < 6wk { + "#89ddff" + } else if $in < 52wk { + "#82aaff" + } else { "dark_gray" } + } + range: "#eeffff" + float: "#eeffff" + string: "#eeffff" + nothing: "#eeffff" + binary: "#eeffff" + cellpath: "#eeffff" + row_index: { fg: "#c3e88d" attr: "b" } + record: "#eeffff" + list: "#eeffff" + block: "#eeffff" + hints: "dark_gray" + + shape_and: { fg: "#c792ea" attr: "b" } + shape_binary: { fg: "#c792ea" attr: "b" } + shape_block: { fg: "#82aaff" attr: "b" } + shape_bool: "#89ddff" + shape_custom: "#c3e88d" + shape_datetime: { fg: "#89ddff" attr: "b" } + shape_directory: "#89ddff" + shape_external: "#89ddff" + shape_externalarg: { fg: "#c3e88d" attr: "b" } + shape_filepath: "#89ddff" + shape_flag: { fg: "#82aaff" attr: "b" } + shape_float: { fg: "#c792ea" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#89ddff" attr: "b" } + shape_int: { fg: "#c792ea" attr: "b" } + shape_internalcall: { fg: "#89ddff" attr: "b" } + shape_list: { fg: "#89ddff" attr: "b" } + shape_literal: "#82aaff" + shape_match_pattern: "#c3e88d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#89ddff" + shape_operator: "#ffcb6b" + shape_or: { fg: "#c792ea" attr: "b" } + shape_pipe: { fg: "#c792ea" attr: "b" } + shape_range: { fg: "#ffcb6b" attr: "b" } + shape_record: { fg: "#89ddff" attr: "b" } + shape_redirection: { fg: "#c792ea" attr: "b" } + shape_signature: { fg: "#c3e88d" attr: "b" } + shape_string: "#c3e88d" + shape_string_interpolation: { fg: "#89ddff" attr: "b" } + shape_table: { fg: "#82aaff" attr: "b" } + shape_variable: "#c792ea" + + background: "#263238" + foreground: "#eeffff" + cursor: "#eeffff" +}} \ No newline at end of file diff --git a/themes/themes/mathias.nu b/themes/themes/mathias.nu index d4acbd8..e578273 100644 --- a/themes/themes/mathias.nu +++ b/themes/themes/mathias.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mathias theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#bbbbbb" - # cursor: "#bbbbbb" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#55ff55" - empty: "#c48dff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#55ff55" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff55ff" - shape_bool: "#55ffff" - shape_int: "#ff55ff" - shape_float: "#ff55ff" - shape_range: "#ffff55" - shape_internalcall: "#55ffff" - shape_external: "#67d9f0" - shape_externalarg: "#55ff55" - shape_literal: "#c48dff" - shape_operator: "#fc951e" - shape_signature: "#55ff55" - shape_string: "#a6e32d" - shape_string_interpolation: "#55ffff" - shape_datetime: "#55ffff" - shape_list: "#55ffff" - shape_table: "#5555ff" - shape_record: "#55ffff" - shape_block: "#5555ff" - shape_filepath: "#67d9f0" - shape_globpattern: "#55ffff" - shape_variable: "#fa2573" - shape_flag: "#5555ff" - shape_custom: "#a6e32d" - shape_nothing: "#55ffff" +export def main [] { return { + separator: "#f2f2f2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a6e32d" attr: "b" } + empty: "#c48dff" + bool: {|| if $in { "#55ffff" } else { "light_gray" } } + int: "#f2f2f2" + filesize: {|e| + if $e == 0b { + "#f2f2f2" + } else if $e < 1mb { + "#67d9f0" + } else {{ fg: "#c48dff" }} } -} + duration: "#f2f2f2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e52222" attr: "b" } + } else if $in < 6hr { + "#e52222" + } else if $in < 1day { + "#fc951e" + } else if $in < 3day { + "#a6e32d" + } else if $in < 1wk { + { fg: "#a6e32d" attr: "b" } + } else if $in < 6wk { + "#67d9f0" + } else if $in < 52wk { + "#c48dff" + } else { "dark_gray" } + } + range: "#f2f2f2" + float: "#f2f2f2" + string: "#f2f2f2" + nothing: "#f2f2f2" + binary: "#f2f2f2" + cellpath: "#f2f2f2" + row_index: { fg: "#a6e32d" attr: "b" } + record: "#f2f2f2" + list: "#f2f2f2" + block: "#f2f2f2" + hints: "dark_gray" + + shape_and: { fg: "#fa2573" attr: "b" } + shape_binary: { fg: "#fa2573" attr: "b" } + shape_block: { fg: "#c48dff" attr: "b" } + shape_bool: "#55ffff" + shape_custom: "#a6e32d" + shape_datetime: { fg: "#67d9f0" attr: "b" } + shape_directory: "#67d9f0" + shape_external: "#67d9f0" + shape_externalarg: { fg: "#a6e32d" attr: "b" } + shape_filepath: "#67d9f0" + shape_flag: { fg: "#c48dff" attr: "b" } + shape_float: { fg: "#fa2573" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#67d9f0" attr: "b" } + shape_int: { fg: "#fa2573" attr: "b" } + shape_internalcall: { fg: "#67d9f0" attr: "b" } + shape_list: { fg: "#67d9f0" attr: "b" } + shape_literal: "#c48dff" + shape_match_pattern: "#a6e32d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#55ffff" + shape_operator: "#fc951e" + shape_or: { fg: "#fa2573" attr: "b" } + shape_pipe: { fg: "#fa2573" attr: "b" } + shape_range: { fg: "#fc951e" attr: "b" } + shape_record: { fg: "#67d9f0" attr: "b" } + shape_redirection: { fg: "#fa2573" attr: "b" } + shape_signature: { fg: "#a6e32d" attr: "b" } + shape_string: "#a6e32d" + shape_string_interpolation: { fg: "#67d9f0" attr: "b" } + shape_table: { fg: "#c48dff" attr: "b" } + shape_variable: "#fa2573" + + background: "#000000" + foreground: "#bbbbbb" + cursor: "#bbbbbb" +}} \ No newline at end of file diff --git a/themes/themes/medallion.nu b/themes/themes/medallion.nu index 5e5f5f5..701d9c6 100644 --- a/themes/themes/medallion.nu +++ b/themes/themes/medallion.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the medallion theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d1908" - # foreground: "#cac296" - # cursor: "#cac296" - - { - # color for nushell primitives - separator: "#fed698" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b2ca3b" - empty: "#616bb0" - bool: "#fed698" - int: "#fed698" - filesize: "#fed698" - duration: "#fed698" - date: "#fed698" - range: "#fed698" - float: "#fed698" - string: "#fed698" - nothing: "#fed698" - binary: "#fed698" - cellpath: "#fed698" - row_index: "#b2ca3b" - record: "#fed698" - list: "#fed698" - block: "#fed698" - hints: "#5e5219" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ffa0ff" - shape_bool: "#ffbc51" - shape_int: "#ffa0ff" - shape_float: "#ffa0ff" - shape_range: "#ffe54a" - shape_internalcall: "#ffbc51" - shape_external: "#916c25" - shape_externalarg: "#b2ca3b" - shape_literal: "#616bb0" - shape_operator: "#d3bd26" - shape_signature: "#b2ca3b" - shape_string: "#7c8b16" - shape_string_interpolation: "#ffbc51" - shape_datetime: "#ffbc51" - shape_list: "#ffbc51" - shape_table: "#acb8ff" - shape_record: "#ffbc51" - shape_block: "#acb8ff" - shape_filepath: "#916c25" - shape_globpattern: "#ffbc51" - shape_variable: "#8c5a90" - shape_flag: "#acb8ff" - shape_custom: "#7c8b16" - shape_nothing: "#ffbc51" +export def main [] { return { + separator: "#cac29a" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7c8b16" attr: "b" } + empty: "#616bb0" + bool: {|| if $in { "#ffbc51" } else { "light_gray" } } + int: "#cac29a" + filesize: {|e| + if $e == 0b { + "#cac29a" + } else if $e < 1mb { + "#916c25" + } else {{ fg: "#616bb0" }} } -} + duration: "#cac29a" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b64c00" attr: "b" } + } else if $in < 6hr { + "#b64c00" + } else if $in < 1day { + "#d3bd26" + } else if $in < 3day { + "#7c8b16" + } else if $in < 1wk { + { fg: "#7c8b16" attr: "b" } + } else if $in < 6wk { + "#916c25" + } else if $in < 52wk { + "#616bb0" + } else { "dark_gray" } + } + range: "#cac29a" + float: "#cac29a" + string: "#cac29a" + nothing: "#cac29a" + binary: "#cac29a" + cellpath: "#cac29a" + row_index: { fg: "#7c8b16" attr: "b" } + record: "#cac29a" + list: "#cac29a" + block: "#cac29a" + hints: "dark_gray" + + shape_and: { fg: "#8c5a90" attr: "b" } + shape_binary: { fg: "#8c5a90" attr: "b" } + shape_block: { fg: "#616bb0" attr: "b" } + shape_bool: "#ffbc51" + shape_custom: "#7c8b16" + shape_datetime: { fg: "#916c25" attr: "b" } + shape_directory: "#916c25" + shape_external: "#916c25" + shape_externalarg: { fg: "#7c8b16" attr: "b" } + shape_filepath: "#916c25" + shape_flag: { fg: "#616bb0" attr: "b" } + shape_float: { fg: "#8c5a90" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#916c25" attr: "b" } + shape_int: { fg: "#8c5a90" attr: "b" } + shape_internalcall: { fg: "#916c25" attr: "b" } + shape_list: { fg: "#916c25" attr: "b" } + shape_literal: "#616bb0" + shape_match_pattern: "#7c8b16" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#ffbc51" + shape_operator: "#d3bd26" + shape_or: { fg: "#8c5a90" attr: "b" } + shape_pipe: { fg: "#8c5a90" attr: "b" } + shape_range: { fg: "#d3bd26" attr: "b" } + shape_record: { fg: "#916c25" attr: "b" } + shape_redirection: { fg: "#8c5a90" attr: "b" } + shape_signature: { fg: "#7c8b16" attr: "b" } + shape_string: "#7c8b16" + shape_string_interpolation: { fg: "#916c25" attr: "b" } + shape_table: { fg: "#616bb0" attr: "b" } + shape_variable: "#8c5a90" + + background: "#1d1908" + foreground: "#cac296" + cursor: "#cac296" +}} \ No newline at end of file diff --git a/themes/themes/mellow-purple.nu b/themes/themes/mellow-purple.nu index ea51da7..52f06d9 100644 --- a/themes/themes/mellow-purple.nu +++ b/themes/themes/mellow-purple.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mellow_purple theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1e0528" - # foreground: "#ffeeff" - # cursor: "#ffeeff" - - { - # color for nushell primitives - separator: "#f8c0ff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#05cb0d" - empty: "#550068" - bool: "#f8c0ff" - int: "#f8c0ff" - filesize: "#f8c0ff" - duration: "#f8c0ff" - date: "#f8c0ff" - range: "#f8c0ff" - float: "#f8c0ff" - string: "#f8c0ff" - nothing: "#f8c0ff" - binary: "#f8c0ff" - cellpath: "#f8c0ff" - row_index: "#05cb0d" - record: "#f8c0ff" - list: "#f8c0ff" - block: "#f8c0ff" - hints: "#320f55" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8991bb" - shape_bool: "#b900b1" - shape_int: "#8991bb" - shape_float: "#8991bb" - shape_range: "#955ae7" - shape_internalcall: "#b900b1" - shape_external: "#b900b1" - shape_externalarg: "#05cb0d" - shape_literal: "#550068" - shape_operator: "#955ae7" - shape_signature: "#05cb0d" - shape_string: "#05cb0d" - shape_string_interpolation: "#b900b1" - shape_datetime: "#b900b1" - shape_list: "#b900b1" - shape_table: "#550068" - shape_record: "#b900b1" - shape_block: "#550068" - shape_filepath: "#b900b1" - shape_globpattern: "#b900b1" - shape_variable: "#8991bb" - shape_flag: "#550068" - shape_custom: "#05cb0d" - shape_nothing: "#b900b1" +export def main [] { return { + separator: "#ffeeff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#05cb0d" attr: "b" } + empty: "#550068" + bool: {|| if $in { "#b900b1" } else { "light_gray" } } + int: "#ffeeff" + filesize: {|e| + if $e == 0b { + "#ffeeff" + } else if $e < 1mb { + "#b900b1" + } else {{ fg: "#550068" }} } -} + duration: "#ffeeff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#00d9e9" attr: "b" } + } else if $in < 6hr { + "#00d9e9" + } else if $in < 1day { + "#955ae7" + } else if $in < 3day { + "#05cb0d" + } else if $in < 1wk { + { fg: "#05cb0d" attr: "b" } + } else if $in < 6wk { + "#b900b1" + } else if $in < 52wk { + "#550068" + } else { "dark_gray" } + } + range: "#ffeeff" + float: "#ffeeff" + string: "#ffeeff" + nothing: "#ffeeff" + binary: "#ffeeff" + cellpath: "#ffeeff" + row_index: { fg: "#05cb0d" attr: "b" } + record: "#ffeeff" + list: "#ffeeff" + block: "#ffeeff" + hints: "dark_gray" + + shape_and: { fg: "#8991bb" attr: "b" } + shape_binary: { fg: "#8991bb" attr: "b" } + shape_block: { fg: "#550068" attr: "b" } + shape_bool: "#b900b1" + shape_custom: "#05cb0d" + shape_datetime: { fg: "#b900b1" attr: "b" } + shape_directory: "#b900b1" + shape_external: "#b900b1" + shape_externalarg: { fg: "#05cb0d" attr: "b" } + shape_filepath: "#b900b1" + shape_flag: { fg: "#550068" attr: "b" } + shape_float: { fg: "#8991bb" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#b900b1" attr: "b" } + shape_int: { fg: "#8991bb" attr: "b" } + shape_internalcall: { fg: "#b900b1" attr: "b" } + shape_list: { fg: "#b900b1" attr: "b" } + shape_literal: "#550068" + shape_match_pattern: "#05cb0d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#b900b1" + shape_operator: "#955ae7" + shape_or: { fg: "#8991bb" attr: "b" } + shape_pipe: { fg: "#8991bb" attr: "b" } + shape_range: { fg: "#955ae7" attr: "b" } + shape_record: { fg: "#b900b1" attr: "b" } + shape_redirection: { fg: "#8991bb" attr: "b" } + shape_signature: { fg: "#05cb0d" attr: "b" } + shape_string: "#05cb0d" + shape_string_interpolation: { fg: "#b900b1" attr: "b" } + shape_table: { fg: "#550068" attr: "b" } + shape_variable: "#8991bb" + + background: "#1e0528" + foreground: "#ffeeff" + cursor: "#ffeeff" +}} \ No newline at end of file diff --git a/themes/themes/mexico-light.nu b/themes/themes/mexico-light.nu index b7b71a0..625c1af 100644 --- a/themes/themes/mexico-light.nu +++ b/themes/themes/mexico-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mexico_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f8f8f8" - # foreground: "#383838" - # cursor: "#383838" - - { - # color for nushell primitives - separator: "#181818" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#538947" - empty: "#7cafc2" - bool: "#181818" - int: "#181818" - filesize: "#181818" - duration: "#181818" - date: "#181818" - range: "#181818" - float: "#181818" - string: "#181818" - nothing: "#181818" - binary: "#181818" - cellpath: "#181818" - row_index: "#538947" - record: "#181818" - list: "#181818" - block: "#181818" - hints: "#b8b8b8" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#96609e" - shape_bool: "#4b8093" - shape_int: "#96609e" - shape_float: "#96609e" - shape_range: "#f79a0e" - shape_internalcall: "#4b8093" - shape_external: "#4b8093" - shape_externalarg: "#538947" - shape_literal: "#7cafc2" - shape_operator: "#f79a0e" - shape_signature: "#538947" - shape_string: "#538947" - shape_string_interpolation: "#4b8093" - shape_datetime: "#4b8093" - shape_list: "#4b8093" - shape_table: "#7cafc2" - shape_record: "#4b8093" - shape_block: "#7cafc2" - shape_filepath: "#4b8093" - shape_globpattern: "#4b8093" - shape_variable: "#96609e" - shape_flag: "#7cafc2" - shape_custom: "#538947" - shape_nothing: "#4b8093" +export def main [] { return { + separator: "#383838" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#538947" attr: "b" } + empty: "#7cafc2" + bool: {|| if $in { "#4b8093" } else { "light_gray" } } + int: "#383838" + filesize: {|e| + if $e == 0b { + "#383838" + } else if $e < 1mb { + "#4b8093" + } else {{ fg: "#7cafc2" }} } -} + duration: "#383838" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ab4642" attr: "b" } + } else if $in < 6hr { + "#ab4642" + } else if $in < 1day { + "#f79a0e" + } else if $in < 3day { + "#538947" + } else if $in < 1wk { + { fg: "#538947" attr: "b" } + } else if $in < 6wk { + "#4b8093" + } else if $in < 52wk { + "#7cafc2" + } else { "dark_gray" } + } + range: "#383838" + float: "#383838" + string: "#383838" + nothing: "#383838" + binary: "#383838" + cellpath: "#383838" + row_index: { fg: "#538947" attr: "b" } + record: "#383838" + list: "#383838" + block: "#383838" + hints: "dark_gray" + + shape_and: { fg: "#96609e" attr: "b" } + shape_binary: { fg: "#96609e" attr: "b" } + shape_block: { fg: "#7cafc2" attr: "b" } + shape_bool: "#4b8093" + shape_custom: "#538947" + shape_datetime: { fg: "#4b8093" attr: "b" } + shape_directory: "#4b8093" + shape_external: "#4b8093" + shape_externalarg: { fg: "#538947" attr: "b" } + shape_filepath: "#4b8093" + shape_flag: { fg: "#7cafc2" attr: "b" } + shape_float: { fg: "#96609e" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#4b8093" attr: "b" } + shape_int: { fg: "#96609e" attr: "b" } + shape_internalcall: { fg: "#4b8093" attr: "b" } + shape_list: { fg: "#4b8093" attr: "b" } + shape_literal: "#7cafc2" + shape_match_pattern: "#538947" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4b8093" + shape_operator: "#f79a0e" + shape_or: { fg: "#96609e" attr: "b" } + shape_pipe: { fg: "#96609e" attr: "b" } + shape_range: { fg: "#f79a0e" attr: "b" } + shape_record: { fg: "#4b8093" attr: "b" } + shape_redirection: { fg: "#96609e" attr: "b" } + shape_signature: { fg: "#538947" attr: "b" } + shape_string: "#538947" + shape_string_interpolation: { fg: "#4b8093" attr: "b" } + shape_table: { fg: "#7cafc2" attr: "b" } + shape_variable: "#96609e" + + background: "#f8f8f8" + foreground: "#383838" + cursor: "#383838" +}} \ No newline at end of file diff --git a/themes/themes/miramare.nu b/themes/themes/miramare.nu index 33777f7..02e939e 100644 --- a/themes/themes/miramare.nu +++ b/themes/themes/miramare.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the miramare theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2a2426" - # foreground: "#e6d6ac" - # cursor: "#d9bb80" - - { - # color for nushell primitives - separator: "#444444" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#87af87" - empty: "#89beba" - bool: "#444444" - int: "#444444" - filesize: "#444444" - duration: "#444444" - date: "#444444" - range: "#444444" - float: "#444444" - string: "#444444" - nothing: "#444444" - binary: "#444444" - cellpath: "#444444" - row_index: "#87af87" - record: "#444444" - list: "#444444" - block: "#444444" - hints: "#e6d6ac" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3a0bc" - shape_bool: "#87c095" - shape_int: "#d3a0bc" - shape_float: "#d3a0bc" - shape_range: "#d9bb80" - shape_internalcall: "#87c095" - shape_external: "#87c095" - shape_externalarg: "#87af87" - shape_literal: "#89beba" - shape_operator: "#d9bb80" - shape_signature: "#87af87" - shape_string: "#87af87" - shape_string_interpolation: "#87c095" - shape_datetime: "#87c095" - shape_list: "#87c095" - shape_table: "#89beba" - shape_record: "#87c095" - shape_block: "#89beba" - shape_filepath: "#87c095" - shape_globpattern: "#87c095" - shape_variable: "#d3a0bc" - shape_flag: "#89beba" - shape_custom: "#87af87" - shape_nothing: "#87c095" +export def main [] { return { + separator: "#444444" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#87af87" attr: "b" } + empty: "#89beba" + bool: {|| if $in { "#87c095" } else { "light_gray" } } + int: "#444444" + filesize: {|e| + if $e == 0b { + "#444444" + } else if $e < 1mb { + "#87c095" + } else {{ fg: "#89beba" }} } -} + duration: "#444444" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e68183" attr: "b" } + } else if $in < 6hr { + "#e68183" + } else if $in < 1day { + "#d9bb80" + } else if $in < 3day { + "#87af87" + } else if $in < 1wk { + { fg: "#87af87" attr: "b" } + } else if $in < 6wk { + "#87c095" + } else if $in < 52wk { + "#89beba" + } else { "dark_gray" } + } + range: "#444444" + float: "#444444" + string: "#444444" + nothing: "#444444" + binary: "#444444" + cellpath: "#444444" + row_index: { fg: "#87af87" attr: "b" } + record: "#444444" + list: "#444444" + block: "#444444" + hints: "dark_gray" + + shape_and: { fg: "#d3a0bc" attr: "b" } + shape_binary: { fg: "#d3a0bc" attr: "b" } + shape_block: { fg: "#89beba" attr: "b" } + shape_bool: "#87c095" + shape_custom: "#87af87" + shape_datetime: { fg: "#87c095" attr: "b" } + shape_directory: "#87c095" + shape_external: "#87c095" + shape_externalarg: { fg: "#87af87" attr: "b" } + shape_filepath: "#87c095" + shape_flag: { fg: "#89beba" attr: "b" } + shape_float: { fg: "#d3a0bc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#87c095" attr: "b" } + shape_int: { fg: "#d3a0bc" attr: "b" } + shape_internalcall: { fg: "#87c095" attr: "b" } + shape_list: { fg: "#87c095" attr: "b" } + shape_literal: "#89beba" + shape_match_pattern: "#87af87" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#87c095" + shape_operator: "#d9bb80" + shape_or: { fg: "#d3a0bc" attr: "b" } + shape_pipe: { fg: "#d3a0bc" attr: "b" } + shape_range: { fg: "#d9bb80" attr: "b" } + shape_record: { fg: "#87c095" attr: "b" } + shape_redirection: { fg: "#d3a0bc" attr: "b" } + shape_signature: { fg: "#87af87" attr: "b" } + shape_string: "#87af87" + shape_string_interpolation: { fg: "#87c095" attr: "b" } + shape_table: { fg: "#89beba" attr: "b" } + shape_variable: "#d3a0bc" + + background: "#2a2426" + foreground: "#e6d6ac" + cursor: "#d9bb80" +}} \ No newline at end of file diff --git a/themes/themes/misterioso.nu b/themes/themes/misterioso.nu index cae6a6f..53a9bee 100644 --- a/themes/themes/misterioso.nu +++ b/themes/themes/misterioso.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the misterioso theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2d3743" - # foreground: "#e1e1e0" - # cursor: "#e1e1e0" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#74cd68" - empty: "#338f86" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#74cd68" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff37ff" - shape_bool: "#00ede1" - shape_int: "#ff37ff" - shape_float: "#ff37ff" - shape_range: "#ffb929" - shape_internalcall: "#00ede1" - shape_external: "#23d7d7" - shape_externalarg: "#74cd68" - shape_literal: "#338f86" - shape_operator: "#ffad29" - shape_signature: "#74cd68" - shape_string: "#74af68" - shape_string_interpolation: "#00ede1" - shape_datetime: "#00ede1" - shape_list: "#00ede1" - shape_table: "#23d7d7" - shape_record: "#00ede1" - shape_block: "#23d7d7" - shape_filepath: "#23d7d7" - shape_globpattern: "#00ede1" - shape_variable: "#9414e6" - shape_flag: "#23d7d7" - shape_custom: "#74af68" - shape_nothing: "#00ede1" +export def main [] { return { + separator: "#e1e1e0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#74af68" attr: "b" } + empty: "#338f86" + bool: {|| if $in { "#00ede1" } else { "light_gray" } } + int: "#e1e1e0" + filesize: {|e| + if $e == 0b { + "#e1e1e0" + } else if $e < 1mb { + "#23d7d7" + } else {{ fg: "#338f86" }} } -} + duration: "#e1e1e0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff4242" attr: "b" } + } else if $in < 6hr { + "#ff4242" + } else if $in < 1day { + "#ffad29" + } else if $in < 3day { + "#74af68" + } else if $in < 1wk { + { fg: "#74af68" attr: "b" } + } else if $in < 6wk { + "#23d7d7" + } else if $in < 52wk { + "#338f86" + } else { "dark_gray" } + } + range: "#e1e1e0" + float: "#e1e1e0" + string: "#e1e1e0" + nothing: "#e1e1e0" + binary: "#e1e1e0" + cellpath: "#e1e1e0" + row_index: { fg: "#74af68" attr: "b" } + record: "#e1e1e0" + list: "#e1e1e0" + block: "#e1e1e0" + hints: "dark_gray" + + shape_and: { fg: "#9414e6" attr: "b" } + shape_binary: { fg: "#9414e6" attr: "b" } + shape_block: { fg: "#338f86" attr: "b" } + shape_bool: "#00ede1" + shape_custom: "#74af68" + shape_datetime: { fg: "#23d7d7" attr: "b" } + shape_directory: "#23d7d7" + shape_external: "#23d7d7" + shape_externalarg: { fg: "#74af68" attr: "b" } + shape_filepath: "#23d7d7" + shape_flag: { fg: "#338f86" attr: "b" } + shape_float: { fg: "#9414e6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#23d7d7" attr: "b" } + shape_int: { fg: "#9414e6" attr: "b" } + shape_internalcall: { fg: "#23d7d7" attr: "b" } + shape_list: { fg: "#23d7d7" attr: "b" } + shape_literal: "#338f86" + shape_match_pattern: "#74af68" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00ede1" + shape_operator: "#ffad29" + shape_or: { fg: "#9414e6" attr: "b" } + shape_pipe: { fg: "#9414e6" attr: "b" } + shape_range: { fg: "#ffad29" attr: "b" } + shape_record: { fg: "#23d7d7" attr: "b" } + shape_redirection: { fg: "#9414e6" attr: "b" } + shape_signature: { fg: "#74af68" attr: "b" } + shape_string: "#74af68" + shape_string_interpolation: { fg: "#23d7d7" attr: "b" } + shape_table: { fg: "#338f86" attr: "b" } + shape_variable: "#9414e6" + + background: "#2d3743" + foreground: "#e1e1e0" + cursor: "#e1e1e0" +}} \ No newline at end of file diff --git a/themes/themes/miu.nu b/themes/themes/miu.nu index c1f69e7..3fc3f2c 100644 --- a/themes/themes/miu.nu +++ b/themes/themes/miu.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the miu theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0d1926" - # foreground: "#d9e6f2" - # cursor: "#d9e6f2" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#bddbbd" - empty: "#7a7ab8" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#bddbbd" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#262626" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#dbbddb" - shape_bool: "#bddbdb" - shape_int: "#dbbddb" - shape_float: "#dbbddb" - shape_range: "#dbdbbd" - shape_internalcall: "#bddbdb" - shape_external: "#7ab8b8" - shape_externalarg: "#bddbbd" - shape_literal: "#7a7ab8" - shape_operator: "#b8b87a" - shape_signature: "#bddbbd" - shape_string: "#7ab87a" - shape_string_interpolation: "#bddbdb" - shape_datetime: "#bddbdb" - shape_list: "#bddbdb" - shape_table: "#bdbddb" - shape_record: "#bddbdb" - shape_block: "#bdbddb" - shape_filepath: "#7ab8b8" - shape_globpattern: "#bddbdb" - shape_variable: "#b87ab8" - shape_flag: "#bdbddb" - shape_custom: "#7ab87a" - shape_nothing: "#bddbdb" +export def main [] { return { + separator: "#d9d9d9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7ab87a" attr: "b" } + empty: "#7a7ab8" + bool: {|| if $in { "#bddbdb" } else { "light_gray" } } + int: "#d9d9d9" + filesize: {|e| + if $e == 0b { + "#d9d9d9" + } else if $e < 1mb { + "#7ab8b8" + } else {{ fg: "#7a7ab8" }} } -} + duration: "#d9d9d9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b87a7a" attr: "b" } + } else if $in < 6hr { + "#b87a7a" + } else if $in < 1day { + "#b8b87a" + } else if $in < 3day { + "#7ab87a" + } else if $in < 1wk { + { fg: "#7ab87a" attr: "b" } + } else if $in < 6wk { + "#7ab8b8" + } else if $in < 52wk { + "#7a7ab8" + } else { "dark_gray" } + } + range: "#d9d9d9" + float: "#d9d9d9" + string: "#d9d9d9" + nothing: "#d9d9d9" + binary: "#d9d9d9" + cellpath: "#d9d9d9" + row_index: { fg: "#7ab87a" attr: "b" } + record: "#d9d9d9" + list: "#d9d9d9" + block: "#d9d9d9" + hints: "dark_gray" + + shape_and: { fg: "#b87ab8" attr: "b" } + shape_binary: { fg: "#b87ab8" attr: "b" } + shape_block: { fg: "#7a7ab8" attr: "b" } + shape_bool: "#bddbdb" + shape_custom: "#7ab87a" + shape_datetime: { fg: "#7ab8b8" attr: "b" } + shape_directory: "#7ab8b8" + shape_external: "#7ab8b8" + shape_externalarg: { fg: "#7ab87a" attr: "b" } + shape_filepath: "#7ab8b8" + shape_flag: { fg: "#7a7ab8" attr: "b" } + shape_float: { fg: "#b87ab8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7ab8b8" attr: "b" } + shape_int: { fg: "#b87ab8" attr: "b" } + shape_internalcall: { fg: "#7ab8b8" attr: "b" } + shape_list: { fg: "#7ab8b8" attr: "b" } + shape_literal: "#7a7ab8" + shape_match_pattern: "#7ab87a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#bddbdb" + shape_operator: "#b8b87a" + shape_or: { fg: "#b87ab8" attr: "b" } + shape_pipe: { fg: "#b87ab8" attr: "b" } + shape_range: { fg: "#b8b87a" attr: "b" } + shape_record: { fg: "#7ab8b8" attr: "b" } + shape_redirection: { fg: "#b87ab8" attr: "b" } + shape_signature: { fg: "#7ab87a" attr: "b" } + shape_string: "#7ab87a" + shape_string_interpolation: { fg: "#7ab8b8" attr: "b" } + shape_table: { fg: "#7a7ab8" attr: "b" } + shape_variable: "#b87ab8" + + background: "#0d1926" + foreground: "#d9e6f2" + cursor: "#d9e6f2" +}} \ No newline at end of file diff --git a/themes/themes/mocha.nu b/themes/themes/mocha.nu index 99511cc..c39fb39 100644 --- a/themes/themes/mocha.nu +++ b/themes/themes/mocha.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mocha theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#3b3228" - # foreground: "#d0c8c6" - # cursor: "#d0c8c6" - - { - # color for nushell primitives - separator: "#f5eeeb" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#beb55b" - empty: "#8ab3b5" - bool: "#f5eeeb" - int: "#f5eeeb" - filesize: "#f5eeeb" - duration: "#f5eeeb" - date: "#f5eeeb" - range: "#f5eeeb" - float: "#f5eeeb" - string: "#f5eeeb" - nothing: "#f5eeeb" - binary: "#f5eeeb" - cellpath: "#f5eeeb" - row_index: "#beb55b" - record: "#f5eeeb" - list: "#f5eeeb" - block: "#f5eeeb" - hints: "#7e705a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a89bb9" - shape_bool: "#7bbda4" - shape_int: "#a89bb9" - shape_float: "#a89bb9" - shape_range: "#f4bc87" - shape_internalcall: "#7bbda4" - shape_external: "#7bbda4" - shape_externalarg: "#beb55b" - shape_literal: "#8ab3b5" - shape_operator: "#f4bc87" - shape_signature: "#beb55b" - shape_string: "#beb55b" - shape_string_interpolation: "#7bbda4" - shape_datetime: "#7bbda4" - shape_list: "#7bbda4" - shape_table: "#8ab3b5" - shape_record: "#7bbda4" - shape_block: "#8ab3b5" - shape_filepath: "#7bbda4" - shape_globpattern: "#7bbda4" - shape_variable: "#a89bb9" - shape_flag: "#8ab3b5" - shape_custom: "#beb55b" - shape_nothing: "#7bbda4" +export def main [] { return { + separator: "#d0c8c6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#beb55b" attr: "b" } + empty: "#8ab3b5" + bool: {|| if $in { "#7bbda4" } else { "light_gray" } } + int: "#d0c8c6" + filesize: {|e| + if $e == 0b { + "#d0c8c6" + } else if $e < 1mb { + "#7bbda4" + } else {{ fg: "#8ab3b5" }} } -} + duration: "#d0c8c6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cb6077" attr: "b" } + } else if $in < 6hr { + "#cb6077" + } else if $in < 1day { + "#f4bc87" + } else if $in < 3day { + "#beb55b" + } else if $in < 1wk { + { fg: "#beb55b" attr: "b" } + } else if $in < 6wk { + "#7bbda4" + } else if $in < 52wk { + "#8ab3b5" + } else { "dark_gray" } + } + range: "#d0c8c6" + float: "#d0c8c6" + string: "#d0c8c6" + nothing: "#d0c8c6" + binary: "#d0c8c6" + cellpath: "#d0c8c6" + row_index: { fg: "#beb55b" attr: "b" } + record: "#d0c8c6" + list: "#d0c8c6" + block: "#d0c8c6" + hints: "dark_gray" + + shape_and: { fg: "#a89bb9" attr: "b" } + shape_binary: { fg: "#a89bb9" attr: "b" } + shape_block: { fg: "#8ab3b5" attr: "b" } + shape_bool: "#7bbda4" + shape_custom: "#beb55b" + shape_datetime: { fg: "#7bbda4" attr: "b" } + shape_directory: "#7bbda4" + shape_external: "#7bbda4" + shape_externalarg: { fg: "#beb55b" attr: "b" } + shape_filepath: "#7bbda4" + shape_flag: { fg: "#8ab3b5" attr: "b" } + shape_float: { fg: "#a89bb9" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7bbda4" attr: "b" } + shape_int: { fg: "#a89bb9" attr: "b" } + shape_internalcall: { fg: "#7bbda4" attr: "b" } + shape_list: { fg: "#7bbda4" attr: "b" } + shape_literal: "#8ab3b5" + shape_match_pattern: "#beb55b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7bbda4" + shape_operator: "#f4bc87" + shape_or: { fg: "#a89bb9" attr: "b" } + shape_pipe: { fg: "#a89bb9" attr: "b" } + shape_range: { fg: "#f4bc87" attr: "b" } + shape_record: { fg: "#7bbda4" attr: "b" } + shape_redirection: { fg: "#a89bb9" attr: "b" } + shape_signature: { fg: "#beb55b" attr: "b" } + shape_string: "#beb55b" + shape_string_interpolation: { fg: "#7bbda4" attr: "b" } + shape_table: { fg: "#8ab3b5" attr: "b" } + shape_variable: "#a89bb9" + + background: "#3b3228" + foreground: "#d0c8c6" + cursor: "#d0c8c6" +}} \ No newline at end of file diff --git a/themes/themes/molokai.nu b/themes/themes/molokai.nu index 7f91236..66d3b4d 100644 --- a/themes/themes/molokai.nu +++ b/themes/themes/molokai.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the molokai theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1b1d1e" - # foreground: "#bbbbbb" - # cursor: "#bbbbbb" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#5fe0b1" - empty: "#d08010" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#5fe0b1" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff87af" - shape_bool: "#ffce51" - shape_int: "#ff87af" - shape_float: "#ff87af" - shape_range: "#6df2ff" - shape_internalcall: "#ffce51" - shape_external: "#d0a843" - shape_externalarg: "#5fe0b1" - shape_literal: "#d08010" - shape_operator: "#60d4df" - shape_signature: "#5fe0b1" - shape_string: "#23e298" - shape_string_interpolation: "#ffce51" - shape_datetime: "#ffce51" - shape_list: "#ffce51" - shape_table: "#ffaf00" - shape_record: "#ffce51" - shape_block: "#ffaf00" - shape_filepath: "#d0a843" - shape_globpattern: "#ffce51" - shape_variable: "#ff0087" - shape_flag: "#ffaf00" - shape_custom: "#23e298" - shape_nothing: "#ffce51" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#23e298" attr: "b" } + empty: "#d08010" + bool: {|| if $in { "#ffce51" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#d0a843" + } else {{ fg: "#d08010" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#7325fa" attr: "b" } + } else if $in < 6hr { + "#7325fa" + } else if $in < 1day { + "#60d4df" + } else if $in < 3day { + "#23e298" + } else if $in < 1wk { + { fg: "#23e298" attr: "b" } + } else if $in < 6wk { + "#d0a843" + } else if $in < 52wk { + "#d08010" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#23e298" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#ff0087" attr: "b" } + shape_binary: { fg: "#ff0087" attr: "b" } + shape_block: { fg: "#d08010" attr: "b" } + shape_bool: "#ffce51" + shape_custom: "#23e298" + shape_datetime: { fg: "#d0a843" attr: "b" } + shape_directory: "#d0a843" + shape_external: "#d0a843" + shape_externalarg: { fg: "#23e298" attr: "b" } + shape_filepath: "#d0a843" + shape_flag: { fg: "#d08010" attr: "b" } + shape_float: { fg: "#ff0087" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#d0a843" attr: "b" } + shape_int: { fg: "#ff0087" attr: "b" } + shape_internalcall: { fg: "#d0a843" attr: "b" } + shape_list: { fg: "#d0a843" attr: "b" } + shape_literal: "#d08010" + shape_match_pattern: "#23e298" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#ffce51" + shape_operator: "#60d4df" + shape_or: { fg: "#ff0087" attr: "b" } + shape_pipe: { fg: "#ff0087" attr: "b" } + shape_range: { fg: "#60d4df" attr: "b" } + shape_record: { fg: "#d0a843" attr: "b" } + shape_redirection: { fg: "#ff0087" attr: "b" } + shape_signature: { fg: "#23e298" attr: "b" } + shape_string: "#23e298" + shape_string_interpolation: { fg: "#d0a843" attr: "b" } + shape_table: { fg: "#d08010" attr: "b" } + shape_variable: "#ff0087" + + background: "#1b1d1e" + foreground: "#bbbbbb" + cursor: "#bbbbbb" +}} \ No newline at end of file diff --git a/themes/themes/mona-lisa.nu b/themes/themes/mona-lisa.nu index a3f6534..b42a29b 100644 --- a/themes/themes/mona-lisa.nu +++ b/themes/themes/mona-lisa.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mona_lisa theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#120b0d" - # foreground: "#f7d66a" - # cursor: "#f7d66a" - - { - # color for nushell primitives - separator: "#ffe598" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b4b264" - empty: "#515c5d" - bool: "#ffe598" - int: "#ffe598" - filesize: "#ffe598" - duration: "#ffe598" - date: "#ffe598" - range: "#ffe598" - float: "#ffe598" - string: "#ffe598" - nothing: "#ffe598" - binary: "#ffe598" - cellpath: "#ffe598" - row_index: "#b4b264" - record: "#ffe598" - list: "#ffe598" - block: "#ffe598" - hints: "#874228" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff5b6a" - shape_bool: "#8acd8f" - shape_int: "#ff5b6a" - shape_float: "#ff5b6a" - shape_range: "#ff9566" - shape_internalcall: "#8acd8f" - shape_external: "#588056" - shape_externalarg: "#b4b264" - shape_literal: "#515c5d" - shape_operator: "#c36e28" - shape_signature: "#b4b264" - shape_string: "#636232" - shape_string_interpolation: "#8acd8f" - shape_datetime: "#8acd8f" - shape_list: "#8acd8f" - shape_table: "#9eb2b4" - shape_record: "#8acd8f" - shape_block: "#9eb2b4" - shape_filepath: "#588056" - shape_globpattern: "#8acd8f" - shape_variable: "#9b1d29" - shape_flag: "#9eb2b4" - shape_custom: "#636232" - shape_nothing: "#8acd8f" +export def main [] { return { + separator: "#f7d75c" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#636232" attr: "b" } + empty: "#515c5d" + bool: {|| if $in { "#8acd8f" } else { "light_gray" } } + int: "#f7d75c" + filesize: {|e| + if $e == 0b { + "#f7d75c" + } else if $e < 1mb { + "#588056" + } else {{ fg: "#515c5d" }} } -} + duration: "#f7d75c" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#9b291c" attr: "b" } + } else if $in < 6hr { + "#9b291c" + } else if $in < 1day { + "#c36e28" + } else if $in < 3day { + "#636232" + } else if $in < 1wk { + { fg: "#636232" attr: "b" } + } else if $in < 6wk { + "#588056" + } else if $in < 52wk { + "#515c5d" + } else { "dark_gray" } + } + range: "#f7d75c" + float: "#f7d75c" + string: "#f7d75c" + nothing: "#f7d75c" + binary: "#f7d75c" + cellpath: "#f7d75c" + row_index: { fg: "#636232" attr: "b" } + record: "#f7d75c" + list: "#f7d75c" + block: "#f7d75c" + hints: "dark_gray" + + shape_and: { fg: "#9b1d29" attr: "b" } + shape_binary: { fg: "#9b1d29" attr: "b" } + shape_block: { fg: "#515c5d" attr: "b" } + shape_bool: "#8acd8f" + shape_custom: "#636232" + shape_datetime: { fg: "#588056" attr: "b" } + shape_directory: "#588056" + shape_external: "#588056" + shape_externalarg: { fg: "#636232" attr: "b" } + shape_filepath: "#588056" + shape_flag: { fg: "#515c5d" attr: "b" } + shape_float: { fg: "#9b1d29" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#588056" attr: "b" } + shape_int: { fg: "#9b1d29" attr: "b" } + shape_internalcall: { fg: "#588056" attr: "b" } + shape_list: { fg: "#588056" attr: "b" } + shape_literal: "#515c5d" + shape_match_pattern: "#636232" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8acd8f" + shape_operator: "#c36e28" + shape_or: { fg: "#9b1d29" attr: "b" } + shape_pipe: { fg: "#9b1d29" attr: "b" } + shape_range: { fg: "#c36e28" attr: "b" } + shape_record: { fg: "#588056" attr: "b" } + shape_redirection: { fg: "#9b1d29" attr: "b" } + shape_signature: { fg: "#636232" attr: "b" } + shape_string: "#636232" + shape_string_interpolation: { fg: "#588056" attr: "b" } + shape_table: { fg: "#515c5d" attr: "b" } + shape_variable: "#9b1d29" + + background: "#120b0d" + foreground: "#f7d66a" + cursor: "#f7d66a" +}} \ No newline at end of file diff --git a/themes/themes/mono-amber.nu b/themes/themes/mono-amber.nu index 291e956..6cf4cf9 100644 --- a/themes/themes/mono-amber.nu +++ b/themes/themes/mono-amber.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mono_amber theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2b1900" - # foreground: "#ff9400" - # cursor: "#ff9400" - - { - # color for nushell primitives - separator: "#ff9400" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ff9400" - empty: "#ff9400" - bool: "#ff9400" - int: "#ff9400" - filesize: "#ff9400" - duration: "#ff9400" - date: "#ff9400" - range: "#ff9400" - float: "#ff9400" - string: "#ff9400" - nothing: "#ff9400" - binary: "#ff9400" - cellpath: "#ff9400" - row_index: "#ff9400" - record: "#ff9400" - list: "#ff9400" - block: "#ff9400" - hints: "#ff9400" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff9400" - shape_bool: "#ff9400" - shape_int: "#ff9400" - shape_float: "#ff9400" - shape_range: "#ff9400" - shape_internalcall: "#ff9400" - shape_external: "#ff9400" - shape_externalarg: "#ff9400" - shape_literal: "#ff9400" - shape_operator: "#ff9400" - shape_signature: "#ff9400" - shape_string: "#ff9400" - shape_string_interpolation: "#ff9400" - shape_datetime: "#ff9400" - shape_list: "#ff9400" - shape_table: "#ff9400" - shape_record: "#ff9400" - shape_block: "#ff9400" - shape_filepath: "#ff9400" - shape_globpattern: "#ff9400" - shape_variable: "#ff9400" - shape_flag: "#ff9400" - shape_custom: "#ff9400" - shape_nothing: "#ff9400" +export def main [] { return { + separator: "#ff9400" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#ff9400" attr: "b" } + empty: "#ff9400" + bool: {|| if $in { "#ff9400" } else { "light_gray" } } + int: "#ff9400" + filesize: {|e| + if $e == 0b { + "#ff9400" + } else if $e < 1mb { + "#ff9400" + } else {{ fg: "#ff9400" }} } -} + duration: "#ff9400" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff9400" attr: "b" } + } else if $in < 6hr { + "#ff9400" + } else if $in < 1day { + "#ff9400" + } else if $in < 3day { + "#ff9400" + } else if $in < 1wk { + { fg: "#ff9400" attr: "b" } + } else if $in < 6wk { + "#ff9400" + } else if $in < 52wk { + "#ff9400" + } else { "dark_gray" } + } + range: "#ff9400" + float: "#ff9400" + string: "#ff9400" + nothing: "#ff9400" + binary: "#ff9400" + cellpath: "#ff9400" + row_index: { fg: "#ff9400" attr: "b" } + record: "#ff9400" + list: "#ff9400" + block: "#ff9400" + hints: "dark_gray" + + shape_and: { fg: "#ff9400" attr: "b" } + shape_binary: { fg: "#ff9400" attr: "b" } + shape_block: { fg: "#ff9400" attr: "b" } + shape_bool: "#ff9400" + shape_custom: "#ff9400" + shape_datetime: { fg: "#ff9400" attr: "b" } + shape_directory: "#ff9400" + shape_external: "#ff9400" + shape_externalarg: { fg: "#ff9400" attr: "b" } + shape_filepath: "#ff9400" + shape_flag: { fg: "#ff9400" attr: "b" } + shape_float: { fg: "#ff9400" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#ff9400" attr: "b" } + shape_int: { fg: "#ff9400" attr: "b" } + shape_internalcall: { fg: "#ff9400" attr: "b" } + shape_list: { fg: "#ff9400" attr: "b" } + shape_literal: "#ff9400" + shape_match_pattern: "#ff9400" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#ff9400" + shape_operator: "#ff9400" + shape_or: { fg: "#ff9400" attr: "b" } + shape_pipe: { fg: "#ff9400" attr: "b" } + shape_range: { fg: "#ff9400" attr: "b" } + shape_record: { fg: "#ff9400" attr: "b" } + shape_redirection: { fg: "#ff9400" attr: "b" } + shape_signature: { fg: "#ff9400" attr: "b" } + shape_string: "#ff9400" + shape_string_interpolation: { fg: "#ff9400" attr: "b" } + shape_table: { fg: "#ff9400" attr: "b" } + shape_variable: "#ff9400" + + background: "#2b1900" + foreground: "#ff9400" + cursor: "#ff9400" +}} \ No newline at end of file diff --git a/themes/themes/mono-cyan.nu b/themes/themes/mono-cyan.nu index eb8fafc..76be3e6 100644 --- a/themes/themes/mono-cyan.nu +++ b/themes/themes/mono-cyan.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mono_cyan theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#00222b" - # foreground: "#00ccff" - # cursor: "#00ccff" - - { - # color for nushell primitives - separator: "#00ccff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00ccff" - empty: "#00ccff" - bool: "#00ccff" - int: "#00ccff" - filesize: "#00ccff" - duration: "#00ccff" - date: "#00ccff" - range: "#00ccff" - float: "#00ccff" - string: "#00ccff" - nothing: "#00ccff" - binary: "#00ccff" - cellpath: "#00ccff" - row_index: "#00ccff" - record: "#00ccff" - list: "#00ccff" - block: "#00ccff" - hints: "#00ccff" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#00ccff" - shape_bool: "#00ccff" - shape_int: "#00ccff" - shape_float: "#00ccff" - shape_range: "#00ccff" - shape_internalcall: "#00ccff" - shape_external: "#00ccff" - shape_externalarg: "#00ccff" - shape_literal: "#00ccff" - shape_operator: "#00ccff" - shape_signature: "#00ccff" - shape_string: "#00ccff" - shape_string_interpolation: "#00ccff" - shape_datetime: "#00ccff" - shape_list: "#00ccff" - shape_table: "#00ccff" - shape_record: "#00ccff" - shape_block: "#00ccff" - shape_filepath: "#00ccff" - shape_globpattern: "#00ccff" - shape_variable: "#00ccff" - shape_flag: "#00ccff" - shape_custom: "#00ccff" - shape_nothing: "#00ccff" +export def main [] { return { + separator: "#00ccff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00ccff" attr: "b" } + empty: "#00ccff" + bool: {|| if $in { "#00ccff" } else { "light_gray" } } + int: "#00ccff" + filesize: {|e| + if $e == 0b { + "#00ccff" + } else if $e < 1mb { + "#00ccff" + } else {{ fg: "#00ccff" }} } -} + duration: "#00ccff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#00ccff" attr: "b" } + } else if $in < 6hr { + "#00ccff" + } else if $in < 1day { + "#00ccff" + } else if $in < 3day { + "#00ccff" + } else if $in < 1wk { + { fg: "#00ccff" attr: "b" } + } else if $in < 6wk { + "#00ccff" + } else if $in < 52wk { + "#00ccff" + } else { "dark_gray" } + } + range: "#00ccff" + float: "#00ccff" + string: "#00ccff" + nothing: "#00ccff" + binary: "#00ccff" + cellpath: "#00ccff" + row_index: { fg: "#00ccff" attr: "b" } + record: "#00ccff" + list: "#00ccff" + block: "#00ccff" + hints: "dark_gray" + + shape_and: { fg: "#00ccff" attr: "b" } + shape_binary: { fg: "#00ccff" attr: "b" } + shape_block: { fg: "#00ccff" attr: "b" } + shape_bool: "#00ccff" + shape_custom: "#00ccff" + shape_datetime: { fg: "#00ccff" attr: "b" } + shape_directory: "#00ccff" + shape_external: "#00ccff" + shape_externalarg: { fg: "#00ccff" attr: "b" } + shape_filepath: "#00ccff" + shape_flag: { fg: "#00ccff" attr: "b" } + shape_float: { fg: "#00ccff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00ccff" attr: "b" } + shape_int: { fg: "#00ccff" attr: "b" } + shape_internalcall: { fg: "#00ccff" attr: "b" } + shape_list: { fg: "#00ccff" attr: "b" } + shape_literal: "#00ccff" + shape_match_pattern: "#00ccff" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00ccff" + shape_operator: "#00ccff" + shape_or: { fg: "#00ccff" attr: "b" } + shape_pipe: { fg: "#00ccff" attr: "b" } + shape_range: { fg: "#00ccff" attr: "b" } + shape_record: { fg: "#00ccff" attr: "b" } + shape_redirection: { fg: "#00ccff" attr: "b" } + shape_signature: { fg: "#00ccff" attr: "b" } + shape_string: "#00ccff" + shape_string_interpolation: { fg: "#00ccff" attr: "b" } + shape_table: { fg: "#00ccff" attr: "b" } + shape_variable: "#00ccff" + + background: "#00222b" + foreground: "#00ccff" + cursor: "#00ccff" +}} \ No newline at end of file diff --git a/themes/themes/mono-green.nu b/themes/themes/mono-green.nu index c81a08b..e155a86 100644 --- a/themes/themes/mono-green.nu +++ b/themes/themes/mono-green.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mono_green theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#022b00" - # foreground: "#0bff00" - # cursor: "#0bff00" - - { - # color for nushell primitives - separator: "#0bff00" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#0bff00" - empty: "#0bff00" - bool: "#0bff00" - int: "#0bff00" - filesize: "#0bff00" - duration: "#0bff00" - date: "#0bff00" - range: "#0bff00" - float: "#0bff00" - string: "#0bff00" - nothing: "#0bff00" - binary: "#0bff00" - cellpath: "#0bff00" - row_index: "#0bff00" - record: "#0bff00" - list: "#0bff00" - block: "#0bff00" - hints: "#0bff00" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#0bff00" - shape_bool: "#0bff00" - shape_int: "#0bff00" - shape_float: "#0bff00" - shape_range: "#0bff00" - shape_internalcall: "#0bff00" - shape_external: "#0bff00" - shape_externalarg: "#0bff00" - shape_literal: "#0bff00" - shape_operator: "#0bff00" - shape_signature: "#0bff00" - shape_string: "#0bff00" - shape_string_interpolation: "#0bff00" - shape_datetime: "#0bff00" - shape_list: "#0bff00" - shape_table: "#0bff00" - shape_record: "#0bff00" - shape_block: "#0bff00" - shape_filepath: "#0bff00" - shape_globpattern: "#0bff00" - shape_variable: "#0bff00" - shape_flag: "#0bff00" - shape_custom: "#0bff00" - shape_nothing: "#0bff00" +export def main [] { return { + separator: "#0bff00" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#0bff00" attr: "b" } + empty: "#0bff00" + bool: {|| if $in { "#0bff00" } else { "light_gray" } } + int: "#0bff00" + filesize: {|e| + if $e == 0b { + "#0bff00" + } else if $e < 1mb { + "#0bff00" + } else {{ fg: "#0bff00" }} } -} + duration: "#0bff00" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#0bff00" attr: "b" } + } else if $in < 6hr { + "#0bff00" + } else if $in < 1day { + "#0bff00" + } else if $in < 3day { + "#0bff00" + } else if $in < 1wk { + { fg: "#0bff00" attr: "b" } + } else if $in < 6wk { + "#0bff00" + } else if $in < 52wk { + "#0bff00" + } else { "dark_gray" } + } + range: "#0bff00" + float: "#0bff00" + string: "#0bff00" + nothing: "#0bff00" + binary: "#0bff00" + cellpath: "#0bff00" + row_index: { fg: "#0bff00" attr: "b" } + record: "#0bff00" + list: "#0bff00" + block: "#0bff00" + hints: "dark_gray" + + shape_and: { fg: "#0bff00" attr: "b" } + shape_binary: { fg: "#0bff00" attr: "b" } + shape_block: { fg: "#0bff00" attr: "b" } + shape_bool: "#0bff00" + shape_custom: "#0bff00" + shape_datetime: { fg: "#0bff00" attr: "b" } + shape_directory: "#0bff00" + shape_external: "#0bff00" + shape_externalarg: { fg: "#0bff00" attr: "b" } + shape_filepath: "#0bff00" + shape_flag: { fg: "#0bff00" attr: "b" } + shape_float: { fg: "#0bff00" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0bff00" attr: "b" } + shape_int: { fg: "#0bff00" attr: "b" } + shape_internalcall: { fg: "#0bff00" attr: "b" } + shape_list: { fg: "#0bff00" attr: "b" } + shape_literal: "#0bff00" + shape_match_pattern: "#0bff00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#0bff00" + shape_operator: "#0bff00" + shape_or: { fg: "#0bff00" attr: "b" } + shape_pipe: { fg: "#0bff00" attr: "b" } + shape_range: { fg: "#0bff00" attr: "b" } + shape_record: { fg: "#0bff00" attr: "b" } + shape_redirection: { fg: "#0bff00" attr: "b" } + shape_signature: { fg: "#0bff00" attr: "b" } + shape_string: "#0bff00" + shape_string_interpolation: { fg: "#0bff00" attr: "b" } + shape_table: { fg: "#0bff00" attr: "b" } + shape_variable: "#0bff00" + + background: "#022b00" + foreground: "#0bff00" + cursor: "#0bff00" +}} \ No newline at end of file diff --git a/themes/themes/mono-red.nu b/themes/themes/mono-red.nu index 1650d1f..0f547d6 100644 --- a/themes/themes/mono-red.nu +++ b/themes/themes/mono-red.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mono_red theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2b0c00" - # foreground: "#ff3600" - # cursor: "#ff3600" - - { - # color for nushell primitives - separator: "#ff3600" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ff3600" - empty: "#ff3600" - bool: "#ff3600" - int: "#ff3600" - filesize: "#ff3600" - duration: "#ff3600" - date: "#ff3600" - range: "#ff3600" - float: "#ff3600" - string: "#ff3600" - nothing: "#ff3600" - binary: "#ff3600" - cellpath: "#ff3600" - row_index: "#ff3600" - record: "#ff3600" - list: "#ff3600" - block: "#ff3600" - hints: "#ff3600" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff3600" - shape_bool: "#ff3600" - shape_int: "#ff3600" - shape_float: "#ff3600" - shape_range: "#ff3600" - shape_internalcall: "#ff3600" - shape_external: "#ff3600" - shape_externalarg: "#ff3600" - shape_literal: "#ff3600" - shape_operator: "#ff3600" - shape_signature: "#ff3600" - shape_string: "#ff3600" - shape_string_interpolation: "#ff3600" - shape_datetime: "#ff3600" - shape_list: "#ff3600" - shape_table: "#ff3600" - shape_record: "#ff3600" - shape_block: "#ff3600" - shape_filepath: "#ff3600" - shape_globpattern: "#ff3600" - shape_variable: "#ff3600" - shape_flag: "#ff3600" - shape_custom: "#ff3600" - shape_nothing: "#ff3600" +export def main [] { return { + separator: "#ff3600" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#ff3600" attr: "b" } + empty: "#ff3600" + bool: {|| if $in { "#ff3600" } else { "light_gray" } } + int: "#ff3600" + filesize: {|e| + if $e == 0b { + "#ff3600" + } else if $e < 1mb { + "#ff3600" + } else {{ fg: "#ff3600" }} } -} + duration: "#ff3600" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff3600" attr: "b" } + } else if $in < 6hr { + "#ff3600" + } else if $in < 1day { + "#ff3600" + } else if $in < 3day { + "#ff3600" + } else if $in < 1wk { + { fg: "#ff3600" attr: "b" } + } else if $in < 6wk { + "#ff3600" + } else if $in < 52wk { + "#ff3600" + } else { "dark_gray" } + } + range: "#ff3600" + float: "#ff3600" + string: "#ff3600" + nothing: "#ff3600" + binary: "#ff3600" + cellpath: "#ff3600" + row_index: { fg: "#ff3600" attr: "b" } + record: "#ff3600" + list: "#ff3600" + block: "#ff3600" + hints: "dark_gray" + + shape_and: { fg: "#ff3600" attr: "b" } + shape_binary: { fg: "#ff3600" attr: "b" } + shape_block: { fg: "#ff3600" attr: "b" } + shape_bool: "#ff3600" + shape_custom: "#ff3600" + shape_datetime: { fg: "#ff3600" attr: "b" } + shape_directory: "#ff3600" + shape_external: "#ff3600" + shape_externalarg: { fg: "#ff3600" attr: "b" } + shape_filepath: "#ff3600" + shape_flag: { fg: "#ff3600" attr: "b" } + shape_float: { fg: "#ff3600" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#ff3600" attr: "b" } + shape_int: { fg: "#ff3600" attr: "b" } + shape_internalcall: { fg: "#ff3600" attr: "b" } + shape_list: { fg: "#ff3600" attr: "b" } + shape_literal: "#ff3600" + shape_match_pattern: "#ff3600" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#ff3600" + shape_operator: "#ff3600" + shape_or: { fg: "#ff3600" attr: "b" } + shape_pipe: { fg: "#ff3600" attr: "b" } + shape_range: { fg: "#ff3600" attr: "b" } + shape_record: { fg: "#ff3600" attr: "b" } + shape_redirection: { fg: "#ff3600" attr: "b" } + shape_signature: { fg: "#ff3600" attr: "b" } + shape_string: "#ff3600" + shape_string_interpolation: { fg: "#ff3600" attr: "b" } + shape_table: { fg: "#ff3600" attr: "b" } + shape_variable: "#ff3600" + + background: "#2b0c00" + foreground: "#ff3600" + cursor: "#ff3600" +}} \ No newline at end of file diff --git a/themes/themes/mono-white.nu b/themes/themes/mono-white.nu index 01cf448..26324bf 100644 --- a/themes/themes/mono-white.nu +++ b/themes/themes/mono-white.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mono_white theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#262626" - # foreground: "#fafafa" - # cursor: "#fafafa" - - { - # color for nushell primitives - separator: "#fafafa" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#fafafa" - empty: "#fafafa" - bool: "#fafafa" - int: "#fafafa" - filesize: "#fafafa" - duration: "#fafafa" - date: "#fafafa" - range: "#fafafa" - float: "#fafafa" - string: "#fafafa" - nothing: "#fafafa" - binary: "#fafafa" - cellpath: "#fafafa" - row_index: "#fafafa" - record: "#fafafa" - list: "#fafafa" - block: "#fafafa" - hints: "#fafafa" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fafafa" - shape_bool: "#fafafa" - shape_int: "#fafafa" - shape_float: "#fafafa" - shape_range: "#fafafa" - shape_internalcall: "#fafafa" - shape_external: "#fafafa" - shape_externalarg: "#fafafa" - shape_literal: "#fafafa" - shape_operator: "#fafafa" - shape_signature: "#fafafa" - shape_string: "#fafafa" - shape_string_interpolation: "#fafafa" - shape_datetime: "#fafafa" - shape_list: "#fafafa" - shape_table: "#fafafa" - shape_record: "#fafafa" - shape_block: "#fafafa" - shape_filepath: "#fafafa" - shape_globpattern: "#fafafa" - shape_variable: "#fafafa" - shape_flag: "#fafafa" - shape_custom: "#fafafa" - shape_nothing: "#fafafa" +export def main [] { return { + separator: "#fafafa" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#fafafa" attr: "b" } + empty: "#fafafa" + bool: {|| if $in { "#fafafa" } else { "light_gray" } } + int: "#fafafa" + filesize: {|e| + if $e == 0b { + "#fafafa" + } else if $e < 1mb { + "#fafafa" + } else {{ fg: "#fafafa" }} } -} + duration: "#fafafa" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fafafa" attr: "b" } + } else if $in < 6hr { + "#fafafa" + } else if $in < 1day { + "#fafafa" + } else if $in < 3day { + "#fafafa" + } else if $in < 1wk { + { fg: "#fafafa" attr: "b" } + } else if $in < 6wk { + "#fafafa" + } else if $in < 52wk { + "#fafafa" + } else { "dark_gray" } + } + range: "#fafafa" + float: "#fafafa" + string: "#fafafa" + nothing: "#fafafa" + binary: "#fafafa" + cellpath: "#fafafa" + row_index: { fg: "#fafafa" attr: "b" } + record: "#fafafa" + list: "#fafafa" + block: "#fafafa" + hints: "dark_gray" + + shape_and: { fg: "#fafafa" attr: "b" } + shape_binary: { fg: "#fafafa" attr: "b" } + shape_block: { fg: "#fafafa" attr: "b" } + shape_bool: "#fafafa" + shape_custom: "#fafafa" + shape_datetime: { fg: "#fafafa" attr: "b" } + shape_directory: "#fafafa" + shape_external: "#fafafa" + shape_externalarg: { fg: "#fafafa" attr: "b" } + shape_filepath: "#fafafa" + shape_flag: { fg: "#fafafa" attr: "b" } + shape_float: { fg: "#fafafa" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#fafafa" attr: "b" } + shape_int: { fg: "#fafafa" attr: "b" } + shape_internalcall: { fg: "#fafafa" attr: "b" } + shape_list: { fg: "#fafafa" attr: "b" } + shape_literal: "#fafafa" + shape_match_pattern: "#fafafa" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#fafafa" + shape_operator: "#fafafa" + shape_or: { fg: "#fafafa" attr: "b" } + shape_pipe: { fg: "#fafafa" attr: "b" } + shape_range: { fg: "#fafafa" attr: "b" } + shape_record: { fg: "#fafafa" attr: "b" } + shape_redirection: { fg: "#fafafa" attr: "b" } + shape_signature: { fg: "#fafafa" attr: "b" } + shape_string: "#fafafa" + shape_string_interpolation: { fg: "#fafafa" attr: "b" } + shape_table: { fg: "#fafafa" attr: "b" } + shape_variable: "#fafafa" + + background: "#262626" + foreground: "#fafafa" + cursor: "#fafafa" +}} \ No newline at end of file diff --git a/themes/themes/mono-yellow.nu b/themes/themes/mono-yellow.nu index aa35bc0..0cec259 100644 --- a/themes/themes/mono-yellow.nu +++ b/themes/themes/mono-yellow.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mono_yellow theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2b2400" - # foreground: "#ffd300" - # cursor: "#ffd300" - - { - # color for nushell primitives - separator: "#ffd300" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ffd300" - empty: "#ffd300" - bool: "#ffd300" - int: "#ffd300" - filesize: "#ffd300" - duration: "#ffd300" - date: "#ffd300" - range: "#ffd300" - float: "#ffd300" - string: "#ffd300" - nothing: "#ffd300" - binary: "#ffd300" - cellpath: "#ffd300" - row_index: "#ffd300" - record: "#ffd300" - list: "#ffd300" - block: "#ffd300" - hints: "#ffd300" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ffd300" - shape_bool: "#ffd300" - shape_int: "#ffd300" - shape_float: "#ffd300" - shape_range: "#ffd300" - shape_internalcall: "#ffd300" - shape_external: "#ffd300" - shape_externalarg: "#ffd300" - shape_literal: "#ffd300" - shape_operator: "#ffd300" - shape_signature: "#ffd300" - shape_string: "#ffd300" - shape_string_interpolation: "#ffd300" - shape_datetime: "#ffd300" - shape_list: "#ffd300" - shape_table: "#ffd300" - shape_record: "#ffd300" - shape_block: "#ffd300" - shape_filepath: "#ffd300" - shape_globpattern: "#ffd300" - shape_variable: "#ffd300" - shape_flag: "#ffd300" - shape_custom: "#ffd300" - shape_nothing: "#ffd300" +export def main [] { return { + separator: "#ffd300" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#ffd300" attr: "b" } + empty: "#ffd300" + bool: {|| if $in { "#ffd300" } else { "light_gray" } } + int: "#ffd300" + filesize: {|e| + if $e == 0b { + "#ffd300" + } else if $e < 1mb { + "#ffd300" + } else {{ fg: "#ffd300" }} } -} + duration: "#ffd300" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ffd300" attr: "b" } + } else if $in < 6hr { + "#ffd300" + } else if $in < 1day { + "#ffd300" + } else if $in < 3day { + "#ffd300" + } else if $in < 1wk { + { fg: "#ffd300" attr: "b" } + } else if $in < 6wk { + "#ffd300" + } else if $in < 52wk { + "#ffd300" + } else { "dark_gray" } + } + range: "#ffd300" + float: "#ffd300" + string: "#ffd300" + nothing: "#ffd300" + binary: "#ffd300" + cellpath: "#ffd300" + row_index: { fg: "#ffd300" attr: "b" } + record: "#ffd300" + list: "#ffd300" + block: "#ffd300" + hints: "dark_gray" + + shape_and: { fg: "#ffd300" attr: "b" } + shape_binary: { fg: "#ffd300" attr: "b" } + shape_block: { fg: "#ffd300" attr: "b" } + shape_bool: "#ffd300" + shape_custom: "#ffd300" + shape_datetime: { fg: "#ffd300" attr: "b" } + shape_directory: "#ffd300" + shape_external: "#ffd300" + shape_externalarg: { fg: "#ffd300" attr: "b" } + shape_filepath: "#ffd300" + shape_flag: { fg: "#ffd300" attr: "b" } + shape_float: { fg: "#ffd300" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#ffd300" attr: "b" } + shape_int: { fg: "#ffd300" attr: "b" } + shape_internalcall: { fg: "#ffd300" attr: "b" } + shape_list: { fg: "#ffd300" attr: "b" } + shape_literal: "#ffd300" + shape_match_pattern: "#ffd300" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#ffd300" + shape_operator: "#ffd300" + shape_or: { fg: "#ffd300" attr: "b" } + shape_pipe: { fg: "#ffd300" attr: "b" } + shape_range: { fg: "#ffd300" attr: "b" } + shape_record: { fg: "#ffd300" attr: "b" } + shape_redirection: { fg: "#ffd300" attr: "b" } + shape_signature: { fg: "#ffd300" attr: "b" } + shape_string: "#ffd300" + shape_string_interpolation: { fg: "#ffd300" attr: "b" } + shape_table: { fg: "#ffd300" attr: "b" } + shape_variable: "#ffd300" + + background: "#2b2400" + foreground: "#ffd300" + cursor: "#ffd300" +}} \ No newline at end of file diff --git a/themes/themes/monokai-dark.nu b/themes/themes/monokai-dark.nu index ccb605d..99dcf45 100644 --- a/themes/themes/monokai-dark.nu +++ b/themes/themes/monokai-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the monokai_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#272822" - # foreground: "#f8f8f2" - # cursor: "#f8f8f2" - - { - # color for nushell primitives - separator: "#f8f8f2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a6e22e" - empty: "#66d9ef" - bool: "#f8f8f2" - int: "#f8f8f2" - filesize: "#f8f8f2" - duration: "#f8f8f2" - date: "#f8f8f2" - range: "#f8f8f2" - float: "#f8f8f2" - string: "#f8f8f2" - nothing: "#f8f8f2" - binary: "#f8f8f2" - cellpath: "#f8f8f2" - row_index: "#a6e22e" - record: "#f8f8f2" - list: "#f8f8f2" - block: "#f8f8f2" - hints: "#272822" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ae81ff" - shape_bool: "#2aa198" - shape_int: "#ae81ff" - shape_float: "#ae81ff" - shape_range: "#f4bf75" - shape_internalcall: "#2aa198" - shape_external: "#2aa198" - shape_externalarg: "#a6e22e" - shape_literal: "#66d9ef" - shape_operator: "#f4bf75" - shape_signature: "#a6e22e" - shape_string: "#a6e22e" - shape_string_interpolation: "#2aa198" - shape_datetime: "#2aa198" - shape_list: "#2aa198" - shape_table: "#66d9ef" - shape_record: "#2aa198" - shape_block: "#66d9ef" - shape_filepath: "#2aa198" - shape_globpattern: "#2aa198" - shape_variable: "#ae81ff" - shape_flag: "#66d9ef" - shape_custom: "#a6e22e" - shape_nothing: "#2aa198" +export def main [] { return { + separator: "#f9f8f5" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a6e22e" attr: "b" } + empty: "#66d9ef" + bool: {|| if $in { "#2aa198" } else { "light_gray" } } + int: "#f9f8f5" + filesize: {|e| + if $e == 0b { + "#f9f8f5" + } else if $e < 1mb { + "#2aa198" + } else {{ fg: "#66d9ef" }} } -} + duration: "#f9f8f5" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f92672" attr: "b" } + } else if $in < 6hr { + "#f92672" + } else if $in < 1day { + "#f4bf75" + } else if $in < 3day { + "#a6e22e" + } else if $in < 1wk { + { fg: "#a6e22e" attr: "b" } + } else if $in < 6wk { + "#2aa198" + } else if $in < 52wk { + "#66d9ef" + } else { "dark_gray" } + } + range: "#f9f8f5" + float: "#f9f8f5" + string: "#f9f8f5" + nothing: "#f9f8f5" + binary: "#f9f8f5" + cellpath: "#f9f8f5" + row_index: { fg: "#a6e22e" attr: "b" } + record: "#f9f8f5" + list: "#f9f8f5" + block: "#f9f8f5" + hints: "dark_gray" + + shape_and: { fg: "#ae81ff" attr: "b" } + shape_binary: { fg: "#ae81ff" attr: "b" } + shape_block: { fg: "#66d9ef" attr: "b" } + shape_bool: "#2aa198" + shape_custom: "#a6e22e" + shape_datetime: { fg: "#2aa198" attr: "b" } + shape_directory: "#2aa198" + shape_external: "#2aa198" + shape_externalarg: { fg: "#a6e22e" attr: "b" } + shape_filepath: "#2aa198" + shape_flag: { fg: "#66d9ef" attr: "b" } + shape_float: { fg: "#ae81ff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2aa198" attr: "b" } + shape_int: { fg: "#ae81ff" attr: "b" } + shape_internalcall: { fg: "#2aa198" attr: "b" } + shape_list: { fg: "#2aa198" attr: "b" } + shape_literal: "#66d9ef" + shape_match_pattern: "#a6e22e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2aa198" + shape_operator: "#f4bf75" + shape_or: { fg: "#ae81ff" attr: "b" } + shape_pipe: { fg: "#ae81ff" attr: "b" } + shape_range: { fg: "#f4bf75" attr: "b" } + shape_record: { fg: "#2aa198" attr: "b" } + shape_redirection: { fg: "#ae81ff" attr: "b" } + shape_signature: { fg: "#a6e22e" attr: "b" } + shape_string: "#a6e22e" + shape_string_interpolation: { fg: "#2aa198" attr: "b" } + shape_table: { fg: "#66d9ef" attr: "b" } + shape_variable: "#ae81ff" + + background: "#272822" + foreground: "#f8f8f2" + cursor: "#f8f8f2" +}} \ No newline at end of file diff --git a/themes/themes/monokai-soda.nu b/themes/themes/monokai-soda.nu index b97c5c2..7a5a92a 100644 --- a/themes/themes/monokai-soda.nu +++ b/themes/themes/monokai-soda.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the monokai_soda theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1a1a1a" - # foreground: "#c4c5b5" - # cursor: "#c4c5b5" - - { - # color for nushell primitives - separator: "#f6f6ef" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#98e024" - empty: "#9d65ff" - bool: "#f6f6ef" - int: "#f6f6ef" - filesize: "#f6f6ef" - duration: "#f6f6ef" - date: "#f6f6ef" - range: "#f6f6ef" - float: "#f6f6ef" - string: "#f6f6ef" - nothing: "#f6f6ef" - binary: "#f6f6ef" - cellpath: "#f6f6ef" - row_index: "#98e024" - record: "#f6f6ef" - list: "#f6f6ef" - block: "#f6f6ef" - hints: "#625e4c" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#f4005f" - shape_bool: "#58d1eb" - shape_int: "#f4005f" - shape_float: "#f4005f" - shape_range: "#e0d561" - shape_internalcall: "#58d1eb" - shape_external: "#58d1eb" - shape_externalarg: "#98e024" - shape_literal: "#9d65ff" - shape_operator: "#fa8419" - shape_signature: "#98e024" - shape_string: "#98e024" - shape_string_interpolation: "#58d1eb" - shape_datetime: "#58d1eb" - shape_list: "#58d1eb" - shape_table: "#9d65ff" - shape_record: "#58d1eb" - shape_block: "#9d65ff" - shape_filepath: "#58d1eb" - shape_globpattern: "#58d1eb" - shape_variable: "#f4005f" - shape_flag: "#9d65ff" - shape_custom: "#98e024" - shape_nothing: "#58d1eb" +export def main [] { return { + separator: "#c4c5b5" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#98e024" attr: "b" } + empty: "#9d65ff" + bool: {|| if $in { "#58d1eb" } else { "light_gray" } } + int: "#c4c5b5" + filesize: {|e| + if $e == 0b { + "#c4c5b5" + } else if $e < 1mb { + "#58d1eb" + } else {{ fg: "#9d65ff" }} } -} + duration: "#c4c5b5" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f4005f" attr: "b" } + } else if $in < 6hr { + "#f4005f" + } else if $in < 1day { + "#fa8419" + } else if $in < 3day { + "#98e024" + } else if $in < 1wk { + { fg: "#98e024" attr: "b" } + } else if $in < 6wk { + "#58d1eb" + } else if $in < 52wk { + "#9d65ff" + } else { "dark_gray" } + } + range: "#c4c5b5" + float: "#c4c5b5" + string: "#c4c5b5" + nothing: "#c4c5b5" + binary: "#c4c5b5" + cellpath: "#c4c5b5" + row_index: { fg: "#98e024" attr: "b" } + record: "#c4c5b5" + list: "#c4c5b5" + block: "#c4c5b5" + hints: "dark_gray" + + shape_and: { fg: "#f4005f" attr: "b" } + shape_binary: { fg: "#f4005f" attr: "b" } + shape_block: { fg: "#9d65ff" attr: "b" } + shape_bool: "#58d1eb" + shape_custom: "#98e024" + shape_datetime: { fg: "#58d1eb" attr: "b" } + shape_directory: "#58d1eb" + shape_external: "#58d1eb" + shape_externalarg: { fg: "#98e024" attr: "b" } + shape_filepath: "#58d1eb" + shape_flag: { fg: "#9d65ff" attr: "b" } + shape_float: { fg: "#f4005f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#58d1eb" attr: "b" } + shape_int: { fg: "#f4005f" attr: "b" } + shape_internalcall: { fg: "#58d1eb" attr: "b" } + shape_list: { fg: "#58d1eb" attr: "b" } + shape_literal: "#9d65ff" + shape_match_pattern: "#98e024" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#58d1eb" + shape_operator: "#fa8419" + shape_or: { fg: "#f4005f" attr: "b" } + shape_pipe: { fg: "#f4005f" attr: "b" } + shape_range: { fg: "#fa8419" attr: "b" } + shape_record: { fg: "#58d1eb" attr: "b" } + shape_redirection: { fg: "#f4005f" attr: "b" } + shape_signature: { fg: "#98e024" attr: "b" } + shape_string: "#98e024" + shape_string_interpolation: { fg: "#58d1eb" attr: "b" } + shape_table: { fg: "#9d65ff" attr: "b" } + shape_variable: "#f4005f" + + background: "#1a1a1a" + foreground: "#c4c5b5" + cursor: "#c4c5b5" +}} \ No newline at end of file diff --git a/themes/themes/monokai.nu b/themes/themes/monokai.nu index 0ae82d1..85f7ddf 100644 --- a/themes/themes/monokai.nu +++ b/themes/themes/monokai.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the monokai theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#272822" - # foreground: "#f8f8f2" - # cursor: "#f8f8f2" - - { - # color for nushell primitives - separator: "#f9f8f5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a6e22e" - empty: "#66d9ef" - bool: "#f9f8f5" - int: "#f9f8f5" - filesize: "#f9f8f5" - duration: "#f9f8f5" - date: "#f9f8f5" - range: "#f9f8f5" - float: "#f9f8f5" - string: "#f9f8f5" - nothing: "#f9f8f5" - binary: "#f9f8f5" - cellpath: "#f9f8f5" - row_index: "#a6e22e" - record: "#f9f8f5" - list: "#f9f8f5" - block: "#f9f8f5" - hints: "#75715e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ae81ff" - shape_bool: "#a1efe4" - shape_int: "#ae81ff" - shape_float: "#ae81ff" - shape_range: "#f4bf75" - shape_internalcall: "#a1efe4" - shape_external: "#a1efe4" - shape_externalarg: "#a6e22e" - shape_literal: "#66d9ef" - shape_operator: "#f4bf75" - shape_signature: "#a6e22e" - shape_string: "#a6e22e" - shape_string_interpolation: "#a1efe4" - shape_datetime: "#a1efe4" - shape_list: "#a1efe4" - shape_table: "#66d9ef" - shape_record: "#a1efe4" - shape_block: "#66d9ef" - shape_filepath: "#a1efe4" - shape_globpattern: "#a1efe4" - shape_variable: "#ae81ff" - shape_flag: "#66d9ef" - shape_custom: "#a6e22e" - shape_nothing: "#a1efe4" +export def main [] { return { + separator: "#f8f8f2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a6e22e" attr: "b" } + empty: "#66d9ef" + bool: {|| if $in { "#a1efe4" } else { "light_gray" } } + int: "#f8f8f2" + filesize: {|e| + if $e == 0b { + "#f8f8f2" + } else if $e < 1mb { + "#a1efe4" + } else {{ fg: "#66d9ef" }} } -} + duration: "#f8f8f2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f92672" attr: "b" } + } else if $in < 6hr { + "#f92672" + } else if $in < 1day { + "#f4bf75" + } else if $in < 3day { + "#a6e22e" + } else if $in < 1wk { + { fg: "#a6e22e" attr: "b" } + } else if $in < 6wk { + "#a1efe4" + } else if $in < 52wk { + "#66d9ef" + } else { "dark_gray" } + } + range: "#f8f8f2" + float: "#f8f8f2" + string: "#f8f8f2" + nothing: "#f8f8f2" + binary: "#f8f8f2" + cellpath: "#f8f8f2" + row_index: { fg: "#a6e22e" attr: "b" } + record: "#f8f8f2" + list: "#f8f8f2" + block: "#f8f8f2" + hints: "dark_gray" + + shape_and: { fg: "#ae81ff" attr: "b" } + shape_binary: { fg: "#ae81ff" attr: "b" } + shape_block: { fg: "#66d9ef" attr: "b" } + shape_bool: "#a1efe4" + shape_custom: "#a6e22e" + shape_datetime: { fg: "#a1efe4" attr: "b" } + shape_directory: "#a1efe4" + shape_external: "#a1efe4" + shape_externalarg: { fg: "#a6e22e" attr: "b" } + shape_filepath: "#a1efe4" + shape_flag: { fg: "#66d9ef" attr: "b" } + shape_float: { fg: "#ae81ff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#a1efe4" attr: "b" } + shape_int: { fg: "#ae81ff" attr: "b" } + shape_internalcall: { fg: "#a1efe4" attr: "b" } + shape_list: { fg: "#a1efe4" attr: "b" } + shape_literal: "#66d9ef" + shape_match_pattern: "#a6e22e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#a1efe4" + shape_operator: "#f4bf75" + shape_or: { fg: "#ae81ff" attr: "b" } + shape_pipe: { fg: "#ae81ff" attr: "b" } + shape_range: { fg: "#f4bf75" attr: "b" } + shape_record: { fg: "#a1efe4" attr: "b" } + shape_redirection: { fg: "#ae81ff" attr: "b" } + shape_signature: { fg: "#a6e22e" attr: "b" } + shape_string: "#a6e22e" + shape_string_interpolation: { fg: "#a1efe4" attr: "b" } + shape_table: { fg: "#66d9ef" attr: "b" } + shape_variable: "#ae81ff" + + background: "#272822" + foreground: "#f8f8f2" + cursor: "#f8f8f2" +}} \ No newline at end of file diff --git a/themes/themes/mountaineer-grey.nu b/themes/themes/mountaineer-grey.nu index ca70bac..a329d49 100644 --- a/themes/themes/mountaineer-grey.nu +++ b/themes/themes/mountaineer-grey.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mountaineer_grey theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#232323" - # foreground: "#c0c0c0" - # cursor: "#b5bd68" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b5bd68" - empty: "#81a2be" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#b5bd68" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#969896" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b294bb" - shape_bool: "#8abeb7" - shape_int: "#b294bb" - shape_float: "#b294bb" - shape_range: "#f0c674" - shape_internalcall: "#8abeb7" - shape_external: "#8abeb7" - shape_externalarg: "#b5bd68" - shape_literal: "#81a2be" - shape_operator: "#f0c674" - shape_signature: "#b5bd68" - shape_string: "#b5bd68" - shape_string_interpolation: "#8abeb7" - shape_datetime: "#8abeb7" - shape_list: "#8abeb7" - shape_table: "#81a2be" - shape_record: "#8abeb7" - shape_block: "#81a2be" - shape_filepath: "#8abeb7" - shape_globpattern: "#8abeb7" - shape_variable: "#b294bb" - shape_flag: "#81a2be" - shape_custom: "#b5bd68" - shape_nothing: "#8abeb7" +export def main [] { return { + separator: "#c5c8c6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b5bd68" attr: "b" } + empty: "#81a2be" + bool: {|| if $in { "#8abeb7" } else { "light_gray" } } + int: "#c5c8c6" + filesize: {|e| + if $e == 0b { + "#c5c8c6" + } else if $e < 1mb { + "#8abeb7" + } else {{ fg: "#81a2be" }} } -} + duration: "#c5c8c6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc6666" attr: "b" } + } else if $in < 6hr { + "#cc6666" + } else if $in < 1day { + "#f0c674" + } else if $in < 3day { + "#b5bd68" + } else if $in < 1wk { + { fg: "#b5bd68" attr: "b" } + } else if $in < 6wk { + "#8abeb7" + } else if $in < 52wk { + "#81a2be" + } else { "dark_gray" } + } + range: "#c5c8c6" + float: "#c5c8c6" + string: "#c5c8c6" + nothing: "#c5c8c6" + binary: "#c5c8c6" + cellpath: "#c5c8c6" + row_index: { fg: "#b5bd68" attr: "b" } + record: "#c5c8c6" + list: "#c5c8c6" + block: "#c5c8c6" + hints: "dark_gray" + + shape_and: { fg: "#b294bb" attr: "b" } + shape_binary: { fg: "#b294bb" attr: "b" } + shape_block: { fg: "#81a2be" attr: "b" } + shape_bool: "#8abeb7" + shape_custom: "#b5bd68" + shape_datetime: { fg: "#8abeb7" attr: "b" } + shape_directory: "#8abeb7" + shape_external: "#8abeb7" + shape_externalarg: { fg: "#b5bd68" attr: "b" } + shape_filepath: "#8abeb7" + shape_flag: { fg: "#81a2be" attr: "b" } + shape_float: { fg: "#b294bb" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8abeb7" attr: "b" } + shape_int: { fg: "#b294bb" attr: "b" } + shape_internalcall: { fg: "#8abeb7" attr: "b" } + shape_list: { fg: "#8abeb7" attr: "b" } + shape_literal: "#81a2be" + shape_match_pattern: "#b5bd68" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8abeb7" + shape_operator: "#f0c674" + shape_or: { fg: "#b294bb" attr: "b" } + shape_pipe: { fg: "#b294bb" attr: "b" } + shape_range: { fg: "#f0c674" attr: "b" } + shape_record: { fg: "#8abeb7" attr: "b" } + shape_redirection: { fg: "#b294bb" attr: "b" } + shape_signature: { fg: "#b5bd68" attr: "b" } + shape_string: "#b5bd68" + shape_string_interpolation: { fg: "#8abeb7" attr: "b" } + shape_table: { fg: "#81a2be" attr: "b" } + shape_variable: "#b294bb" + + background: "#232323" + foreground: "#c0c0c0" + cursor: "#b5bd68" +}} \ No newline at end of file diff --git a/themes/themes/mountaineer.nu b/themes/themes/mountaineer.nu index cec4891..2e8894b 100644 --- a/themes/themes/mountaineer.nu +++ b/themes/themes/mountaineer.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the mountaineer theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#050505" - # foreground: "#f0f0f0" - # cursor: "#b5bd68" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b5bd68" - empty: "#81a2be" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#b5bd68" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#969896" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b294bb" - shape_bool: "#8abeb7" - shape_int: "#b294bb" - shape_float: "#b294bb" - shape_range: "#f0c674" - shape_internalcall: "#8abeb7" - shape_external: "#8abeb7" - shape_externalarg: "#b5bd68" - shape_literal: "#81a2be" - shape_operator: "#f0c674" - shape_signature: "#b5bd68" - shape_string: "#b5bd68" - shape_string_interpolation: "#8abeb7" - shape_datetime: "#8abeb7" - shape_list: "#8abeb7" - shape_table: "#81a2be" - shape_record: "#8abeb7" - shape_block: "#81a2be" - shape_filepath: "#8abeb7" - shape_globpattern: "#8abeb7" - shape_variable: "#b294bb" - shape_flag: "#81a2be" - shape_custom: "#b5bd68" - shape_nothing: "#8abeb7" +export def main [] { return { + separator: "#c5c8c6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b5bd68" attr: "b" } + empty: "#81a2be" + bool: {|| if $in { "#8abeb7" } else { "light_gray" } } + int: "#c5c8c6" + filesize: {|e| + if $e == 0b { + "#c5c8c6" + } else if $e < 1mb { + "#8abeb7" + } else {{ fg: "#81a2be" }} } -} + duration: "#c5c8c6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc6666" attr: "b" } + } else if $in < 6hr { + "#cc6666" + } else if $in < 1day { + "#f0c674" + } else if $in < 3day { + "#b5bd68" + } else if $in < 1wk { + { fg: "#b5bd68" attr: "b" } + } else if $in < 6wk { + "#8abeb7" + } else if $in < 52wk { + "#81a2be" + } else { "dark_gray" } + } + range: "#c5c8c6" + float: "#c5c8c6" + string: "#c5c8c6" + nothing: "#c5c8c6" + binary: "#c5c8c6" + cellpath: "#c5c8c6" + row_index: { fg: "#b5bd68" attr: "b" } + record: "#c5c8c6" + list: "#c5c8c6" + block: "#c5c8c6" + hints: "dark_gray" + + shape_and: { fg: "#b294bb" attr: "b" } + shape_binary: { fg: "#b294bb" attr: "b" } + shape_block: { fg: "#81a2be" attr: "b" } + shape_bool: "#8abeb7" + shape_custom: "#b5bd68" + shape_datetime: { fg: "#8abeb7" attr: "b" } + shape_directory: "#8abeb7" + shape_external: "#8abeb7" + shape_externalarg: { fg: "#b5bd68" attr: "b" } + shape_filepath: "#8abeb7" + shape_flag: { fg: "#81a2be" attr: "b" } + shape_float: { fg: "#b294bb" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8abeb7" attr: "b" } + shape_int: { fg: "#b294bb" attr: "b" } + shape_internalcall: { fg: "#8abeb7" attr: "b" } + shape_list: { fg: "#8abeb7" attr: "b" } + shape_literal: "#81a2be" + shape_match_pattern: "#b5bd68" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8abeb7" + shape_operator: "#f0c674" + shape_or: { fg: "#b294bb" attr: "b" } + shape_pipe: { fg: "#b294bb" attr: "b" } + shape_range: { fg: "#f0c674" attr: "b" } + shape_record: { fg: "#8abeb7" attr: "b" } + shape_redirection: { fg: "#b294bb" attr: "b" } + shape_signature: { fg: "#b5bd68" attr: "b" } + shape_string: "#b5bd68" + shape_string_interpolation: { fg: "#8abeb7" attr: "b" } + shape_table: { fg: "#81a2be" attr: "b" } + shape_variable: "#b294bb" + + background: "#050505" + foreground: "#f0f0f0" + cursor: "#b5bd68" +}} \ No newline at end of file diff --git a/themes/themes/n0tch2k.nu b/themes/themes/n0tch2k.nu index 1472957..cf194b0 100644 --- a/themes/themes/n0tch2k.nu +++ b/themes/themes/n0tch2k.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the n0tch2k theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222222" - # foreground: "#a0a0a0" - # cursor: "#a0a0a0" - - { - # color for nushell primitives - separator: "#d8c8bb" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8c8c8c" - empty: "#657d3e" - bool: "#d8c8bb" - int: "#d8c8bb" - filesize: "#d8c8bb" - duration: "#d8c8bb" - date: "#d8c8bb" - range: "#d8c8bb" - float: "#d8c8bb" - string: "#d8c8bb" - nothing: "#d8c8bb" - binary: "#d8c8bb" - cellpath: "#d8c8bb" - row_index: "#8c8c8c" - record: "#d8c8bb" - list: "#d8c8bb" - block: "#d8c8bb" - hints: "#474747" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a3a3a3" - shape_bool: "#dcdcdc" - shape_int: "#a3a3a3" - shape_float: "#a3a3a3" - shape_range: "#a99175" - shape_internalcall: "#dcdcdc" - shape_external: "#c9c9c9" - shape_externalarg: "#8c8c8c" - shape_literal: "#657d3e" - shape_operator: "#a98051" - shape_signature: "#8c8c8c" - shape_string: "#666666" - shape_string_interpolation: "#dcdcdc" - shape_datetime: "#dcdcdc" - shape_list: "#dcdcdc" - shape_table: "#98bd5e" - shape_record: "#dcdcdc" - shape_block: "#98bd5e" - shape_filepath: "#c9c9c9" - shape_globpattern: "#dcdcdc" - shape_variable: "#767676" - shape_flag: "#98bd5e" - shape_custom: "#666666" - shape_nothing: "#dcdcdc" +export def main [] { return { + separator: "#d0b8a3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#666666" attr: "b" } + empty: "#657d3e" + bool: {|| if $in { "#dcdcdc" } else { "light_gray" } } + int: "#d0b8a3" + filesize: {|e| + if $e == 0b { + "#d0b8a3" + } else if $e < 1mb { + "#c9c9c9" + } else {{ fg: "#657d3e" }} } -} + duration: "#d0b8a3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a95551" attr: "b" } + } else if $in < 6hr { + "#a95551" + } else if $in < 1day { + "#a98051" + } else if $in < 3day { + "#666666" + } else if $in < 1wk { + { fg: "#666666" attr: "b" } + } else if $in < 6wk { + "#c9c9c9" + } else if $in < 52wk { + "#657d3e" + } else { "dark_gray" } + } + range: "#d0b8a3" + float: "#d0b8a3" + string: "#d0b8a3" + nothing: "#d0b8a3" + binary: "#d0b8a3" + cellpath: "#d0b8a3" + row_index: { fg: "#666666" attr: "b" } + record: "#d0b8a3" + list: "#d0b8a3" + block: "#d0b8a3" + hints: "dark_gray" + + shape_and: { fg: "#767676" attr: "b" } + shape_binary: { fg: "#767676" attr: "b" } + shape_block: { fg: "#657d3e" attr: "b" } + shape_bool: "#dcdcdc" + shape_custom: "#666666" + shape_datetime: { fg: "#c9c9c9" attr: "b" } + shape_directory: "#c9c9c9" + shape_external: "#c9c9c9" + shape_externalarg: { fg: "#666666" attr: "b" } + shape_filepath: "#c9c9c9" + shape_flag: { fg: "#657d3e" attr: "b" } + shape_float: { fg: "#767676" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#c9c9c9" attr: "b" } + shape_int: { fg: "#767676" attr: "b" } + shape_internalcall: { fg: "#c9c9c9" attr: "b" } + shape_list: { fg: "#c9c9c9" attr: "b" } + shape_literal: "#657d3e" + shape_match_pattern: "#666666" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#dcdcdc" + shape_operator: "#a98051" + shape_or: { fg: "#767676" attr: "b" } + shape_pipe: { fg: "#767676" attr: "b" } + shape_range: { fg: "#a98051" attr: "b" } + shape_record: { fg: "#c9c9c9" attr: "b" } + shape_redirection: { fg: "#767676" attr: "b" } + shape_signature: { fg: "#666666" attr: "b" } + shape_string: "#666666" + shape_string_interpolation: { fg: "#c9c9c9" attr: "b" } + shape_table: { fg: "#657d3e" attr: "b" } + shape_variable: "#767676" + + background: "#222222" + foreground: "#a0a0a0" + cursor: "#a0a0a0" +}} \ No newline at end of file diff --git a/themes/themes/nebula.nu b/themes/themes/nebula.nu index 86c9cf5..67cbd31 100644 --- a/themes/themes/nebula.nu +++ b/themes/themes/nebula.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the nebula theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#22273b" - # foreground: "#a4a6a9" - # cursor: "#a4a6a9" - - { - # color for nushell primitives - separator: "#8dbdaa" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#6562a8" - empty: "#4d6bb6" - bool: "#8dbdaa" - int: "#8dbdaa" - filesize: "#8dbdaa" - duration: "#8dbdaa" - date: "#8dbdaa" - range: "#8dbdaa" - float: "#8dbdaa" - string: "#8dbdaa" - nothing: "#8dbdaa" - binary: "#8dbdaa" - cellpath: "#8dbdaa" - row_index: "#6562a8" - record: "#8dbdaa" - list: "#8dbdaa" - block: "#8dbdaa" - hints: "#6e6f72" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#716cae" - shape_bool: "#226f68" - shape_int: "#716cae" - shape_float: "#716cae" - shape_range: "#4f9062" - shape_internalcall: "#226f68" - shape_external: "#226f68" - shape_externalarg: "#6562a8" - shape_literal: "#4d6bb6" - shape_operator: "#4f9062" - shape_signature: "#6562a8" - shape_string: "#6562a8" - shape_string_interpolation: "#226f68" - shape_datetime: "#226f68" - shape_list: "#226f68" - shape_table: "#4d6bb6" - shape_record: "#226f68" - shape_block: "#4d6bb6" - shape_filepath: "#226f68" - shape_globpattern: "#226f68" - shape_variable: "#716cae" - shape_flag: "#4d6bb6" - shape_custom: "#6562a8" - shape_nothing: "#226f68" +export def main [] { return { + separator: "#a4a6a9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6562a8" attr: "b" } + empty: "#4d6bb6" + bool: {|| if $in { "#226f68" } else { "light_gray" } } + int: "#a4a6a9" + filesize: {|e| + if $e == 0b { + "#a4a6a9" + } else if $e < 1mb { + "#226f68" + } else {{ fg: "#4d6bb6" }} } -} + duration: "#a4a6a9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#777abc" attr: "b" } + } else if $in < 6hr { + "#777abc" + } else if $in < 1day { + "#4f9062" + } else if $in < 3day { + "#6562a8" + } else if $in < 1wk { + { fg: "#6562a8" attr: "b" } + } else if $in < 6wk { + "#226f68" + } else if $in < 52wk { + "#4d6bb6" + } else { "dark_gray" } + } + range: "#a4a6a9" + float: "#a4a6a9" + string: "#a4a6a9" + nothing: "#a4a6a9" + binary: "#a4a6a9" + cellpath: "#a4a6a9" + row_index: { fg: "#6562a8" attr: "b" } + record: "#a4a6a9" + list: "#a4a6a9" + block: "#a4a6a9" + hints: "dark_gray" + + shape_and: { fg: "#716cae" attr: "b" } + shape_binary: { fg: "#716cae" attr: "b" } + shape_block: { fg: "#4d6bb6" attr: "b" } + shape_bool: "#226f68" + shape_custom: "#6562a8" + shape_datetime: { fg: "#226f68" attr: "b" } + shape_directory: "#226f68" + shape_external: "#226f68" + shape_externalarg: { fg: "#6562a8" attr: "b" } + shape_filepath: "#226f68" + shape_flag: { fg: "#4d6bb6" attr: "b" } + shape_float: { fg: "#716cae" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#226f68" attr: "b" } + shape_int: { fg: "#716cae" attr: "b" } + shape_internalcall: { fg: "#226f68" attr: "b" } + shape_list: { fg: "#226f68" attr: "b" } + shape_literal: "#4d6bb6" + shape_match_pattern: "#6562a8" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#226f68" + shape_operator: "#4f9062" + shape_or: { fg: "#716cae" attr: "b" } + shape_pipe: { fg: "#716cae" attr: "b" } + shape_range: { fg: "#4f9062" attr: "b" } + shape_record: { fg: "#226f68" attr: "b" } + shape_redirection: { fg: "#716cae" attr: "b" } + shape_signature: { fg: "#6562a8" attr: "b" } + shape_string: "#6562a8" + shape_string_interpolation: { fg: "#226f68" attr: "b" } + shape_table: { fg: "#4d6bb6" attr: "b" } + shape_variable: "#716cae" + + background: "#22273b" + foreground: "#a4a6a9" + cursor: "#a4a6a9" +}} \ No newline at end of file diff --git a/themes/themes/neon-night.nu b/themes/themes/neon-night.nu index bad249e..dd0fceb 100644 --- a/themes/themes/neon-night.nu +++ b/themes/themes/neon-night.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the neon_night theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#20242d" - # foreground: "#c7c8ff" - # cursor: "#c7c8ff" - - { - # color for nushell primitives - separator: "#c9cccd" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7efdd0" - empty: "#69b4f9" - bool: "#c9cccd" - int: "#c9cccd" - filesize: "#c9cccd" - duration: "#c9cccd" - date: "#c9cccd" - range: "#c9cccd" - float: "#c9cccd" - string: "#c9cccd" - nothing: "#c9cccd" - binary: "#c9cccd" - cellpath: "#c9cccd" - row_index: "#7efdd0" - record: "#c9cccd" - list: "#c9cccd" - block: "#c9cccd" - hints: "#20242d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#dd92f6" - shape_bool: "#8ce8ff" - shape_int: "#dd92f6" - shape_float: "#dd92f6" - shape_range: "#fcad3f" - shape_internalcall: "#8ce8ff" - shape_external: "#8ce8ff" - shape_externalarg: "#7efdd0" - shape_literal: "#69b4f9" - shape_operator: "#fcad3f" - shape_signature: "#7efdd0" - shape_string: "#7efdd0" - shape_string_interpolation: "#8ce8ff" - shape_datetime: "#8ce8ff" - shape_list: "#8ce8ff" - shape_table: "#69b4f9" - shape_record: "#8ce8ff" - shape_block: "#69b4f9" - shape_filepath: "#8ce8ff" - shape_globpattern: "#8ce8ff" - shape_variable: "#dd92f6" - shape_flag: "#69b4f9" - shape_custom: "#7efdd0" - shape_nothing: "#8ce8ff" +export def main [] { return { + separator: "#c9cccd" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7efdd0" attr: "b" } + empty: "#69b4f9" + bool: {|| if $in { "#8ce8ff" } else { "light_gray" } } + int: "#c9cccd" + filesize: {|e| + if $e == 0b { + "#c9cccd" + } else if $e < 1mb { + "#8ce8ff" + } else {{ fg: "#69b4f9" }} } -} + duration: "#c9cccd" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff8e8e" attr: "b" } + } else if $in < 6hr { + "#ff8e8e" + } else if $in < 1day { + "#fcad3f" + } else if $in < 3day { + "#7efdd0" + } else if $in < 1wk { + { fg: "#7efdd0" attr: "b" } + } else if $in < 6wk { + "#8ce8ff" + } else if $in < 52wk { + "#69b4f9" + } else { "dark_gray" } + } + range: "#c9cccd" + float: "#c9cccd" + string: "#c9cccd" + nothing: "#c9cccd" + binary: "#c9cccd" + cellpath: "#c9cccd" + row_index: { fg: "#7efdd0" attr: "b" } + record: "#c9cccd" + list: "#c9cccd" + block: "#c9cccd" + hints: "dark_gray" + + shape_and: { fg: "#dd92f6" attr: "b" } + shape_binary: { fg: "#dd92f6" attr: "b" } + shape_block: { fg: "#69b4f9" attr: "b" } + shape_bool: "#8ce8ff" + shape_custom: "#7efdd0" + shape_datetime: { fg: "#8ce8ff" attr: "b" } + shape_directory: "#8ce8ff" + shape_external: "#8ce8ff" + shape_externalarg: { fg: "#7efdd0" attr: "b" } + shape_filepath: "#8ce8ff" + shape_flag: { fg: "#69b4f9" attr: "b" } + shape_float: { fg: "#dd92f6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8ce8ff" attr: "b" } + shape_int: { fg: "#dd92f6" attr: "b" } + shape_internalcall: { fg: "#8ce8ff" attr: "b" } + shape_list: { fg: "#8ce8ff" attr: "b" } + shape_literal: "#69b4f9" + shape_match_pattern: "#7efdd0" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8ce8ff" + shape_operator: "#fcad3f" + shape_or: { fg: "#dd92f6" attr: "b" } + shape_pipe: { fg: "#dd92f6" attr: "b" } + shape_range: { fg: "#fcad3f" attr: "b" } + shape_record: { fg: "#8ce8ff" attr: "b" } + shape_redirection: { fg: "#dd92f6" attr: "b" } + shape_signature: { fg: "#7efdd0" attr: "b" } + shape_string: "#7efdd0" + shape_string_interpolation: { fg: "#8ce8ff" attr: "b" } + shape_table: { fg: "#69b4f9" attr: "b" } + shape_variable: "#dd92f6" + + background: "#20242d" + foreground: "#c7c8ff" + cursor: "#c7c8ff" +}} \ No newline at end of file diff --git a/themes/themes/neopolitan.nu b/themes/themes/neopolitan.nu index 36bbcb5..8c1714d 100644 --- a/themes/themes/neopolitan.nu +++ b/themes/themes/neopolitan.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the neopolitan theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#271f19" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#f8f8f8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#61ce3c" - empty: "#253b76" - bool: "#f8f8f8" - int: "#f8f8f8" - filesize: "#f8f8f8" - duration: "#f8f8f8" - date: "#f8f8f8" - range: "#f8f8f8" - float: "#f8f8f8" - string: "#f8f8f8" - nothing: "#f8f8f8" - binary: "#f8f8f8" - cellpath: "#f8f8f8" - row_index: "#61ce3c" - record: "#f8f8f8" - list: "#f8f8f8" - block: "#f8f8f8" - hints: "#000000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff0080" - shape_bool: "#8da6ce" - shape_int: "#ff0080" - shape_float: "#ff0080" - shape_range: "#fbde2d" - shape_internalcall: "#8da6ce" - shape_external: "#8da6ce" - shape_externalarg: "#61ce3c" - shape_literal: "#253b76" - shape_operator: "#fbde2d" - shape_signature: "#61ce3c" - shape_string: "#61ce3c" - shape_string_interpolation: "#8da6ce" - shape_datetime: "#8da6ce" - shape_list: "#8da6ce" - shape_table: "#253b76" - shape_record: "#8da6ce" - shape_block: "#253b76" - shape_filepath: "#8da6ce" - shape_globpattern: "#8da6ce" - shape_variable: "#ff0080" - shape_flag: "#253b76" - shape_custom: "#61ce3c" - shape_nothing: "#8da6ce" +export def main [] { return { + separator: "#f8f8f8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#61ce3c" attr: "b" } + empty: "#253b76" + bool: {|| if $in { "#8da6ce" } else { "light_gray" } } + int: "#f8f8f8" + filesize: {|e| + if $e == 0b { + "#f8f8f8" + } else if $e < 1mb { + "#8da6ce" + } else {{ fg: "#253b76" }} } -} + duration: "#f8f8f8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#800000" attr: "b" } + } else if $in < 6hr { + "#800000" + } else if $in < 1day { + "#fbde2d" + } else if $in < 3day { + "#61ce3c" + } else if $in < 1wk { + { fg: "#61ce3c" attr: "b" } + } else if $in < 6wk { + "#8da6ce" + } else if $in < 52wk { + "#253b76" + } else { "dark_gray" } + } + range: "#f8f8f8" + float: "#f8f8f8" + string: "#f8f8f8" + nothing: "#f8f8f8" + binary: "#f8f8f8" + cellpath: "#f8f8f8" + row_index: { fg: "#61ce3c" attr: "b" } + record: "#f8f8f8" + list: "#f8f8f8" + block: "#f8f8f8" + hints: "dark_gray" + + shape_and: { fg: "#ff0080" attr: "b" } + shape_binary: { fg: "#ff0080" attr: "b" } + shape_block: { fg: "#253b76" attr: "b" } + shape_bool: "#8da6ce" + shape_custom: "#61ce3c" + shape_datetime: { fg: "#8da6ce" attr: "b" } + shape_directory: "#8da6ce" + shape_external: "#8da6ce" + shape_externalarg: { fg: "#61ce3c" attr: "b" } + shape_filepath: "#8da6ce" + shape_flag: { fg: "#253b76" attr: "b" } + shape_float: { fg: "#ff0080" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8da6ce" attr: "b" } + shape_int: { fg: "#ff0080" attr: "b" } + shape_internalcall: { fg: "#8da6ce" attr: "b" } + shape_list: { fg: "#8da6ce" attr: "b" } + shape_literal: "#253b76" + shape_match_pattern: "#61ce3c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8da6ce" + shape_operator: "#fbde2d" + shape_or: { fg: "#ff0080" attr: "b" } + shape_pipe: { fg: "#ff0080" attr: "b" } + shape_range: { fg: "#fbde2d" attr: "b" } + shape_record: { fg: "#8da6ce" attr: "b" } + shape_redirection: { fg: "#ff0080" attr: "b" } + shape_signature: { fg: "#61ce3c" attr: "b" } + shape_string: "#61ce3c" + shape_string_interpolation: { fg: "#8da6ce" attr: "b" } + shape_table: { fg: "#253b76" attr: "b" } + shape_variable: "#ff0080" + + background: "#271f19" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/nep.nu b/themes/themes/nep.nu index 6fe9e65..5944241 100644 --- a/themes/themes/nep.nu +++ b/themes/themes/nep.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the nep theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#758480" - # foreground: "#23476a" - # cursor: "#23476a" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#74ffb9" - empty: "#6f00dd" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#74ffb9" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#7d7d7d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff74b9" - shape_bool: "#74b9ff" - shape_int: "#ff74b9" - shape_float: "#ff74b9" - shape_range: "#b9ff74" - shape_internalcall: "#74b9ff" - shape_external: "#006fdd" - shape_externalarg: "#74ffb9" - shape_literal: "#6f00dd" - shape_operator: "#6fdd00" - shape_signature: "#74ffb9" - shape_string: "#00dd6f" - shape_string_interpolation: "#74b9ff" - shape_datetime: "#74b9ff" - shape_list: "#74b9ff" - shape_table: "#b974ff" - shape_record: "#74b9ff" - shape_block: "#b974ff" - shape_filepath: "#006fdd" - shape_globpattern: "#74b9ff" - shape_variable: "#dd006f" - shape_flag: "#b974ff" - shape_custom: "#00dd6f" - shape_nothing: "#74b9ff" +export def main [] { return { + separator: "#f2f2f2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00dd6f" attr: "b" } + empty: "#6f00dd" + bool: {|| if $in { "#74b9ff" } else { "light_gray" } } + int: "#f2f2f2" + filesize: {|e| + if $e == 0b { + "#f2f2f2" + } else if $e < 1mb { + "#006fdd" + } else {{ fg: "#6f00dd" }} } -} + duration: "#f2f2f2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#dd6f00" attr: "b" } + } else if $in < 6hr { + "#dd6f00" + } else if $in < 1day { + "#6fdd00" + } else if $in < 3day { + "#00dd6f" + } else if $in < 1wk { + { fg: "#00dd6f" attr: "b" } + } else if $in < 6wk { + "#006fdd" + } else if $in < 52wk { + "#6f00dd" + } else { "dark_gray" } + } + range: "#f2f2f2" + float: "#f2f2f2" + string: "#f2f2f2" + nothing: "#f2f2f2" + binary: "#f2f2f2" + cellpath: "#f2f2f2" + row_index: { fg: "#00dd6f" attr: "b" } + record: "#f2f2f2" + list: "#f2f2f2" + block: "#f2f2f2" + hints: "dark_gray" + + shape_and: { fg: "#dd006f" attr: "b" } + shape_binary: { fg: "#dd006f" attr: "b" } + shape_block: { fg: "#6f00dd" attr: "b" } + shape_bool: "#74b9ff" + shape_custom: "#00dd6f" + shape_datetime: { fg: "#006fdd" attr: "b" } + shape_directory: "#006fdd" + shape_external: "#006fdd" + shape_externalarg: { fg: "#00dd6f" attr: "b" } + shape_filepath: "#006fdd" + shape_flag: { fg: "#6f00dd" attr: "b" } + shape_float: { fg: "#dd006f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#006fdd" attr: "b" } + shape_int: { fg: "#dd006f" attr: "b" } + shape_internalcall: { fg: "#006fdd" attr: "b" } + shape_list: { fg: "#006fdd" attr: "b" } + shape_literal: "#6f00dd" + shape_match_pattern: "#00dd6f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#74b9ff" + shape_operator: "#6fdd00" + shape_or: { fg: "#dd006f" attr: "b" } + shape_pipe: { fg: "#dd006f" attr: "b" } + shape_range: { fg: "#6fdd00" attr: "b" } + shape_record: { fg: "#006fdd" attr: "b" } + shape_redirection: { fg: "#dd006f" attr: "b" } + shape_signature: { fg: "#00dd6f" attr: "b" } + shape_string: "#00dd6f" + shape_string_interpolation: { fg: "#006fdd" attr: "b" } + shape_table: { fg: "#6f00dd" attr: "b" } + shape_variable: "#dd006f" + + background: "#758480" + foreground: "#23476a" + cursor: "#23476a" +}} \ No newline at end of file diff --git a/themes/themes/neutron.nu b/themes/themes/neutron.nu index f0a1719..6a06b9c 100644 --- a/themes/themes/neutron.nu +++ b/themes/themes/neutron.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the neutron theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1c1e22" - # foreground: "#e6e8ef" - # cursor: "#e6e8ef" - - { - # color for nushell primitives - separator: "#ebedf2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#5ab977" - empty: "#6a7c93" - bool: "#ebedf2" - int: "#ebedf2" - filesize: "#ebedf2" - duration: "#ebedf2" - date: "#ebedf2" - range: "#ebedf2" - float: "#ebedf2" - string: "#ebedf2" - nothing: "#ebedf2" - binary: "#ebedf2" - cellpath: "#ebedf2" - row_index: "#5ab977" - record: "#ebedf2" - list: "#ebedf2" - block: "#ebedf2" - hints: "#23252b" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a4799d" - shape_bool: "#3f94a8" - shape_int: "#a4799d" - shape_float: "#a4799d" - shape_range: "#deb566" - shape_internalcall: "#3f94a8" - shape_external: "#3f94a8" - shape_externalarg: "#5ab977" - shape_literal: "#6a7c93" - shape_operator: "#deb566" - shape_signature: "#5ab977" - shape_string: "#5ab977" - shape_string_interpolation: "#3f94a8" - shape_datetime: "#3f94a8" - shape_list: "#3f94a8" - shape_table: "#6a7c93" - shape_record: "#3f94a8" - shape_block: "#6a7c93" - shape_filepath: "#3f94a8" - shape_globpattern: "#3f94a8" - shape_variable: "#a4799d" - shape_flag: "#6a7c93" - shape_custom: "#5ab977" - shape_nothing: "#3f94a8" +export def main [] { return { + separator: "#e6e8ef" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#5ab977" attr: "b" } + empty: "#6a7c93" + bool: {|| if $in { "#3f94a8" } else { "light_gray" } } + int: "#e6e8ef" + filesize: {|e| + if $e == 0b { + "#e6e8ef" + } else if $e < 1mb { + "#3f94a8" + } else {{ fg: "#6a7c93" }} } -} + duration: "#e6e8ef" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b54036" attr: "b" } + } else if $in < 6hr { + "#b54036" + } else if $in < 1day { + "#deb566" + } else if $in < 3day { + "#5ab977" + } else if $in < 1wk { + { fg: "#5ab977" attr: "b" } + } else if $in < 6wk { + "#3f94a8" + } else if $in < 52wk { + "#6a7c93" + } else { "dark_gray" } + } + range: "#e6e8ef" + float: "#e6e8ef" + string: "#e6e8ef" + nothing: "#e6e8ef" + binary: "#e6e8ef" + cellpath: "#e6e8ef" + row_index: { fg: "#5ab977" attr: "b" } + record: "#e6e8ef" + list: "#e6e8ef" + block: "#e6e8ef" + hints: "dark_gray" + + shape_and: { fg: "#a4799d" attr: "b" } + shape_binary: { fg: "#a4799d" attr: "b" } + shape_block: { fg: "#6a7c93" attr: "b" } + shape_bool: "#3f94a8" + shape_custom: "#5ab977" + shape_datetime: { fg: "#3f94a8" attr: "b" } + shape_directory: "#3f94a8" + shape_external: "#3f94a8" + shape_externalarg: { fg: "#5ab977" attr: "b" } + shape_filepath: "#3f94a8" + shape_flag: { fg: "#6a7c93" attr: "b" } + shape_float: { fg: "#a4799d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3f94a8" attr: "b" } + shape_int: { fg: "#a4799d" attr: "b" } + shape_internalcall: { fg: "#3f94a8" attr: "b" } + shape_list: { fg: "#3f94a8" attr: "b" } + shape_literal: "#6a7c93" + shape_match_pattern: "#5ab977" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3f94a8" + shape_operator: "#deb566" + shape_or: { fg: "#a4799d" attr: "b" } + shape_pipe: { fg: "#a4799d" attr: "b" } + shape_range: { fg: "#deb566" attr: "b" } + shape_record: { fg: "#3f94a8" attr: "b" } + shape_redirection: { fg: "#a4799d" attr: "b" } + shape_signature: { fg: "#5ab977" attr: "b" } + shape_string: "#5ab977" + shape_string_interpolation: { fg: "#3f94a8" attr: "b" } + shape_table: { fg: "#6a7c93" attr: "b" } + shape_variable: "#a4799d" + + background: "#1c1e22" + foreground: "#e6e8ef" + cursor: "#e6e8ef" +}} \ No newline at end of file diff --git a/themes/themes/nightfly.nu b/themes/themes/nightfly.nu index 3c84480..b052bb3 100644 --- a/themes/themes/nightfly.nu +++ b/themes/themes/nightfly.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the nightfly theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#011627" - # foreground: "#c3ccdc" - # cursor: "#82aaff" - - { - # color for nushell primitives - separator: "#d6deeb" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#21c7a8" - empty: "#82aaff" - bool: "#d6deeb" - int: "#d6deeb" - filesize: "#d6deeb" - duration: "#d6deeb" - date: "#d6deeb" - range: "#d6deeb" - float: "#d6deeb" - string: "#d6deeb" - nothing: "#d6deeb" - binary: "#d6deeb" - cellpath: "#d6deeb" - row_index: "#21c7a8" - record: "#d6deeb" - list: "#d6deeb" - block: "#d6deeb" - hints: "#7c8f8f" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ae81ff" - shape_bool: "#7fdbca" - shape_int: "#ae81ff" - shape_float: "#ae81ff" - shape_range: "#ecc48d" - shape_internalcall: "#7fdbca" - shape_external: "#7fdbca" - shape_externalarg: "#21c7a8" - shape_literal: "#82aaff" - shape_operator: "#e7d37a" - shape_signature: "#21c7a8" - shape_string: "#a1cd5e" - shape_string_interpolation: "#7fdbca" - shape_datetime: "#7fdbca" - shape_list: "#7fdbca" - shape_table: "#82aaff" - shape_record: "#7fdbca" - shape_block: "#82aaff" - shape_filepath: "#7fdbca" - shape_globpattern: "#7fdbca" - shape_variable: "#c792ea" - shape_flag: "#82aaff" - shape_custom: "#a1cd5e" - shape_nothing: "#7fdbca" +export def main [] { return { + separator: "#a1aab8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a1cd5e" attr: "b" } + empty: "#82aaff" + bool: {|| if $in { "#7fdbca" } else { "light_gray" } } + int: "#a1aab8" + filesize: {|e| + if $e == 0b { + "#a1aab8" + } else if $e < 1mb { + "#7fdbca" + } else {{ fg: "#82aaff" }} } -} + duration: "#a1aab8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fc514e" attr: "b" } + } else if $in < 6hr { + "#fc514e" + } else if $in < 1day { + "#e7d37a" + } else if $in < 3day { + "#a1cd5e" + } else if $in < 1wk { + { fg: "#a1cd5e" attr: "b" } + } else if $in < 6wk { + "#7fdbca" + } else if $in < 52wk { + "#82aaff" + } else { "dark_gray" } + } + range: "#a1aab8" + float: "#a1aab8" + string: "#a1aab8" + nothing: "#a1aab8" + binary: "#a1aab8" + cellpath: "#a1aab8" + row_index: { fg: "#a1cd5e" attr: "b" } + record: "#a1aab8" + list: "#a1aab8" + block: "#a1aab8" + hints: "dark_gray" + + shape_and: { fg: "#c792ea" attr: "b" } + shape_binary: { fg: "#c792ea" attr: "b" } + shape_block: { fg: "#82aaff" attr: "b" } + shape_bool: "#7fdbca" + shape_custom: "#a1cd5e" + shape_datetime: { fg: "#7fdbca" attr: "b" } + shape_directory: "#7fdbca" + shape_external: "#7fdbca" + shape_externalarg: { fg: "#a1cd5e" attr: "b" } + shape_filepath: "#7fdbca" + shape_flag: { fg: "#82aaff" attr: "b" } + shape_float: { fg: "#c792ea" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7fdbca" attr: "b" } + shape_int: { fg: "#c792ea" attr: "b" } + shape_internalcall: { fg: "#7fdbca" attr: "b" } + shape_list: { fg: "#7fdbca" attr: "b" } + shape_literal: "#82aaff" + shape_match_pattern: "#a1cd5e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7fdbca" + shape_operator: "#e7d37a" + shape_or: { fg: "#c792ea" attr: "b" } + shape_pipe: { fg: "#c792ea" attr: "b" } + shape_range: { fg: "#e7d37a" attr: "b" } + shape_record: { fg: "#7fdbca" attr: "b" } + shape_redirection: { fg: "#c792ea" attr: "b" } + shape_signature: { fg: "#a1cd5e" attr: "b" } + shape_string: "#a1cd5e" + shape_string_interpolation: { fg: "#7fdbca" attr: "b" } + shape_table: { fg: "#82aaff" attr: "b" } + shape_variable: "#c792ea" + + background: "#011627" + foreground: "#c3ccdc" + cursor: "#82aaff" +}} \ No newline at end of file diff --git a/themes/themes/nightlion-v1.nu b/themes/themes/nightlion-v1.nu index e367761..b2466a7 100644 --- a/themes/themes/nightlion-v1.nu +++ b/themes/themes/nightlion-v1.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the nightlion_v1 theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#bbbbbb" - # cursor: "#bbbbbb" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#55ff55" - empty: "#276bd8" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#55ff55" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff55ff" - shape_bool: "#55ffff" - shape_int: "#ff55ff" - shape_float: "#ff55ff" - shape_range: "#ffff55" - shape_internalcall: "#55ffff" - shape_external: "#00dadf" - shape_externalarg: "#55ff55" - shape_literal: "#276bd8" - shape_operator: "#f3f167" - shape_signature: "#55ff55" - shape_string: "#5fde8f" - shape_string_interpolation: "#55ffff" - shape_datetime: "#55ffff" - shape_list: "#55ffff" - shape_table: "#5555ff" - shape_record: "#55ffff" - shape_block: "#5555ff" - shape_filepath: "#00dadf" - shape_globpattern: "#55ffff" - shape_variable: "#bb00bb" - shape_flag: "#5555ff" - shape_custom: "#5fde8f" - shape_nothing: "#55ffff" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#5fde8f" attr: "b" } + empty: "#276bd8" + bool: {|| if $in { "#55ffff" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#00dadf" + } else {{ fg: "#276bd8" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bb0000" attr: "b" } + } else if $in < 6hr { + "#bb0000" + } else if $in < 1day { + "#f3f167" + } else if $in < 3day { + "#5fde8f" + } else if $in < 1wk { + { fg: "#5fde8f" attr: "b" } + } else if $in < 6wk { + "#00dadf" + } else if $in < 52wk { + "#276bd8" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#5fde8f" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#bb00bb" attr: "b" } + shape_binary: { fg: "#bb00bb" attr: "b" } + shape_block: { fg: "#276bd8" attr: "b" } + shape_bool: "#55ffff" + shape_custom: "#5fde8f" + shape_datetime: { fg: "#00dadf" attr: "b" } + shape_directory: "#00dadf" + shape_external: "#00dadf" + shape_externalarg: { fg: "#5fde8f" attr: "b" } + shape_filepath: "#00dadf" + shape_flag: { fg: "#276bd8" attr: "b" } + shape_float: { fg: "#bb00bb" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00dadf" attr: "b" } + shape_int: { fg: "#bb00bb" attr: "b" } + shape_internalcall: { fg: "#00dadf" attr: "b" } + shape_list: { fg: "#00dadf" attr: "b" } + shape_literal: "#276bd8" + shape_match_pattern: "#5fde8f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#55ffff" + shape_operator: "#f3f167" + shape_or: { fg: "#bb00bb" attr: "b" } + shape_pipe: { fg: "#bb00bb" attr: "b" } + shape_range: { fg: "#f3f167" attr: "b" } + shape_record: { fg: "#00dadf" attr: "b" } + shape_redirection: { fg: "#bb00bb" attr: "b" } + shape_signature: { fg: "#5fde8f" attr: "b" } + shape_string: "#5fde8f" + shape_string_interpolation: { fg: "#00dadf" attr: "b" } + shape_table: { fg: "#276bd8" attr: "b" } + shape_variable: "#bb00bb" + + background: "#000000" + foreground: "#bbbbbb" + cursor: "#bbbbbb" +}} \ No newline at end of file diff --git a/themes/themes/nightlion-v2.nu b/themes/themes/nightlion-v2.nu index 437fed1..7e72584 100644 --- a/themes/themes/nightlion-v2.nu +++ b/themes/themes/nightlion-v2.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the nightlion_v2 theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#171717" - # foreground: "#bbbbbb" - # cursor: "#bbbbbb" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7df71d" - empty: "#64d0f0" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#7df71d" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff9bf5" - shape_bool: "#00ccd8" - shape_int: "#ff9bf5" - shape_float: "#ff9bf5" - shape_range: "#ffff55" - shape_internalcall: "#00ccd8" - shape_external: "#00dadf" - shape_externalarg: "#7df71d" - shape_literal: "#64d0f0" - shape_operator: "#f3f167" - shape_signature: "#7df71d" - shape_string: "#04f623" - shape_string_interpolation: "#00ccd8" - shape_datetime: "#00ccd8" - shape_list: "#00ccd8" - shape_table: "#62cbe8" - shape_record: "#00ccd8" - shape_block: "#62cbe8" - shape_filepath: "#00dadf" - shape_globpattern: "#00ccd8" - shape_variable: "#ce6fdb" - shape_flag: "#62cbe8" - shape_custom: "#04f623" - shape_nothing: "#00ccd8" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#04f623" attr: "b" } + empty: "#64d0f0" + bool: {|| if $in { "#00ccd8" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#00dadf" + } else {{ fg: "#64d0f0" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bb0000" attr: "b" } + } else if $in < 6hr { + "#bb0000" + } else if $in < 1day { + "#f3f167" + } else if $in < 3day { + "#04f623" + } else if $in < 1wk { + { fg: "#04f623" attr: "b" } + } else if $in < 6wk { + "#00dadf" + } else if $in < 52wk { + "#64d0f0" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#04f623" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#ce6fdb" attr: "b" } + shape_binary: { fg: "#ce6fdb" attr: "b" } + shape_block: { fg: "#64d0f0" attr: "b" } + shape_bool: "#00ccd8" + shape_custom: "#04f623" + shape_datetime: { fg: "#00dadf" attr: "b" } + shape_directory: "#00dadf" + shape_external: "#00dadf" + shape_externalarg: { fg: "#04f623" attr: "b" } + shape_filepath: "#00dadf" + shape_flag: { fg: "#64d0f0" attr: "b" } + shape_float: { fg: "#ce6fdb" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00dadf" attr: "b" } + shape_int: { fg: "#ce6fdb" attr: "b" } + shape_internalcall: { fg: "#00dadf" attr: "b" } + shape_list: { fg: "#00dadf" attr: "b" } + shape_literal: "#64d0f0" + shape_match_pattern: "#04f623" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00ccd8" + shape_operator: "#f3f167" + shape_or: { fg: "#ce6fdb" attr: "b" } + shape_pipe: { fg: "#ce6fdb" attr: "b" } + shape_range: { fg: "#f3f167" attr: "b" } + shape_record: { fg: "#00dadf" attr: "b" } + shape_redirection: { fg: "#ce6fdb" attr: "b" } + shape_signature: { fg: "#04f623" attr: "b" } + shape_string: "#04f623" + shape_string_interpolation: { fg: "#00dadf" attr: "b" } + shape_table: { fg: "#64d0f0" attr: "b" } + shape_variable: "#ce6fdb" + + background: "#171717" + foreground: "#bbbbbb" + cursor: "#bbbbbb" +}} \ No newline at end of file diff --git a/themes/themes/nighty.nu b/themes/themes/nighty.nu index 6a0f652..fa2483e 100644 --- a/themes/themes/nighty.nu +++ b/themes/themes/nighty.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the nighty theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2f2f2f" - # foreground: "#dfdfdf" - # cursor: "#dfdfdf" - - { - # color for nushell primitives - separator: "#dfdfdf" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#119955" - empty: "#1d3e6f" - bool: "#dfdfdf" - int: "#dfdfdf" - filesize: "#dfdfdf" - duration: "#dfdfdf" - date: "#dfdfdf" - range: "#dfdfdf" - float: "#dfdfdf" - string: "#dfdfdf" - nothing: "#dfdfdf" - binary: "#dfdfdf" - cellpath: "#dfdfdf" - row_index: "#119955" - record: "#dfdfdf" - list: "#dfdfdf" - block: "#dfdfdf" - hints: "#5c6370" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ed86c9" - shape_bool: "#70d2a4" - shape_int: "#ed86c9" - shape_float: "#ed86c9" - shape_range: "#dfe048" - shape_internalcall: "#70d2a4" - shape_external: "#3a7458" - shape_externalarg: "#119955" - shape_literal: "#1d3e6f" - shape_operator: "#808020" - shape_signature: "#119955" - shape_string: "#095b32" - shape_string_interpolation: "#70d2a4" - shape_datetime: "#70d2a4" - shape_list: "#70d2a4" - shape_table: "#4674b8" - shape_record: "#70d2a4" - shape_block: "#4674b8" - shape_filepath: "#3a7458" - shape_globpattern: "#70d2a4" - shape_variable: "#823065" - shape_flag: "#4674b8" - shape_custom: "#095b32" - shape_nothing: "#70d2a4" +export def main [] { return { + separator: "#828282" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#095b32" attr: "b" } + empty: "#1d3e6f" + bool: {|| if $in { "#70d2a4" } else { "light_gray" } } + int: "#828282" + filesize: {|e| + if $e == 0b { + "#828282" + } else if $e < 1mb { + "#3a7458" + } else {{ fg: "#1d3e6f" }} } -} + duration: "#828282" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#9b3e46" attr: "b" } + } else if $in < 6hr { + "#9b3e46" + } else if $in < 1day { + "#808020" + } else if $in < 3day { + "#095b32" + } else if $in < 1wk { + { fg: "#095b32" attr: "b" } + } else if $in < 6wk { + "#3a7458" + } else if $in < 52wk { + "#1d3e6f" + } else { "dark_gray" } + } + range: "#828282" + float: "#828282" + string: "#828282" + nothing: "#828282" + binary: "#828282" + cellpath: "#828282" + row_index: { fg: "#095b32" attr: "b" } + record: "#828282" + list: "#828282" + block: "#828282" + hints: "dark_gray" + + shape_and: { fg: "#823065" attr: "b" } + shape_binary: { fg: "#823065" attr: "b" } + shape_block: { fg: "#1d3e6f" attr: "b" } + shape_bool: "#70d2a4" + shape_custom: "#095b32" + shape_datetime: { fg: "#3a7458" attr: "b" } + shape_directory: "#3a7458" + shape_external: "#3a7458" + shape_externalarg: { fg: "#095b32" attr: "b" } + shape_filepath: "#3a7458" + shape_flag: { fg: "#1d3e6f" attr: "b" } + shape_float: { fg: "#823065" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3a7458" attr: "b" } + shape_int: { fg: "#823065" attr: "b" } + shape_internalcall: { fg: "#3a7458" attr: "b" } + shape_list: { fg: "#3a7458" attr: "b" } + shape_literal: "#1d3e6f" + shape_match_pattern: "#095b32" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#70d2a4" + shape_operator: "#808020" + shape_or: { fg: "#823065" attr: "b" } + shape_pipe: { fg: "#823065" attr: "b" } + shape_range: { fg: "#808020" attr: "b" } + shape_record: { fg: "#3a7458" attr: "b" } + shape_redirection: { fg: "#823065" attr: "b" } + shape_signature: { fg: "#095b32" attr: "b" } + shape_string: "#095b32" + shape_string_interpolation: { fg: "#3a7458" attr: "b" } + shape_table: { fg: "#1d3e6f" attr: "b" } + shape_variable: "#823065" + + background: "#2f2f2f" + foreground: "#dfdfdf" + cursor: "#dfdfdf" +}} \ No newline at end of file diff --git a/themes/themes/nord-alt.nu b/themes/themes/nord-alt.nu index 7ffcdaa..c5fe85d 100644 --- a/themes/themes/nord-alt.nu +++ b/themes/themes/nord-alt.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the nord_alt theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2e3440" - # foreground: "#8fbcbb" - # cursor: "#8fbcbb" - - { - # color for nushell primitives - separator: "#5e81ac" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ebcb8b" - empty: "#d8dee9" - bool: "#5e81ac" - int: "#5e81ac" - filesize: "#5e81ac" - duration: "#5e81ac" - date: "#5e81ac" - range: "#5e81ac" - float: "#5e81ac" - string: "#5e81ac" - nothing: "#5e81ac" - binary: "#5e81ac" - cellpath: "#5e81ac" - row_index: "#ebcb8b" - record: "#5e81ac" - list: "#5e81ac" - block: "#5e81ac" - hints: "#bf616a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#81a1c1" - shape_bool: "#b48ead" - shape_int: "#81a1c1" - shape_float: "#81a1c1" - shape_range: "#a3be8c" - shape_internalcall: "#b48ead" - shape_external: "#eceff4" - shape_externalarg: "#ebcb8b" - shape_literal: "#d8dee9" - shape_operator: "#4c566a" - shape_signature: "#ebcb8b" - shape_string: "#434c5e" - shape_string_interpolation: "#b48ead" - shape_datetime: "#b48ead" - shape_list: "#b48ead" - shape_table: "#88c0d0" - shape_record: "#b48ead" - shape_block: "#88c0d0" - shape_filepath: "#eceff4" - shape_globpattern: "#b48ead" - shape_variable: "#e5e9f0" - shape_flag: "#88c0d0" - shape_custom: "#434c5e" - shape_nothing: "#b48ead" +export def main [] { return { + separator: "#8fbcbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#434c5e" attr: "b" } + empty: "#d8dee9" + bool: {|| if $in { "#b48ead" } else { "light_gray" } } + int: "#8fbcbb" + filesize: {|e| + if $e == 0b { + "#8fbcbb" + } else if $e < 1mb { + "#eceff4" + } else {{ fg: "#d8dee9" }} } -} + duration: "#8fbcbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#3b4252" attr: "b" } + } else if $in < 6hr { + "#3b4252" + } else if $in < 1day { + "#4c566a" + } else if $in < 3day { + "#434c5e" + } else if $in < 1wk { + { fg: "#434c5e" attr: "b" } + } else if $in < 6wk { + "#eceff4" + } else if $in < 52wk { + "#d8dee9" + } else { "dark_gray" } + } + range: "#8fbcbb" + float: "#8fbcbb" + string: "#8fbcbb" + nothing: "#8fbcbb" + binary: "#8fbcbb" + cellpath: "#8fbcbb" + row_index: { fg: "#434c5e" attr: "b" } + record: "#8fbcbb" + list: "#8fbcbb" + block: "#8fbcbb" + hints: "dark_gray" + + shape_and: { fg: "#e5e9f0" attr: "b" } + shape_binary: { fg: "#e5e9f0" attr: "b" } + shape_block: { fg: "#d8dee9" attr: "b" } + shape_bool: "#b48ead" + shape_custom: "#434c5e" + shape_datetime: { fg: "#eceff4" attr: "b" } + shape_directory: "#eceff4" + shape_external: "#eceff4" + shape_externalarg: { fg: "#434c5e" attr: "b" } + shape_filepath: "#eceff4" + shape_flag: { fg: "#d8dee9" attr: "b" } + shape_float: { fg: "#e5e9f0" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#eceff4" attr: "b" } + shape_int: { fg: "#e5e9f0" attr: "b" } + shape_internalcall: { fg: "#eceff4" attr: "b" } + shape_list: { fg: "#eceff4" attr: "b" } + shape_literal: "#d8dee9" + shape_match_pattern: "#434c5e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#b48ead" + shape_operator: "#4c566a" + shape_or: { fg: "#e5e9f0" attr: "b" } + shape_pipe: { fg: "#e5e9f0" attr: "b" } + shape_range: { fg: "#4c566a" attr: "b" } + shape_record: { fg: "#eceff4" attr: "b" } + shape_redirection: { fg: "#e5e9f0" attr: "b" } + shape_signature: { fg: "#434c5e" attr: "b" } + shape_string: "#434c5e" + shape_string_interpolation: { fg: "#eceff4" attr: "b" } + shape_table: { fg: "#d8dee9" attr: "b" } + shape_variable: "#e5e9f0" + + background: "#2e3440" + foreground: "#8fbcbb" + cursor: "#8fbcbb" +}} \ No newline at end of file diff --git a/themes/themes/nord-light.nu b/themes/themes/nord-light.nu index e2309aa..89cdedb 100644 --- a/themes/themes/nord-light.nu +++ b/themes/themes/nord-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the nord_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ebeaf2" - # foreground: "#004f7c" - # cursor: "#004f7c" - - { - # color for nushell primitives - separator: "#dedede" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a2cca1" - empty: "#439ecf" - bool: "#dedede" - int: "#dedede" - filesize: "#dedede" - duration: "#dedede" - date: "#dedede" - range: "#dedede" - float: "#dedede" - string: "#dedede" - nothing: "#dedede" - binary: "#dedede" - cellpath: "#dedede" - row_index: "#a2cca1" - record: "#dedede" - list: "#dedede" - block: "#dedede" - hints: "#535353" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e586e7" - shape_bool: "#96dcda" - shape_int: "#e586e7" - shape_float: "#e586e7" - shape_range: "#e1e387" - shape_internalcall: "#96dcda" - shape_external: "#64aaaf" - shape_externalarg: "#a2cca1" - shape_literal: "#439ecf" - shape_operator: "#dab752" - shape_signature: "#a2cca1" - shape_string: "#89d287" - shape_string_interpolation: "#96dcda" - shape_datetime: "#96dcda" - shape_list: "#96dcda" - shape_table: "#6fbbe2" - shape_record: "#96dcda" - shape_block: "#6fbbe2" - shape_filepath: "#64aaaf" - shape_globpattern: "#96dcda" - shape_variable: "#d961dc" - shape_flag: "#6fbbe2" - shape_custom: "#89d287" - shape_nothing: "#96dcda" +export def main [] { return { + separator: "#b3b3b3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#89d287" attr: "b" } + empty: "#439ecf" + bool: {|| if $in { "#96dcda" } else { "light_gray" } } + int: "#b3b3b3" + filesize: {|e| + if $e == 0b { + "#b3b3b3" + } else if $e < 1mb { + "#64aaaf" + } else {{ fg: "#439ecf" }} } -} + duration: "#b3b3b3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e64569" attr: "b" } + } else if $in < 6hr { + "#e64569" + } else if $in < 1day { + "#dab752" + } else if $in < 3day { + "#89d287" + } else if $in < 1wk { + { fg: "#89d287" attr: "b" } + } else if $in < 6wk { + "#64aaaf" + } else if $in < 52wk { + "#439ecf" + } else { "dark_gray" } + } + range: "#b3b3b3" + float: "#b3b3b3" + string: "#b3b3b3" + nothing: "#b3b3b3" + binary: "#b3b3b3" + cellpath: "#b3b3b3" + row_index: { fg: "#89d287" attr: "b" } + record: "#b3b3b3" + list: "#b3b3b3" + block: "#b3b3b3" + hints: "dark_gray" + + shape_and: { fg: "#d961dc" attr: "b" } + shape_binary: { fg: "#d961dc" attr: "b" } + shape_block: { fg: "#439ecf" attr: "b" } + shape_bool: "#96dcda" + shape_custom: "#89d287" + shape_datetime: { fg: "#64aaaf" attr: "b" } + shape_directory: "#64aaaf" + shape_external: "#64aaaf" + shape_externalarg: { fg: "#89d287" attr: "b" } + shape_filepath: "#64aaaf" + shape_flag: { fg: "#439ecf" attr: "b" } + shape_float: { fg: "#d961dc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#64aaaf" attr: "b" } + shape_int: { fg: "#d961dc" attr: "b" } + shape_internalcall: { fg: "#64aaaf" attr: "b" } + shape_list: { fg: "#64aaaf" attr: "b" } + shape_literal: "#439ecf" + shape_match_pattern: "#89d287" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#96dcda" + shape_operator: "#dab752" + shape_or: { fg: "#d961dc" attr: "b" } + shape_pipe: { fg: "#d961dc" attr: "b" } + shape_range: { fg: "#dab752" attr: "b" } + shape_record: { fg: "#64aaaf" attr: "b" } + shape_redirection: { fg: "#d961dc" attr: "b" } + shape_signature: { fg: "#89d287" attr: "b" } + shape_string: "#89d287" + shape_string_interpolation: { fg: "#64aaaf" attr: "b" } + shape_table: { fg: "#439ecf" attr: "b" } + shape_variable: "#d961dc" + + background: "#ebeaf2" + foreground: "#004f7c" + cursor: "#004f7c" +}} \ No newline at end of file diff --git a/themes/themes/nord.nu b/themes/themes/nord.nu index afc0726..2c8c777 100644 --- a/themes/themes/nord.nu +++ b/themes/themes/nord.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the nord theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2e3440" - # foreground: "#e5e9f0" - # cursor: "#e5e9f0" - - { - # color for nushell primitives - separator: "#8fbcbb" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a3be8c" - empty: "#81a1c1" - bool: "#8fbcbb" - int: "#8fbcbb" - filesize: "#8fbcbb" - duration: "#8fbcbb" - date: "#8fbcbb" - range: "#8fbcbb" - float: "#8fbcbb" - string: "#8fbcbb" - nothing: "#8fbcbb" - binary: "#8fbcbb" - cellpath: "#8fbcbb" - row_index: "#a3be8c" - record: "#8fbcbb" - list: "#8fbcbb" - block: "#8fbcbb" - hints: "#4c566a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b48ead" - shape_bool: "#88c0d0" - shape_int: "#b48ead" - shape_float: "#b48ead" - shape_range: "#ebcb8b" - shape_internalcall: "#88c0d0" - shape_external: "#88c0d0" - shape_externalarg: "#a3be8c" - shape_literal: "#81a1c1" - shape_operator: "#ebcb8b" - shape_signature: "#a3be8c" - shape_string: "#a3be8c" - shape_string_interpolation: "#88c0d0" - shape_datetime: "#88c0d0" - shape_list: "#88c0d0" - shape_table: "#81a1c1" - shape_record: "#88c0d0" - shape_block: "#81a1c1" - shape_filepath: "#88c0d0" - shape_globpattern: "#88c0d0" - shape_variable: "#b48ead" - shape_flag: "#81a1c1" - shape_custom: "#a3be8c" - shape_nothing: "#88c0d0" +export def main [] { return { + separator: "#e5e9f0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a3be8c" attr: "b" } + empty: "#81a1c1" + bool: {|| if $in { "#88c0d0" } else { "light_gray" } } + int: "#e5e9f0" + filesize: {|e| + if $e == 0b { + "#e5e9f0" + } else if $e < 1mb { + "#88c0d0" + } else {{ fg: "#81a1c1" }} } -} + duration: "#e5e9f0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bf616a" attr: "b" } + } else if $in < 6hr { + "#bf616a" + } else if $in < 1day { + "#ebcb8b" + } else if $in < 3day { + "#a3be8c" + } else if $in < 1wk { + { fg: "#a3be8c" attr: "b" } + } else if $in < 6wk { + "#88c0d0" + } else if $in < 52wk { + "#81a1c1" + } else { "dark_gray" } + } + range: "#e5e9f0" + float: "#e5e9f0" + string: "#e5e9f0" + nothing: "#e5e9f0" + binary: "#e5e9f0" + cellpath: "#e5e9f0" + row_index: { fg: "#a3be8c" attr: "b" } + record: "#e5e9f0" + list: "#e5e9f0" + block: "#e5e9f0" + hints: "dark_gray" + + shape_and: { fg: "#b48ead" attr: "b" } + shape_binary: { fg: "#b48ead" attr: "b" } + shape_block: { fg: "#81a1c1" attr: "b" } + shape_bool: "#88c0d0" + shape_custom: "#a3be8c" + shape_datetime: { fg: "#88c0d0" attr: "b" } + shape_directory: "#88c0d0" + shape_external: "#88c0d0" + shape_externalarg: { fg: "#a3be8c" attr: "b" } + shape_filepath: "#88c0d0" + shape_flag: { fg: "#81a1c1" attr: "b" } + shape_float: { fg: "#b48ead" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#88c0d0" attr: "b" } + shape_int: { fg: "#b48ead" attr: "b" } + shape_internalcall: { fg: "#88c0d0" attr: "b" } + shape_list: { fg: "#88c0d0" attr: "b" } + shape_literal: "#81a1c1" + shape_match_pattern: "#a3be8c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#88c0d0" + shape_operator: "#ebcb8b" + shape_or: { fg: "#b48ead" attr: "b" } + shape_pipe: { fg: "#b48ead" attr: "b" } + shape_range: { fg: "#ebcb8b" attr: "b" } + shape_record: { fg: "#88c0d0" attr: "b" } + shape_redirection: { fg: "#b48ead" attr: "b" } + shape_signature: { fg: "#a3be8c" attr: "b" } + shape_string: "#a3be8c" + shape_string_interpolation: { fg: "#88c0d0" attr: "b" } + shape_table: { fg: "#81a1c1" attr: "b" } + shape_variable: "#b48ead" + + background: "#2e3440" + foreground: "#e5e9f0" + cursor: "#e5e9f0" +}} \ No newline at end of file diff --git a/themes/themes/nova.nu b/themes/themes/nova.nu index 4fc85f7..3709054 100644 --- a/themes/themes/nova.nu +++ b/themes/themes/nova.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the nova theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#3c4c55" - # foreground: "#c5d4dd" - # cursor: "#c5d4dd" - - { - # color for nushell primitives - separator: "#556873" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7fc1ca" - empty: "#83afe5" - bool: "#556873" - int: "#556873" - filesize: "#556873" - duration: "#556873" - date: "#556873" - range: "#556873" - float: "#556873" - string: "#556873" - nothing: "#556873" - binary: "#556873" - cellpath: "#556873" - row_index: "#7fc1ca" - record: "#556873" - list: "#556873" - block: "#556873" - hints: "#899ba6" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9a93e1" - shape_bool: "#f2c38f" - shape_int: "#9a93e1" - shape_float: "#9a93e1" - shape_range: "#a8ce93" - shape_internalcall: "#f2c38f" - shape_external: "#f2c38f" - shape_externalarg: "#7fc1ca" - shape_literal: "#83afe5" - shape_operator: "#a8ce93" - shape_signature: "#7fc1ca" - shape_string: "#7fc1ca" - shape_string_interpolation: "#f2c38f" - shape_datetime: "#f2c38f" - shape_list: "#f2c38f" - shape_table: "#83afe5" - shape_record: "#f2c38f" - shape_block: "#83afe5" - shape_filepath: "#f2c38f" - shape_globpattern: "#f2c38f" - shape_variable: "#9a93e1" - shape_flag: "#83afe5" - shape_custom: "#7fc1ca" - shape_nothing: "#f2c38f" +export def main [] { return { + separator: "#c5d4dd" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7fc1ca" attr: "b" } + empty: "#83afe5" + bool: {|| if $in { "#f2c38f" } else { "light_gray" } } + int: "#c5d4dd" + filesize: {|e| + if $e == 0b { + "#c5d4dd" + } else if $e < 1mb { + "#f2c38f" + } else {{ fg: "#83afe5" }} } -} + duration: "#c5d4dd" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#83afe5" attr: "b" } + } else if $in < 6hr { + "#83afe5" + } else if $in < 1day { + "#a8ce93" + } else if $in < 3day { + "#7fc1ca" + } else if $in < 1wk { + { fg: "#7fc1ca" attr: "b" } + } else if $in < 6wk { + "#f2c38f" + } else if $in < 52wk { + "#83afe5" + } else { "dark_gray" } + } + range: "#c5d4dd" + float: "#c5d4dd" + string: "#c5d4dd" + nothing: "#c5d4dd" + binary: "#c5d4dd" + cellpath: "#c5d4dd" + row_index: { fg: "#7fc1ca" attr: "b" } + record: "#c5d4dd" + list: "#c5d4dd" + block: "#c5d4dd" + hints: "dark_gray" + + shape_and: { fg: "#9a93e1" attr: "b" } + shape_binary: { fg: "#9a93e1" attr: "b" } + shape_block: { fg: "#83afe5" attr: "b" } + shape_bool: "#f2c38f" + shape_custom: "#7fc1ca" + shape_datetime: { fg: "#f2c38f" attr: "b" } + shape_directory: "#f2c38f" + shape_external: "#f2c38f" + shape_externalarg: { fg: "#7fc1ca" attr: "b" } + shape_filepath: "#f2c38f" + shape_flag: { fg: "#83afe5" attr: "b" } + shape_float: { fg: "#9a93e1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#f2c38f" attr: "b" } + shape_int: { fg: "#9a93e1" attr: "b" } + shape_internalcall: { fg: "#f2c38f" attr: "b" } + shape_list: { fg: "#f2c38f" attr: "b" } + shape_literal: "#83afe5" + shape_match_pattern: "#7fc1ca" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#f2c38f" + shape_operator: "#a8ce93" + shape_or: { fg: "#9a93e1" attr: "b" } + shape_pipe: { fg: "#9a93e1" attr: "b" } + shape_range: { fg: "#a8ce93" attr: "b" } + shape_record: { fg: "#f2c38f" attr: "b" } + shape_redirection: { fg: "#9a93e1" attr: "b" } + shape_signature: { fg: "#7fc1ca" attr: "b" } + shape_string: "#7fc1ca" + shape_string_interpolation: { fg: "#f2c38f" attr: "b" } + shape_table: { fg: "#83afe5" attr: "b" } + shape_variable: "#9a93e1" + + background: "#3c4c55" + foreground: "#c5d4dd" + cursor: "#c5d4dd" +}} \ No newline at end of file diff --git a/themes/themes/novel.nu b/themes/themes/novel.nu index 125441e..6f3f5c7 100644 --- a/themes/themes/novel.nu +++ b/themes/themes/novel.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the novel theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#dfdbc3" - # foreground: "#3b2322" - # cursor: "#3b2322" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#009600" - empty: "#0000cc" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#009600" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#808080" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#cc00cc" - shape_bool: "#0087cc" - shape_int: "#cc00cc" - shape_float: "#cc00cc" - shape_range: "#d06b00" - shape_internalcall: "#0087cc" - shape_external: "#0087cc" - shape_externalarg: "#009600" - shape_literal: "#0000cc" - shape_operator: "#d06b00" - shape_signature: "#009600" - shape_string: "#009600" - shape_string_interpolation: "#0087cc" - shape_datetime: "#0087cc" - shape_list: "#0087cc" - shape_table: "#0000cc" - shape_record: "#0087cc" - shape_block: "#0000cc" - shape_filepath: "#0087cc" - shape_globpattern: "#0087cc" - shape_variable: "#cc00cc" - shape_flag: "#0000cc" - shape_custom: "#009600" - shape_nothing: "#0087cc" +export def main [] { return { + separator: "#cccccc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#009600" attr: "b" } + empty: "#0000cc" + bool: {|| if $in { "#0087cc" } else { "light_gray" } } + int: "#cccccc" + filesize: {|e| + if $e == 0b { + "#cccccc" + } else if $e < 1mb { + "#0087cc" + } else {{ fg: "#0000cc" }} } -} + duration: "#cccccc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc0000" attr: "b" } + } else if $in < 6hr { + "#cc0000" + } else if $in < 1day { + "#d06b00" + } else if $in < 3day { + "#009600" + } else if $in < 1wk { + { fg: "#009600" attr: "b" } + } else if $in < 6wk { + "#0087cc" + } else if $in < 52wk { + "#0000cc" + } else { "dark_gray" } + } + range: "#cccccc" + float: "#cccccc" + string: "#cccccc" + nothing: "#cccccc" + binary: "#cccccc" + cellpath: "#cccccc" + row_index: { fg: "#009600" attr: "b" } + record: "#cccccc" + list: "#cccccc" + block: "#cccccc" + hints: "dark_gray" + + shape_and: { fg: "#cc00cc" attr: "b" } + shape_binary: { fg: "#cc00cc" attr: "b" } + shape_block: { fg: "#0000cc" attr: "b" } + shape_bool: "#0087cc" + shape_custom: "#009600" + shape_datetime: { fg: "#0087cc" attr: "b" } + shape_directory: "#0087cc" + shape_external: "#0087cc" + shape_externalarg: { fg: "#009600" attr: "b" } + shape_filepath: "#0087cc" + shape_flag: { fg: "#0000cc" attr: "b" } + shape_float: { fg: "#cc00cc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0087cc" attr: "b" } + shape_int: { fg: "#cc00cc" attr: "b" } + shape_internalcall: { fg: "#0087cc" attr: "b" } + shape_list: { fg: "#0087cc" attr: "b" } + shape_literal: "#0000cc" + shape_match_pattern: "#009600" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#0087cc" + shape_operator: "#d06b00" + shape_or: { fg: "#cc00cc" attr: "b" } + shape_pipe: { fg: "#cc00cc" attr: "b" } + shape_range: { fg: "#d06b00" attr: "b" } + shape_record: { fg: "#0087cc" attr: "b" } + shape_redirection: { fg: "#cc00cc" attr: "b" } + shape_signature: { fg: "#009600" attr: "b" } + shape_string: "#009600" + shape_string_interpolation: { fg: "#0087cc" attr: "b" } + shape_table: { fg: "#0000cc" attr: "b" } + shape_variable: "#cc00cc" + + background: "#dfdbc3" + foreground: "#3b2322" + cursor: "#3b2322" +}} \ No newline at end of file diff --git a/themes/themes/obsidian.nu b/themes/themes/obsidian.nu index cb7e2ab..049324b 100644 --- a/themes/themes/obsidian.nu +++ b/themes/themes/obsidian.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the obsidian theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#283033" - # foreground: "#cdcdcd" - # cursor: "#cdcdcd" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#93c863" - empty: "#3a9bdb" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#93c863" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff55ff" - shape_bool: "#55ffff" - shape_int: "#ff55ff" - shape_float: "#ff55ff" - shape_range: "#fef874" - shape_internalcall: "#55ffff" - shape_external: "#00bbbb" - shape_externalarg: "#93c863" - shape_literal: "#3a9bdb" - shape_operator: "#fecd22" - shape_signature: "#93c863" - shape_string: "#00bb00" - shape_string_interpolation: "#55ffff" - shape_datetime: "#55ffff" - shape_list: "#55ffff" - shape_table: "#a1d7ff" - shape_record: "#55ffff" - shape_block: "#a1d7ff" - shape_filepath: "#00bbbb" - shape_globpattern: "#55ffff" - shape_variable: "#bb00bb" - shape_flag: "#a1d7ff" - shape_custom: "#00bb00" - shape_nothing: "#55ffff" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00bb00" attr: "b" } + empty: "#3a9bdb" + bool: {|| if $in { "#55ffff" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#00bbbb" + } else {{ fg: "#3a9bdb" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a60001" attr: "b" } + } else if $in < 6hr { + "#a60001" + } else if $in < 1day { + "#fecd22" + } else if $in < 3day { + "#00bb00" + } else if $in < 1wk { + { fg: "#00bb00" attr: "b" } + } else if $in < 6wk { + "#00bbbb" + } else if $in < 52wk { + "#3a9bdb" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#00bb00" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#bb00bb" attr: "b" } + shape_binary: { fg: "#bb00bb" attr: "b" } + shape_block: { fg: "#3a9bdb" attr: "b" } + shape_bool: "#55ffff" + shape_custom: "#00bb00" + shape_datetime: { fg: "#00bbbb" attr: "b" } + shape_directory: "#00bbbb" + shape_external: "#00bbbb" + shape_externalarg: { fg: "#00bb00" attr: "b" } + shape_filepath: "#00bbbb" + shape_flag: { fg: "#3a9bdb" attr: "b" } + shape_float: { fg: "#bb00bb" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00bbbb" attr: "b" } + shape_int: { fg: "#bb00bb" attr: "b" } + shape_internalcall: { fg: "#00bbbb" attr: "b" } + shape_list: { fg: "#00bbbb" attr: "b" } + shape_literal: "#3a9bdb" + shape_match_pattern: "#00bb00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#55ffff" + shape_operator: "#fecd22" + shape_or: { fg: "#bb00bb" attr: "b" } + shape_pipe: { fg: "#bb00bb" attr: "b" } + shape_range: { fg: "#fecd22" attr: "b" } + shape_record: { fg: "#00bbbb" attr: "b" } + shape_redirection: { fg: "#bb00bb" attr: "b" } + shape_signature: { fg: "#00bb00" attr: "b" } + shape_string: "#00bb00" + shape_string_interpolation: { fg: "#00bbbb" attr: "b" } + shape_table: { fg: "#3a9bdb" attr: "b" } + shape_variable: "#bb00bb" + + background: "#283033" + foreground: "#cdcdcd" + cursor: "#cdcdcd" +}} \ No newline at end of file diff --git a/themes/themes/ocean-dark.nu b/themes/themes/ocean-dark.nu index 427c4ed..3831969 100644 --- a/themes/themes/ocean-dark.nu +++ b/themes/themes/ocean-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ocean_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1c1f27" - # foreground: "#979cac" - # cursor: "#979cac" - - { - # color for nushell primitives - separator: "#fefffe" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ceffab" - empty: "#7d90a4" - bool: "#fefffe" - int: "#fefffe" - filesize: "#fefffe" - duration: "#fefffe" - date: "#fefffe" - range: "#fefffe" - float: "#fefffe" - string: "#fefffe" - nothing: "#fefffe" - binary: "#fefffe" - cellpath: "#fefffe" - row_index: "#ceffab" - record: "#fefffe" - list: "#fefffe" - block: "#fefffe" - hints: "#7b7b7b" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fb9bfe" - shape_bool: "#dfdffd" - shape_int: "#fb9bfe" - shape_float: "#fb9bfe" - shape_range: "#fffecc" - shape_internalcall: "#dfdffd" - shape_external: "#85a6a5" - shape_externalarg: "#ceffab" - shape_literal: "#7d90a4" - shape_operator: "#e5c079" - shape_signature: "#ceffab" - shape_string: "#afd383" - shape_string_interpolation: "#dfdffd" - shape_datetime: "#dfdffd" - shape_list: "#dfdffd" - shape_table: "#b5dcfe" - shape_record: "#dfdffd" - shape_block: "#b5dcfe" - shape_filepath: "#85a6a5" - shape_globpattern: "#dfdffd" - shape_variable: "#a4799d" - shape_flag: "#b5dcfe" - shape_custom: "#afd383" - shape_nothing: "#dfdffd" +export def main [] { return { + separator: "#eeedee" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#afd383" attr: "b" } + empty: "#7d90a4" + bool: {|| if $in { "#dfdffd" } else { "light_gray" } } + int: "#eeedee" + filesize: {|e| + if $e == 0b { + "#eeedee" + } else if $e < 1mb { + "#85a6a5" + } else {{ fg: "#7d90a4" }} } -} + duration: "#eeedee" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#af4b57" attr: "b" } + } else if $in < 6hr { + "#af4b57" + } else if $in < 1day { + "#e5c079" + } else if $in < 3day { + "#afd383" + } else if $in < 1wk { + { fg: "#afd383" attr: "b" } + } else if $in < 6wk { + "#85a6a5" + } else if $in < 52wk { + "#7d90a4" + } else { "dark_gray" } + } + range: "#eeedee" + float: "#eeedee" + string: "#eeedee" + nothing: "#eeedee" + binary: "#eeedee" + cellpath: "#eeedee" + row_index: { fg: "#afd383" attr: "b" } + record: "#eeedee" + list: "#eeedee" + block: "#eeedee" + hints: "dark_gray" + + shape_and: { fg: "#a4799d" attr: "b" } + shape_binary: { fg: "#a4799d" attr: "b" } + shape_block: { fg: "#7d90a4" attr: "b" } + shape_bool: "#dfdffd" + shape_custom: "#afd383" + shape_datetime: { fg: "#85a6a5" attr: "b" } + shape_directory: "#85a6a5" + shape_external: "#85a6a5" + shape_externalarg: { fg: "#afd383" attr: "b" } + shape_filepath: "#85a6a5" + shape_flag: { fg: "#7d90a4" attr: "b" } + shape_float: { fg: "#a4799d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#85a6a5" attr: "b" } + shape_int: { fg: "#a4799d" attr: "b" } + shape_internalcall: { fg: "#85a6a5" attr: "b" } + shape_list: { fg: "#85a6a5" attr: "b" } + shape_literal: "#7d90a4" + shape_match_pattern: "#afd383" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#dfdffd" + shape_operator: "#e5c079" + shape_or: { fg: "#a4799d" attr: "b" } + shape_pipe: { fg: "#a4799d" attr: "b" } + shape_range: { fg: "#e5c079" attr: "b" } + shape_record: { fg: "#85a6a5" attr: "b" } + shape_redirection: { fg: "#a4799d" attr: "b" } + shape_signature: { fg: "#afd383" attr: "b" } + shape_string: "#afd383" + shape_string_interpolation: { fg: "#85a6a5" attr: "b" } + shape_table: { fg: "#7d90a4" attr: "b" } + shape_variable: "#a4799d" + + background: "#1c1f27" + foreground: "#979cac" + cursor: "#979cac" +}} \ No newline at end of file diff --git a/themes/themes/ocean.nu b/themes/themes/ocean.nu index 0529d26..3115ab7 100644 --- a/themes/themes/ocean.nu +++ b/themes/themes/ocean.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ocean theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2b303b" - # foreground: "#c0c5ce" - # cursor: "#c0c5ce" - - { - # color for nushell primitives - separator: "#eff1f5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a3be8c" - empty: "#8fa1b3" - bool: "#eff1f5" - int: "#eff1f5" - filesize: "#eff1f5" - duration: "#eff1f5" - date: "#eff1f5" - range: "#eff1f5" - float: "#eff1f5" - string: "#eff1f5" - nothing: "#eff1f5" - binary: "#eff1f5" - cellpath: "#eff1f5" - row_index: "#a3be8c" - record: "#eff1f5" - list: "#eff1f5" - block: "#eff1f5" - hints: "#65737e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b48ead" - shape_bool: "#96b5b4" - shape_int: "#b48ead" - shape_float: "#b48ead" - shape_range: "#ebcb8b" - shape_internalcall: "#96b5b4" - shape_external: "#96b5b4" - shape_externalarg: "#a3be8c" - shape_literal: "#8fa1b3" - shape_operator: "#ebcb8b" - shape_signature: "#a3be8c" - shape_string: "#a3be8c" - shape_string_interpolation: "#96b5b4" - shape_datetime: "#96b5b4" - shape_list: "#96b5b4" - shape_table: "#8fa1b3" - shape_record: "#96b5b4" - shape_block: "#8fa1b3" - shape_filepath: "#96b5b4" - shape_globpattern: "#96b5b4" - shape_variable: "#b48ead" - shape_flag: "#8fa1b3" - shape_custom: "#a3be8c" - shape_nothing: "#96b5b4" +export def main [] { return { + separator: "#c0c5ce" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a3be8c" attr: "b" } + empty: "#8fa1b3" + bool: {|| if $in { "#96b5b4" } else { "light_gray" } } + int: "#c0c5ce" + filesize: {|e| + if $e == 0b { + "#c0c5ce" + } else if $e < 1mb { + "#96b5b4" + } else {{ fg: "#8fa1b3" }} } -} + duration: "#c0c5ce" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bf616a" attr: "b" } + } else if $in < 6hr { + "#bf616a" + } else if $in < 1day { + "#ebcb8b" + } else if $in < 3day { + "#a3be8c" + } else if $in < 1wk { + { fg: "#a3be8c" attr: "b" } + } else if $in < 6wk { + "#96b5b4" + } else if $in < 52wk { + "#8fa1b3" + } else { "dark_gray" } + } + range: "#c0c5ce" + float: "#c0c5ce" + string: "#c0c5ce" + nothing: "#c0c5ce" + binary: "#c0c5ce" + cellpath: "#c0c5ce" + row_index: { fg: "#a3be8c" attr: "b" } + record: "#c0c5ce" + list: "#c0c5ce" + block: "#c0c5ce" + hints: "dark_gray" + + shape_and: { fg: "#b48ead" attr: "b" } + shape_binary: { fg: "#b48ead" attr: "b" } + shape_block: { fg: "#8fa1b3" attr: "b" } + shape_bool: "#96b5b4" + shape_custom: "#a3be8c" + shape_datetime: { fg: "#96b5b4" attr: "b" } + shape_directory: "#96b5b4" + shape_external: "#96b5b4" + shape_externalarg: { fg: "#a3be8c" attr: "b" } + shape_filepath: "#96b5b4" + shape_flag: { fg: "#8fa1b3" attr: "b" } + shape_float: { fg: "#b48ead" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#96b5b4" attr: "b" } + shape_int: { fg: "#b48ead" attr: "b" } + shape_internalcall: { fg: "#96b5b4" attr: "b" } + shape_list: { fg: "#96b5b4" attr: "b" } + shape_literal: "#8fa1b3" + shape_match_pattern: "#a3be8c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#96b5b4" + shape_operator: "#ebcb8b" + shape_or: { fg: "#b48ead" attr: "b" } + shape_pipe: { fg: "#b48ead" attr: "b" } + shape_range: { fg: "#ebcb8b" attr: "b" } + shape_record: { fg: "#96b5b4" attr: "b" } + shape_redirection: { fg: "#b48ead" attr: "b" } + shape_signature: { fg: "#a3be8c" attr: "b" } + shape_string: "#a3be8c" + shape_string_interpolation: { fg: "#96b5b4" attr: "b" } + shape_table: { fg: "#8fa1b3" attr: "b" } + shape_variable: "#b48ead" + + background: "#2b303b" + foreground: "#c0c5ce" + cursor: "#c0c5ce" +}} \ No newline at end of file diff --git a/themes/themes/oceanic-material.nu b/themes/themes/oceanic-material.nu index 20015d4..2a5adf4 100644 --- a/themes/themes/oceanic-material.nu +++ b/themes/themes/oceanic-material.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the oceanic_material theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1c262b" - # foreground: "#c1c8d6" - # cursor: "#b2b8c3" - - { - # color for nushell primitives - separator: "#fffefe" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#70be71" - empty: "#1d80ef" - bool: "#fffefe" - int: "#fffefe" - filesize: "#fffefe" - duration: "#fffefe" - date: "#fffefe" - range: "#fffefe" - float: "#fffefe" - string: "#fffefe" - nothing: "#fffefe" - binary: "#fffefe" - cellpath: "#fffefe" - row_index: "#70be71" - record: "#fffefe" - list: "#fffefe" - block: "#fffefe" - hints: "#767676" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a94dbb" - shape_bool: "#42c6d9" - shape_int: "#a94dbb" - shape_float: "#a94dbb" - shape_range: "#fef063" - shape_internalcall: "#42c6d9" - shape_external: "#16aec9" - shape_externalarg: "#70be71" - shape_literal: "#1d80ef" - shape_operator: "#fee92e" - shape_signature: "#70be71" - shape_string: "#3fa33f" - shape_string_interpolation: "#42c6d9" - shape_datetime: "#42c6d9" - shape_list: "#42c6d9" - shape_table: "#53a4f3" - shape_record: "#42c6d9" - shape_block: "#53a4f3" - shape_filepath: "#16aec9" - shape_globpattern: "#42c6d9" - shape_variable: "#8800a0" - shape_flag: "#53a4f3" - shape_custom: "#3fa33f" - shape_nothing: "#42c6d9" +export def main [] { return { + separator: "#a4a4a4" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#3fa33f" attr: "b" } + empty: "#1d80ef" + bool: {|| if $in { "#42c6d9" } else { "light_gray" } } + int: "#a4a4a4" + filesize: {|e| + if $e == 0b { + "#a4a4a4" + } else if $e < 1mb { + "#16aec9" + } else {{ fg: "#1d80ef" }} } -} + duration: "#a4a4a4" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ee2a29" attr: "b" } + } else if $in < 6hr { + "#ee2a29" + } else if $in < 1day { + "#fee92e" + } else if $in < 3day { + "#3fa33f" + } else if $in < 1wk { + { fg: "#3fa33f" attr: "b" } + } else if $in < 6wk { + "#16aec9" + } else if $in < 52wk { + "#1d80ef" + } else { "dark_gray" } + } + range: "#a4a4a4" + float: "#a4a4a4" + string: "#a4a4a4" + nothing: "#a4a4a4" + binary: "#a4a4a4" + cellpath: "#a4a4a4" + row_index: { fg: "#3fa33f" attr: "b" } + record: "#a4a4a4" + list: "#a4a4a4" + block: "#a4a4a4" + hints: "dark_gray" + + shape_and: { fg: "#8800a0" attr: "b" } + shape_binary: { fg: "#8800a0" attr: "b" } + shape_block: { fg: "#1d80ef" attr: "b" } + shape_bool: "#42c6d9" + shape_custom: "#3fa33f" + shape_datetime: { fg: "#16aec9" attr: "b" } + shape_directory: "#16aec9" + shape_external: "#16aec9" + shape_externalarg: { fg: "#3fa33f" attr: "b" } + shape_filepath: "#16aec9" + shape_flag: { fg: "#1d80ef" attr: "b" } + shape_float: { fg: "#8800a0" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#16aec9" attr: "b" } + shape_int: { fg: "#8800a0" attr: "b" } + shape_internalcall: { fg: "#16aec9" attr: "b" } + shape_list: { fg: "#16aec9" attr: "b" } + shape_literal: "#1d80ef" + shape_match_pattern: "#3fa33f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#42c6d9" + shape_operator: "#fee92e" + shape_or: { fg: "#8800a0" attr: "b" } + shape_pipe: { fg: "#8800a0" attr: "b" } + shape_range: { fg: "#fee92e" attr: "b" } + shape_record: { fg: "#16aec9" attr: "b" } + shape_redirection: { fg: "#8800a0" attr: "b" } + shape_signature: { fg: "#3fa33f" attr: "b" } + shape_string: "#3fa33f" + shape_string_interpolation: { fg: "#16aec9" attr: "b" } + shape_table: { fg: "#1d80ef" attr: "b" } + shape_variable: "#8800a0" + + background: "#1c262b" + foreground: "#c1c8d6" + cursor: "#b2b8c3" +}} \ No newline at end of file diff --git a/themes/themes/oceanic-next.nu b/themes/themes/oceanic-next.nu index 915168a..b81a589 100644 --- a/themes/themes/oceanic-next.nu +++ b/themes/themes/oceanic-next.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the oceanic_next theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#121b21" - # foreground: "#b3b8c3" - # cursor: "#b3b8c3" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#89bd82" - empty: "#5486c0" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#89bd82" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#52606b" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b77eb8" - shape_bool: "#50a5a4" - shape_int: "#b77eb8" - shape_float: "#b77eb8" - shape_range: "#f7bd51" - shape_internalcall: "#50a5a4" - shape_external: "#50a5a4" - shape_externalarg: "#89bd82" - shape_literal: "#5486c0" - shape_operator: "#f7bd51" - shape_signature: "#89bd82" - shape_string: "#89bd82" - shape_string_interpolation: "#50a5a4" - shape_datetime: "#50a5a4" - shape_list: "#50a5a4" - shape_table: "#5486c0" - shape_record: "#50a5a4" - shape_block: "#5486c0" - shape_filepath: "#50a5a4" - shape_globpattern: "#50a5a4" - shape_variable: "#b77eb8" - shape_flag: "#5486c0" - shape_custom: "#89bd82" - shape_nothing: "#50a5a4" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#89bd82" attr: "b" } + empty: "#5486c0" + bool: {|| if $in { "#50a5a4" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#50a5a4" + } else {{ fg: "#5486c0" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e44754" attr: "b" } + } else if $in < 6hr { + "#e44754" + } else if $in < 1day { + "#f7bd51" + } else if $in < 3day { + "#89bd82" + } else if $in < 1wk { + { fg: "#89bd82" attr: "b" } + } else if $in < 6wk { + "#50a5a4" + } else if $in < 52wk { + "#5486c0" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#89bd82" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#b77eb8" attr: "b" } + shape_binary: { fg: "#b77eb8" attr: "b" } + shape_block: { fg: "#5486c0" attr: "b" } + shape_bool: "#50a5a4" + shape_custom: "#89bd82" + shape_datetime: { fg: "#50a5a4" attr: "b" } + shape_directory: "#50a5a4" + shape_external: "#50a5a4" + shape_externalarg: { fg: "#89bd82" attr: "b" } + shape_filepath: "#50a5a4" + shape_flag: { fg: "#5486c0" attr: "b" } + shape_float: { fg: "#b77eb8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#50a5a4" attr: "b" } + shape_int: { fg: "#b77eb8" attr: "b" } + shape_internalcall: { fg: "#50a5a4" attr: "b" } + shape_list: { fg: "#50a5a4" attr: "b" } + shape_literal: "#5486c0" + shape_match_pattern: "#89bd82" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#50a5a4" + shape_operator: "#f7bd51" + shape_or: { fg: "#b77eb8" attr: "b" } + shape_pipe: { fg: "#b77eb8" attr: "b" } + shape_range: { fg: "#f7bd51" attr: "b" } + shape_record: { fg: "#50a5a4" attr: "b" } + shape_redirection: { fg: "#b77eb8" attr: "b" } + shape_signature: { fg: "#89bd82" attr: "b" } + shape_string: "#89bd82" + shape_string_interpolation: { fg: "#50a5a4" attr: "b" } + shape_table: { fg: "#5486c0" attr: "b" } + shape_variable: "#b77eb8" + + background: "#121b21" + foreground: "#b3b8c3" + cursor: "#b3b8c3" +}} \ No newline at end of file diff --git a/themes/themes/oceanicnext.nu b/themes/themes/oceanicnext.nu index 03161b1..e282c47 100644 --- a/themes/themes/oceanicnext.nu +++ b/themes/themes/oceanicnext.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the oceanicnext theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1b2b34" - # foreground: "#c0c5ce" - # cursor: "#c0c5ce" - - { - # color for nushell primitives - separator: "#d8dee9" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#99c794" - empty: "#6699cc" - bool: "#d8dee9" - int: "#d8dee9" - filesize: "#d8dee9" - duration: "#d8dee9" - date: "#d8dee9" - range: "#d8dee9" - float: "#d8dee9" - string: "#d8dee9" - nothing: "#d8dee9" - binary: "#d8dee9" - cellpath: "#d8dee9" - row_index: "#99c794" - record: "#d8dee9" - list: "#d8dee9" - block: "#d8dee9" - hints: "#65737e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c594c5" - shape_bool: "#5fb3b3" - shape_int: "#c594c5" - shape_float: "#c594c5" - shape_range: "#fac863" - shape_internalcall: "#5fb3b3" - shape_external: "#5fb3b3" - shape_externalarg: "#99c794" - shape_literal: "#6699cc" - shape_operator: "#fac863" - shape_signature: "#99c794" - shape_string: "#99c794" - shape_string_interpolation: "#5fb3b3" - shape_datetime: "#5fb3b3" - shape_list: "#5fb3b3" - shape_table: "#6699cc" - shape_record: "#5fb3b3" - shape_block: "#6699cc" - shape_filepath: "#5fb3b3" - shape_globpattern: "#5fb3b3" - shape_variable: "#c594c5" - shape_flag: "#6699cc" - shape_custom: "#99c794" - shape_nothing: "#5fb3b3" +export def main [] { return { + separator: "#c0c5ce" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#99c794" attr: "b" } + empty: "#6699cc" + bool: {|| if $in { "#5fb3b3" } else { "light_gray" } } + int: "#c0c5ce" + filesize: {|e| + if $e == 0b { + "#c0c5ce" + } else if $e < 1mb { + "#5fb3b3" + } else {{ fg: "#6699cc" }} } -} + duration: "#c0c5ce" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ec5f67" attr: "b" } + } else if $in < 6hr { + "#ec5f67" + } else if $in < 1day { + "#fac863" + } else if $in < 3day { + "#99c794" + } else if $in < 1wk { + { fg: "#99c794" attr: "b" } + } else if $in < 6wk { + "#5fb3b3" + } else if $in < 52wk { + "#6699cc" + } else { "dark_gray" } + } + range: "#c0c5ce" + float: "#c0c5ce" + string: "#c0c5ce" + nothing: "#c0c5ce" + binary: "#c0c5ce" + cellpath: "#c0c5ce" + row_index: { fg: "#99c794" attr: "b" } + record: "#c0c5ce" + list: "#c0c5ce" + block: "#c0c5ce" + hints: "dark_gray" + + shape_and: { fg: "#c594c5" attr: "b" } + shape_binary: { fg: "#c594c5" attr: "b" } + shape_block: { fg: "#6699cc" attr: "b" } + shape_bool: "#5fb3b3" + shape_custom: "#99c794" + shape_datetime: { fg: "#5fb3b3" attr: "b" } + shape_directory: "#5fb3b3" + shape_external: "#5fb3b3" + shape_externalarg: { fg: "#99c794" attr: "b" } + shape_filepath: "#5fb3b3" + shape_flag: { fg: "#6699cc" attr: "b" } + shape_float: { fg: "#c594c5" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5fb3b3" attr: "b" } + shape_int: { fg: "#c594c5" attr: "b" } + shape_internalcall: { fg: "#5fb3b3" attr: "b" } + shape_list: { fg: "#5fb3b3" attr: "b" } + shape_literal: "#6699cc" + shape_match_pattern: "#99c794" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5fb3b3" + shape_operator: "#fac863" + shape_or: { fg: "#c594c5" attr: "b" } + shape_pipe: { fg: "#c594c5" attr: "b" } + shape_range: { fg: "#fac863" attr: "b" } + shape_record: { fg: "#5fb3b3" attr: "b" } + shape_redirection: { fg: "#c594c5" attr: "b" } + shape_signature: { fg: "#99c794" attr: "b" } + shape_string: "#99c794" + shape_string_interpolation: { fg: "#5fb3b3" attr: "b" } + shape_table: { fg: "#6699cc" attr: "b" } + shape_variable: "#c594c5" + + background: "#1b2b34" + foreground: "#c0c5ce" + cursor: "#c0c5ce" +}} \ No newline at end of file diff --git a/themes/themes/ollie.nu b/themes/themes/ollie.nu index c5613cd..a8c98a4 100644 --- a/themes/themes/ollie.nu +++ b/themes/themes/ollie.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ollie theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222125" - # foreground: "#8a8dae" - # cursor: "#8a8dae" - - { - # color for nushell primitives - separator: "#5b6ea7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#3bff99" - empty: "#2d57ac" - bool: "#5b6ea7" - int: "#5b6ea7" - filesize: "#5b6ea7" - duration: "#5b6ea7" - date: "#5b6ea7" - range: "#5b6ea7" - float: "#5b6ea7" - string: "#5b6ea7" - nothing: "#5b6ea7" - binary: "#5b6ea7" - cellpath: "#5b6ea7" - row_index: "#3bff99" - record: "#5b6ea7" - list: "#5b6ea7" - block: "#5b6ea7" - hints: "#5b3725" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ffc21d" - shape_bool: "#1ffaff" - shape_int: "#ffc21d" - shape_float: "#ffc21d" - shape_range: "#ff5e1e" - shape_internalcall: "#1ffaff" - shape_external: "#1fa6ac" - shape_externalarg: "#3bff99" - shape_literal: "#2d57ac" - shape_operator: "#ac4300" - shape_signature: "#3bff99" - shape_string: "#31ac61" - shape_string_interpolation: "#1ffaff" - shape_datetime: "#1ffaff" - shape_list: "#1ffaff" - shape_table: "#4488ff" - shape_record: "#1ffaff" - shape_block: "#4488ff" - shape_filepath: "#1fa6ac" - shape_globpattern: "#1ffaff" - shape_variable: "#b08528" - shape_flag: "#4488ff" - shape_custom: "#31ac61" - shape_nothing: "#1ffaff" +export def main [] { return { + separator: "#8a8eac" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#31ac61" attr: "b" } + empty: "#2d57ac" + bool: {|| if $in { "#1ffaff" } else { "light_gray" } } + int: "#8a8eac" + filesize: {|e| + if $e == 0b { + "#8a8eac" + } else if $e < 1mb { + "#1fa6ac" + } else {{ fg: "#2d57ac" }} } -} + duration: "#8a8eac" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ac2e31" attr: "b" } + } else if $in < 6hr { + "#ac2e31" + } else if $in < 1day { + "#ac4300" + } else if $in < 3day { + "#31ac61" + } else if $in < 1wk { + { fg: "#31ac61" attr: "b" } + } else if $in < 6wk { + "#1fa6ac" + } else if $in < 52wk { + "#2d57ac" + } else { "dark_gray" } + } + range: "#8a8eac" + float: "#8a8eac" + string: "#8a8eac" + nothing: "#8a8eac" + binary: "#8a8eac" + cellpath: "#8a8eac" + row_index: { fg: "#31ac61" attr: "b" } + record: "#8a8eac" + list: "#8a8eac" + block: "#8a8eac" + hints: "dark_gray" + + shape_and: { fg: "#b08528" attr: "b" } + shape_binary: { fg: "#b08528" attr: "b" } + shape_block: { fg: "#2d57ac" attr: "b" } + shape_bool: "#1ffaff" + shape_custom: "#31ac61" + shape_datetime: { fg: "#1fa6ac" attr: "b" } + shape_directory: "#1fa6ac" + shape_external: "#1fa6ac" + shape_externalarg: { fg: "#31ac61" attr: "b" } + shape_filepath: "#1fa6ac" + shape_flag: { fg: "#2d57ac" attr: "b" } + shape_float: { fg: "#b08528" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1fa6ac" attr: "b" } + shape_int: { fg: "#b08528" attr: "b" } + shape_internalcall: { fg: "#1fa6ac" attr: "b" } + shape_list: { fg: "#1fa6ac" attr: "b" } + shape_literal: "#2d57ac" + shape_match_pattern: "#31ac61" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1ffaff" + shape_operator: "#ac4300" + shape_or: { fg: "#b08528" attr: "b" } + shape_pipe: { fg: "#b08528" attr: "b" } + shape_range: { fg: "#ac4300" attr: "b" } + shape_record: { fg: "#1fa6ac" attr: "b" } + shape_redirection: { fg: "#b08528" attr: "b" } + shape_signature: { fg: "#31ac61" attr: "b" } + shape_string: "#31ac61" + shape_string_interpolation: { fg: "#1fa6ac" attr: "b" } + shape_table: { fg: "#2d57ac" attr: "b" } + shape_variable: "#b08528" + + background: "#222125" + foreground: "#8a8dae" + cursor: "#8a8dae" +}} \ No newline at end of file diff --git a/themes/themes/one-dark.nu b/themes/themes/one-dark.nu index 800cf5e..675ac0e 100644 --- a/themes/themes/one-dark.nu +++ b/themes/themes/one-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the one_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1e2127" - # foreground: "#5c6370" - # cursor: "#5c6370" - - { - # color for nushell primitives - separator: "#fffefe" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#98c379" - empty: "#61afef" - bool: "#fffefe" - int: "#fffefe" - filesize: "#fffefe" - duration: "#fffefe" - date: "#fffefe" - range: "#fffefe" - float: "#fffefe" - string: "#fffefe" - nothing: "#fffefe" - binary: "#fffefe" - cellpath: "#fffefe" - row_index: "#98c379" - record: "#fffefe" - list: "#fffefe" - block: "#fffefe" - hints: "#5c6370" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c678dd" - shape_bool: "#56b6c2" - shape_int: "#c678dd" - shape_float: "#c678dd" - shape_range: "#d19a66" - shape_internalcall: "#56b6c2" - shape_external: "#56b6c2" - shape_externalarg: "#98c379" - shape_literal: "#61afef" - shape_operator: "#d19a66" - shape_signature: "#98c379" - shape_string: "#98c379" - shape_string_interpolation: "#56b6c2" - shape_datetime: "#56b6c2" - shape_list: "#56b6c2" - shape_table: "#61afef" - shape_record: "#56b6c2" - shape_block: "#61afef" - shape_filepath: "#56b6c2" - shape_globpattern: "#56b6c2" - shape_variable: "#c678dd" - shape_flag: "#61afef" - shape_custom: "#98c379" - shape_nothing: "#56b6c2" +export def main [] { return { + separator: "#abb2bf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#98c379" attr: "b" } + empty: "#61afef" + bool: {|| if $in { "#56b6c2" } else { "light_gray" } } + int: "#abb2bf" + filesize: {|e| + if $e == 0b { + "#abb2bf" + } else if $e < 1mb { + "#56b6c2" + } else {{ fg: "#61afef" }} } -} + duration: "#abb2bf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e06c75" attr: "b" } + } else if $in < 6hr { + "#e06c75" + } else if $in < 1day { + "#d19a66" + } else if $in < 3day { + "#98c379" + } else if $in < 1wk { + { fg: "#98c379" attr: "b" } + } else if $in < 6wk { + "#56b6c2" + } else if $in < 52wk { + "#61afef" + } else { "dark_gray" } + } + range: "#abb2bf" + float: "#abb2bf" + string: "#abb2bf" + nothing: "#abb2bf" + binary: "#abb2bf" + cellpath: "#abb2bf" + row_index: { fg: "#98c379" attr: "b" } + record: "#abb2bf" + list: "#abb2bf" + block: "#abb2bf" + hints: "dark_gray" + + shape_and: { fg: "#c678dd" attr: "b" } + shape_binary: { fg: "#c678dd" attr: "b" } + shape_block: { fg: "#61afef" attr: "b" } + shape_bool: "#56b6c2" + shape_custom: "#98c379" + shape_datetime: { fg: "#56b6c2" attr: "b" } + shape_directory: "#56b6c2" + shape_external: "#56b6c2" + shape_externalarg: { fg: "#98c379" attr: "b" } + shape_filepath: "#56b6c2" + shape_flag: { fg: "#61afef" attr: "b" } + shape_float: { fg: "#c678dd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#56b6c2" attr: "b" } + shape_int: { fg: "#c678dd" attr: "b" } + shape_internalcall: { fg: "#56b6c2" attr: "b" } + shape_list: { fg: "#56b6c2" attr: "b" } + shape_literal: "#61afef" + shape_match_pattern: "#98c379" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#56b6c2" + shape_operator: "#d19a66" + shape_or: { fg: "#c678dd" attr: "b" } + shape_pipe: { fg: "#c678dd" attr: "b" } + shape_range: { fg: "#d19a66" attr: "b" } + shape_record: { fg: "#56b6c2" attr: "b" } + shape_redirection: { fg: "#c678dd" attr: "b" } + shape_signature: { fg: "#98c379" attr: "b" } + shape_string: "#98c379" + shape_string_interpolation: { fg: "#56b6c2" attr: "b" } + shape_table: { fg: "#61afef" attr: "b" } + shape_variable: "#c678dd" + + background: "#1e2127" + foreground: "#5c6370" + cursor: "#5c6370" +}} \ No newline at end of file diff --git a/themes/themes/one-half-black.nu b/themes/themes/one-half-black.nu index f31f76b..c58a49f 100644 --- a/themes/themes/one-half-black.nu +++ b/themes/themes/one-half-black.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the one_half-black theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#dcdfe4" - # cursor: "#dcdfe4" - - { - # color for nushell primitives - separator: "#dcdfe4" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#98c379" - empty: "#61afef" - bool: "#dcdfe4" - int: "#dcdfe4" - filesize: "#dcdfe4" - duration: "#dcdfe4" - date: "#dcdfe4" - range: "#dcdfe4" - float: "#dcdfe4" - string: "#dcdfe4" - nothing: "#dcdfe4" - binary: "#dcdfe4" - cellpath: "#dcdfe4" - row_index: "#98c379" - record: "#dcdfe4" - list: "#dcdfe4" - block: "#dcdfe4" - hints: "#282c34" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c678dd" - shape_bool: "#56b6c2" - shape_int: "#c678dd" - shape_float: "#c678dd" - shape_range: "#e5c07b" - shape_internalcall: "#56b6c2" - shape_external: "#56b6c2" - shape_externalarg: "#98c379" - shape_literal: "#61afef" - shape_operator: "#e5c07b" - shape_signature: "#98c379" - shape_string: "#98c379" - shape_string_interpolation: "#56b6c2" - shape_datetime: "#56b6c2" - shape_list: "#56b6c2" - shape_table: "#61afef" - shape_record: "#56b6c2" - shape_block: "#61afef" - shape_filepath: "#56b6c2" - shape_globpattern: "#56b6c2" - shape_variable: "#c678dd" - shape_flag: "#61afef" - shape_custom: "#98c379" - shape_nothing: "#56b6c2" +export def main [] { return { + separator: "#dcdfe4" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#98c379" attr: "b" } + empty: "#61afef" + bool: {|| if $in { "#56b6c2" } else { "light_gray" } } + int: "#dcdfe4" + filesize: {|e| + if $e == 0b { + "#dcdfe4" + } else if $e < 1mb { + "#56b6c2" + } else {{ fg: "#61afef" }} } -} + duration: "#dcdfe4" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e06c75" attr: "b" } + } else if $in < 6hr { + "#e06c75" + } else if $in < 1day { + "#e5c07b" + } else if $in < 3day { + "#98c379" + } else if $in < 1wk { + { fg: "#98c379" attr: "b" } + } else if $in < 6wk { + "#56b6c2" + } else if $in < 52wk { + "#61afef" + } else { "dark_gray" } + } + range: "#dcdfe4" + float: "#dcdfe4" + string: "#dcdfe4" + nothing: "#dcdfe4" + binary: "#dcdfe4" + cellpath: "#dcdfe4" + row_index: { fg: "#98c379" attr: "b" } + record: "#dcdfe4" + list: "#dcdfe4" + block: "#dcdfe4" + hints: "dark_gray" + + shape_and: { fg: "#c678dd" attr: "b" } + shape_binary: { fg: "#c678dd" attr: "b" } + shape_block: { fg: "#61afef" attr: "b" } + shape_bool: "#56b6c2" + shape_custom: "#98c379" + shape_datetime: { fg: "#56b6c2" attr: "b" } + shape_directory: "#56b6c2" + shape_external: "#56b6c2" + shape_externalarg: { fg: "#98c379" attr: "b" } + shape_filepath: "#56b6c2" + shape_flag: { fg: "#61afef" attr: "b" } + shape_float: { fg: "#c678dd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#56b6c2" attr: "b" } + shape_int: { fg: "#c678dd" attr: "b" } + shape_internalcall: { fg: "#56b6c2" attr: "b" } + shape_list: { fg: "#56b6c2" attr: "b" } + shape_literal: "#61afef" + shape_match_pattern: "#98c379" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#56b6c2" + shape_operator: "#e5c07b" + shape_or: { fg: "#c678dd" attr: "b" } + shape_pipe: { fg: "#c678dd" attr: "b" } + shape_range: { fg: "#e5c07b" attr: "b" } + shape_record: { fg: "#56b6c2" attr: "b" } + shape_redirection: { fg: "#c678dd" attr: "b" } + shape_signature: { fg: "#98c379" attr: "b" } + shape_string: "#98c379" + shape_string_interpolation: { fg: "#56b6c2" attr: "b" } + shape_table: { fg: "#61afef" attr: "b" } + shape_variable: "#c678dd" + + background: "#000000" + foreground: "#dcdfe4" + cursor: "#dcdfe4" +}} \ No newline at end of file diff --git a/themes/themes/one-half-light.nu b/themes/themes/one-half-light.nu index b334188..c074eb1 100644 --- a/themes/themes/one-half-light.nu +++ b/themes/themes/one-half-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the one_half-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fafafa" - # foreground: "#383a42" - # cursor: "#383a42" - - { - # color for nushell primitives - separator: "#fafafa" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#40a14f" - empty: "#0184bc" - bool: "#fafafa" - int: "#fafafa" - filesize: "#fafafa" - duration: "#fafafa" - date: "#fafafa" - range: "#fafafa" - float: "#fafafa" - string: "#fafafa" - nothing: "#fafafa" - binary: "#fafafa" - cellpath: "#fafafa" - row_index: "#40a14f" - record: "#fafafa" - list: "#fafafa" - block: "#fafafa" - hints: "#383a42" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a626a4" - shape_bool: "#0997b3" - shape_int: "#a626a4" - shape_float: "#a626a4" - shape_range: "#c18401" - shape_internalcall: "#0997b3" - shape_external: "#0997b3" - shape_externalarg: "#40a14f" - shape_literal: "#0184bc" - shape_operator: "#c18401" - shape_signature: "#40a14f" - shape_string: "#40a14f" - shape_string_interpolation: "#0997b3" - shape_datetime: "#0997b3" - shape_list: "#0997b3" - shape_table: "#0184bc" - shape_record: "#0997b3" - shape_block: "#0184bc" - shape_filepath: "#0997b3" - shape_globpattern: "#0997b3" - shape_variable: "#a626a4" - shape_flag: "#0184bc" - shape_custom: "#40a14f" - shape_nothing: "#0997b3" +export def main [] { return { + separator: "#fafafa" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#40a14f" attr: "b" } + empty: "#0184bc" + bool: {|| if $in { "#0997b3" } else { "light_gray" } } + int: "#fafafa" + filesize: {|e| + if $e == 0b { + "#fafafa" + } else if $e < 1mb { + "#0997b3" + } else {{ fg: "#0184bc" }} } -} + duration: "#fafafa" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e45649" attr: "b" } + } else if $in < 6hr { + "#e45649" + } else if $in < 1day { + "#c18401" + } else if $in < 3day { + "#40a14f" + } else if $in < 1wk { + { fg: "#40a14f" attr: "b" } + } else if $in < 6wk { + "#0997b3" + } else if $in < 52wk { + "#0184bc" + } else { "dark_gray" } + } + range: "#fafafa" + float: "#fafafa" + string: "#fafafa" + nothing: "#fafafa" + binary: "#fafafa" + cellpath: "#fafafa" + row_index: { fg: "#40a14f" attr: "b" } + record: "#fafafa" + list: "#fafafa" + block: "#fafafa" + hints: "dark_gray" + + shape_and: { fg: "#a626a4" attr: "b" } + shape_binary: { fg: "#a626a4" attr: "b" } + shape_block: { fg: "#0184bc" attr: "b" } + shape_bool: "#0997b3" + shape_custom: "#40a14f" + shape_datetime: { fg: "#0997b3" attr: "b" } + shape_directory: "#0997b3" + shape_external: "#0997b3" + shape_externalarg: { fg: "#40a14f" attr: "b" } + shape_filepath: "#0997b3" + shape_flag: { fg: "#0184bc" attr: "b" } + shape_float: { fg: "#a626a4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0997b3" attr: "b" } + shape_int: { fg: "#a626a4" attr: "b" } + shape_internalcall: { fg: "#0997b3" attr: "b" } + shape_list: { fg: "#0997b3" attr: "b" } + shape_literal: "#0184bc" + shape_match_pattern: "#40a14f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#0997b3" + shape_operator: "#c18401" + shape_or: { fg: "#a626a4" attr: "b" } + shape_pipe: { fg: "#a626a4" attr: "b" } + shape_range: { fg: "#c18401" attr: "b" } + shape_record: { fg: "#0997b3" attr: "b" } + shape_redirection: { fg: "#a626a4" attr: "b" } + shape_signature: { fg: "#40a14f" attr: "b" } + shape_string: "#40a14f" + shape_string_interpolation: { fg: "#0997b3" attr: "b" } + shape_table: { fg: "#0184bc" attr: "b" } + shape_variable: "#a626a4" + + background: "#fafafa" + foreground: "#383a42" + cursor: "#383a42" +}} \ No newline at end of file diff --git a/themes/themes/one-light.nu b/themes/themes/one-light.nu index af973dd..93842c5 100644 --- a/themes/themes/one-light.nu +++ b/themes/themes/one-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the one_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fafafa" - # foreground: "#383a42" - # cursor: "#383a42" - - { - # color for nushell primitives - separator: "#090a0b" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#50a14f" - empty: "#4078f2" - bool: "#090a0b" - int: "#090a0b" - filesize: "#090a0b" - duration: "#090a0b" - date: "#090a0b" - range: "#090a0b" - float: "#090a0b" - string: "#090a0b" - nothing: "#090a0b" - binary: "#090a0b" - cellpath: "#090a0b" - row_index: "#50a14f" - record: "#090a0b" - list: "#090a0b" - block: "#090a0b" - hints: "#a0a1a7" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a626a4" - shape_bool: "#0184bc" - shape_int: "#a626a4" - shape_float: "#a626a4" - shape_range: "#c18401" - shape_internalcall: "#0184bc" - shape_external: "#0184bc" - shape_externalarg: "#50a14f" - shape_literal: "#4078f2" - shape_operator: "#c18401" - shape_signature: "#50a14f" - shape_string: "#50a14f" - shape_string_interpolation: "#0184bc" - shape_datetime: "#0184bc" - shape_list: "#0184bc" - shape_table: "#4078f2" - shape_record: "#0184bc" - shape_block: "#4078f2" - shape_filepath: "#0184bc" - shape_globpattern: "#0184bc" - shape_variable: "#a626a4" - shape_flag: "#4078f2" - shape_custom: "#50a14f" - shape_nothing: "#0184bc" +export def main [] { return { + separator: "#383a42" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#50a14f" attr: "b" } + empty: "#4078f2" + bool: {|| if $in { "#0184bc" } else { "light_gray" } } + int: "#383a42" + filesize: {|e| + if $e == 0b { + "#383a42" + } else if $e < 1mb { + "#0184bc" + } else {{ fg: "#4078f2" }} } -} + duration: "#383a42" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ca1243" attr: "b" } + } else if $in < 6hr { + "#ca1243" + } else if $in < 1day { + "#c18401" + } else if $in < 3day { + "#50a14f" + } else if $in < 1wk { + { fg: "#50a14f" attr: "b" } + } else if $in < 6wk { + "#0184bc" + } else if $in < 52wk { + "#4078f2" + } else { "dark_gray" } + } + range: "#383a42" + float: "#383a42" + string: "#383a42" + nothing: "#383a42" + binary: "#383a42" + cellpath: "#383a42" + row_index: { fg: "#50a14f" attr: "b" } + record: "#383a42" + list: "#383a42" + block: "#383a42" + hints: "dark_gray" + + shape_and: { fg: "#a626a4" attr: "b" } + shape_binary: { fg: "#a626a4" attr: "b" } + shape_block: { fg: "#4078f2" attr: "b" } + shape_bool: "#0184bc" + shape_custom: "#50a14f" + shape_datetime: { fg: "#0184bc" attr: "b" } + shape_directory: "#0184bc" + shape_external: "#0184bc" + shape_externalarg: { fg: "#50a14f" attr: "b" } + shape_filepath: "#0184bc" + shape_flag: { fg: "#4078f2" attr: "b" } + shape_float: { fg: "#a626a4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0184bc" attr: "b" } + shape_int: { fg: "#a626a4" attr: "b" } + shape_internalcall: { fg: "#0184bc" attr: "b" } + shape_list: { fg: "#0184bc" attr: "b" } + shape_literal: "#4078f2" + shape_match_pattern: "#50a14f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#0184bc" + shape_operator: "#c18401" + shape_or: { fg: "#a626a4" attr: "b" } + shape_pipe: { fg: "#a626a4" attr: "b" } + shape_range: { fg: "#c18401" attr: "b" } + shape_record: { fg: "#0184bc" attr: "b" } + shape_redirection: { fg: "#a626a4" attr: "b" } + shape_signature: { fg: "#50a14f" attr: "b" } + shape_string: "#50a14f" + shape_string_interpolation: { fg: "#0184bc" attr: "b" } + shape_table: { fg: "#4078f2" attr: "b" } + shape_variable: "#a626a4" + + background: "#fafafa" + foreground: "#383a42" + cursor: "#383a42" +}} \ No newline at end of file diff --git a/themes/themes/onedark.nu b/themes/themes/onedark.nu index 29ee94d..d000026 100644 --- a/themes/themes/onedark.nu +++ b/themes/themes/onedark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the onedark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282c34" - # foreground: "#abb2bf" - # cursor: "#abb2bf" - - { - # color for nushell primitives - separator: "#c8ccd4" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#98c379" - empty: "#61afef" - bool: "#c8ccd4" - int: "#c8ccd4" - filesize: "#c8ccd4" - duration: "#c8ccd4" - date: "#c8ccd4" - range: "#c8ccd4" - float: "#c8ccd4" - string: "#c8ccd4" - nothing: "#c8ccd4" - binary: "#c8ccd4" - cellpath: "#c8ccd4" - row_index: "#98c379" - record: "#c8ccd4" - list: "#c8ccd4" - block: "#c8ccd4" - hints: "#545862" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c678dd" - shape_bool: "#56b6c2" - shape_int: "#c678dd" - shape_float: "#c678dd" - shape_range: "#e5c07b" - shape_internalcall: "#56b6c2" - shape_external: "#56b6c2" - shape_externalarg: "#98c379" - shape_literal: "#61afef" - shape_operator: "#e5c07b" - shape_signature: "#98c379" - shape_string: "#98c379" - shape_string_interpolation: "#56b6c2" - shape_datetime: "#56b6c2" - shape_list: "#56b6c2" - shape_table: "#61afef" - shape_record: "#56b6c2" - shape_block: "#61afef" - shape_filepath: "#56b6c2" - shape_globpattern: "#56b6c2" - shape_variable: "#c678dd" - shape_flag: "#61afef" - shape_custom: "#98c379" - shape_nothing: "#56b6c2" +export def main [] { return { + separator: "#abb2bf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#98c379" attr: "b" } + empty: "#61afef" + bool: {|| if $in { "#56b6c2" } else { "light_gray" } } + int: "#abb2bf" + filesize: {|e| + if $e == 0b { + "#abb2bf" + } else if $e < 1mb { + "#56b6c2" + } else {{ fg: "#61afef" }} } -} + duration: "#abb2bf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e06c75" attr: "b" } + } else if $in < 6hr { + "#e06c75" + } else if $in < 1day { + "#e5c07b" + } else if $in < 3day { + "#98c379" + } else if $in < 1wk { + { fg: "#98c379" attr: "b" } + } else if $in < 6wk { + "#56b6c2" + } else if $in < 52wk { + "#61afef" + } else { "dark_gray" } + } + range: "#abb2bf" + float: "#abb2bf" + string: "#abb2bf" + nothing: "#abb2bf" + binary: "#abb2bf" + cellpath: "#abb2bf" + row_index: { fg: "#98c379" attr: "b" } + record: "#abb2bf" + list: "#abb2bf" + block: "#abb2bf" + hints: "dark_gray" + + shape_and: { fg: "#c678dd" attr: "b" } + shape_binary: { fg: "#c678dd" attr: "b" } + shape_block: { fg: "#61afef" attr: "b" } + shape_bool: "#56b6c2" + shape_custom: "#98c379" + shape_datetime: { fg: "#56b6c2" attr: "b" } + shape_directory: "#56b6c2" + shape_external: "#56b6c2" + shape_externalarg: { fg: "#98c379" attr: "b" } + shape_filepath: "#56b6c2" + shape_flag: { fg: "#61afef" attr: "b" } + shape_float: { fg: "#c678dd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#56b6c2" attr: "b" } + shape_int: { fg: "#c678dd" attr: "b" } + shape_internalcall: { fg: "#56b6c2" attr: "b" } + shape_list: { fg: "#56b6c2" attr: "b" } + shape_literal: "#61afef" + shape_match_pattern: "#98c379" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#56b6c2" + shape_operator: "#e5c07b" + shape_or: { fg: "#c678dd" attr: "b" } + shape_pipe: { fg: "#c678dd" attr: "b" } + shape_range: { fg: "#e5c07b" attr: "b" } + shape_record: { fg: "#56b6c2" attr: "b" } + shape_redirection: { fg: "#c678dd" attr: "b" } + shape_signature: { fg: "#98c379" attr: "b" } + shape_string: "#98c379" + shape_string_interpolation: { fg: "#56b6c2" attr: "b" } + shape_table: { fg: "#61afef" attr: "b" } + shape_variable: "#c678dd" + + background: "#282c34" + foreground: "#abb2bf" + cursor: "#abb2bf" +}} \ No newline at end of file diff --git a/themes/themes/orbital.nu b/themes/themes/orbital.nu index 07689b8..d7fce60 100644 --- a/themes/themes/orbital.nu +++ b/themes/themes/orbital.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the orbital theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#e4e4e4" - # cursor: "#5fafff" - - { - # color for nushell primitives - separator: "#0000d7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ffd7af" - empty: "#5f87d7" - bool: "#0000d7" - int: "#0000d7" - filesize: "#0000d7" - duration: "#0000d7" - date: "#0000d7" - range: "#0000d7" - float: "#0000d7" - string: "#0000d7" - nothing: "#0000d7" - binary: "#0000d7" - cellpath: "#0000d7" - row_index: "#ffd7af" - record: "#0000d7" - list: "#0000d7" - block: "#0000d7" - hints: "#262626" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#5fafff" - shape_bool: "#005faf" - shape_int: "#5fafff" - shape_float: "#5fafff" - shape_range: "#af875f" - shape_internalcall: "#005faf" - shape_external: "#0087d7" - shape_externalarg: "#ffd7af" - shape_literal: "#5f87d7" - shape_operator: "#d7af87" - shape_signature: "#ffd7af" - shape_string: "#bcbcbc" - shape_string_interpolation: "#005faf" - shape_datetime: "#005faf" - shape_list: "#005faf" - shape_table: "#5f87af" - shape_record: "#005faf" - shape_block: "#5f87af" - shape_filepath: "#0087d7" - shape_globpattern: "#005faf" - shape_variable: "#87afd7" - shape_flag: "#5f87af" - shape_custom: "#bcbcbc" - shape_nothing: "#005faf" +export def main [] { return { + separator: "#0000d7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#bcbcbc" attr: "b" } + empty: "#5f87d7" + bool: {|| if $in { "#005faf" } else { "light_gray" } } + int: "#0000d7" + filesize: {|e| + if $e == 0b { + "#0000d7" + } else if $e < 1mb { + "#0087d7" + } else {{ fg: "#5f87d7" }} } -} + duration: "#0000d7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#5f5f5f" attr: "b" } + } else if $in < 6hr { + "#5f5f5f" + } else if $in < 1day { + "#d7af87" + } else if $in < 3day { + "#bcbcbc" + } else if $in < 1wk { + { fg: "#bcbcbc" attr: "b" } + } else if $in < 6wk { + "#0087d7" + } else if $in < 52wk { + "#5f87d7" + } else { "dark_gray" } + } + range: "#0000d7" + float: "#0000d7" + string: "#0000d7" + nothing: "#0000d7" + binary: "#0000d7" + cellpath: "#0000d7" + row_index: { fg: "#bcbcbc" attr: "b" } + record: "#0000d7" + list: "#0000d7" + block: "#0000d7" + hints: "dark_gray" + + shape_and: { fg: "#87afd7" attr: "b" } + shape_binary: { fg: "#87afd7" attr: "b" } + shape_block: { fg: "#5f87d7" attr: "b" } + shape_bool: "#005faf" + shape_custom: "#bcbcbc" + shape_datetime: { fg: "#0087d7" attr: "b" } + shape_directory: "#0087d7" + shape_external: "#0087d7" + shape_externalarg: { fg: "#bcbcbc" attr: "b" } + shape_filepath: "#0087d7" + shape_flag: { fg: "#5f87d7" attr: "b" } + shape_float: { fg: "#87afd7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0087d7" attr: "b" } + shape_int: { fg: "#87afd7" attr: "b" } + shape_internalcall: { fg: "#0087d7" attr: "b" } + shape_list: { fg: "#0087d7" attr: "b" } + shape_literal: "#5f87d7" + shape_match_pattern: "#bcbcbc" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#005faf" + shape_operator: "#d7af87" + shape_or: { fg: "#87afd7" attr: "b" } + shape_pipe: { fg: "#87afd7" attr: "b" } + shape_range: { fg: "#d7af87" attr: "b" } + shape_record: { fg: "#0087d7" attr: "b" } + shape_redirection: { fg: "#87afd7" attr: "b" } + shape_signature: { fg: "#bcbcbc" attr: "b" } + shape_string: "#bcbcbc" + shape_string_interpolation: { fg: "#0087d7" attr: "b" } + shape_table: { fg: "#5f87d7" attr: "b" } + shape_variable: "#87afd7" + + background: "#000000" + foreground: "#e4e4e4" + cursor: "#5fafff" +}} \ No newline at end of file diff --git a/themes/themes/outrun-dark.nu b/themes/themes/outrun-dark.nu index 8428589..679e2a2 100644 --- a/themes/themes/outrun-dark.nu +++ b/themes/themes/outrun-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the outrun_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#00002a" - # foreground: "#d0d0fa" - # cursor: "#d0d0fa" - - { - # color for nushell primitives - separator: "#f5f5ff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#59f176" - empty: "#66b0ff" - bool: "#f5f5ff" - int: "#f5f5ff" - filesize: "#f5f5ff" - duration: "#f5f5ff" - date: "#f5f5ff" - range: "#f5f5ff" - float: "#f5f5ff" - string: "#f5f5ff" - nothing: "#f5f5ff" - binary: "#f5f5ff" - cellpath: "#f5f5ff" - row_index: "#59f176" - record: "#f5f5ff" - list: "#f5f5ff" - block: "#f5f5ff" - hints: "#50507a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#f10596" - shape_bool: "#0ef0f0" - shape_int: "#f10596" - shape_float: "#f10596" - shape_range: "#f3e877" - shape_internalcall: "#0ef0f0" - shape_external: "#0ef0f0" - shape_externalarg: "#59f176" - shape_literal: "#66b0ff" - shape_operator: "#f3e877" - shape_signature: "#59f176" - shape_string: "#59f176" - shape_string_interpolation: "#0ef0f0" - shape_datetime: "#0ef0f0" - shape_list: "#0ef0f0" - shape_table: "#66b0ff" - shape_record: "#0ef0f0" - shape_block: "#66b0ff" - shape_filepath: "#0ef0f0" - shape_globpattern: "#0ef0f0" - shape_variable: "#f10596" - shape_flag: "#66b0ff" - shape_custom: "#59f176" - shape_nothing: "#0ef0f0" +export def main [] { return { + separator: "#d0d0fa" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#59f176" attr: "b" } + empty: "#66b0ff" + bool: {|| if $in { "#0ef0f0" } else { "light_gray" } } + int: "#d0d0fa" + filesize: {|e| + if $e == 0b { + "#d0d0fa" + } else if $e < 1mb { + "#0ef0f0" + } else {{ fg: "#66b0ff" }} } -} + duration: "#d0d0fa" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff4242" attr: "b" } + } else if $in < 6hr { + "#ff4242" + } else if $in < 1day { + "#f3e877" + } else if $in < 3day { + "#59f176" + } else if $in < 1wk { + { fg: "#59f176" attr: "b" } + } else if $in < 6wk { + "#0ef0f0" + } else if $in < 52wk { + "#66b0ff" + } else { "dark_gray" } + } + range: "#d0d0fa" + float: "#d0d0fa" + string: "#d0d0fa" + nothing: "#d0d0fa" + binary: "#d0d0fa" + cellpath: "#d0d0fa" + row_index: { fg: "#59f176" attr: "b" } + record: "#d0d0fa" + list: "#d0d0fa" + block: "#d0d0fa" + hints: "dark_gray" + + shape_and: { fg: "#f10596" attr: "b" } + shape_binary: { fg: "#f10596" attr: "b" } + shape_block: { fg: "#66b0ff" attr: "b" } + shape_bool: "#0ef0f0" + shape_custom: "#59f176" + shape_datetime: { fg: "#0ef0f0" attr: "b" } + shape_directory: "#0ef0f0" + shape_external: "#0ef0f0" + shape_externalarg: { fg: "#59f176" attr: "b" } + shape_filepath: "#0ef0f0" + shape_flag: { fg: "#66b0ff" attr: "b" } + shape_float: { fg: "#f10596" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0ef0f0" attr: "b" } + shape_int: { fg: "#f10596" attr: "b" } + shape_internalcall: { fg: "#0ef0f0" attr: "b" } + shape_list: { fg: "#0ef0f0" attr: "b" } + shape_literal: "#66b0ff" + shape_match_pattern: "#59f176" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#0ef0f0" + shape_operator: "#f3e877" + shape_or: { fg: "#f10596" attr: "b" } + shape_pipe: { fg: "#f10596" attr: "b" } + shape_range: { fg: "#f3e877" attr: "b" } + shape_record: { fg: "#0ef0f0" attr: "b" } + shape_redirection: { fg: "#f10596" attr: "b" } + shape_signature: { fg: "#59f176" attr: "b" } + shape_string: "#59f176" + shape_string_interpolation: { fg: "#0ef0f0" attr: "b" } + shape_table: { fg: "#66b0ff" attr: "b" } + shape_variable: "#f10596" + + background: "#00002a" + foreground: "#d0d0fa" + cursor: "#d0d0fa" +}} \ No newline at end of file diff --git a/themes/themes/pali.nu b/themes/themes/pali.nu index 4d51298..7bd27e1 100644 --- a/themes/themes/pali.nu +++ b/themes/themes/pali.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the pali theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#232e37" - # foreground: "#d9e6f2" - # cursor: "#d9e6f2" - - { - # color for nushell primitives - separator: "#a020f0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#9cc3af" - empty: "#8f74ab" - bool: "#a020f0" - int: "#a020f0" - filesize: "#a020f0" - duration: "#a020f0" - date: "#a020f0" - range: "#a020f0" - float: "#a020f0" - string: "#a020f0" - nothing: "#a020f0" - binary: "#a020f0" - cellpath: "#a020f0" - row_index: "#9cc3af" - record: "#a020f0" - list: "#a020f0" - block: "#a020f0" - hints: "#5d5d5d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff1d62" - shape_bool: "#4bb8fd" - shape_int: "#ff1d62" - shape_float: "#ff1d62" - shape_range: "#ffd00a" - shape_internalcall: "#4bb8fd" - shape_external: "#748fab" - shape_externalarg: "#9cc3af" - shape_literal: "#8f74ab" - shape_operator: "#8fab74" - shape_signature: "#9cc3af" - shape_string: "#74ab8f" - shape_string_interpolation: "#4bb8fd" - shape_datetime: "#4bb8fd" - shape_list: "#4bb8fd" - shape_table: "#af9cc3" - shape_record: "#4bb8fd" - shape_block: "#af9cc3" - shape_filepath: "#748fab" - shape_globpattern: "#4bb8fd" - shape_variable: "#ab748f" - shape_flag: "#af9cc3" - shape_custom: "#74ab8f" - shape_nothing: "#4bb8fd" +export def main [] { return { + separator: "#f2f2f2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#74ab8f" attr: "b" } + empty: "#8f74ab" + bool: {|| if $in { "#4bb8fd" } else { "light_gray" } } + int: "#f2f2f2" + filesize: {|e| + if $e == 0b { + "#f2f2f2" + } else if $e < 1mb { + "#748fab" + } else {{ fg: "#8f74ab" }} } -} + duration: "#f2f2f2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ab8f74" attr: "b" } + } else if $in < 6hr { + "#ab8f74" + } else if $in < 1day { + "#8fab74" + } else if $in < 3day { + "#74ab8f" + } else if $in < 1wk { + { fg: "#74ab8f" attr: "b" } + } else if $in < 6wk { + "#748fab" + } else if $in < 52wk { + "#8f74ab" + } else { "dark_gray" } + } + range: "#f2f2f2" + float: "#f2f2f2" + string: "#f2f2f2" + nothing: "#f2f2f2" + binary: "#f2f2f2" + cellpath: "#f2f2f2" + row_index: { fg: "#74ab8f" attr: "b" } + record: "#f2f2f2" + list: "#f2f2f2" + block: "#f2f2f2" + hints: "dark_gray" + + shape_and: { fg: "#ab748f" attr: "b" } + shape_binary: { fg: "#ab748f" attr: "b" } + shape_block: { fg: "#8f74ab" attr: "b" } + shape_bool: "#4bb8fd" + shape_custom: "#74ab8f" + shape_datetime: { fg: "#748fab" attr: "b" } + shape_directory: "#748fab" + shape_external: "#748fab" + shape_externalarg: { fg: "#74ab8f" attr: "b" } + shape_filepath: "#748fab" + shape_flag: { fg: "#8f74ab" attr: "b" } + shape_float: { fg: "#ab748f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#748fab" attr: "b" } + shape_int: { fg: "#ab748f" attr: "b" } + shape_internalcall: { fg: "#748fab" attr: "b" } + shape_list: { fg: "#748fab" attr: "b" } + shape_literal: "#8f74ab" + shape_match_pattern: "#74ab8f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4bb8fd" + shape_operator: "#8fab74" + shape_or: { fg: "#ab748f" attr: "b" } + shape_pipe: { fg: "#ab748f" attr: "b" } + shape_range: { fg: "#8fab74" attr: "b" } + shape_record: { fg: "#748fab" attr: "b" } + shape_redirection: { fg: "#ab748f" attr: "b" } + shape_signature: { fg: "#74ab8f" attr: "b" } + shape_string: "#74ab8f" + shape_string_interpolation: { fg: "#748fab" attr: "b" } + shape_table: { fg: "#8f74ab" attr: "b" } + shape_variable: "#ab748f" + + background: "#232e37" + foreground: "#d9e6f2" + cursor: "#d9e6f2" +}} \ No newline at end of file diff --git a/themes/themes/palmtree.nu b/themes/themes/palmtree.nu index e6790de..6b44e27 100644 --- a/themes/themes/palmtree.nu +++ b/themes/themes/palmtree.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the palmtree theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282a36" - # foreground: "#b043d1" - # cursor: "#3fdcee" - - { - # color for nushell primitives - separator: "#bebec1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#18e3c8" - empty: "#8897f4" - bool: "#bebec1" - int: "#bebec1" - filesize: "#bebec1" - duration: "#bebec1" - date: "#bebec1" - range: "#bebec1" - float: "#bebec1" - string: "#bebec1" - nothing: "#bebec1" - binary: "#bebec1" - cellpath: "#bebec1" - row_index: "#18e3c8" - record: "#bebec1" - list: "#bebec1" - block: "#bebec1" - hints: "#666979" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b043d1" - shape_bool: "#3fdcee" - shape_int: "#b043d1" - shape_float: "#b043d1" - shape_range: "#ff8037" - shape_internalcall: "#3fdcee" - shape_external: "#79e6f3" - shape_externalarg: "#18e3c8" - shape_literal: "#8897f4" - shape_operator: "#f2a272" - shape_signature: "#18e3c8" - shape_string: "#5adecd" - shape_string_interpolation: "#3fdcee" - shape_datetime: "#3fdcee" - shape_list: "#3fdcee" - shape_table: "#556fff" - shape_record: "#3fdcee" - shape_block: "#556fff" - shape_filepath: "#79e6f3" - shape_globpattern: "#3fdcee" - shape_variable: "#c574dd" - shape_flag: "#556fff" - shape_custom: "#5adecd" - shape_nothing: "#3fdcee" +export def main [] { return { + separator: "#fdfdfd" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#5adecd" attr: "b" } + empty: "#8897f4" + bool: {|| if $in { "#3fdcee" } else { "light_gray" } } + int: "#fdfdfd" + filesize: {|e| + if $e == 0b { + "#fdfdfd" + } else if $e < 1mb { + "#79e6f3" + } else {{ fg: "#8897f4" }} } -} + duration: "#fdfdfd" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f37f97" attr: "b" } + } else if $in < 6hr { + "#f37f97" + } else if $in < 1day { + "#f2a272" + } else if $in < 3day { + "#5adecd" + } else if $in < 1wk { + { fg: "#5adecd" attr: "b" } + } else if $in < 6wk { + "#79e6f3" + } else if $in < 52wk { + "#8897f4" + } else { "dark_gray" } + } + range: "#fdfdfd" + float: "#fdfdfd" + string: "#fdfdfd" + nothing: "#fdfdfd" + binary: "#fdfdfd" + cellpath: "#fdfdfd" + row_index: { fg: "#5adecd" attr: "b" } + record: "#fdfdfd" + list: "#fdfdfd" + block: "#fdfdfd" + hints: "dark_gray" + + shape_and: { fg: "#c574dd" attr: "b" } + shape_binary: { fg: "#c574dd" attr: "b" } + shape_block: { fg: "#8897f4" attr: "b" } + shape_bool: "#3fdcee" + shape_custom: "#5adecd" + shape_datetime: { fg: "#79e6f3" attr: "b" } + shape_directory: "#79e6f3" + shape_external: "#79e6f3" + shape_externalarg: { fg: "#5adecd" attr: "b" } + shape_filepath: "#79e6f3" + shape_flag: { fg: "#8897f4" attr: "b" } + shape_float: { fg: "#c574dd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#79e6f3" attr: "b" } + shape_int: { fg: "#c574dd" attr: "b" } + shape_internalcall: { fg: "#79e6f3" attr: "b" } + shape_list: { fg: "#79e6f3" attr: "b" } + shape_literal: "#8897f4" + shape_match_pattern: "#5adecd" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3fdcee" + shape_operator: "#f2a272" + shape_or: { fg: "#c574dd" attr: "b" } + shape_pipe: { fg: "#c574dd" attr: "b" } + shape_range: { fg: "#f2a272" attr: "b" } + shape_record: { fg: "#79e6f3" attr: "b" } + shape_redirection: { fg: "#c574dd" attr: "b" } + shape_signature: { fg: "#5adecd" attr: "b" } + shape_string: "#5adecd" + shape_string_interpolation: { fg: "#79e6f3" attr: "b" } + shape_table: { fg: "#8897f4" attr: "b" } + shape_variable: "#c574dd" + + background: "#282a36" + foreground: "#b043d1" + cursor: "#3fdcee" +}} \ No newline at end of file diff --git a/themes/themes/papercolor-dark.nu b/themes/themes/papercolor-dark.nu index cff07f3..8ea817a 100644 --- a/themes/themes/papercolor-dark.nu +++ b/themes/themes/papercolor-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the papercolor_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1c1c1c" - # foreground: "#808080" - # cursor: "#808080" - - { - # color for nushell primitives - separator: "#d0d0d0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#af87d7" - empty: "#ff5faf" - bool: "#d0d0d0" - int: "#d0d0d0" - filesize: "#d0d0d0" - duration: "#d0d0d0" - date: "#d0d0d0" - range: "#d0d0d0" - float: "#d0d0d0" - string: "#d0d0d0" - nothing: "#d0d0d0" - binary: "#d0d0d0" - cellpath: "#d0d0d0" - row_index: "#af87d7" - record: "#d0d0d0" - list: "#d0d0d0" - block: "#d0d0d0" - hints: "#d7af5f" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#00afaf" - shape_bool: "#ffaf00" - shape_int: "#00afaf" - shape_float: "#00afaf" - shape_range: "#afd700" - shape_internalcall: "#ffaf00" - shape_external: "#ffaf00" - shape_externalarg: "#af87d7" - shape_literal: "#ff5faf" - shape_operator: "#afd700" - shape_signature: "#af87d7" - shape_string: "#af87d7" - shape_string_interpolation: "#ffaf00" - shape_datetime: "#ffaf00" - shape_list: "#ffaf00" - shape_table: "#ff5faf" - shape_record: "#ffaf00" - shape_block: "#ff5faf" - shape_filepath: "#ffaf00" - shape_globpattern: "#ffaf00" - shape_variable: "#00afaf" - shape_flag: "#ff5faf" - shape_custom: "#af87d7" - shape_nothing: "#ffaf00" +export def main [] { return { + separator: "#808080" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#af87d7" attr: "b" } + empty: "#ff5faf" + bool: {|| if $in { "#ffaf00" } else { "light_gray" } } + int: "#808080" + filesize: {|e| + if $e == 0b { + "#808080" + } else if $e < 1mb { + "#ffaf00" + } else {{ fg: "#ff5faf" }} } -} + duration: "#808080" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#585858" attr: "b" } + } else if $in < 6hr { + "#585858" + } else if $in < 1day { + "#afd700" + } else if $in < 3day { + "#af87d7" + } else if $in < 1wk { + { fg: "#af87d7" attr: "b" } + } else if $in < 6wk { + "#ffaf00" + } else if $in < 52wk { + "#ff5faf" + } else { "dark_gray" } + } + range: "#808080" + float: "#808080" + string: "#808080" + nothing: "#808080" + binary: "#808080" + cellpath: "#808080" + row_index: { fg: "#af87d7" attr: "b" } + record: "#808080" + list: "#808080" + block: "#808080" + hints: "dark_gray" + + shape_and: { fg: "#00afaf" attr: "b" } + shape_binary: { fg: "#00afaf" attr: "b" } + shape_block: { fg: "#ff5faf" attr: "b" } + shape_bool: "#ffaf00" + shape_custom: "#af87d7" + shape_datetime: { fg: "#ffaf00" attr: "b" } + shape_directory: "#ffaf00" + shape_external: "#ffaf00" + shape_externalarg: { fg: "#af87d7" attr: "b" } + shape_filepath: "#ffaf00" + shape_flag: { fg: "#ff5faf" attr: "b" } + shape_float: { fg: "#00afaf" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#ffaf00" attr: "b" } + shape_int: { fg: "#00afaf" attr: "b" } + shape_internalcall: { fg: "#ffaf00" attr: "b" } + shape_list: { fg: "#ffaf00" attr: "b" } + shape_literal: "#ff5faf" + shape_match_pattern: "#af87d7" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#ffaf00" + shape_operator: "#afd700" + shape_or: { fg: "#00afaf" attr: "b" } + shape_pipe: { fg: "#00afaf" attr: "b" } + shape_range: { fg: "#afd700" attr: "b" } + shape_record: { fg: "#ffaf00" attr: "b" } + shape_redirection: { fg: "#00afaf" attr: "b" } + shape_signature: { fg: "#af87d7" attr: "b" } + shape_string: "#af87d7" + shape_string_interpolation: { fg: "#ffaf00" attr: "b" } + shape_table: { fg: "#ff5faf" attr: "b" } + shape_variable: "#00afaf" + + background: "#1c1c1c" + foreground: "#808080" + cursor: "#808080" +}} \ No newline at end of file diff --git a/themes/themes/papercolor-light.nu b/themes/themes/papercolor-light.nu index 3adf298..03b4db1 100644 --- a/themes/themes/papercolor-light.nu +++ b/themes/themes/papercolor-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the papercolor_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#eeeeee" - # foreground: "#444444" - # cursor: "#444444" - - { - # color for nushell primitives - separator: "#878787" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8700af" - empty: "#d75f00" - bool: "#878787" - int: "#878787" - filesize: "#878787" - duration: "#878787" - date: "#878787" - range: "#878787" - float: "#878787" - string: "#878787" - nothing: "#878787" - binary: "#878787" - cellpath: "#878787" - row_index: "#8700af" - record: "#878787" - list: "#878787" - block: "#878787" - hints: "#5f8700" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#005faf" - shape_bool: "#d75f00" - shape_int: "#005faf" - shape_float: "#005faf" - shape_range: "#d70087" - shape_internalcall: "#d75f00" - shape_external: "#d75f00" - shape_externalarg: "#8700af" - shape_literal: "#d75f00" - shape_operator: "#d70087" - shape_signature: "#8700af" - shape_string: "#8700af" - shape_string_interpolation: "#d75f00" - shape_datetime: "#d75f00" - shape_list: "#d75f00" - shape_table: "#d75f00" - shape_record: "#d75f00" - shape_block: "#d75f00" - shape_filepath: "#d75f00" - shape_globpattern: "#d75f00" - shape_variable: "#005faf" - shape_flag: "#d75f00" - shape_custom: "#8700af" - shape_nothing: "#d75f00" +export def main [] { return { + separator: "#444444" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8700af" attr: "b" } + empty: "#d75f00" + bool: {|| if $in { "#d75f00" } else { "light_gray" } } + int: "#444444" + filesize: {|e| + if $e == 0b { + "#444444" + } else if $e < 1mb { + "#d75f00" + } else {{ fg: "#d75f00" }} } -} + duration: "#444444" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bcbcbc" attr: "b" } + } else if $in < 6hr { + "#bcbcbc" + } else if $in < 1day { + "#d70087" + } else if $in < 3day { + "#8700af" + } else if $in < 1wk { + { fg: "#8700af" attr: "b" } + } else if $in < 6wk { + "#d75f00" + } else if $in < 52wk { + "#d75f00" + } else { "dark_gray" } + } + range: "#444444" + float: "#444444" + string: "#444444" + nothing: "#444444" + binary: "#444444" + cellpath: "#444444" + row_index: { fg: "#8700af" attr: "b" } + record: "#444444" + list: "#444444" + block: "#444444" + hints: "dark_gray" + + shape_and: { fg: "#005faf" attr: "b" } + shape_binary: { fg: "#005faf" attr: "b" } + shape_block: { fg: "#d75f00" attr: "b" } + shape_bool: "#d75f00" + shape_custom: "#8700af" + shape_datetime: { fg: "#d75f00" attr: "b" } + shape_directory: "#d75f00" + shape_external: "#d75f00" + shape_externalarg: { fg: "#8700af" attr: "b" } + shape_filepath: "#d75f00" + shape_flag: { fg: "#d75f00" attr: "b" } + shape_float: { fg: "#005faf" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#d75f00" attr: "b" } + shape_int: { fg: "#005faf" attr: "b" } + shape_internalcall: { fg: "#d75f00" attr: "b" } + shape_list: { fg: "#d75f00" attr: "b" } + shape_literal: "#d75f00" + shape_match_pattern: "#8700af" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#d75f00" + shape_operator: "#d70087" + shape_or: { fg: "#005faf" attr: "b" } + shape_pipe: { fg: "#005faf" attr: "b" } + shape_range: { fg: "#d70087" attr: "b" } + shape_record: { fg: "#d75f00" attr: "b" } + shape_redirection: { fg: "#005faf" attr: "b" } + shape_signature: { fg: "#8700af" attr: "b" } + shape_string: "#8700af" + shape_string_interpolation: { fg: "#d75f00" attr: "b" } + shape_table: { fg: "#d75f00" attr: "b" } + shape_variable: "#005faf" + + background: "#eeeeee" + foreground: "#444444" + cursor: "#444444" +}} \ No newline at end of file diff --git a/themes/themes/paraiso-dark.nu b/themes/themes/paraiso-dark.nu index 3fb52ab..594fdbd 100644 --- a/themes/themes/paraiso-dark.nu +++ b/themes/themes/paraiso-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the paraiso_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2f1e2e" - # foreground: "#a39e9b" - # cursor: "#a39e9b" - - { - # color for nushell primitives - separator: "#e7e9db" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#48b685" - empty: "#06b6ef" - bool: "#e7e9db" - int: "#e7e9db" - filesize: "#e7e9db" - duration: "#e7e9db" - date: "#e7e9db" - range: "#e7e9db" - float: "#e7e9db" - string: "#e7e9db" - nothing: "#e7e9db" - binary: "#e7e9db" - cellpath: "#e7e9db" - row_index: "#48b685" - record: "#e7e9db" - list: "#e7e9db" - block: "#e7e9db" - hints: "#776e71" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#815ba4" - shape_bool: "#5bc4bf" - shape_int: "#815ba4" - shape_float: "#815ba4" - shape_range: "#fec418" - shape_internalcall: "#5bc4bf" - shape_external: "#5bc4bf" - shape_externalarg: "#48b685" - shape_literal: "#06b6ef" - shape_operator: "#fec418" - shape_signature: "#48b685" - shape_string: "#48b685" - shape_string_interpolation: "#5bc4bf" - shape_datetime: "#5bc4bf" - shape_list: "#5bc4bf" - shape_table: "#06b6ef" - shape_record: "#5bc4bf" - shape_block: "#06b6ef" - shape_filepath: "#5bc4bf" - shape_globpattern: "#5bc4bf" - shape_variable: "#815ba4" - shape_flag: "#06b6ef" - shape_custom: "#48b685" - shape_nothing: "#5bc4bf" +export def main [] { return { + separator: "#a39e9b" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#48b685" attr: "b" } + empty: "#06b6ef" + bool: {|| if $in { "#5bc4bf" } else { "light_gray" } } + int: "#a39e9b" + filesize: {|e| + if $e == 0b { + "#a39e9b" + } else if $e < 1mb { + "#5bc4bf" + } else {{ fg: "#06b6ef" }} } -} + duration: "#a39e9b" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ef6155" attr: "b" } + } else if $in < 6hr { + "#ef6155" + } else if $in < 1day { + "#fec418" + } else if $in < 3day { + "#48b685" + } else if $in < 1wk { + { fg: "#48b685" attr: "b" } + } else if $in < 6wk { + "#5bc4bf" + } else if $in < 52wk { + "#06b6ef" + } else { "dark_gray" } + } + range: "#a39e9b" + float: "#a39e9b" + string: "#a39e9b" + nothing: "#a39e9b" + binary: "#a39e9b" + cellpath: "#a39e9b" + row_index: { fg: "#48b685" attr: "b" } + record: "#a39e9b" + list: "#a39e9b" + block: "#a39e9b" + hints: "dark_gray" + + shape_and: { fg: "#815ba4" attr: "b" } + shape_binary: { fg: "#815ba4" attr: "b" } + shape_block: { fg: "#06b6ef" attr: "b" } + shape_bool: "#5bc4bf" + shape_custom: "#48b685" + shape_datetime: { fg: "#5bc4bf" attr: "b" } + shape_directory: "#5bc4bf" + shape_external: "#5bc4bf" + shape_externalarg: { fg: "#48b685" attr: "b" } + shape_filepath: "#5bc4bf" + shape_flag: { fg: "#06b6ef" attr: "b" } + shape_float: { fg: "#815ba4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5bc4bf" attr: "b" } + shape_int: { fg: "#815ba4" attr: "b" } + shape_internalcall: { fg: "#5bc4bf" attr: "b" } + shape_list: { fg: "#5bc4bf" attr: "b" } + shape_literal: "#06b6ef" + shape_match_pattern: "#48b685" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5bc4bf" + shape_operator: "#fec418" + shape_or: { fg: "#815ba4" attr: "b" } + shape_pipe: { fg: "#815ba4" attr: "b" } + shape_range: { fg: "#fec418" attr: "b" } + shape_record: { fg: "#5bc4bf" attr: "b" } + shape_redirection: { fg: "#815ba4" attr: "b" } + shape_signature: { fg: "#48b685" attr: "b" } + shape_string: "#48b685" + shape_string_interpolation: { fg: "#5bc4bf" attr: "b" } + shape_table: { fg: "#06b6ef" attr: "b" } + shape_variable: "#815ba4" + + background: "#2f1e2e" + foreground: "#a39e9b" + cursor: "#a39e9b" +}} \ No newline at end of file diff --git a/themes/themes/paraiso.nu b/themes/themes/paraiso.nu index 3c394a8..594fdbd 100644 --- a/themes/themes/paraiso.nu +++ b/themes/themes/paraiso.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the paraiso theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2f1e2e" - # foreground: "#a39e9b" - # cursor: "#a39e9b" - - { - # color for nushell primitives - separator: "#e7e9db" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#48b685" - empty: "#06b6ef" - bool: "#e7e9db" - int: "#e7e9db" - filesize: "#e7e9db" - duration: "#e7e9db" - date: "#e7e9db" - range: "#e7e9db" - float: "#e7e9db" - string: "#e7e9db" - nothing: "#e7e9db" - binary: "#e7e9db" - cellpath: "#e7e9db" - row_index: "#48b685" - record: "#e7e9db" - list: "#e7e9db" - block: "#e7e9db" - hints: "#776e71" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#815ba4" - shape_bool: "#5bc4bf" - shape_int: "#815ba4" - shape_float: "#815ba4" - shape_range: "#fec418" - shape_internalcall: "#5bc4bf" - shape_external: "#5bc4bf" - shape_externalarg: "#48b685" - shape_literal: "#06b6ef" - shape_operator: "#fec418" - shape_signature: "#48b685" - shape_string: "#48b685" - shape_string_interpolation: "#5bc4bf" - shape_datetime: "#5bc4bf" - shape_list: "#5bc4bf" - shape_table: "#06b6ef" - shape_record: "#5bc4bf" - shape_block: "#06b6ef" - shape_filepath: "#5bc4bf" - shape_globpattern: "#5bc4bf" - shape_variable: "#815ba4" - shape_flag: "#06b6ef" - shape_custom: "#48b685" - shape_nothing: "#5bc4bf" +export def main [] { return { + separator: "#a39e9b" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#48b685" attr: "b" } + empty: "#06b6ef" + bool: {|| if $in { "#5bc4bf" } else { "light_gray" } } + int: "#a39e9b" + filesize: {|e| + if $e == 0b { + "#a39e9b" + } else if $e < 1mb { + "#5bc4bf" + } else {{ fg: "#06b6ef" }} } -} + duration: "#a39e9b" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ef6155" attr: "b" } + } else if $in < 6hr { + "#ef6155" + } else if $in < 1day { + "#fec418" + } else if $in < 3day { + "#48b685" + } else if $in < 1wk { + { fg: "#48b685" attr: "b" } + } else if $in < 6wk { + "#5bc4bf" + } else if $in < 52wk { + "#06b6ef" + } else { "dark_gray" } + } + range: "#a39e9b" + float: "#a39e9b" + string: "#a39e9b" + nothing: "#a39e9b" + binary: "#a39e9b" + cellpath: "#a39e9b" + row_index: { fg: "#48b685" attr: "b" } + record: "#a39e9b" + list: "#a39e9b" + block: "#a39e9b" + hints: "dark_gray" + + shape_and: { fg: "#815ba4" attr: "b" } + shape_binary: { fg: "#815ba4" attr: "b" } + shape_block: { fg: "#06b6ef" attr: "b" } + shape_bool: "#5bc4bf" + shape_custom: "#48b685" + shape_datetime: { fg: "#5bc4bf" attr: "b" } + shape_directory: "#5bc4bf" + shape_external: "#5bc4bf" + shape_externalarg: { fg: "#48b685" attr: "b" } + shape_filepath: "#5bc4bf" + shape_flag: { fg: "#06b6ef" attr: "b" } + shape_float: { fg: "#815ba4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5bc4bf" attr: "b" } + shape_int: { fg: "#815ba4" attr: "b" } + shape_internalcall: { fg: "#5bc4bf" attr: "b" } + shape_list: { fg: "#5bc4bf" attr: "b" } + shape_literal: "#06b6ef" + shape_match_pattern: "#48b685" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5bc4bf" + shape_operator: "#fec418" + shape_or: { fg: "#815ba4" attr: "b" } + shape_pipe: { fg: "#815ba4" attr: "b" } + shape_range: { fg: "#fec418" attr: "b" } + shape_record: { fg: "#5bc4bf" attr: "b" } + shape_redirection: { fg: "#815ba4" attr: "b" } + shape_signature: { fg: "#48b685" attr: "b" } + shape_string: "#48b685" + shape_string_interpolation: { fg: "#5bc4bf" attr: "b" } + shape_table: { fg: "#06b6ef" attr: "b" } + shape_variable: "#815ba4" + + background: "#2f1e2e" + foreground: "#a39e9b" + cursor: "#a39e9b" +}} \ No newline at end of file diff --git a/themes/themes/pasque.nu b/themes/themes/pasque.nu index 7d5d435..cb0473a 100644 --- a/themes/themes/pasque.nu +++ b/themes/themes/pasque.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the pasque theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#271c3a" - # foreground: "#dedcdf" - # cursor: "#dedcdf" - - { - # color for nushell primitives - separator: "#bbaadd" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#c6914b" - empty: "#8e7dc6" - bool: "#bbaadd" - int: "#bbaadd" - filesize: "#bbaadd" - duration: "#bbaadd" - date: "#bbaadd" - range: "#bbaadd" - float: "#bbaadd" - string: "#bbaadd" - nothing: "#bbaadd" - binary: "#bbaadd" - cellpath: "#bbaadd" - row_index: "#c6914b" - record: "#bbaadd" - list: "#bbaadd" - block: "#bbaadd" - hints: "#5d5766" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#953b9d" - shape_bool: "#7263aa" - shape_int: "#953b9d" - shape_float: "#953b9d" - shape_range: "#804ead" - shape_internalcall: "#7263aa" - shape_external: "#7263aa" - shape_externalarg: "#c6914b" - shape_literal: "#8e7dc6" - shape_operator: "#804ead" - shape_signature: "#c6914b" - shape_string: "#c6914b" - shape_string_interpolation: "#7263aa" - shape_datetime: "#7263aa" - shape_list: "#7263aa" - shape_table: "#8e7dc6" - shape_record: "#7263aa" - shape_block: "#8e7dc6" - shape_filepath: "#7263aa" - shape_globpattern: "#7263aa" - shape_variable: "#953b9d" - shape_flag: "#8e7dc6" - shape_custom: "#c6914b" - shape_nothing: "#7263aa" +export def main [] { return { + separator: "#dedcdf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#c6914b" attr: "b" } + empty: "#8e7dc6" + bool: {|| if $in { "#7263aa" } else { "light_gray" } } + int: "#dedcdf" + filesize: {|e| + if $e == 0b { + "#dedcdf" + } else if $e < 1mb { + "#7263aa" + } else {{ fg: "#8e7dc6" }} } -} + duration: "#dedcdf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a92258" attr: "b" } + } else if $in < 6hr { + "#a92258" + } else if $in < 1day { + "#804ead" + } else if $in < 3day { + "#c6914b" + } else if $in < 1wk { + { fg: "#c6914b" attr: "b" } + } else if $in < 6wk { + "#7263aa" + } else if $in < 52wk { + "#8e7dc6" + } else { "dark_gray" } + } + range: "#dedcdf" + float: "#dedcdf" + string: "#dedcdf" + nothing: "#dedcdf" + binary: "#dedcdf" + cellpath: "#dedcdf" + row_index: { fg: "#c6914b" attr: "b" } + record: "#dedcdf" + list: "#dedcdf" + block: "#dedcdf" + hints: "dark_gray" + + shape_and: { fg: "#953b9d" attr: "b" } + shape_binary: { fg: "#953b9d" attr: "b" } + shape_block: { fg: "#8e7dc6" attr: "b" } + shape_bool: "#7263aa" + shape_custom: "#c6914b" + shape_datetime: { fg: "#7263aa" attr: "b" } + shape_directory: "#7263aa" + shape_external: "#7263aa" + shape_externalarg: { fg: "#c6914b" attr: "b" } + shape_filepath: "#7263aa" + shape_flag: { fg: "#8e7dc6" attr: "b" } + shape_float: { fg: "#953b9d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7263aa" attr: "b" } + shape_int: { fg: "#953b9d" attr: "b" } + shape_internalcall: { fg: "#7263aa" attr: "b" } + shape_list: { fg: "#7263aa" attr: "b" } + shape_literal: "#8e7dc6" + shape_match_pattern: "#c6914b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7263aa" + shape_operator: "#804ead" + shape_or: { fg: "#953b9d" attr: "b" } + shape_pipe: { fg: "#953b9d" attr: "b" } + shape_range: { fg: "#804ead" attr: "b" } + shape_record: { fg: "#7263aa" attr: "b" } + shape_redirection: { fg: "#953b9d" attr: "b" } + shape_signature: { fg: "#c6914b" attr: "b" } + shape_string: "#c6914b" + shape_string_interpolation: { fg: "#7263aa" attr: "b" } + shape_table: { fg: "#8e7dc6" attr: "b" } + shape_variable: "#953b9d" + + background: "#271c3a" + foreground: "#dedcdf" + cursor: "#dedcdf" +}} \ No newline at end of file diff --git a/themes/themes/paul-millr.nu b/themes/themes/paul-millr.nu index 798ad81..e89693f 100644 --- a/themes/themes/paul-millr.nu +++ b/themes/themes/paul-millr.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the paul_millr theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#f2f2f2" - # cursor: "#f2f2f2" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#66ff66" - empty: "#396bd7" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#66ff66" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#666666" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#db67e6" - shape_bool: "#7adff2" - shape_int: "#db67e6" - shape_float: "#db67e6" - shape_range: "#f3d64e" - shape_internalcall: "#7adff2" - shape_external: "#66ccff" - shape_externalarg: "#66ff66" - shape_literal: "#396bd7" - shape_operator: "#d3bf00" - shape_signature: "#66ff66" - shape_string: "#79ff0f" - shape_string_interpolation: "#7adff2" - shape_datetime: "#7adff2" - shape_list: "#7adff2" - shape_table: "#709aed" - shape_record: "#7adff2" - shape_block: "#709aed" - shape_filepath: "#66ccff" - shape_globpattern: "#7adff2" - shape_variable: "#b449be" - shape_flag: "#709aed" - shape_custom: "#79ff0f" - shape_nothing: "#7adff2" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#79ff0f" attr: "b" } + empty: "#396bd7" + bool: {|| if $in { "#7adff2" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#66ccff" + } else {{ fg: "#396bd7" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff0000" attr: "b" } + } else if $in < 6hr { + "#ff0000" + } else if $in < 1day { + "#d3bf00" + } else if $in < 3day { + "#79ff0f" + } else if $in < 1wk { + { fg: "#79ff0f" attr: "b" } + } else if $in < 6wk { + "#66ccff" + } else if $in < 52wk { + "#396bd7" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#79ff0f" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#b449be" attr: "b" } + shape_binary: { fg: "#b449be" attr: "b" } + shape_block: { fg: "#396bd7" attr: "b" } + shape_bool: "#7adff2" + shape_custom: "#79ff0f" + shape_datetime: { fg: "#66ccff" attr: "b" } + shape_directory: "#66ccff" + shape_external: "#66ccff" + shape_externalarg: { fg: "#79ff0f" attr: "b" } + shape_filepath: "#66ccff" + shape_flag: { fg: "#396bd7" attr: "b" } + shape_float: { fg: "#b449be" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#66ccff" attr: "b" } + shape_int: { fg: "#b449be" attr: "b" } + shape_internalcall: { fg: "#66ccff" attr: "b" } + shape_list: { fg: "#66ccff" attr: "b" } + shape_literal: "#396bd7" + shape_match_pattern: "#79ff0f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7adff2" + shape_operator: "#d3bf00" + shape_or: { fg: "#b449be" attr: "b" } + shape_pipe: { fg: "#b449be" attr: "b" } + shape_range: { fg: "#d3bf00" attr: "b" } + shape_record: { fg: "#66ccff" attr: "b" } + shape_redirection: { fg: "#b449be" attr: "b" } + shape_signature: { fg: "#79ff0f" attr: "b" } + shape_string: "#79ff0f" + shape_string_interpolation: { fg: "#66ccff" attr: "b" } + shape_table: { fg: "#396bd7" attr: "b" } + shape_variable: "#b449be" + + background: "#000000" + foreground: "#f2f2f2" + cursor: "#f2f2f2" +}} \ No newline at end of file diff --git a/themes/themes/pencil-dark.nu b/themes/themes/pencil-dark.nu index 88d5975..32973be 100644 --- a/themes/themes/pencil-dark.nu +++ b/themes/themes/pencil-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the pencil_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#212121" - # foreground: "#f1f1f1" - # cursor: "#f1f1f1" - - { - # color for nushell primitives - separator: "#f1f1f1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#5fd7af" - empty: "#008ec4" - bool: "#f1f1f1" - int: "#f1f1f1" - filesize: "#f1f1f1" - duration: "#f1f1f1" - date: "#f1f1f1" - range: "#f1f1f1" - float: "#f1f1f1" - string: "#f1f1f1" - nothing: "#f1f1f1" - binary: "#f1f1f1" - cellpath: "#f1f1f1" - row_index: "#5fd7af" - record: "#f1f1f1" - list: "#f1f1f1" - block: "#f1f1f1" - hints: "#424242" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6855de" - shape_bool: "#4fb8cc" - shape_int: "#6855de" - shape_float: "#6855de" - shape_range: "#f3e430" - shape_internalcall: "#4fb8cc" - shape_external: "#20a5ba" - shape_externalarg: "#5fd7af" - shape_literal: "#008ec4" - shape_operator: "#a89c14" - shape_signature: "#5fd7af" - shape_string: "#10a778" - shape_string_interpolation: "#4fb8cc" - shape_datetime: "#4fb8cc" - shape_list: "#4fb8cc" - shape_table: "#20bbfc" - shape_record: "#4fb8cc" - shape_block: "#20bbfc" - shape_filepath: "#20a5ba" - shape_globpattern: "#4fb8cc" - shape_variable: "#523c79" - shape_flag: "#20bbfc" - shape_custom: "#10a778" - shape_nothing: "#4fb8cc" +export def main [] { return { + separator: "#d9d9d9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#10a778" attr: "b" } + empty: "#008ec4" + bool: {|| if $in { "#4fb8cc" } else { "light_gray" } } + int: "#d9d9d9" + filesize: {|e| + if $e == 0b { + "#d9d9d9" + } else if $e < 1mb { + "#20a5ba" + } else {{ fg: "#008ec4" }} } -} + duration: "#d9d9d9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c30771" attr: "b" } + } else if $in < 6hr { + "#c30771" + } else if $in < 1day { + "#a89c14" + } else if $in < 3day { + "#10a778" + } else if $in < 1wk { + { fg: "#10a778" attr: "b" } + } else if $in < 6wk { + "#20a5ba" + } else if $in < 52wk { + "#008ec4" + } else { "dark_gray" } + } + range: "#d9d9d9" + float: "#d9d9d9" + string: "#d9d9d9" + nothing: "#d9d9d9" + binary: "#d9d9d9" + cellpath: "#d9d9d9" + row_index: { fg: "#10a778" attr: "b" } + record: "#d9d9d9" + list: "#d9d9d9" + block: "#d9d9d9" + hints: "dark_gray" + + shape_and: { fg: "#523c79" attr: "b" } + shape_binary: { fg: "#523c79" attr: "b" } + shape_block: { fg: "#008ec4" attr: "b" } + shape_bool: "#4fb8cc" + shape_custom: "#10a778" + shape_datetime: { fg: "#20a5ba" attr: "b" } + shape_directory: "#20a5ba" + shape_external: "#20a5ba" + shape_externalarg: { fg: "#10a778" attr: "b" } + shape_filepath: "#20a5ba" + shape_flag: { fg: "#008ec4" attr: "b" } + shape_float: { fg: "#523c79" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#20a5ba" attr: "b" } + shape_int: { fg: "#523c79" attr: "b" } + shape_internalcall: { fg: "#20a5ba" attr: "b" } + shape_list: { fg: "#20a5ba" attr: "b" } + shape_literal: "#008ec4" + shape_match_pattern: "#10a778" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4fb8cc" + shape_operator: "#a89c14" + shape_or: { fg: "#523c79" attr: "b" } + shape_pipe: { fg: "#523c79" attr: "b" } + shape_range: { fg: "#a89c14" attr: "b" } + shape_record: { fg: "#20a5ba" attr: "b" } + shape_redirection: { fg: "#523c79" attr: "b" } + shape_signature: { fg: "#10a778" attr: "b" } + shape_string: "#10a778" + shape_string_interpolation: { fg: "#20a5ba" attr: "b" } + shape_table: { fg: "#008ec4" attr: "b" } + shape_variable: "#523c79" + + background: "#212121" + foreground: "#f1f1f1" + cursor: "#f1f1f1" +}} \ No newline at end of file diff --git a/themes/themes/pencil-light.nu b/themes/themes/pencil-light.nu index 80431b3..64fc8c8 100644 --- a/themes/themes/pencil-light.nu +++ b/themes/themes/pencil-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the pencil_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f1f1f1" - # foreground: "#424242" - # cursor: "#424242" - - { - # color for nushell primitives - separator: "#f1f1f1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#5fd7af" - empty: "#008ec4" - bool: "#f1f1f1" - int: "#f1f1f1" - filesize: "#f1f1f1" - duration: "#f1f1f1" - date: "#f1f1f1" - range: "#f1f1f1" - float: "#f1f1f1" - string: "#f1f1f1" - nothing: "#f1f1f1" - binary: "#f1f1f1" - cellpath: "#f1f1f1" - row_index: "#5fd7af" - record: "#f1f1f1" - list: "#f1f1f1" - block: "#f1f1f1" - hints: "#424242" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6855de" - shape_bool: "#4fb8cc" - shape_int: "#6855de" - shape_float: "#6855de" - shape_range: "#f3e430" - shape_internalcall: "#4fb8cc" - shape_external: "#20a5ba" - shape_externalarg: "#5fd7af" - shape_literal: "#008ec4" - shape_operator: "#a89c14" - shape_signature: "#5fd7af" - shape_string: "#10a778" - shape_string_interpolation: "#4fb8cc" - shape_datetime: "#4fb8cc" - shape_list: "#4fb8cc" - shape_table: "#20bbfc" - shape_record: "#4fb8cc" - shape_block: "#20bbfc" - shape_filepath: "#20a5ba" - shape_globpattern: "#4fb8cc" - shape_variable: "#523c79" - shape_flag: "#20bbfc" - shape_custom: "#10a778" - shape_nothing: "#4fb8cc" +export def main [] { return { + separator: "#d9d9d9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#10a778" attr: "b" } + empty: "#008ec4" + bool: {|| if $in { "#4fb8cc" } else { "light_gray" } } + int: "#d9d9d9" + filesize: {|e| + if $e == 0b { + "#d9d9d9" + } else if $e < 1mb { + "#20a5ba" + } else {{ fg: "#008ec4" }} } -} + duration: "#d9d9d9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c30771" attr: "b" } + } else if $in < 6hr { + "#c30771" + } else if $in < 1day { + "#a89c14" + } else if $in < 3day { + "#10a778" + } else if $in < 1wk { + { fg: "#10a778" attr: "b" } + } else if $in < 6wk { + "#20a5ba" + } else if $in < 52wk { + "#008ec4" + } else { "dark_gray" } + } + range: "#d9d9d9" + float: "#d9d9d9" + string: "#d9d9d9" + nothing: "#d9d9d9" + binary: "#d9d9d9" + cellpath: "#d9d9d9" + row_index: { fg: "#10a778" attr: "b" } + record: "#d9d9d9" + list: "#d9d9d9" + block: "#d9d9d9" + hints: "dark_gray" + + shape_and: { fg: "#523c79" attr: "b" } + shape_binary: { fg: "#523c79" attr: "b" } + shape_block: { fg: "#008ec4" attr: "b" } + shape_bool: "#4fb8cc" + shape_custom: "#10a778" + shape_datetime: { fg: "#20a5ba" attr: "b" } + shape_directory: "#20a5ba" + shape_external: "#20a5ba" + shape_externalarg: { fg: "#10a778" attr: "b" } + shape_filepath: "#20a5ba" + shape_flag: { fg: "#008ec4" attr: "b" } + shape_float: { fg: "#523c79" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#20a5ba" attr: "b" } + shape_int: { fg: "#523c79" attr: "b" } + shape_internalcall: { fg: "#20a5ba" attr: "b" } + shape_list: { fg: "#20a5ba" attr: "b" } + shape_literal: "#008ec4" + shape_match_pattern: "#10a778" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#4fb8cc" + shape_operator: "#a89c14" + shape_or: { fg: "#523c79" attr: "b" } + shape_pipe: { fg: "#523c79" attr: "b" } + shape_range: { fg: "#a89c14" attr: "b" } + shape_record: { fg: "#20a5ba" attr: "b" } + shape_redirection: { fg: "#523c79" attr: "b" } + shape_signature: { fg: "#10a778" attr: "b" } + shape_string: "#10a778" + shape_string_interpolation: { fg: "#20a5ba" attr: "b" } + shape_table: { fg: "#008ec4" attr: "b" } + shape_variable: "#523c79" + + background: "#f1f1f1" + foreground: "#424242" + cursor: "#424242" +}} \ No newline at end of file diff --git a/themes/themes/peppermint.nu b/themes/themes/peppermint.nu index 983d7b9..c22f5ca 100644 --- a/themes/themes/peppermint.nu +++ b/themes/themes/peppermint.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the peppermint theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c7c7c7" - # cursor: "#bbbbbb" - - { - # color for nushell primitives - separator: "#dedede" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a2cca1" - empty: "#439ecf" - bool: "#dedede" - int: "#dedede" - filesize: "#dedede" - duration: "#dedede" - date: "#dedede" - range: "#dedede" - float: "#dedede" - string: "#dedede" - nothing: "#dedede" - binary: "#dedede" - cellpath: "#dedede" - row_index: "#a2cca1" - record: "#dedede" - list: "#dedede" - block: "#dedede" - hints: "#535353" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e586e7" - shape_bool: "#96dcda" - shape_int: "#e586e7" - shape_float: "#e586e7" - shape_range: "#e1e387" - shape_internalcall: "#96dcda" - shape_external: "#64aaaf" - shape_externalarg: "#a2cca1" - shape_literal: "#439ecf" - shape_operator: "#dab752" - shape_signature: "#a2cca1" - shape_string: "#89d287" - shape_string_interpolation: "#96dcda" - shape_datetime: "#96dcda" - shape_list: "#96dcda" - shape_table: "#6fbbe2" - shape_record: "#96dcda" - shape_block: "#6fbbe2" - shape_filepath: "#64aaaf" - shape_globpattern: "#96dcda" - shape_variable: "#d961dc" - shape_flag: "#6fbbe2" - shape_custom: "#89d287" - shape_nothing: "#96dcda" +export def main [] { return { + separator: "#b3b3b3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#89d287" attr: "b" } + empty: "#439ecf" + bool: {|| if $in { "#96dcda" } else { "light_gray" } } + int: "#b3b3b3" + filesize: {|e| + if $e == 0b { + "#b3b3b3" + } else if $e < 1mb { + "#64aaaf" + } else {{ fg: "#439ecf" }} } -} + duration: "#b3b3b3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e64569" attr: "b" } + } else if $in < 6hr { + "#e64569" + } else if $in < 1day { + "#dab752" + } else if $in < 3day { + "#89d287" + } else if $in < 1wk { + { fg: "#89d287" attr: "b" } + } else if $in < 6wk { + "#64aaaf" + } else if $in < 52wk { + "#439ecf" + } else { "dark_gray" } + } + range: "#b3b3b3" + float: "#b3b3b3" + string: "#b3b3b3" + nothing: "#b3b3b3" + binary: "#b3b3b3" + cellpath: "#b3b3b3" + row_index: { fg: "#89d287" attr: "b" } + record: "#b3b3b3" + list: "#b3b3b3" + block: "#b3b3b3" + hints: "dark_gray" + + shape_and: { fg: "#d961dc" attr: "b" } + shape_binary: { fg: "#d961dc" attr: "b" } + shape_block: { fg: "#439ecf" attr: "b" } + shape_bool: "#96dcda" + shape_custom: "#89d287" + shape_datetime: { fg: "#64aaaf" attr: "b" } + shape_directory: "#64aaaf" + shape_external: "#64aaaf" + shape_externalarg: { fg: "#89d287" attr: "b" } + shape_filepath: "#64aaaf" + shape_flag: { fg: "#439ecf" attr: "b" } + shape_float: { fg: "#d961dc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#64aaaf" attr: "b" } + shape_int: { fg: "#d961dc" attr: "b" } + shape_internalcall: { fg: "#64aaaf" attr: "b" } + shape_list: { fg: "#64aaaf" attr: "b" } + shape_literal: "#439ecf" + shape_match_pattern: "#89d287" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#96dcda" + shape_operator: "#dab752" + shape_or: { fg: "#d961dc" attr: "b" } + shape_pipe: { fg: "#d961dc" attr: "b" } + shape_range: { fg: "#dab752" attr: "b" } + shape_record: { fg: "#64aaaf" attr: "b" } + shape_redirection: { fg: "#d961dc" attr: "b" } + shape_signature: { fg: "#89d287" attr: "b" } + shape_string: "#89d287" + shape_string_interpolation: { fg: "#64aaaf" attr: "b" } + shape_table: { fg: "#439ecf" attr: "b" } + shape_variable: "#d961dc" + + background: "#000000" + foreground: "#c7c7c7" + cursor: "#bbbbbb" +}} \ No newline at end of file diff --git a/themes/themes/phd.nu b/themes/themes/phd.nu index 18f115d..d33c07c 100644 --- a/themes/themes/phd.nu +++ b/themes/themes/phd.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the phd theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#061229" - # foreground: "#b8bbc2" - # cursor: "#b8bbc2" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#99bf52" - empty: "#5299bf" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#99bf52" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#717885" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9989cc" - shape_bool: "#72b9bf" - shape_int: "#9989cc" - shape_float: "#9989cc" - shape_range: "#fbd461" - shape_internalcall: "#72b9bf" - shape_external: "#72b9bf" - shape_externalarg: "#99bf52" - shape_literal: "#5299bf" - shape_operator: "#fbd461" - shape_signature: "#99bf52" - shape_string: "#99bf52" - shape_string_interpolation: "#72b9bf" - shape_datetime: "#72b9bf" - shape_list: "#72b9bf" - shape_table: "#5299bf" - shape_record: "#72b9bf" - shape_block: "#5299bf" - shape_filepath: "#72b9bf" - shape_globpattern: "#72b9bf" - shape_variable: "#9989cc" - shape_flag: "#5299bf" - shape_custom: "#99bf52" - shape_nothing: "#72b9bf" +export def main [] { return { + separator: "#b8bbc2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#99bf52" attr: "b" } + empty: "#5299bf" + bool: {|| if $in { "#72b9bf" } else { "light_gray" } } + int: "#b8bbc2" + filesize: {|e| + if $e == 0b { + "#b8bbc2" + } else if $e < 1mb { + "#72b9bf" + } else {{ fg: "#5299bf" }} } -} + duration: "#b8bbc2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d07346" attr: "b" } + } else if $in < 6hr { + "#d07346" + } else if $in < 1day { + "#fbd461" + } else if $in < 3day { + "#99bf52" + } else if $in < 1wk { + { fg: "#99bf52" attr: "b" } + } else if $in < 6wk { + "#72b9bf" + } else if $in < 52wk { + "#5299bf" + } else { "dark_gray" } + } + range: "#b8bbc2" + float: "#b8bbc2" + string: "#b8bbc2" + nothing: "#b8bbc2" + binary: "#b8bbc2" + cellpath: "#b8bbc2" + row_index: { fg: "#99bf52" attr: "b" } + record: "#b8bbc2" + list: "#b8bbc2" + block: "#b8bbc2" + hints: "dark_gray" + + shape_and: { fg: "#9989cc" attr: "b" } + shape_binary: { fg: "#9989cc" attr: "b" } + shape_block: { fg: "#5299bf" attr: "b" } + shape_bool: "#72b9bf" + shape_custom: "#99bf52" + shape_datetime: { fg: "#72b9bf" attr: "b" } + shape_directory: "#72b9bf" + shape_external: "#72b9bf" + shape_externalarg: { fg: "#99bf52" attr: "b" } + shape_filepath: "#72b9bf" + shape_flag: { fg: "#5299bf" attr: "b" } + shape_float: { fg: "#9989cc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#72b9bf" attr: "b" } + shape_int: { fg: "#9989cc" attr: "b" } + shape_internalcall: { fg: "#72b9bf" attr: "b" } + shape_list: { fg: "#72b9bf" attr: "b" } + shape_literal: "#5299bf" + shape_match_pattern: "#99bf52" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#72b9bf" + shape_operator: "#fbd461" + shape_or: { fg: "#9989cc" attr: "b" } + shape_pipe: { fg: "#9989cc" attr: "b" } + shape_range: { fg: "#fbd461" attr: "b" } + shape_record: { fg: "#72b9bf" attr: "b" } + shape_redirection: { fg: "#9989cc" attr: "b" } + shape_signature: { fg: "#99bf52" attr: "b" } + shape_string: "#99bf52" + shape_string_interpolation: { fg: "#72b9bf" attr: "b" } + shape_table: { fg: "#5299bf" attr: "b" } + shape_variable: "#9989cc" + + background: "#061229" + foreground: "#b8bbc2" + cursor: "#b8bbc2" +}} \ No newline at end of file diff --git a/themes/themes/piatto-light.nu b/themes/themes/piatto-light.nu index b0f831c..54e93b1 100644 --- a/themes/themes/piatto-light.nu +++ b/themes/themes/piatto-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the piatto_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#414141" - # cursor: "#5e76c7" - - { - # color for nushell primitives - separator: "#f1f1f1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#829428" - empty: "#3b5ea7" - bool: "#f1f1f1" - int: "#f1f1f1" - filesize: "#f1f1f1" - duration: "#f1f1f1" - date: "#f1f1f1" - range: "#f1f1f1" - float: "#f1f1f1" - string: "#f1f1f1" - nothing: "#f1f1f1" - binary: "#f1f1f1" - cellpath: "#f1f1f1" - row_index: "#829428" - record: "#f1f1f1" - list: "#f1f1f1" - block: "#f1f1f1" - hints: "#3e3e3e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a353b2" - shape_bool: "#829428" - shape_int: "#a353b2" - shape_float: "#a353b2" - shape_range: "#cc6e33" - shape_internalcall: "#829428" - shape_external: "#66781d" - shape_externalarg: "#829428" - shape_literal: "#3b5ea7" - shape_operator: "#cc6e33" - shape_signature: "#829428" - shape_string: "#66781d" - shape_string_interpolation: "#829428" - shape_datetime: "#829428" - shape_list: "#829428" - shape_table: "#3b5ea7" - shape_record: "#829428" - shape_block: "#3b5ea7" - shape_filepath: "#66781d" - shape_globpattern: "#829428" - shape_variable: "#a353b2" - shape_flag: "#3b5ea7" - shape_custom: "#66781d" - shape_nothing: "#829428" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#66781d" attr: "b" } + empty: "#3b5ea7" + bool: {|| if $in { "#829428" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#66781d" + } else {{ fg: "#3b5ea7" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b23670" attr: "b" } + } else if $in < 6hr { + "#b23670" + } else if $in < 1day { + "#cc6e33" + } else if $in < 3day { + "#66781d" + } else if $in < 1wk { + { fg: "#66781d" attr: "b" } + } else if $in < 6wk { + "#66781d" + } else if $in < 52wk { + "#3b5ea7" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#66781d" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#a353b2" attr: "b" } + shape_binary: { fg: "#a353b2" attr: "b" } + shape_block: { fg: "#3b5ea7" attr: "b" } + shape_bool: "#829428" + shape_custom: "#66781d" + shape_datetime: { fg: "#66781d" attr: "b" } + shape_directory: "#66781d" + shape_external: "#66781d" + shape_externalarg: { fg: "#66781d" attr: "b" } + shape_filepath: "#66781d" + shape_flag: { fg: "#3b5ea7" attr: "b" } + shape_float: { fg: "#a353b2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#66781d" attr: "b" } + shape_int: { fg: "#a353b2" attr: "b" } + shape_internalcall: { fg: "#66781d" attr: "b" } + shape_list: { fg: "#66781d" attr: "b" } + shape_literal: "#3b5ea7" + shape_match_pattern: "#66781d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#829428" + shape_operator: "#cc6e33" + shape_or: { fg: "#a353b2" attr: "b" } + shape_pipe: { fg: "#a353b2" attr: "b" } + shape_range: { fg: "#cc6e33" attr: "b" } + shape_record: { fg: "#66781d" attr: "b" } + shape_redirection: { fg: "#a353b2" attr: "b" } + shape_signature: { fg: "#66781d" attr: "b" } + shape_string: "#66781d" + shape_string_interpolation: { fg: "#66781d" attr: "b" } + shape_table: { fg: "#3b5ea7" attr: "b" } + shape_variable: "#a353b2" + + background: "#ffffff" + foreground: "#414141" + cursor: "#5e76c7" +}} \ No newline at end of file diff --git a/themes/themes/pico.nu b/themes/themes/pico.nu index 66e39d4..9e0d90f 100644 --- a/themes/themes/pico.nu +++ b/themes/themes/pico.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the pico theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#5f574f" - # cursor: "#5f574f" - - { - # color for nushell primitives - separator: "#fff1e8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00e756" - empty: "#83769c" - bool: "#fff1e8" - int: "#fff1e8" - filesize: "#fff1e8" - duration: "#fff1e8" - date: "#fff1e8" - range: "#fff1e8" - float: "#fff1e8" - string: "#fff1e8" - nothing: "#fff1e8" - binary: "#fff1e8" - cellpath: "#fff1e8" - row_index: "#00e756" - record: "#fff1e8" - list: "#fff1e8" - block: "#fff1e8" - hints: "#008751" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff77a8" - shape_bool: "#29adff" - shape_int: "#ff77a8" - shape_float: "#ff77a8" - shape_range: "#fff024" - shape_internalcall: "#29adff" - shape_external: "#29adff" - shape_externalarg: "#00e756" - shape_literal: "#83769c" - shape_operator: "#fff024" - shape_signature: "#00e756" - shape_string: "#00e756" - shape_string_interpolation: "#29adff" - shape_datetime: "#29adff" - shape_list: "#29adff" - shape_table: "#83769c" - shape_record: "#29adff" - shape_block: "#83769c" - shape_filepath: "#29adff" - shape_globpattern: "#29adff" - shape_variable: "#ff77a8" - shape_flag: "#83769c" - shape_custom: "#00e756" - shape_nothing: "#29adff" +export def main [] { return { + separator: "#5f574f" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00e756" attr: "b" } + empty: "#83769c" + bool: {|| if $in { "#29adff" } else { "light_gray" } } + int: "#5f574f" + filesize: {|e| + if $e == 0b { + "#5f574f" + } else if $e < 1mb { + "#29adff" + } else {{ fg: "#83769c" }} } -} + duration: "#5f574f" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff004d" attr: "b" } + } else if $in < 6hr { + "#ff004d" + } else if $in < 1day { + "#fff024" + } else if $in < 3day { + "#00e756" + } else if $in < 1wk { + { fg: "#00e756" attr: "b" } + } else if $in < 6wk { + "#29adff" + } else if $in < 52wk { + "#83769c" + } else { "dark_gray" } + } + range: "#5f574f" + float: "#5f574f" + string: "#5f574f" + nothing: "#5f574f" + binary: "#5f574f" + cellpath: "#5f574f" + row_index: { fg: "#00e756" attr: "b" } + record: "#5f574f" + list: "#5f574f" + block: "#5f574f" + hints: "dark_gray" + + shape_and: { fg: "#ff77a8" attr: "b" } + shape_binary: { fg: "#ff77a8" attr: "b" } + shape_block: { fg: "#83769c" attr: "b" } + shape_bool: "#29adff" + shape_custom: "#00e756" + shape_datetime: { fg: "#29adff" attr: "b" } + shape_directory: "#29adff" + shape_external: "#29adff" + shape_externalarg: { fg: "#00e756" attr: "b" } + shape_filepath: "#29adff" + shape_flag: { fg: "#83769c" attr: "b" } + shape_float: { fg: "#ff77a8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#29adff" attr: "b" } + shape_int: { fg: "#ff77a8" attr: "b" } + shape_internalcall: { fg: "#29adff" attr: "b" } + shape_list: { fg: "#29adff" attr: "b" } + shape_literal: "#83769c" + shape_match_pattern: "#00e756" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#29adff" + shape_operator: "#fff024" + shape_or: { fg: "#ff77a8" attr: "b" } + shape_pipe: { fg: "#ff77a8" attr: "b" } + shape_range: { fg: "#fff024" attr: "b" } + shape_record: { fg: "#29adff" attr: "b" } + shape_redirection: { fg: "#ff77a8" attr: "b" } + shape_signature: { fg: "#00e756" attr: "b" } + shape_string: "#00e756" + shape_string_interpolation: { fg: "#29adff" attr: "b" } + shape_table: { fg: "#83769c" attr: "b" } + shape_variable: "#ff77a8" + + background: "#000000" + foreground: "#5f574f" + cursor: "#5f574f" +}} \ No newline at end of file diff --git a/themes/themes/pnevma.nu b/themes/themes/pnevma.nu index 5c3caec..83af7d7 100644 --- a/themes/themes/pnevma.nu +++ b/themes/themes/pnevma.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the pnevma theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1c1c1c" - # foreground: "#d0d0d0" - # cursor: "#d0d0d0" - - { - # color for nushell primitives - separator: "#efefef" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#afbea2" - empty: "#7fa5bd" - bool: "#efefef" - int: "#efefef" - filesize: "#efefef" - duration: "#efefef" - date: "#efefef" - range: "#efefef" - float: "#efefef" - string: "#efefef" - nothing: "#efefef" - binary: "#efefef" - cellpath: "#efefef" - row_index: "#afbea2" - record: "#efefef" - list: "#efefef" - block: "#efefef" - hints: "#4a4845" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d7beda" - shape_bool: "#b1e7dd" - shape_int: "#d7beda" - shape_float: "#d7beda" - shape_range: "#e4c9af" - shape_internalcall: "#b1e7dd" - shape_external: "#8adbb4" - shape_externalarg: "#afbea2" - shape_literal: "#7fa5bd" - shape_operator: "#d7af87" - shape_signature: "#afbea2" - shape_string: "#90a57d" - shape_string_interpolation: "#b1e7dd" - shape_datetime: "#b1e7dd" - shape_list: "#b1e7dd" - shape_table: "#a1bdce" - shape_record: "#b1e7dd" - shape_block: "#a1bdce" - shape_filepath: "#8adbb4" - shape_globpattern: "#b1e7dd" - shape_variable: "#c79ec4" - shape_flag: "#a1bdce" - shape_custom: "#90a57d" - shape_nothing: "#b1e7dd" +export def main [] { return { + separator: "#d0d0d0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#90a57d" attr: "b" } + empty: "#7fa5bd" + bool: {|| if $in { "#b1e7dd" } else { "light_gray" } } + int: "#d0d0d0" + filesize: {|e| + if $e == 0b { + "#d0d0d0" + } else if $e < 1mb { + "#8adbb4" + } else {{ fg: "#7fa5bd" }} } -} + duration: "#d0d0d0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a36666" attr: "b" } + } else if $in < 6hr { + "#a36666" + } else if $in < 1day { + "#d7af87" + } else if $in < 3day { + "#90a57d" + } else if $in < 1wk { + { fg: "#90a57d" attr: "b" } + } else if $in < 6wk { + "#8adbb4" + } else if $in < 52wk { + "#7fa5bd" + } else { "dark_gray" } + } + range: "#d0d0d0" + float: "#d0d0d0" + string: "#d0d0d0" + nothing: "#d0d0d0" + binary: "#d0d0d0" + cellpath: "#d0d0d0" + row_index: { fg: "#90a57d" attr: "b" } + record: "#d0d0d0" + list: "#d0d0d0" + block: "#d0d0d0" + hints: "dark_gray" + + shape_and: { fg: "#c79ec4" attr: "b" } + shape_binary: { fg: "#c79ec4" attr: "b" } + shape_block: { fg: "#7fa5bd" attr: "b" } + shape_bool: "#b1e7dd" + shape_custom: "#90a57d" + shape_datetime: { fg: "#8adbb4" attr: "b" } + shape_directory: "#8adbb4" + shape_external: "#8adbb4" + shape_externalarg: { fg: "#90a57d" attr: "b" } + shape_filepath: "#8adbb4" + shape_flag: { fg: "#7fa5bd" attr: "b" } + shape_float: { fg: "#c79ec4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8adbb4" attr: "b" } + shape_int: { fg: "#c79ec4" attr: "b" } + shape_internalcall: { fg: "#8adbb4" attr: "b" } + shape_list: { fg: "#8adbb4" attr: "b" } + shape_literal: "#7fa5bd" + shape_match_pattern: "#90a57d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#b1e7dd" + shape_operator: "#d7af87" + shape_or: { fg: "#c79ec4" attr: "b" } + shape_pipe: { fg: "#c79ec4" attr: "b" } + shape_range: { fg: "#d7af87" attr: "b" } + shape_record: { fg: "#8adbb4" attr: "b" } + shape_redirection: { fg: "#c79ec4" attr: "b" } + shape_signature: { fg: "#90a57d" attr: "b" } + shape_string: "#90a57d" + shape_string_interpolation: { fg: "#8adbb4" attr: "b" } + shape_table: { fg: "#7fa5bd" attr: "b" } + shape_variable: "#c79ec4" + + background: "#1c1c1c" + foreground: "#d0d0d0" + cursor: "#d0d0d0" +}} \ No newline at end of file diff --git a/themes/themes/pop.nu b/themes/themes/pop.nu index 8bd03d7..f02a47b 100644 --- a/themes/themes/pop.nu +++ b/themes/themes/pop.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the pop theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#d0d0d0" - # cursor: "#d0d0d0" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#37b349" - empty: "#0e5a94" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#37b349" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#505050" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b31e8d" - shape_bool: "#00aabb" - shape_int: "#b31e8d" - shape_float: "#b31e8d" - shape_range: "#f8ca12" - shape_internalcall: "#00aabb" - shape_external: "#00aabb" - shape_externalarg: "#37b349" - shape_literal: "#0e5a94" - shape_operator: "#f8ca12" - shape_signature: "#37b349" - shape_string: "#37b349" - shape_string_interpolation: "#00aabb" - shape_datetime: "#00aabb" - shape_list: "#00aabb" - shape_table: "#0e5a94" - shape_record: "#00aabb" - shape_block: "#0e5a94" - shape_filepath: "#00aabb" - shape_globpattern: "#00aabb" - shape_variable: "#b31e8d" - shape_flag: "#0e5a94" - shape_custom: "#37b349" - shape_nothing: "#00aabb" +export def main [] { return { + separator: "#d0d0d0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#37b349" attr: "b" } + empty: "#0e5a94" + bool: {|| if $in { "#00aabb" } else { "light_gray" } } + int: "#d0d0d0" + filesize: {|e| + if $e == 0b { + "#d0d0d0" + } else if $e < 1mb { + "#00aabb" + } else {{ fg: "#0e5a94" }} } -} + duration: "#d0d0d0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#eb008a" attr: "b" } + } else if $in < 6hr { + "#eb008a" + } else if $in < 1day { + "#f8ca12" + } else if $in < 3day { + "#37b349" + } else if $in < 1wk { + { fg: "#37b349" attr: "b" } + } else if $in < 6wk { + "#00aabb" + } else if $in < 52wk { + "#0e5a94" + } else { "dark_gray" } + } + range: "#d0d0d0" + float: "#d0d0d0" + string: "#d0d0d0" + nothing: "#d0d0d0" + binary: "#d0d0d0" + cellpath: "#d0d0d0" + row_index: { fg: "#37b349" attr: "b" } + record: "#d0d0d0" + list: "#d0d0d0" + block: "#d0d0d0" + hints: "dark_gray" + + shape_and: { fg: "#b31e8d" attr: "b" } + shape_binary: { fg: "#b31e8d" attr: "b" } + shape_block: { fg: "#0e5a94" attr: "b" } + shape_bool: "#00aabb" + shape_custom: "#37b349" + shape_datetime: { fg: "#00aabb" attr: "b" } + shape_directory: "#00aabb" + shape_external: "#00aabb" + shape_externalarg: { fg: "#37b349" attr: "b" } + shape_filepath: "#00aabb" + shape_flag: { fg: "#0e5a94" attr: "b" } + shape_float: { fg: "#b31e8d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00aabb" attr: "b" } + shape_int: { fg: "#b31e8d" attr: "b" } + shape_internalcall: { fg: "#00aabb" attr: "b" } + shape_list: { fg: "#00aabb" attr: "b" } + shape_literal: "#0e5a94" + shape_match_pattern: "#37b349" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00aabb" + shape_operator: "#f8ca12" + shape_or: { fg: "#b31e8d" attr: "b" } + shape_pipe: { fg: "#b31e8d" attr: "b" } + shape_range: { fg: "#f8ca12" attr: "b" } + shape_record: { fg: "#00aabb" attr: "b" } + shape_redirection: { fg: "#b31e8d" attr: "b" } + shape_signature: { fg: "#37b349" attr: "b" } + shape_string: "#37b349" + shape_string_interpolation: { fg: "#00aabb" attr: "b" } + shape_table: { fg: "#0e5a94" attr: "b" } + shape_variable: "#b31e8d" + + background: "#000000" + foreground: "#d0d0d0" + cursor: "#d0d0d0" +}} \ No newline at end of file diff --git a/themes/themes/porple.nu b/themes/themes/porple.nu index a61fa91..56b9783 100644 --- a/themes/themes/porple.nu +++ b/themes/themes/porple.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the porple theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#292c36" - # foreground: "#d8d8d8" - # cursor: "#d8d8d8" - - { - # color for nushell primitives - separator: "#f8f8f8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#95c76f" - empty: "#8485ce" - bool: "#f8f8f8" - int: "#f8f8f8" - filesize: "#f8f8f8" - duration: "#f8f8f8" - date: "#f8f8f8" - range: "#f8f8f8" - float: "#f8f8f8" - string: "#f8f8f8" - nothing: "#f8f8f8" - binary: "#f8f8f8" - cellpath: "#f8f8f8" - row_index: "#95c76f" - record: "#f8f8f8" - list: "#f8f8f8" - block: "#f8f8f8" - hints: "#65568a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b74989" - shape_bool: "#64878f" - shape_int: "#b74989" - shape_float: "#b74989" - shape_range: "#efa16b" - shape_internalcall: "#64878f" - shape_external: "#64878f" - shape_externalarg: "#95c76f" - shape_literal: "#8485ce" - shape_operator: "#efa16b" - shape_signature: "#95c76f" - shape_string: "#95c76f" - shape_string_interpolation: "#64878f" - shape_datetime: "#64878f" - shape_list: "#64878f" - shape_table: "#8485ce" - shape_record: "#64878f" - shape_block: "#8485ce" - shape_filepath: "#64878f" - shape_globpattern: "#64878f" - shape_variable: "#b74989" - shape_flag: "#8485ce" - shape_custom: "#95c76f" - shape_nothing: "#64878f" +export def main [] { return { + separator: "#d8d8d8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#95c76f" attr: "b" } + empty: "#8485ce" + bool: {|| if $in { "#64878f" } else { "light_gray" } } + int: "#d8d8d8" + filesize: {|e| + if $e == 0b { + "#d8d8d8" + } else if $e < 1mb { + "#64878f" + } else {{ fg: "#8485ce" }} } -} + duration: "#d8d8d8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f84547" attr: "b" } + } else if $in < 6hr { + "#f84547" + } else if $in < 1day { + "#efa16b" + } else if $in < 3day { + "#95c76f" + } else if $in < 1wk { + { fg: "#95c76f" attr: "b" } + } else if $in < 6wk { + "#64878f" + } else if $in < 52wk { + "#8485ce" + } else { "dark_gray" } + } + range: "#d8d8d8" + float: "#d8d8d8" + string: "#d8d8d8" + nothing: "#d8d8d8" + binary: "#d8d8d8" + cellpath: "#d8d8d8" + row_index: { fg: "#95c76f" attr: "b" } + record: "#d8d8d8" + list: "#d8d8d8" + block: "#d8d8d8" + hints: "dark_gray" + + shape_and: { fg: "#b74989" attr: "b" } + shape_binary: { fg: "#b74989" attr: "b" } + shape_block: { fg: "#8485ce" attr: "b" } + shape_bool: "#64878f" + shape_custom: "#95c76f" + shape_datetime: { fg: "#64878f" attr: "b" } + shape_directory: "#64878f" + shape_external: "#64878f" + shape_externalarg: { fg: "#95c76f" attr: "b" } + shape_filepath: "#64878f" + shape_flag: { fg: "#8485ce" attr: "b" } + shape_float: { fg: "#b74989" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#64878f" attr: "b" } + shape_int: { fg: "#b74989" attr: "b" } + shape_internalcall: { fg: "#64878f" attr: "b" } + shape_list: { fg: "#64878f" attr: "b" } + shape_literal: "#8485ce" + shape_match_pattern: "#95c76f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#64878f" + shape_operator: "#efa16b" + shape_or: { fg: "#b74989" attr: "b" } + shape_pipe: { fg: "#b74989" attr: "b" } + shape_range: { fg: "#efa16b" attr: "b" } + shape_record: { fg: "#64878f" attr: "b" } + shape_redirection: { fg: "#b74989" attr: "b" } + shape_signature: { fg: "#95c76f" attr: "b" } + shape_string: "#95c76f" + shape_string_interpolation: { fg: "#64878f" attr: "b" } + shape_table: { fg: "#8485ce" attr: "b" } + shape_variable: "#b74989" + + background: "#292c36" + foreground: "#d8d8d8" + cursor: "#d8d8d8" +}} \ No newline at end of file diff --git a/themes/themes/pro.nu b/themes/themes/pro.nu index e4e5187..f7da945 100644 --- a/themes/themes/pro.nu +++ b/themes/themes/pro.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the pro theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#f2f2f2" - # cursor: "#f2f2f2" - - { - # color for nushell primitives - separator: "#e5e5e5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00d900" - empty: "#2009db" - bool: "#e5e5e5" - int: "#e5e5e5" - filesize: "#e5e5e5" - duration: "#e5e5e5" - date: "#e5e5e5" - range: "#e5e5e5" - float: "#e5e5e5" - string: "#e5e5e5" - nothing: "#e5e5e5" - binary: "#e5e5e5" - cellpath: "#e5e5e5" - row_index: "#00d900" - record: "#e5e5e5" - list: "#e5e5e5" - block: "#e5e5e5" - hints: "#666666" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e500e5" - shape_bool: "#00e5e5" - shape_int: "#e500e5" - shape_float: "#e500e5" - shape_range: "#e5e500" - shape_internalcall: "#00e5e5" - shape_external: "#00a6b2" - shape_externalarg: "#00d900" - shape_literal: "#2009db" - shape_operator: "#999900" - shape_signature: "#00d900" - shape_string: "#00a600" - shape_string_interpolation: "#00e5e5" - shape_datetime: "#00e5e5" - shape_list: "#00e5e5" - shape_table: "#0000ff" - shape_record: "#00e5e5" - shape_block: "#0000ff" - shape_filepath: "#00a6b2" - shape_globpattern: "#00e5e5" - shape_variable: "#b200b2" - shape_flag: "#0000ff" - shape_custom: "#00a600" - shape_nothing: "#00e5e5" +export def main [] { return { + separator: "#bfbfbf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00a600" attr: "b" } + empty: "#2009db" + bool: {|| if $in { "#00e5e5" } else { "light_gray" } } + int: "#bfbfbf" + filesize: {|e| + if $e == 0b { + "#bfbfbf" + } else if $e < 1mb { + "#00a6b2" + } else {{ fg: "#2009db" }} } -} + duration: "#bfbfbf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#990000" attr: "b" } + } else if $in < 6hr { + "#990000" + } else if $in < 1day { + "#999900" + } else if $in < 3day { + "#00a600" + } else if $in < 1wk { + { fg: "#00a600" attr: "b" } + } else if $in < 6wk { + "#00a6b2" + } else if $in < 52wk { + "#2009db" + } else { "dark_gray" } + } + range: "#bfbfbf" + float: "#bfbfbf" + string: "#bfbfbf" + nothing: "#bfbfbf" + binary: "#bfbfbf" + cellpath: "#bfbfbf" + row_index: { fg: "#00a600" attr: "b" } + record: "#bfbfbf" + list: "#bfbfbf" + block: "#bfbfbf" + hints: "dark_gray" + + shape_and: { fg: "#b200b2" attr: "b" } + shape_binary: { fg: "#b200b2" attr: "b" } + shape_block: { fg: "#2009db" attr: "b" } + shape_bool: "#00e5e5" + shape_custom: "#00a600" + shape_datetime: { fg: "#00a6b2" attr: "b" } + shape_directory: "#00a6b2" + shape_external: "#00a6b2" + shape_externalarg: { fg: "#00a600" attr: "b" } + shape_filepath: "#00a6b2" + shape_flag: { fg: "#2009db" attr: "b" } + shape_float: { fg: "#b200b2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00a6b2" attr: "b" } + shape_int: { fg: "#b200b2" attr: "b" } + shape_internalcall: { fg: "#00a6b2" attr: "b" } + shape_list: { fg: "#00a6b2" attr: "b" } + shape_literal: "#2009db" + shape_match_pattern: "#00a600" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00e5e5" + shape_operator: "#999900" + shape_or: { fg: "#b200b2" attr: "b" } + shape_pipe: { fg: "#b200b2" attr: "b" } + shape_range: { fg: "#999900" attr: "b" } + shape_record: { fg: "#00a6b2" attr: "b" } + shape_redirection: { fg: "#b200b2" attr: "b" } + shape_signature: { fg: "#00a600" attr: "b" } + shape_string: "#00a600" + shape_string_interpolation: { fg: "#00a6b2" attr: "b" } + shape_table: { fg: "#2009db" attr: "b" } + shape_variable: "#b200b2" + + background: "#000000" + foreground: "#f2f2f2" + cursor: "#f2f2f2" +}} \ No newline at end of file diff --git a/themes/themes/railscasts.nu b/themes/themes/railscasts.nu index 5741b50..72c6439 100644 --- a/themes/themes/railscasts.nu +++ b/themes/themes/railscasts.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the railscasts theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2b2b2b" - # foreground: "#e6e1dc" - # cursor: "#e6e1dc" - - { - # color for nushell primitives - separator: "#f9f7f3" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a5c261" - empty: "#6d9cbe" - bool: "#f9f7f3" - int: "#f9f7f3" - filesize: "#f9f7f3" - duration: "#f9f7f3" - date: "#f9f7f3" - range: "#f9f7f3" - float: "#f9f7f3" - string: "#f9f7f3" - nothing: "#f9f7f3" - binary: "#f9f7f3" - cellpath: "#f9f7f3" - row_index: "#a5c261" - record: "#f9f7f3" - list: "#f9f7f3" - block: "#f9f7f3" - hints: "#5a647e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b6b3eb" - shape_bool: "#519f50" - shape_int: "#b6b3eb" - shape_float: "#b6b3eb" - shape_range: "#ffc66d" - shape_internalcall: "#519f50" - shape_external: "#519f50" - shape_externalarg: "#a5c261" - shape_literal: "#6d9cbe" - shape_operator: "#ffc66d" - shape_signature: "#a5c261" - shape_string: "#a5c261" - shape_string_interpolation: "#519f50" - shape_datetime: "#519f50" - shape_list: "#519f50" - shape_table: "#6d9cbe" - shape_record: "#519f50" - shape_block: "#6d9cbe" - shape_filepath: "#519f50" - shape_globpattern: "#519f50" - shape_variable: "#b6b3eb" - shape_flag: "#6d9cbe" - shape_custom: "#a5c261" - shape_nothing: "#519f50" +export def main [] { return { + separator: "#e6e1dc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a5c261" attr: "b" } + empty: "#6d9cbe" + bool: {|| if $in { "#519f50" } else { "light_gray" } } + int: "#e6e1dc" + filesize: {|e| + if $e == 0b { + "#e6e1dc" + } else if $e < 1mb { + "#519f50" + } else {{ fg: "#6d9cbe" }} } -} + duration: "#e6e1dc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#da4939" attr: "b" } + } else if $in < 6hr { + "#da4939" + } else if $in < 1day { + "#ffc66d" + } else if $in < 3day { + "#a5c261" + } else if $in < 1wk { + { fg: "#a5c261" attr: "b" } + } else if $in < 6wk { + "#519f50" + } else if $in < 52wk { + "#6d9cbe" + } else { "dark_gray" } + } + range: "#e6e1dc" + float: "#e6e1dc" + string: "#e6e1dc" + nothing: "#e6e1dc" + binary: "#e6e1dc" + cellpath: "#e6e1dc" + row_index: { fg: "#a5c261" attr: "b" } + record: "#e6e1dc" + list: "#e6e1dc" + block: "#e6e1dc" + hints: "dark_gray" + + shape_and: { fg: "#b6b3eb" attr: "b" } + shape_binary: { fg: "#b6b3eb" attr: "b" } + shape_block: { fg: "#6d9cbe" attr: "b" } + shape_bool: "#519f50" + shape_custom: "#a5c261" + shape_datetime: { fg: "#519f50" attr: "b" } + shape_directory: "#519f50" + shape_external: "#519f50" + shape_externalarg: { fg: "#a5c261" attr: "b" } + shape_filepath: "#519f50" + shape_flag: { fg: "#6d9cbe" attr: "b" } + shape_float: { fg: "#b6b3eb" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#519f50" attr: "b" } + shape_int: { fg: "#b6b3eb" attr: "b" } + shape_internalcall: { fg: "#519f50" attr: "b" } + shape_list: { fg: "#519f50" attr: "b" } + shape_literal: "#6d9cbe" + shape_match_pattern: "#a5c261" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#519f50" + shape_operator: "#ffc66d" + shape_or: { fg: "#b6b3eb" attr: "b" } + shape_pipe: { fg: "#b6b3eb" attr: "b" } + shape_range: { fg: "#ffc66d" attr: "b" } + shape_record: { fg: "#519f50" attr: "b" } + shape_redirection: { fg: "#b6b3eb" attr: "b" } + shape_signature: { fg: "#a5c261" attr: "b" } + shape_string: "#a5c261" + shape_string_interpolation: { fg: "#519f50" attr: "b" } + shape_table: { fg: "#6d9cbe" attr: "b" } + shape_variable: "#b6b3eb" + + background: "#2b2b2b" + foreground: "#e6e1dc" + cursor: "#e6e1dc" +}} \ No newline at end of file diff --git a/themes/themes/rebecca.nu b/themes/themes/rebecca.nu index 0057ef1..d0b609e 100644 --- a/themes/themes/rebecca.nu +++ b/themes/themes/rebecca.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the rebecca theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#292a44" - # foreground: "#f1eff8" - # cursor: "#f1eff8" - - { - # color for nushell primitives - separator: "#53495d" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#6dfedf" - empty: "#2de0a7" - bool: "#53495d" - int: "#53495d" - filesize: "#53495d" - duration: "#53495d" - date: "#53495d" - range: "#53495d" - float: "#53495d" - string: "#53495d" - nothing: "#53495d" - binary: "#53495d" - cellpath: "#53495d" - row_index: "#6dfedf" - record: "#53495d" - list: "#53495d" - block: "#53495d" - hints: "#666699" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#7aa5ff" - shape_bool: "#8eaee0" - shape_int: "#7aa5ff" - shape_float: "#7aa5ff" - shape_range: "#ae81ff" - shape_internalcall: "#8eaee0" - shape_external: "#8eaee0" - shape_externalarg: "#6dfedf" - shape_literal: "#2de0a7" - shape_operator: "#ae81ff" - shape_signature: "#6dfedf" - shape_string: "#6dfedf" - shape_string_interpolation: "#8eaee0" - shape_datetime: "#8eaee0" - shape_list: "#8eaee0" - shape_table: "#2de0a7" - shape_record: "#8eaee0" - shape_block: "#2de0a7" - shape_filepath: "#8eaee0" - shape_globpattern: "#8eaee0" - shape_variable: "#7aa5ff" - shape_flag: "#2de0a7" - shape_custom: "#6dfedf" - shape_nothing: "#8eaee0" +export def main [] { return { + separator: "#f1eff8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6dfedf" attr: "b" } + empty: "#2de0a7" + bool: {|| if $in { "#8eaee0" } else { "light_gray" } } + int: "#f1eff8" + filesize: {|e| + if $e == 0b { + "#f1eff8" + } else if $e < 1mb { + "#8eaee0" + } else {{ fg: "#2de0a7" }} } -} + duration: "#f1eff8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a0a0c5" attr: "b" } + } else if $in < 6hr { + "#a0a0c5" + } else if $in < 1day { + "#ae81ff" + } else if $in < 3day { + "#6dfedf" + } else if $in < 1wk { + { fg: "#6dfedf" attr: "b" } + } else if $in < 6wk { + "#8eaee0" + } else if $in < 52wk { + "#2de0a7" + } else { "dark_gray" } + } + range: "#f1eff8" + float: "#f1eff8" + string: "#f1eff8" + nothing: "#f1eff8" + binary: "#f1eff8" + cellpath: "#f1eff8" + row_index: { fg: "#6dfedf" attr: "b" } + record: "#f1eff8" + list: "#f1eff8" + block: "#f1eff8" + hints: "dark_gray" + + shape_and: { fg: "#7aa5ff" attr: "b" } + shape_binary: { fg: "#7aa5ff" attr: "b" } + shape_block: { fg: "#2de0a7" attr: "b" } + shape_bool: "#8eaee0" + shape_custom: "#6dfedf" + shape_datetime: { fg: "#8eaee0" attr: "b" } + shape_directory: "#8eaee0" + shape_external: "#8eaee0" + shape_externalarg: { fg: "#6dfedf" attr: "b" } + shape_filepath: "#8eaee0" + shape_flag: { fg: "#2de0a7" attr: "b" } + shape_float: { fg: "#7aa5ff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8eaee0" attr: "b" } + shape_int: { fg: "#7aa5ff" attr: "b" } + shape_internalcall: { fg: "#8eaee0" attr: "b" } + shape_list: { fg: "#8eaee0" attr: "b" } + shape_literal: "#2de0a7" + shape_match_pattern: "#6dfedf" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8eaee0" + shape_operator: "#ae81ff" + shape_or: { fg: "#7aa5ff" attr: "b" } + shape_pipe: { fg: "#7aa5ff" attr: "b" } + shape_range: { fg: "#ae81ff" attr: "b" } + shape_record: { fg: "#8eaee0" attr: "b" } + shape_redirection: { fg: "#7aa5ff" attr: "b" } + shape_signature: { fg: "#6dfedf" attr: "b" } + shape_string: "#6dfedf" + shape_string_interpolation: { fg: "#8eaee0" attr: "b" } + shape_table: { fg: "#2de0a7" attr: "b" } + shape_variable: "#7aa5ff" + + background: "#292a44" + foreground: "#f1eff8" + cursor: "#f1eff8" +}} \ No newline at end of file diff --git a/themes/themes/red-alert.nu b/themes/themes/red-alert.nu index fa9737c..7e0f73c 100644 --- a/themes/themes/red-alert.nu +++ b/themes/themes/red-alert.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the red_alert theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#762423" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#aff08c" - empty: "#489bee" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#aff08c" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#262626" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ddb7df" - shape_bool: "#b7dfdd" - shape_int: "#ddb7df" - shape_float: "#ddb7df" - shape_range: "#dfddb7" - shape_internalcall: "#b7dfdd" - shape_external: "#6bbeb8" - shape_externalarg: "#aff08c" - shape_literal: "#489bee" - shape_operator: "#beb86b" - shape_signature: "#aff08c" - shape_string: "#71be6b" - shape_string_interpolation: "#b7dfdd" - shape_datetime: "#b7dfdd" - shape_list: "#b7dfdd" - shape_table: "#65aaf1" - shape_record: "#b7dfdd" - shape_block: "#65aaf1" - shape_filepath: "#6bbeb8" - shape_globpattern: "#b7dfdd" - shape_variable: "#e979d7" - shape_flag: "#65aaf1" - shape_custom: "#71be6b" - shape_nothing: "#b7dfdd" +export def main [] { return { + separator: "#d6d6d6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#71be6b" attr: "b" } + empty: "#489bee" + bool: {|| if $in { "#b7dfdd" } else { "light_gray" } } + int: "#d6d6d6" + filesize: {|e| + if $e == 0b { + "#d6d6d6" + } else if $e < 1mb { + "#6bbeb8" + } else {{ fg: "#489bee" }} } -} + duration: "#d6d6d6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d62e4e" attr: "b" } + } else if $in < 6hr { + "#d62e4e" + } else if $in < 1day { + "#beb86b" + } else if $in < 3day { + "#71be6b" + } else if $in < 1wk { + { fg: "#71be6b" attr: "b" } + } else if $in < 6wk { + "#6bbeb8" + } else if $in < 52wk { + "#489bee" + } else { "dark_gray" } + } + range: "#d6d6d6" + float: "#d6d6d6" + string: "#d6d6d6" + nothing: "#d6d6d6" + binary: "#d6d6d6" + cellpath: "#d6d6d6" + row_index: { fg: "#71be6b" attr: "b" } + record: "#d6d6d6" + list: "#d6d6d6" + block: "#d6d6d6" + hints: "dark_gray" + + shape_and: { fg: "#e979d7" attr: "b" } + shape_binary: { fg: "#e979d7" attr: "b" } + shape_block: { fg: "#489bee" attr: "b" } + shape_bool: "#b7dfdd" + shape_custom: "#71be6b" + shape_datetime: { fg: "#6bbeb8" attr: "b" } + shape_directory: "#6bbeb8" + shape_external: "#6bbeb8" + shape_externalarg: { fg: "#71be6b" attr: "b" } + shape_filepath: "#6bbeb8" + shape_flag: { fg: "#489bee" attr: "b" } + shape_float: { fg: "#e979d7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#6bbeb8" attr: "b" } + shape_int: { fg: "#e979d7" attr: "b" } + shape_internalcall: { fg: "#6bbeb8" attr: "b" } + shape_list: { fg: "#6bbeb8" attr: "b" } + shape_literal: "#489bee" + shape_match_pattern: "#71be6b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#b7dfdd" + shape_operator: "#beb86b" + shape_or: { fg: "#e979d7" attr: "b" } + shape_pipe: { fg: "#e979d7" attr: "b" } + shape_range: { fg: "#beb86b" attr: "b" } + shape_record: { fg: "#6bbeb8" attr: "b" } + shape_redirection: { fg: "#e979d7" attr: "b" } + shape_signature: { fg: "#71be6b" attr: "b" } + shape_string: "#71be6b" + shape_string_interpolation: { fg: "#6bbeb8" attr: "b" } + shape_table: { fg: "#489bee" attr: "b" } + shape_variable: "#e979d7" + + background: "#762423" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/red-sands.nu b/themes/themes/red-sands.nu index 65ab38f..d8d2375 100644 --- a/themes/themes/red-sands.nu +++ b/themes/themes/red-sands.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the red_sands theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#7a251e" - # foreground: "#d7c9a7" - # cursor: "#d7c9a7" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00bb00" - empty: "#0072ff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#00bb00" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff55ff" - shape_bool: "#55ffff" - shape_int: "#ff55ff" - shape_float: "#ff55ff" - shape_range: "#e7b000" - shape_internalcall: "#55ffff" - shape_external: "#00bbbb" - shape_externalarg: "#00bb00" - shape_literal: "#0072ff" - shape_operator: "#e7b000" - shape_signature: "#00bb00" - shape_string: "#00bb00" - shape_string_interpolation: "#55ffff" - shape_datetime: "#55ffff" - shape_list: "#55ffff" - shape_table: "#0072ae" - shape_record: "#55ffff" - shape_block: "#0072ae" - shape_filepath: "#00bbbb" - shape_globpattern: "#55ffff" - shape_variable: "#bb00bb" - shape_flag: "#0072ae" - shape_custom: "#00bb00" - shape_nothing: "#55ffff" +export def main [] { return { + separator: "#bbbbbb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00bb00" attr: "b" } + empty: "#0072ff" + bool: {|| if $in { "#55ffff" } else { "light_gray" } } + int: "#bbbbbb" + filesize: {|e| + if $e == 0b { + "#bbbbbb" + } else if $e < 1mb { + "#00bbbb" + } else {{ fg: "#0072ff" }} } -} + duration: "#bbbbbb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff3f00" attr: "b" } + } else if $in < 6hr { + "#ff3f00" + } else if $in < 1day { + "#e7b000" + } else if $in < 3day { + "#00bb00" + } else if $in < 1wk { + { fg: "#00bb00" attr: "b" } + } else if $in < 6wk { + "#00bbbb" + } else if $in < 52wk { + "#0072ff" + } else { "dark_gray" } + } + range: "#bbbbbb" + float: "#bbbbbb" + string: "#bbbbbb" + nothing: "#bbbbbb" + binary: "#bbbbbb" + cellpath: "#bbbbbb" + row_index: { fg: "#00bb00" attr: "b" } + record: "#bbbbbb" + list: "#bbbbbb" + block: "#bbbbbb" + hints: "dark_gray" + + shape_and: { fg: "#bb00bb" attr: "b" } + shape_binary: { fg: "#bb00bb" attr: "b" } + shape_block: { fg: "#0072ff" attr: "b" } + shape_bool: "#55ffff" + shape_custom: "#00bb00" + shape_datetime: { fg: "#00bbbb" attr: "b" } + shape_directory: "#00bbbb" + shape_external: "#00bbbb" + shape_externalarg: { fg: "#00bb00" attr: "b" } + shape_filepath: "#00bbbb" + shape_flag: { fg: "#0072ff" attr: "b" } + shape_float: { fg: "#bb00bb" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00bbbb" attr: "b" } + shape_int: { fg: "#bb00bb" attr: "b" } + shape_internalcall: { fg: "#00bbbb" attr: "b" } + shape_list: { fg: "#00bbbb" attr: "b" } + shape_literal: "#0072ff" + shape_match_pattern: "#00bb00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#55ffff" + shape_operator: "#e7b000" + shape_or: { fg: "#bb00bb" attr: "b" } + shape_pipe: { fg: "#bb00bb" attr: "b" } + shape_range: { fg: "#e7b000" attr: "b" } + shape_record: { fg: "#00bbbb" attr: "b" } + shape_redirection: { fg: "#bb00bb" attr: "b" } + shape_signature: { fg: "#00bb00" attr: "b" } + shape_string: "#00bb00" + shape_string_interpolation: { fg: "#00bbbb" attr: "b" } + shape_table: { fg: "#0072ff" attr: "b" } + shape_variable: "#bb00bb" + + background: "#7a251e" + foreground: "#d7c9a7" + cursor: "#d7c9a7" +}} \ No newline at end of file diff --git a/themes/themes/relaxed-afterglow.nu b/themes/themes/relaxed-afterglow.nu index 8b0d1e5..435fabb 100644 --- a/themes/themes/relaxed-afterglow.nu +++ b/themes/themes/relaxed-afterglow.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the relaxed_afterglow theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#353a44" - # foreground: "#d9d9d9" - # cursor: "#d9d9d9" - - { - # color for nushell primitives - separator: "#f7f7f7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a0ac77" - empty: "#6a8799" - bool: "#f7f7f7" - int: "#f7f7f7" - filesize: "#f7f7f7" - duration: "#f7f7f7" - date: "#f7f7f7" - range: "#f7f7f7" - float: "#f7f7f7" - string: "#f7f7f7" - nothing: "#f7f7f7" - binary: "#f7f7f7" - cellpath: "#f7f7f7" - row_index: "#a0ac77" - record: "#f7f7f7" - list: "#f7f7f7" - block: "#f7f7f7" - hints: "#636363" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b06698" - shape_bool: "#acbbd0" - shape_int: "#b06698" - shape_float: "#b06698" - shape_range: "#ebc17a" - shape_internalcall: "#acbbd0" - shape_external: "#c9dfff" - shape_externalarg: "#a0ac77" - shape_literal: "#6a8799" - shape_operator: "#ebc17a" - shape_signature: "#a0ac77" - shape_string: "#909d63" - shape_string_interpolation: "#acbbd0" - shape_datetime: "#acbbd0" - shape_list: "#acbbd0" - shape_table: "#7eaac7" - shape_record: "#acbbd0" - shape_block: "#7eaac7" - shape_filepath: "#c9dfff" - shape_globpattern: "#acbbd0" - shape_variable: "#b06698" - shape_flag: "#7eaac7" - shape_custom: "#909d63" - shape_nothing: "#acbbd0" +export def main [] { return { + separator: "#d9d9d9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#909d63" attr: "b" } + empty: "#6a8799" + bool: {|| if $in { "#acbbd0" } else { "light_gray" } } + int: "#d9d9d9" + filesize: {|e| + if $e == 0b { + "#d9d9d9" + } else if $e < 1mb { + "#c9dfff" + } else {{ fg: "#6a8799" }} } -} + duration: "#d9d9d9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#bc5653" attr: "b" } + } else if $in < 6hr { + "#bc5653" + } else if $in < 1day { + "#ebc17a" + } else if $in < 3day { + "#909d63" + } else if $in < 1wk { + { fg: "#909d63" attr: "b" } + } else if $in < 6wk { + "#c9dfff" + } else if $in < 52wk { + "#6a8799" + } else { "dark_gray" } + } + range: "#d9d9d9" + float: "#d9d9d9" + string: "#d9d9d9" + nothing: "#d9d9d9" + binary: "#d9d9d9" + cellpath: "#d9d9d9" + row_index: { fg: "#909d63" attr: "b" } + record: "#d9d9d9" + list: "#d9d9d9" + block: "#d9d9d9" + hints: "dark_gray" + + shape_and: { fg: "#b06698" attr: "b" } + shape_binary: { fg: "#b06698" attr: "b" } + shape_block: { fg: "#6a8799" attr: "b" } + shape_bool: "#acbbd0" + shape_custom: "#909d63" + shape_datetime: { fg: "#c9dfff" attr: "b" } + shape_directory: "#c9dfff" + shape_external: "#c9dfff" + shape_externalarg: { fg: "#909d63" attr: "b" } + shape_filepath: "#c9dfff" + shape_flag: { fg: "#6a8799" attr: "b" } + shape_float: { fg: "#b06698" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#c9dfff" attr: "b" } + shape_int: { fg: "#b06698" attr: "b" } + shape_internalcall: { fg: "#c9dfff" attr: "b" } + shape_list: { fg: "#c9dfff" attr: "b" } + shape_literal: "#6a8799" + shape_match_pattern: "#909d63" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#acbbd0" + shape_operator: "#ebc17a" + shape_or: { fg: "#b06698" attr: "b" } + shape_pipe: { fg: "#b06698" attr: "b" } + shape_range: { fg: "#ebc17a" attr: "b" } + shape_record: { fg: "#c9dfff" attr: "b" } + shape_redirection: { fg: "#b06698" attr: "b" } + shape_signature: { fg: "#909d63" attr: "b" } + shape_string: "#909d63" + shape_string_interpolation: { fg: "#c9dfff" attr: "b" } + shape_table: { fg: "#6a8799" attr: "b" } + shape_variable: "#b06698" + + background: "#353a44" + foreground: "#d9d9d9" + cursor: "#d9d9d9" +}} \ No newline at end of file diff --git a/themes/themes/renault-style-light.nu b/themes/themes/renault-style-light.nu index 3d6c425..775ebea 100644 --- a/themes/themes/renault-style-light.nu +++ b/themes/themes/renault-style-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the renault_style-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#3a3a3a" - # foreground: "#e9cb7b" - # cursor: "#7f7f7f" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#83d082" - empty: "#46657d" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#83d082" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#323232" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ffffff" - shape_bool: "#a4d4f8" - shape_int: "#ffffff" - shape_float: "#ffffff" - shape_range: "#ffff7b" - shape_internalcall: "#a4d4f8" - shape_external: "#87c1f1" - shape_externalarg: "#83d082" - shape_literal: "#46657d" - shape_operator: "#ffd249" - shape_signature: "#83d082" - shape_string: "#509f50" - shape_string_interpolation: "#a4d4f8" - shape_datetime: "#a4d4f8" - shape_list: "#a4d4f8" - shape_table: "#9fcef0" - shape_record: "#a4d4f8" - shape_block: "#9fcef0" - shape_filepath: "#87c1f1" - shape_globpattern: "#a4d4f8" - shape_variable: "#cfcfff" - shape_flag: "#9fcef0" - shape_custom: "#509f50" - shape_nothing: "#a4d4f8" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#509f50" attr: "b" } + empty: "#46657d" + bool: {|| if $in { "#a4d4f8" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#87c1f1" + } else {{ fg: "#46657d" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#da4839" attr: "b" } + } else if $in < 6hr { + "#da4839" + } else if $in < 1day { + "#ffd249" + } else if $in < 3day { + "#509f50" + } else if $in < 1wk { + { fg: "#509f50" attr: "b" } + } else if $in < 6wk { + "#87c1f1" + } else if $in < 52wk { + "#46657d" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#509f50" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#cfcfff" attr: "b" } + shape_binary: { fg: "#cfcfff" attr: "b" } + shape_block: { fg: "#46657d" attr: "b" } + shape_bool: "#a4d4f8" + shape_custom: "#509f50" + shape_datetime: { fg: "#87c1f1" attr: "b" } + shape_directory: "#87c1f1" + shape_external: "#87c1f1" + shape_externalarg: { fg: "#509f50" attr: "b" } + shape_filepath: "#87c1f1" + shape_flag: { fg: "#46657d" attr: "b" } + shape_float: { fg: "#cfcfff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#87c1f1" attr: "b" } + shape_int: { fg: "#cfcfff" attr: "b" } + shape_internalcall: { fg: "#87c1f1" attr: "b" } + shape_list: { fg: "#87c1f1" attr: "b" } + shape_literal: "#46657d" + shape_match_pattern: "#509f50" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#a4d4f8" + shape_operator: "#ffd249" + shape_or: { fg: "#cfcfff" attr: "b" } + shape_pipe: { fg: "#cfcfff" attr: "b" } + shape_range: { fg: "#ffd249" attr: "b" } + shape_record: { fg: "#87c1f1" attr: "b" } + shape_redirection: { fg: "#cfcfff" attr: "b" } + shape_signature: { fg: "#509f50" attr: "b" } + shape_string: "#509f50" + shape_string_interpolation: { fg: "#87c1f1" attr: "b" } + shape_table: { fg: "#46657d" attr: "b" } + shape_variable: "#cfcfff" + + background: "#3a3a3a" + foreground: "#e9cb7b" + cursor: "#7f7f7f" +}} \ No newline at end of file diff --git a/themes/themes/rippedcasts.nu b/themes/themes/rippedcasts.nu index 123cdf9..71d781f 100644 --- a/themes/themes/rippedcasts.nu +++ b/themes/themes/rippedcasts.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the rippedcasts theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2b2b2b" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#e5e5e5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#bcee68" - empty: "#75a5b0" - bool: "#e5e5e5" - int: "#e5e5e5" - filesize: "#e5e5e5" - duration: "#e5e5e5" - date: "#e5e5e5" - range: "#e5e5e5" - float: "#e5e5e5" - string: "#e5e5e5" - nothing: "#e5e5e5" - binary: "#e5e5e5" - cellpath: "#e5e5e5" - row_index: "#bcee68" - record: "#e5e5e5" - list: "#e5e5e5" - block: "#e5e5e5" - hints: "#666666" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e500e5" - shape_bool: "#8c9bc4" - shape_int: "#e500e5" - shape_float: "#e500e5" - shape_range: "#e5e500" - shape_internalcall: "#8c9bc4" - shape_external: "#5a647e" - shape_externalarg: "#bcee68" - shape_literal: "#75a5b0" - shape_operator: "#bfbb1f" - shape_signature: "#bcee68" - shape_string: "#a8ff60" - shape_string_interpolation: "#8c9bc4" - shape_datetime: "#8c9bc4" - shape_list: "#8c9bc4" - shape_table: "#86bdc9" - shape_record: "#8c9bc4" - shape_block: "#86bdc9" - shape_filepath: "#5a647e" - shape_globpattern: "#8c9bc4" - shape_variable: "#ff73fd" - shape_flag: "#86bdc9" - shape_custom: "#a8ff60" - shape_nothing: "#8c9bc4" +export def main [] { return { + separator: "#bfbfbf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a8ff60" attr: "b" } + empty: "#75a5b0" + bool: {|| if $in { "#8c9bc4" } else { "light_gray" } } + int: "#bfbfbf" + filesize: {|e| + if $e == 0b { + "#bfbfbf" + } else if $e < 1mb { + "#5a647e" + } else {{ fg: "#75a5b0" }} } -} + duration: "#bfbfbf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cdaf95" attr: "b" } + } else if $in < 6hr { + "#cdaf95" + } else if $in < 1day { + "#bfbb1f" + } else if $in < 3day { + "#a8ff60" + } else if $in < 1wk { + { fg: "#a8ff60" attr: "b" } + } else if $in < 6wk { + "#5a647e" + } else if $in < 52wk { + "#75a5b0" + } else { "dark_gray" } + } + range: "#bfbfbf" + float: "#bfbfbf" + string: "#bfbfbf" + nothing: "#bfbfbf" + binary: "#bfbfbf" + cellpath: "#bfbfbf" + row_index: { fg: "#a8ff60" attr: "b" } + record: "#bfbfbf" + list: "#bfbfbf" + block: "#bfbfbf" + hints: "dark_gray" + + shape_and: { fg: "#ff73fd" attr: "b" } + shape_binary: { fg: "#ff73fd" attr: "b" } + shape_block: { fg: "#75a5b0" attr: "b" } + shape_bool: "#8c9bc4" + shape_custom: "#a8ff60" + shape_datetime: { fg: "#5a647e" attr: "b" } + shape_directory: "#5a647e" + shape_external: "#5a647e" + shape_externalarg: { fg: "#a8ff60" attr: "b" } + shape_filepath: "#5a647e" + shape_flag: { fg: "#75a5b0" attr: "b" } + shape_float: { fg: "#ff73fd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5a647e" attr: "b" } + shape_int: { fg: "#ff73fd" attr: "b" } + shape_internalcall: { fg: "#5a647e" attr: "b" } + shape_list: { fg: "#5a647e" attr: "b" } + shape_literal: "#75a5b0" + shape_match_pattern: "#a8ff60" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8c9bc4" + shape_operator: "#bfbb1f" + shape_or: { fg: "#ff73fd" attr: "b" } + shape_pipe: { fg: "#ff73fd" attr: "b" } + shape_range: { fg: "#bfbb1f" attr: "b" } + shape_record: { fg: "#5a647e" attr: "b" } + shape_redirection: { fg: "#ff73fd" attr: "b" } + shape_signature: { fg: "#a8ff60" attr: "b" } + shape_string: "#a8ff60" + shape_string_interpolation: { fg: "#5a647e" attr: "b" } + shape_table: { fg: "#75a5b0" attr: "b" } + shape_variable: "#ff73fd" + + background: "#2b2b2b" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/rose-pine-dawn.nu b/themes/themes/rose-pine-dawn.nu index 5441894..4a16090 100644 --- a/themes/themes/rose-pine-dawn.nu +++ b/themes/themes/rose-pine-dawn.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the rose_pine-dawn theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#faf4ed" - # foreground: "#575279" - # cursor: "#575279" - - { - # color for nushell primitives - separator: "#26233a" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#d7827e" - empty: "#56949f" - bool: "#26233a" - int: "#26233a" - filesize: "#26233a" - duration: "#26233a" - date: "#26233a" - range: "#26233a" - float: "#26233a" - string: "#26233a" - nothing: "#26233a" - binary: "#26233a" - cellpath: "#26233a" - row_index: "#d7827e" - record: "#26233a" - list: "#26233a" - block: "#26233a" - hints: "#9893a5" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#907aa9" - shape_bool: "#286983" - shape_int: "#907aa9" - shape_float: "#907aa9" - shape_range: "#ea9d34" - shape_internalcall: "#286983" - shape_external: "#286983" - shape_externalarg: "#d7827e" - shape_literal: "#56949f" - shape_operator: "#ea9d34" - shape_signature: "#d7827e" - shape_string: "#d7827e" - shape_string_interpolation: "#286983" - shape_datetime: "#286983" - shape_list: "#286983" - shape_table: "#56949f" - shape_record: "#286983" - shape_block: "#56949f" - shape_filepath: "#286983" - shape_globpattern: "#286983" - shape_variable: "#907aa9" - shape_flag: "#56949f" - shape_custom: "#d7827e" - shape_nothing: "#286983" +export def main [] { return { + separator: "#575279" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#d7827e" attr: "b" } + empty: "#56949f" + bool: {|| if $in { "#286983" } else { "light_gray" } } + int: "#575279" + filesize: {|e| + if $e == 0b { + "#575279" + } else if $e < 1mb { + "#286983" + } else {{ fg: "#56949f" }} } -} + duration: "#575279" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#1f1d2e" attr: "b" } + } else if $in < 6hr { + "#1f1d2e" + } else if $in < 1day { + "#ea9d34" + } else if $in < 3day { + "#d7827e" + } else if $in < 1wk { + { fg: "#d7827e" attr: "b" } + } else if $in < 6wk { + "#286983" + } else if $in < 52wk { + "#56949f" + } else { "dark_gray" } + } + range: "#575279" + float: "#575279" + string: "#575279" + nothing: "#575279" + binary: "#575279" + cellpath: "#575279" + row_index: { fg: "#d7827e" attr: "b" } + record: "#575279" + list: "#575279" + block: "#575279" + hints: "dark_gray" + + shape_and: { fg: "#907aa9" attr: "b" } + shape_binary: { fg: "#907aa9" attr: "b" } + shape_block: { fg: "#56949f" attr: "b" } + shape_bool: "#286983" + shape_custom: "#d7827e" + shape_datetime: { fg: "#286983" attr: "b" } + shape_directory: "#286983" + shape_external: "#286983" + shape_externalarg: { fg: "#d7827e" attr: "b" } + shape_filepath: "#286983" + shape_flag: { fg: "#56949f" attr: "b" } + shape_float: { fg: "#907aa9" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#286983" attr: "b" } + shape_int: { fg: "#907aa9" attr: "b" } + shape_internalcall: { fg: "#286983" attr: "b" } + shape_list: { fg: "#286983" attr: "b" } + shape_literal: "#56949f" + shape_match_pattern: "#d7827e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#286983" + shape_operator: "#ea9d34" + shape_or: { fg: "#907aa9" attr: "b" } + shape_pipe: { fg: "#907aa9" attr: "b" } + shape_range: { fg: "#ea9d34" attr: "b" } + shape_record: { fg: "#286983" attr: "b" } + shape_redirection: { fg: "#907aa9" attr: "b" } + shape_signature: { fg: "#d7827e" attr: "b" } + shape_string: "#d7827e" + shape_string_interpolation: { fg: "#286983" attr: "b" } + shape_table: { fg: "#56949f" attr: "b" } + shape_variable: "#907aa9" + + background: "#faf4ed" + foreground: "#575279" + cursor: "#575279" +}} \ No newline at end of file diff --git a/themes/themes/rose-pine-moon.nu b/themes/themes/rose-pine-moon.nu index 91878a7..8ffbbce 100644 --- a/themes/themes/rose-pine-moon.nu +++ b/themes/themes/rose-pine-moon.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the rose_pine-moon theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#232136" - # foreground: "#e0def4" - # cursor: "#e0def4" - - { - # color for nushell primitives - separator: "#d9d7e1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ea9a97" - empty: "#9ccfd8" - bool: "#d9d7e1" - int: "#d9d7e1" - filesize: "#d9d7e1" - duration: "#d9d7e1" - date: "#d9d7e1" - range: "#d9d7e1" - float: "#d9d7e1" - string: "#d9d7e1" - nothing: "#d9d7e1" - binary: "#d9d7e1" - cellpath: "#d9d7e1" - row_index: "#ea9a97" - record: "#d9d7e1" - list: "#d9d7e1" - block: "#d9d7e1" - hints: "#59546d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c4a7e7" - shape_bool: "#3e8fb0" - shape_int: "#c4a7e7" - shape_float: "#c4a7e7" - shape_range: "#f6c177" - shape_internalcall: "#3e8fb0" - shape_external: "#3e8fb0" - shape_externalarg: "#ea9a97" - shape_literal: "#9ccfd8" - shape_operator: "#f6c177" - shape_signature: "#ea9a97" - shape_string: "#ea9a97" - shape_string_interpolation: "#3e8fb0" - shape_datetime: "#3e8fb0" - shape_list: "#3e8fb0" - shape_table: "#9ccfd8" - shape_record: "#3e8fb0" - shape_block: "#9ccfd8" - shape_filepath: "#3e8fb0" - shape_globpattern: "#3e8fb0" - shape_variable: "#c4a7e7" - shape_flag: "#9ccfd8" - shape_custom: "#ea9a97" - shape_nothing: "#3e8fb0" +export def main [] { return { + separator: "#e0def4" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#ea9a97" attr: "b" } + empty: "#9ccfd8" + bool: {|| if $in { "#3e8fb0" } else { "light_gray" } } + int: "#e0def4" + filesize: {|e| + if $e == 0b { + "#e0def4" + } else if $e < 1mb { + "#3e8fb0" + } else {{ fg: "#9ccfd8" }} } -} + duration: "#e0def4" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ecebf0" attr: "b" } + } else if $in < 6hr { + "#ecebf0" + } else if $in < 1day { + "#f6c177" + } else if $in < 3day { + "#ea9a97" + } else if $in < 1wk { + { fg: "#ea9a97" attr: "b" } + } else if $in < 6wk { + "#3e8fb0" + } else if $in < 52wk { + "#9ccfd8" + } else { "dark_gray" } + } + range: "#e0def4" + float: "#e0def4" + string: "#e0def4" + nothing: "#e0def4" + binary: "#e0def4" + cellpath: "#e0def4" + row_index: { fg: "#ea9a97" attr: "b" } + record: "#e0def4" + list: "#e0def4" + block: "#e0def4" + hints: "dark_gray" + + shape_and: { fg: "#c4a7e7" attr: "b" } + shape_binary: { fg: "#c4a7e7" attr: "b" } + shape_block: { fg: "#9ccfd8" attr: "b" } + shape_bool: "#3e8fb0" + shape_custom: "#ea9a97" + shape_datetime: { fg: "#3e8fb0" attr: "b" } + shape_directory: "#3e8fb0" + shape_external: "#3e8fb0" + shape_externalarg: { fg: "#ea9a97" attr: "b" } + shape_filepath: "#3e8fb0" + shape_flag: { fg: "#9ccfd8" attr: "b" } + shape_float: { fg: "#c4a7e7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3e8fb0" attr: "b" } + shape_int: { fg: "#c4a7e7" attr: "b" } + shape_internalcall: { fg: "#3e8fb0" attr: "b" } + shape_list: { fg: "#3e8fb0" attr: "b" } + shape_literal: "#9ccfd8" + shape_match_pattern: "#ea9a97" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3e8fb0" + shape_operator: "#f6c177" + shape_or: { fg: "#c4a7e7" attr: "b" } + shape_pipe: { fg: "#c4a7e7" attr: "b" } + shape_range: { fg: "#f6c177" attr: "b" } + shape_record: { fg: "#3e8fb0" attr: "b" } + shape_redirection: { fg: "#c4a7e7" attr: "b" } + shape_signature: { fg: "#ea9a97" attr: "b" } + shape_string: "#ea9a97" + shape_string_interpolation: { fg: "#3e8fb0" attr: "b" } + shape_table: { fg: "#9ccfd8" attr: "b" } + shape_variable: "#c4a7e7" + + background: "#232136" + foreground: "#e0def4" + cursor: "#e0def4" +}} \ No newline at end of file diff --git a/themes/themes/rose-pine.nu b/themes/themes/rose-pine.nu index 1032878..8547bea 100644 --- a/themes/themes/rose-pine.nu +++ b/themes/themes/rose-pine.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the rose_pine theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#191724" - # foreground: "#e0def4" - # cursor: "#e0def4" - - { - # color for nushell primitives - separator: "#c5c3ce" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ebbcba" - empty: "#9ccfd8" - bool: "#c5c3ce" - int: "#c5c3ce" - filesize: "#c5c3ce" - duration: "#c5c3ce" - date: "#c5c3ce" - range: "#c5c3ce" - float: "#c5c3ce" - string: "#c5c3ce" - nothing: "#c5c3ce" - binary: "#c5c3ce" - cellpath: "#c5c3ce" - row_index: "#ebbcba" - record: "#c5c3ce" - list: "#c5c3ce" - block: "#c5c3ce" - hints: "#555169" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c4a7e7" - shape_bool: "#31748f" - shape_int: "#c4a7e7" - shape_float: "#c4a7e7" - shape_range: "#f6c177" - shape_internalcall: "#31748f" - shape_external: "#31748f" - shape_externalarg: "#ebbcba" - shape_literal: "#9ccfd8" - shape_operator: "#f6c177" - shape_signature: "#ebbcba" - shape_string: "#ebbcba" - shape_string_interpolation: "#31748f" - shape_datetime: "#31748f" - shape_list: "#31748f" - shape_table: "#9ccfd8" - shape_record: "#31748f" - shape_block: "#9ccfd8" - shape_filepath: "#31748f" - shape_globpattern: "#31748f" - shape_variable: "#c4a7e7" - shape_flag: "#9ccfd8" - shape_custom: "#ebbcba" - shape_nothing: "#31748f" +export def main [] { return { + separator: "#e0def4" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#ebbcba" attr: "b" } + empty: "#9ccfd8" + bool: {|| if $in { "#31748f" } else { "light_gray" } } + int: "#e0def4" + filesize: {|e| + if $e == 0b { + "#e0def4" + } else if $e < 1mb { + "#31748f" + } else {{ fg: "#9ccfd8" }} } -} + duration: "#e0def4" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e2e1e7" attr: "b" } + } else if $in < 6hr { + "#e2e1e7" + } else if $in < 1day { + "#f6c177" + } else if $in < 3day { + "#ebbcba" + } else if $in < 1wk { + { fg: "#ebbcba" attr: "b" } + } else if $in < 6wk { + "#31748f" + } else if $in < 52wk { + "#9ccfd8" + } else { "dark_gray" } + } + range: "#e0def4" + float: "#e0def4" + string: "#e0def4" + nothing: "#e0def4" + binary: "#e0def4" + cellpath: "#e0def4" + row_index: { fg: "#ebbcba" attr: "b" } + record: "#e0def4" + list: "#e0def4" + block: "#e0def4" + hints: "dark_gray" + + shape_and: { fg: "#c4a7e7" attr: "b" } + shape_binary: { fg: "#c4a7e7" attr: "b" } + shape_block: { fg: "#9ccfd8" attr: "b" } + shape_bool: "#31748f" + shape_custom: "#ebbcba" + shape_datetime: { fg: "#31748f" attr: "b" } + shape_directory: "#31748f" + shape_external: "#31748f" + shape_externalarg: { fg: "#ebbcba" attr: "b" } + shape_filepath: "#31748f" + shape_flag: { fg: "#9ccfd8" attr: "b" } + shape_float: { fg: "#c4a7e7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#31748f" attr: "b" } + shape_int: { fg: "#c4a7e7" attr: "b" } + shape_internalcall: { fg: "#31748f" attr: "b" } + shape_list: { fg: "#31748f" attr: "b" } + shape_literal: "#9ccfd8" + shape_match_pattern: "#ebbcba" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#31748f" + shape_operator: "#f6c177" + shape_or: { fg: "#c4a7e7" attr: "b" } + shape_pipe: { fg: "#c4a7e7" attr: "b" } + shape_range: { fg: "#f6c177" attr: "b" } + shape_record: { fg: "#31748f" attr: "b" } + shape_redirection: { fg: "#c4a7e7" attr: "b" } + shape_signature: { fg: "#ebbcba" attr: "b" } + shape_string: "#ebbcba" + shape_string_interpolation: { fg: "#31748f" attr: "b" } + shape_table: { fg: "#9ccfd8" attr: "b" } + shape_variable: "#c4a7e7" + + background: "#191724" + foreground: "#e0def4" + cursor: "#e0def4" +}} \ No newline at end of file diff --git a/themes/themes/royal.nu b/themes/themes/royal.nu index a25fb10..c28efe6 100644 --- a/themes/themes/royal.nu +++ b/themes/themes/royal.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the royal theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#100815" - # foreground: "#514968" - # cursor: "#514968" - - { - # color for nushell primitives - separator: "#9e8cbd" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#2cd946" - empty: "#6580b0" - bool: "#9e8cbd" - int: "#9e8cbd" - filesize: "#9e8cbd" - duration: "#9e8cbd" - date: "#9e8cbd" - range: "#9e8cbd" - float: "#9e8cbd" - string: "#9e8cbd" - nothing: "#9e8cbd" - binary: "#9e8cbd" - cellpath: "#9e8cbd" - row_index: "#2cd946" - record: "#9e8cbd" - list: "#9e8cbd" - block: "#9e8cbd" - hints: "#312d3d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a479e3" - shape_bool: "#acd4eb" - shape_int: "#a479e3" - shape_float: "#a479e3" - shape_range: "#fde83b" - shape_internalcall: "#acd4eb" - shape_external: "#8aaabe" - shape_externalarg: "#2cd946" - shape_literal: "#6580b0" - shape_operator: "#b49d27" - shape_signature: "#2cd946" - shape_string: "#23801c" - shape_string_interpolation: "#acd4eb" - shape_datetime: "#acd4eb" - shape_list: "#acd4eb" - shape_table: "#90baf9" - shape_record: "#acd4eb" - shape_block: "#90baf9" - shape_filepath: "#8aaabe" - shape_globpattern: "#acd4eb" - shape_variable: "#674d96" - shape_flag: "#90baf9" - shape_custom: "#23801c" - shape_nothing: "#acd4eb" +export def main [] { return { + separator: "#524966" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#23801c" attr: "b" } + empty: "#6580b0" + bool: {|| if $in { "#acd4eb" } else { "light_gray" } } + int: "#524966" + filesize: {|e| + if $e == 0b { + "#524966" + } else if $e < 1mb { + "#8aaabe" + } else {{ fg: "#6580b0" }} } -} + duration: "#524966" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#91284c" attr: "b" } + } else if $in < 6hr { + "#91284c" + } else if $in < 1day { + "#b49d27" + } else if $in < 3day { + "#23801c" + } else if $in < 1wk { + { fg: "#23801c" attr: "b" } + } else if $in < 6wk { + "#8aaabe" + } else if $in < 52wk { + "#6580b0" + } else { "dark_gray" } + } + range: "#524966" + float: "#524966" + string: "#524966" + nothing: "#524966" + binary: "#524966" + cellpath: "#524966" + row_index: { fg: "#23801c" attr: "b" } + record: "#524966" + list: "#524966" + block: "#524966" + hints: "dark_gray" + + shape_and: { fg: "#674d96" attr: "b" } + shape_binary: { fg: "#674d96" attr: "b" } + shape_block: { fg: "#6580b0" attr: "b" } + shape_bool: "#acd4eb" + shape_custom: "#23801c" + shape_datetime: { fg: "#8aaabe" attr: "b" } + shape_directory: "#8aaabe" + shape_external: "#8aaabe" + shape_externalarg: { fg: "#23801c" attr: "b" } + shape_filepath: "#8aaabe" + shape_flag: { fg: "#6580b0" attr: "b" } + shape_float: { fg: "#674d96" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8aaabe" attr: "b" } + shape_int: { fg: "#674d96" attr: "b" } + shape_internalcall: { fg: "#8aaabe" attr: "b" } + shape_list: { fg: "#8aaabe" attr: "b" } + shape_literal: "#6580b0" + shape_match_pattern: "#23801c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#acd4eb" + shape_operator: "#b49d27" + shape_or: { fg: "#674d96" attr: "b" } + shape_pipe: { fg: "#674d96" attr: "b" } + shape_range: { fg: "#b49d27" attr: "b" } + shape_record: { fg: "#8aaabe" attr: "b" } + shape_redirection: { fg: "#674d96" attr: "b" } + shape_signature: { fg: "#23801c" attr: "b" } + shape_string: "#23801c" + shape_string_interpolation: { fg: "#8aaabe" attr: "b" } + shape_table: { fg: "#6580b0" attr: "b" } + shape_variable: "#674d96" + + background: "#100815" + foreground: "#514968" + cursor: "#514968" +}} \ No newline at end of file diff --git a/themes/themes/sagelight.nu b/themes/themes/sagelight.nu index 0b49c2c..ada9108 100644 --- a/themes/themes/sagelight.nu +++ b/themes/themes/sagelight.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the sagelight theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f8f8f8" - # foreground: "#383838" - # cursor: "#383838" - - { - # color for nushell primitives - separator: "#181818" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#a0d2c8" - empty: "#a0a7d2" - bool: "#181818" - int: "#181818" - filesize: "#181818" - duration: "#181818" - date: "#181818" - range: "#181818" - float: "#181818" - string: "#181818" - nothing: "#181818" - binary: "#181818" - cellpath: "#181818" - row_index: "#a0d2c8" - record: "#181818" - list: "#181818" - block: "#181818" - hints: "#b8b8b8" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c8a0d2" - shape_bool: "#a2d6f5" - shape_int: "#c8a0d2" - shape_float: "#c8a0d2" - shape_range: "#ffdc61" - shape_internalcall: "#a2d6f5" - shape_external: "#a2d6f5" - shape_externalarg: "#a0d2c8" - shape_literal: "#a0a7d2" - shape_operator: "#ffdc61" - shape_signature: "#a0d2c8" - shape_string: "#a0d2c8" - shape_string_interpolation: "#a2d6f5" - shape_datetime: "#a2d6f5" - shape_list: "#a2d6f5" - shape_table: "#a0a7d2" - shape_record: "#a2d6f5" - shape_block: "#a0a7d2" - shape_filepath: "#a2d6f5" - shape_globpattern: "#a2d6f5" - shape_variable: "#c8a0d2" - shape_flag: "#a0a7d2" - shape_custom: "#a0d2c8" - shape_nothing: "#a2d6f5" +export def main [] { return { + separator: "#383838" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a0d2c8" attr: "b" } + empty: "#a0a7d2" + bool: {|| if $in { "#a2d6f5" } else { "light_gray" } } + int: "#383838" + filesize: {|e| + if $e == 0b { + "#383838" + } else if $e < 1mb { + "#a2d6f5" + } else {{ fg: "#a0a7d2" }} } -} + duration: "#383838" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fa8480" attr: "b" } + } else if $in < 6hr { + "#fa8480" + } else if $in < 1day { + "#ffdc61" + } else if $in < 3day { + "#a0d2c8" + } else if $in < 1wk { + { fg: "#a0d2c8" attr: "b" } + } else if $in < 6wk { + "#a2d6f5" + } else if $in < 52wk { + "#a0a7d2" + } else { "dark_gray" } + } + range: "#383838" + float: "#383838" + string: "#383838" + nothing: "#383838" + binary: "#383838" + cellpath: "#383838" + row_index: { fg: "#a0d2c8" attr: "b" } + record: "#383838" + list: "#383838" + block: "#383838" + hints: "dark_gray" + + shape_and: { fg: "#c8a0d2" attr: "b" } + shape_binary: { fg: "#c8a0d2" attr: "b" } + shape_block: { fg: "#a0a7d2" attr: "b" } + shape_bool: "#a2d6f5" + shape_custom: "#a0d2c8" + shape_datetime: { fg: "#a2d6f5" attr: "b" } + shape_directory: "#a2d6f5" + shape_external: "#a2d6f5" + shape_externalarg: { fg: "#a0d2c8" attr: "b" } + shape_filepath: "#a2d6f5" + shape_flag: { fg: "#a0a7d2" attr: "b" } + shape_float: { fg: "#c8a0d2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#a2d6f5" attr: "b" } + shape_int: { fg: "#c8a0d2" attr: "b" } + shape_internalcall: { fg: "#a2d6f5" attr: "b" } + shape_list: { fg: "#a2d6f5" attr: "b" } + shape_literal: "#a0a7d2" + shape_match_pattern: "#a0d2c8" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#a2d6f5" + shape_operator: "#ffdc61" + shape_or: { fg: "#c8a0d2" attr: "b" } + shape_pipe: { fg: "#c8a0d2" attr: "b" } + shape_range: { fg: "#ffdc61" attr: "b" } + shape_record: { fg: "#a2d6f5" attr: "b" } + shape_redirection: { fg: "#c8a0d2" attr: "b" } + shape_signature: { fg: "#a0d2c8" attr: "b" } + shape_string: "#a0d2c8" + shape_string_interpolation: { fg: "#a2d6f5" attr: "b" } + shape_table: { fg: "#a0a7d2" attr: "b" } + shape_variable: "#c8a0d2" + + background: "#f8f8f8" + foreground: "#383838" + cursor: "#383838" +}} \ No newline at end of file diff --git a/themes/themes/sandcastle.nu b/themes/themes/sandcastle.nu index 3660b66..ac177a8 100644 --- a/themes/themes/sandcastle.nu +++ b/themes/themes/sandcastle.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the sandcastle theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282c34" - # foreground: "#a89984" - # cursor: "#a89984" - - { - # color for nushell primitives - separator: "#fdf4c1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#528b8b" - empty: "#83a598" - bool: "#fdf4c1" - int: "#fdf4c1" - filesize: "#fdf4c1" - duration: "#fdf4c1" - date: "#fdf4c1" - range: "#fdf4c1" - float: "#fdf4c1" - string: "#fdf4c1" - nothing: "#fdf4c1" - binary: "#fdf4c1" - cellpath: "#fdf4c1" - row_index: "#528b8b" - record: "#fdf4c1" - list: "#fdf4c1" - block: "#fdf4c1" - hints: "#665c54" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d75f5f" - shape_bool: "#83a598" - shape_int: "#d75f5f" - shape_float: "#d75f5f" - shape_range: "#a07e3b" - shape_internalcall: "#83a598" - shape_external: "#83a598" - shape_externalarg: "#528b8b" - shape_literal: "#83a598" - shape_operator: "#a07e3b" - shape_signature: "#528b8b" - shape_string: "#528b8b" - shape_string_interpolation: "#83a598" - shape_datetime: "#83a598" - shape_list: "#83a598" - shape_table: "#83a598" - shape_record: "#83a598" - shape_block: "#83a598" - shape_filepath: "#83a598" - shape_globpattern: "#83a598" - shape_variable: "#d75f5f" - shape_flag: "#83a598" - shape_custom: "#528b8b" - shape_nothing: "#83a598" +export def main [] { return { + separator: "#a89984" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#528b8b" attr: "b" } + empty: "#83a598" + bool: {|| if $in { "#83a598" } else { "light_gray" } } + int: "#a89984" + filesize: {|e| + if $e == 0b { + "#a89984" + } else if $e < 1mb { + "#83a598" + } else {{ fg: "#83a598" }} } -} + duration: "#a89984" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#83a598" attr: "b" } + } else if $in < 6hr { + "#83a598" + } else if $in < 1day { + "#a07e3b" + } else if $in < 3day { + "#528b8b" + } else if $in < 1wk { + { fg: "#528b8b" attr: "b" } + } else if $in < 6wk { + "#83a598" + } else if $in < 52wk { + "#83a598" + } else { "dark_gray" } + } + range: "#a89984" + float: "#a89984" + string: "#a89984" + nothing: "#a89984" + binary: "#a89984" + cellpath: "#a89984" + row_index: { fg: "#528b8b" attr: "b" } + record: "#a89984" + list: "#a89984" + block: "#a89984" + hints: "dark_gray" + + shape_and: { fg: "#d75f5f" attr: "b" } + shape_binary: { fg: "#d75f5f" attr: "b" } + shape_block: { fg: "#83a598" attr: "b" } + shape_bool: "#83a598" + shape_custom: "#528b8b" + shape_datetime: { fg: "#83a598" attr: "b" } + shape_directory: "#83a598" + shape_external: "#83a598" + shape_externalarg: { fg: "#528b8b" attr: "b" } + shape_filepath: "#83a598" + shape_flag: { fg: "#83a598" attr: "b" } + shape_float: { fg: "#d75f5f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#83a598" attr: "b" } + shape_int: { fg: "#d75f5f" attr: "b" } + shape_internalcall: { fg: "#83a598" attr: "b" } + shape_list: { fg: "#83a598" attr: "b" } + shape_literal: "#83a598" + shape_match_pattern: "#528b8b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#83a598" + shape_operator: "#a07e3b" + shape_or: { fg: "#d75f5f" attr: "b" } + shape_pipe: { fg: "#d75f5f" attr: "b" } + shape_range: { fg: "#a07e3b" attr: "b" } + shape_record: { fg: "#83a598" attr: "b" } + shape_redirection: { fg: "#d75f5f" attr: "b" } + shape_signature: { fg: "#528b8b" attr: "b" } + shape_string: "#528b8b" + shape_string_interpolation: { fg: "#83a598" attr: "b" } + shape_table: { fg: "#83a598" attr: "b" } + shape_variable: "#d75f5f" + + background: "#282c34" + foreground: "#a89984" + cursor: "#a89984" +}} \ No newline at end of file diff --git a/themes/themes/sat.nu b/themes/themes/sat.nu index 3cd1d3b..9a755fa 100644 --- a/themes/themes/sat.nu +++ b/themes/themes/sat.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the sat theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#758480" - # foreground: "#23476a" - # cursor: "#23476a" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#78ff74" - empty: "#0007dd" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#78ff74" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#7d7d7d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fa74ff" - shape_bool: "#74fffa" - shape_int: "#fa74ff" - shape_float: "#fa74ff" - shape_range: "#fffa74" - shape_internalcall: "#74fffa" - shape_external: "#00ddd6" - shape_externalarg: "#78ff74" - shape_literal: "#0007dd" - shape_operator: "#ddd600" - shape_signature: "#78ff74" - shape_string: "#07dd00" - shape_string_interpolation: "#74fffa" - shape_datetime: "#74fffa" - shape_list: "#74fffa" - shape_table: "#7478ff" - shape_record: "#74fffa" - shape_block: "#7478ff" - shape_filepath: "#00ddd6" - shape_globpattern: "#74fffa" - shape_variable: "#d600dd" - shape_flag: "#7478ff" - shape_custom: "#07dd00" - shape_nothing: "#74fffa" +export def main [] { return { + separator: "#f2f2f2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#07dd00" attr: "b" } + empty: "#0007dd" + bool: {|| if $in { "#74fffa" } else { "light_gray" } } + int: "#f2f2f2" + filesize: {|e| + if $e == 0b { + "#f2f2f2" + } else if $e < 1mb { + "#00ddd6" + } else {{ fg: "#0007dd" }} } -} + duration: "#f2f2f2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#dd0007" attr: "b" } + } else if $in < 6hr { + "#dd0007" + } else if $in < 1day { + "#ddd600" + } else if $in < 3day { + "#07dd00" + } else if $in < 1wk { + { fg: "#07dd00" attr: "b" } + } else if $in < 6wk { + "#00ddd6" + } else if $in < 52wk { + "#0007dd" + } else { "dark_gray" } + } + range: "#f2f2f2" + float: "#f2f2f2" + string: "#f2f2f2" + nothing: "#f2f2f2" + binary: "#f2f2f2" + cellpath: "#f2f2f2" + row_index: { fg: "#07dd00" attr: "b" } + record: "#f2f2f2" + list: "#f2f2f2" + block: "#f2f2f2" + hints: "dark_gray" + + shape_and: { fg: "#d600dd" attr: "b" } + shape_binary: { fg: "#d600dd" attr: "b" } + shape_block: { fg: "#0007dd" attr: "b" } + shape_bool: "#74fffa" + shape_custom: "#07dd00" + shape_datetime: { fg: "#00ddd6" attr: "b" } + shape_directory: "#00ddd6" + shape_external: "#00ddd6" + shape_externalarg: { fg: "#07dd00" attr: "b" } + shape_filepath: "#00ddd6" + shape_flag: { fg: "#0007dd" attr: "b" } + shape_float: { fg: "#d600dd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00ddd6" attr: "b" } + shape_int: { fg: "#d600dd" attr: "b" } + shape_internalcall: { fg: "#00ddd6" attr: "b" } + shape_list: { fg: "#00ddd6" attr: "b" } + shape_literal: "#0007dd" + shape_match_pattern: "#07dd00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#74fffa" + shape_operator: "#ddd600" + shape_or: { fg: "#d600dd" attr: "b" } + shape_pipe: { fg: "#d600dd" attr: "b" } + shape_range: { fg: "#ddd600" attr: "b" } + shape_record: { fg: "#00ddd6" attr: "b" } + shape_redirection: { fg: "#d600dd" attr: "b" } + shape_signature: { fg: "#07dd00" attr: "b" } + shape_string: "#07dd00" + shape_string_interpolation: { fg: "#00ddd6" attr: "b" } + shape_table: { fg: "#0007dd" attr: "b" } + shape_variable: "#d600dd" + + background: "#758480" + foreground: "#23476a" + cursor: "#23476a" +}} \ No newline at end of file diff --git a/themes/themes/sea-shells.nu b/themes/themes/sea-shells.nu index 38f1d85..0c297c8 100644 --- a/themes/themes/sea-shells.nu +++ b/themes/themes/sea-shells.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the sea_shells theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#09141b" - # foreground: "#deb88d" - # cursor: "#deb88d" - - { - # color for nushell primitives - separator: "#fee4ce" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#628d98" - empty: "#1e4950" - bool: "#fee4ce" - int: "#fee4ce" - filesize: "#fee4ce" - duration: "#fee4ce" - date: "#fee4ce" - range: "#fee4ce" - float: "#fee4ce" - string: "#fee4ce" - nothing: "#fee4ce" - binary: "#fee4ce" - cellpath: "#fee4ce" - row_index: "#628d98" - record: "#fee4ce" - list: "#fee4ce" - block: "#fee4ce" - hints: "#434b53" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bbe3ee" - shape_bool: "#87acb4" - shape_int: "#bbe3ee" - shape_float: "#bbe3ee" - shape_range: "#fdd39f" - shape_internalcall: "#87acb4" - shape_external: "#50a3b5" - shape_externalarg: "#628d98" - shape_literal: "#1e4950" - shape_operator: "#fca02f" - shape_signature: "#628d98" - shape_string: "#027c9b" - shape_string_interpolation: "#87acb4" - shape_datetime: "#87acb4" - shape_list: "#87acb4" - shape_table: "#1bbcdd" - shape_record: "#87acb4" - shape_block: "#1bbcdd" - shape_filepath: "#50a3b5" - shape_globpattern: "#87acb4" - shape_variable: "#68d4f1" - shape_flag: "#1bbcdd" - shape_custom: "#027c9b" - shape_nothing: "#87acb4" +export def main [] { return { + separator: "#deb88d" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#027c9b" attr: "b" } + empty: "#1e4950" + bool: {|| if $in { "#87acb4" } else { "light_gray" } } + int: "#deb88d" + filesize: {|e| + if $e == 0b { + "#deb88d" + } else if $e < 1mb { + "#50a3b5" + } else {{ fg: "#1e4950" }} } -} + duration: "#deb88d" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d15123" attr: "b" } + } else if $in < 6hr { + "#d15123" + } else if $in < 1day { + "#fca02f" + } else if $in < 3day { + "#027c9b" + } else if $in < 1wk { + { fg: "#027c9b" attr: "b" } + } else if $in < 6wk { + "#50a3b5" + } else if $in < 52wk { + "#1e4950" + } else { "dark_gray" } + } + range: "#deb88d" + float: "#deb88d" + string: "#deb88d" + nothing: "#deb88d" + binary: "#deb88d" + cellpath: "#deb88d" + row_index: { fg: "#027c9b" attr: "b" } + record: "#deb88d" + list: "#deb88d" + block: "#deb88d" + hints: "dark_gray" + + shape_and: { fg: "#68d4f1" attr: "b" } + shape_binary: { fg: "#68d4f1" attr: "b" } + shape_block: { fg: "#1e4950" attr: "b" } + shape_bool: "#87acb4" + shape_custom: "#027c9b" + shape_datetime: { fg: "#50a3b5" attr: "b" } + shape_directory: "#50a3b5" + shape_external: "#50a3b5" + shape_externalarg: { fg: "#027c9b" attr: "b" } + shape_filepath: "#50a3b5" + shape_flag: { fg: "#1e4950" attr: "b" } + shape_float: { fg: "#68d4f1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#50a3b5" attr: "b" } + shape_int: { fg: "#68d4f1" attr: "b" } + shape_internalcall: { fg: "#50a3b5" attr: "b" } + shape_list: { fg: "#50a3b5" attr: "b" } + shape_literal: "#1e4950" + shape_match_pattern: "#027c9b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#87acb4" + shape_operator: "#fca02f" + shape_or: { fg: "#68d4f1" attr: "b" } + shape_pipe: { fg: "#68d4f1" attr: "b" } + shape_range: { fg: "#fca02f" attr: "b" } + shape_record: { fg: "#50a3b5" attr: "b" } + shape_redirection: { fg: "#68d4f1" attr: "b" } + shape_signature: { fg: "#027c9b" attr: "b" } + shape_string: "#027c9b" + shape_string_interpolation: { fg: "#50a3b5" attr: "b" } + shape_table: { fg: "#1e4950" attr: "b" } + shape_variable: "#68d4f1" + + background: "#09141b" + foreground: "#deb88d" + cursor: "#deb88d" +}} \ No newline at end of file diff --git a/themes/themes/seafoam-pastel.nu b/themes/themes/seafoam-pastel.nu index be62e1d..0bdf4ec 100644 --- a/themes/themes/seafoam-pastel.nu +++ b/themes/themes/seafoam-pastel.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the seafoam_pastel theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#243435" - # foreground: "#d4e7d4" - # cursor: "#d4e7d4" - - { - # color for nushell primitives - separator: "#e0e0e0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#98d9aa" - empty: "#4d7b82" - bool: "#e0e0e0" - int: "#e0e0e0" - filesize: "#e0e0e0" - duration: "#e0e0e0" - date: "#e0e0e0" - range: "#e0e0e0" - float: "#e0e0e0" - string: "#e0e0e0" - nothing: "#e0e0e0" - binary: "#e0e0e0" - cellpath: "#e0e0e0" - row_index: "#98d9aa" - record: "#e0e0e0" - list: "#e0e0e0" - block: "#e0e0e0" - hints: "#8a8a8a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d6b2a1" - shape_bool: "#ade0e0" - shape_int: "#d6b2a1" - shape_float: "#d6b2a1" - shape_range: "#fae79d" - shape_internalcall: "#ade0e0" - shape_external: "#729494" - shape_externalarg: "#98d9aa" - shape_literal: "#4d7b82" - shape_operator: "#ada16d" - shape_signature: "#98d9aa" - shape_string: "#728c62" - shape_string_interpolation: "#ade0e0" - shape_datetime: "#ade0e0" - shape_list: "#ade0e0" - shape_table: "#7ac3cf" - shape_record: "#ade0e0" - shape_block: "#7ac3cf" - shape_filepath: "#729494" - shape_globpattern: "#ade0e0" - shape_variable: "#8a7267" - shape_flag: "#7ac3cf" - shape_custom: "#728c62" - shape_nothing: "#ade0e0" +export def main [] { return { + separator: "#e0e0e0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#728c62" attr: "b" } + empty: "#4d7b82" + bool: {|| if $in { "#ade0e0" } else { "light_gray" } } + int: "#e0e0e0" + filesize: {|e| + if $e == 0b { + "#e0e0e0" + } else if $e < 1mb { + "#729494" + } else {{ fg: "#4d7b82" }} } -} + duration: "#e0e0e0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#825d4d" attr: "b" } + } else if $in < 6hr { + "#825d4d" + } else if $in < 1day { + "#ada16d" + } else if $in < 3day { + "#728c62" + } else if $in < 1wk { + { fg: "#728c62" attr: "b" } + } else if $in < 6wk { + "#729494" + } else if $in < 52wk { + "#4d7b82" + } else { "dark_gray" } + } + range: "#e0e0e0" + float: "#e0e0e0" + string: "#e0e0e0" + nothing: "#e0e0e0" + binary: "#e0e0e0" + cellpath: "#e0e0e0" + row_index: { fg: "#728c62" attr: "b" } + record: "#e0e0e0" + list: "#e0e0e0" + block: "#e0e0e0" + hints: "dark_gray" + + shape_and: { fg: "#8a7267" attr: "b" } + shape_binary: { fg: "#8a7267" attr: "b" } + shape_block: { fg: "#4d7b82" attr: "b" } + shape_bool: "#ade0e0" + shape_custom: "#728c62" + shape_datetime: { fg: "#729494" attr: "b" } + shape_directory: "#729494" + shape_external: "#729494" + shape_externalarg: { fg: "#728c62" attr: "b" } + shape_filepath: "#729494" + shape_flag: { fg: "#4d7b82" attr: "b" } + shape_float: { fg: "#8a7267" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#729494" attr: "b" } + shape_int: { fg: "#8a7267" attr: "b" } + shape_internalcall: { fg: "#729494" attr: "b" } + shape_list: { fg: "#729494" attr: "b" } + shape_literal: "#4d7b82" + shape_match_pattern: "#728c62" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#ade0e0" + shape_operator: "#ada16d" + shape_or: { fg: "#8a7267" attr: "b" } + shape_pipe: { fg: "#8a7267" attr: "b" } + shape_range: { fg: "#ada16d" attr: "b" } + shape_record: { fg: "#729494" attr: "b" } + shape_redirection: { fg: "#8a7267" attr: "b" } + shape_signature: { fg: "#728c62" attr: "b" } + shape_string: "#728c62" + shape_string_interpolation: { fg: "#729494" attr: "b" } + shape_table: { fg: "#4d7b82" attr: "b" } + shape_variable: "#8a7267" + + background: "#243435" + foreground: "#d4e7d4" + cursor: "#d4e7d4" +}} \ No newline at end of file diff --git a/themes/themes/selenized-black.nu b/themes/themes/selenized-black.nu index 0d4e23c..58c7839 100644 --- a/themes/themes/selenized-black.nu +++ b/themes/themes/selenized-black.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the selenized_black theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#181818" - # foreground: "#b9b9b9" - # cursor: "#b9b9b9" - - { - # color for nushell primitives - separator: "#dedede" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#83c746" - empty: "#368aeb" - bool: "#dedede" - int: "#dedede" - filesize: "#dedede" - duration: "#dedede" - date: "#dedede" - range: "#dedede" - float: "#dedede" - string: "#dedede" - nothing: "#dedede" - binary: "#dedede" - cellpath: "#dedede" - row_index: "#83c746" - record: "#dedede" - list: "#dedede" - block: "#dedede" - hints: "#3b3b3b" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff81ca" - shape_bool: "#56d8c9" - shape_int: "#ff81ca" - shape_float: "#ff81ca" - shape_range: "#efc541" - shape_internalcall: "#56d8c9" - shape_external: "#3fc5b7" - shape_externalarg: "#83c746" - shape_literal: "#368aeb" - shape_operator: "#dbb32d" - shape_signature: "#83c746" - shape_string: "#70b433" - shape_string_interpolation: "#56d8c9" - shape_datetime: "#56d8c9" - shape_list: "#56d8c9" - shape_table: "#4f9cfe" - shape_record: "#56d8c9" - shape_block: "#4f9cfe" - shape_filepath: "#3fc5b7" - shape_globpattern: "#56d8c9" - shape_variable: "#eb6eb7" - shape_flag: "#4f9cfe" - shape_custom: "#70b433" - shape_nothing: "#56d8c9" +export def main [] { return { + separator: "#777777" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#70b433" attr: "b" } + empty: "#368aeb" + bool: {|| if $in { "#56d8c9" } else { "light_gray" } } + int: "#777777" + filesize: {|e| + if $e == 0b { + "#777777" + } else if $e < 1mb { + "#3fc5b7" + } else {{ fg: "#368aeb" }} } -} + duration: "#777777" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ed4a46" attr: "b" } + } else if $in < 6hr { + "#ed4a46" + } else if $in < 1day { + "#dbb32d" + } else if $in < 3day { + "#70b433" + } else if $in < 1wk { + { fg: "#70b433" attr: "b" } + } else if $in < 6wk { + "#3fc5b7" + } else if $in < 52wk { + "#368aeb" + } else { "dark_gray" } + } + range: "#777777" + float: "#777777" + string: "#777777" + nothing: "#777777" + binary: "#777777" + cellpath: "#777777" + row_index: { fg: "#70b433" attr: "b" } + record: "#777777" + list: "#777777" + block: "#777777" + hints: "dark_gray" + + shape_and: { fg: "#eb6eb7" attr: "b" } + shape_binary: { fg: "#eb6eb7" attr: "b" } + shape_block: { fg: "#368aeb" attr: "b" } + shape_bool: "#56d8c9" + shape_custom: "#70b433" + shape_datetime: { fg: "#3fc5b7" attr: "b" } + shape_directory: "#3fc5b7" + shape_external: "#3fc5b7" + shape_externalarg: { fg: "#70b433" attr: "b" } + shape_filepath: "#3fc5b7" + shape_flag: { fg: "#368aeb" attr: "b" } + shape_float: { fg: "#eb6eb7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3fc5b7" attr: "b" } + shape_int: { fg: "#eb6eb7" attr: "b" } + shape_internalcall: { fg: "#3fc5b7" attr: "b" } + shape_list: { fg: "#3fc5b7" attr: "b" } + shape_literal: "#368aeb" + shape_match_pattern: "#70b433" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#56d8c9" + shape_operator: "#dbb32d" + shape_or: { fg: "#eb6eb7" attr: "b" } + shape_pipe: { fg: "#eb6eb7" attr: "b" } + shape_range: { fg: "#dbb32d" attr: "b" } + shape_record: { fg: "#3fc5b7" attr: "b" } + shape_redirection: { fg: "#eb6eb7" attr: "b" } + shape_signature: { fg: "#70b433" attr: "b" } + shape_string: "#70b433" + shape_string_interpolation: { fg: "#3fc5b7" attr: "b" } + shape_table: { fg: "#368aeb" attr: "b" } + shape_variable: "#eb6eb7" + + background: "#181818" + foreground: "#b9b9b9" + cursor: "#b9b9b9" +}} \ No newline at end of file diff --git a/themes/themes/selenized-dark.nu b/themes/themes/selenized-dark.nu index eb8ce3e..2939157 100644 --- a/themes/themes/selenized-dark.nu +++ b/themes/themes/selenized-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the selenized_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#103c48" - # foreground: "#adbcbc" - # cursor: "#adbcbc" - - { - # color for nushell primitives - separator: "#cad8d9" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#84c747" - empty: "#4695f7" - bool: "#cad8d9" - int: "#cad8d9" - filesize: "#cad8d9" - duration: "#cad8d9" - date: "#cad8d9" - range: "#cad8d9" - float: "#cad8d9" - string: "#cad8d9" - nothing: "#cad8d9" - binary: "#cad8d9" - cellpath: "#cad8d9" - row_index: "#84c747" - record: "#cad8d9" - list: "#cad8d9" - block: "#cad8d9" - hints: "#2d5b69" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff84cd" - shape_bool: "#53d6c7" - shape_int: "#ff84cd" - shape_float: "#ff84cd" - shape_range: "#ebc13d" - shape_internalcall: "#53d6c7" - shape_external: "#41c7b9" - shape_externalarg: "#84c747" - shape_literal: "#4695f7" - shape_operator: "#dbb32d" - shape_signature: "#84c747" - shape_string: "#75b938" - shape_string_interpolation: "#53d6c7" - shape_datetime: "#53d6c7" - shape_list: "#53d6c7" - shape_table: "#58a3ff" - shape_record: "#53d6c7" - shape_block: "#58a3ff" - shape_filepath: "#41c7b9" - shape_globpattern: "#53d6c7" - shape_variable: "#f275be" - shape_flag: "#58a3ff" - shape_custom: "#75b938" - shape_nothing: "#53d6c7" +export def main [] { return { + separator: "#72898f" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#75b938" attr: "b" } + empty: "#4695f7" + bool: {|| if $in { "#53d6c7" } else { "light_gray" } } + int: "#72898f" + filesize: {|e| + if $e == 0b { + "#72898f" + } else if $e < 1mb { + "#41c7b9" + } else {{ fg: "#4695f7" }} } -} + duration: "#72898f" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fa5750" attr: "b" } + } else if $in < 6hr { + "#fa5750" + } else if $in < 1day { + "#dbb32d" + } else if $in < 3day { + "#75b938" + } else if $in < 1wk { + { fg: "#75b938" attr: "b" } + } else if $in < 6wk { + "#41c7b9" + } else if $in < 52wk { + "#4695f7" + } else { "dark_gray" } + } + range: "#72898f" + float: "#72898f" + string: "#72898f" + nothing: "#72898f" + binary: "#72898f" + cellpath: "#72898f" + row_index: { fg: "#75b938" attr: "b" } + record: "#72898f" + list: "#72898f" + block: "#72898f" + hints: "dark_gray" + + shape_and: { fg: "#f275be" attr: "b" } + shape_binary: { fg: "#f275be" attr: "b" } + shape_block: { fg: "#4695f7" attr: "b" } + shape_bool: "#53d6c7" + shape_custom: "#75b938" + shape_datetime: { fg: "#41c7b9" attr: "b" } + shape_directory: "#41c7b9" + shape_external: "#41c7b9" + shape_externalarg: { fg: "#75b938" attr: "b" } + shape_filepath: "#41c7b9" + shape_flag: { fg: "#4695f7" attr: "b" } + shape_float: { fg: "#f275be" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#41c7b9" attr: "b" } + shape_int: { fg: "#f275be" attr: "b" } + shape_internalcall: { fg: "#41c7b9" attr: "b" } + shape_list: { fg: "#41c7b9" attr: "b" } + shape_literal: "#4695f7" + shape_match_pattern: "#75b938" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#53d6c7" + shape_operator: "#dbb32d" + shape_or: { fg: "#f275be" attr: "b" } + shape_pipe: { fg: "#f275be" attr: "b" } + shape_range: { fg: "#dbb32d" attr: "b" } + shape_record: { fg: "#41c7b9" attr: "b" } + shape_redirection: { fg: "#f275be" attr: "b" } + shape_signature: { fg: "#75b938" attr: "b" } + shape_string: "#75b938" + shape_string_interpolation: { fg: "#41c7b9" attr: "b" } + shape_table: { fg: "#4695f7" attr: "b" } + shape_variable: "#f275be" + + background: "#103c48" + foreground: "#adbcbc" + cursor: "#adbcbc" +}} \ No newline at end of file diff --git a/themes/themes/selenized-light.nu b/themes/themes/selenized-light.nu index 0ffa321..7496ad5 100644 --- a/themes/themes/selenized-light.nu +++ b/themes/themes/selenized-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the selenized_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fbf3db" - # foreground: "#53676d" - # cursor: "#53676d" - - { - # color for nushell primitives - separator: "#3a4d53" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#428b00" - empty: "#0072d4" - bool: "#3a4d53" - int: "#3a4d53" - filesize: "#3a4d53" - duration: "#3a4d53" - date: "#3a4d53" - range: "#3a4d53" - float: "#3a4d53" - string: "#3a4d53" - nothing: "#3a4d53" - binary: "#3a4d53" - cellpath: "#3a4d53" - row_index: "#428b00" - record: "#3a4d53" - list: "#3a4d53" - block: "#3a4d53" - hints: "#d5cdb6" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c44392" - shape_bool: "#00978a" - shape_int: "#c44392" - shape_float: "#c44392" - shape_range: "#a78300" - shape_internalcall: "#00978a" - shape_external: "#009c8f" - shape_externalarg: "#428b00" - shape_literal: "#0072d4" - shape_operator: "#ad8900" - shape_signature: "#428b00" - shape_string: "#489100" - shape_string_interpolation: "#00978a" - shape_datetime: "#00978a" - shape_list: "#00978a" - shape_table: "#006dce" - shape_record: "#00978a" - shape_block: "#006dce" - shape_filepath: "#009c8f" - shape_globpattern: "#00978a" - shape_variable: "#ca4898" - shape_flag: "#006dce" - shape_custom: "#489100" - shape_nothing: "#00978a" +export def main [] { return { + separator: "#909995" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#489100" attr: "b" } + empty: "#0072d4" + bool: {|| if $in { "#00978a" } else { "light_gray" } } + int: "#909995" + filesize: {|e| + if $e == 0b { + "#909995" + } else if $e < 1mb { + "#009c8f" + } else {{ fg: "#0072d4" }} } -} + duration: "#909995" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d2212d" attr: "b" } + } else if $in < 6hr { + "#d2212d" + } else if $in < 1day { + "#ad8900" + } else if $in < 3day { + "#489100" + } else if $in < 1wk { + { fg: "#489100" attr: "b" } + } else if $in < 6wk { + "#009c8f" + } else if $in < 52wk { + "#0072d4" + } else { "dark_gray" } + } + range: "#909995" + float: "#909995" + string: "#909995" + nothing: "#909995" + binary: "#909995" + cellpath: "#909995" + row_index: { fg: "#489100" attr: "b" } + record: "#909995" + list: "#909995" + block: "#909995" + hints: "dark_gray" + + shape_and: { fg: "#ca4898" attr: "b" } + shape_binary: { fg: "#ca4898" attr: "b" } + shape_block: { fg: "#0072d4" attr: "b" } + shape_bool: "#00978a" + shape_custom: "#489100" + shape_datetime: { fg: "#009c8f" attr: "b" } + shape_directory: "#009c8f" + shape_external: "#009c8f" + shape_externalarg: { fg: "#489100" attr: "b" } + shape_filepath: "#009c8f" + shape_flag: { fg: "#0072d4" attr: "b" } + shape_float: { fg: "#ca4898" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#009c8f" attr: "b" } + shape_int: { fg: "#ca4898" attr: "b" } + shape_internalcall: { fg: "#009c8f" attr: "b" } + shape_list: { fg: "#009c8f" attr: "b" } + shape_literal: "#0072d4" + shape_match_pattern: "#489100" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00978a" + shape_operator: "#ad8900" + shape_or: { fg: "#ca4898" attr: "b" } + shape_pipe: { fg: "#ca4898" attr: "b" } + shape_range: { fg: "#ad8900" attr: "b" } + shape_record: { fg: "#009c8f" attr: "b" } + shape_redirection: { fg: "#ca4898" attr: "b" } + shape_signature: { fg: "#489100" attr: "b" } + shape_string: "#489100" + shape_string_interpolation: { fg: "#009c8f" attr: "b" } + shape_table: { fg: "#0072d4" attr: "b" } + shape_variable: "#ca4898" + + background: "#fbf3db" + foreground: "#53676d" + cursor: "#53676d" +}} \ No newline at end of file diff --git a/themes/themes/selenized-white.nu b/themes/themes/selenized-white.nu index 7bfd2e9..7e48b5c 100644 --- a/themes/themes/selenized-white.nu +++ b/themes/themes/selenized-white.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the selenized_white theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#474747" - # cursor: "#474747" - - { - # color for nushell primitives - separator: "#282828" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#008400" - empty: "#0064e4" - bool: "#282828" - int: "#282828" - filesize: "#282828" - duration: "#282828" - date: "#282828" - range: "#282828" - float: "#282828" - string: "#282828" - nothing: "#282828" - binary: "#282828" - cellpath: "#282828" - row_index: "#008400" - record: "#282828" - list: "#282828" - block: "#282828" - hints: "#cdcdcd" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c7008b" - shape_bool: "#009a8a" - shape_int: "#c7008b" - shape_float: "#c7008b" - shape_range: "#af8500" - shape_internalcall: "#009a8a" - shape_external: "#00ad9c" - shape_externalarg: "#008400" - shape_literal: "#0064e4" - shape_operator: "#c49700" - shape_signature: "#008400" - shape_string: "#1d9700" - shape_string_interpolation: "#009a8a" - shape_datetime: "#009a8a" - shape_list: "#009a8a" - shape_table: "#0054cf" - shape_record: "#009a8a" - shape_block: "#0054cf" - shape_filepath: "#00ad9c" - shape_globpattern: "#009a8a" - shape_variable: "#dd0f9d" - shape_flag: "#0054cf" - shape_custom: "#1d9700" - shape_nothing: "#009a8a" +export def main [] { return { + separator: "#878787" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#1d9700" attr: "b" } + empty: "#0064e4" + bool: {|| if $in { "#009a8a" } else { "light_gray" } } + int: "#878787" + filesize: {|e| + if $e == 0b { + "#878787" + } else if $e < 1mb { + "#00ad9c" + } else {{ fg: "#0064e4" }} } -} + duration: "#878787" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d6000c" attr: "b" } + } else if $in < 6hr { + "#d6000c" + } else if $in < 1day { + "#c49700" + } else if $in < 3day { + "#1d9700" + } else if $in < 1wk { + { fg: "#1d9700" attr: "b" } + } else if $in < 6wk { + "#00ad9c" + } else if $in < 52wk { + "#0064e4" + } else { "dark_gray" } + } + range: "#878787" + float: "#878787" + string: "#878787" + nothing: "#878787" + binary: "#878787" + cellpath: "#878787" + row_index: { fg: "#1d9700" attr: "b" } + record: "#878787" + list: "#878787" + block: "#878787" + hints: "dark_gray" + + shape_and: { fg: "#dd0f9d" attr: "b" } + shape_binary: { fg: "#dd0f9d" attr: "b" } + shape_block: { fg: "#0064e4" attr: "b" } + shape_bool: "#009a8a" + shape_custom: "#1d9700" + shape_datetime: { fg: "#00ad9c" attr: "b" } + shape_directory: "#00ad9c" + shape_external: "#00ad9c" + shape_externalarg: { fg: "#1d9700" attr: "b" } + shape_filepath: "#00ad9c" + shape_flag: { fg: "#0064e4" attr: "b" } + shape_float: { fg: "#dd0f9d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00ad9c" attr: "b" } + shape_int: { fg: "#dd0f9d" attr: "b" } + shape_internalcall: { fg: "#00ad9c" attr: "b" } + shape_list: { fg: "#00ad9c" attr: "b" } + shape_literal: "#0064e4" + shape_match_pattern: "#1d9700" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#009a8a" + shape_operator: "#c49700" + shape_or: { fg: "#dd0f9d" attr: "b" } + shape_pipe: { fg: "#dd0f9d" attr: "b" } + shape_range: { fg: "#c49700" attr: "b" } + shape_record: { fg: "#00ad9c" attr: "b" } + shape_redirection: { fg: "#dd0f9d" attr: "b" } + shape_signature: { fg: "#1d9700" attr: "b" } + shape_string: "#1d9700" + shape_string_interpolation: { fg: "#00ad9c" attr: "b" } + shape_table: { fg: "#0064e4" attr: "b" } + shape_variable: "#dd0f9d" + + background: "#ffffff" + foreground: "#474747" + cursor: "#474747" +}} \ No newline at end of file diff --git a/themes/themes/seoul256.nu b/themes/themes/seoul256.nu index b2f3a45..7ec5399 100644 --- a/themes/themes/seoul256.nu +++ b/themes/themes/seoul256.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the seoul256 theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#3a3a3a" - # foreground: "#d0d0d0" - # cursor: "#d0d0d0" - - { - # color for nushell primitives - separator: "#e4e4e4" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#87af87" - empty: "#85add4" - bool: "#e4e4e4" - int: "#e4e4e4" - filesize: "#e4e4e4" - duration: "#e4e4e4" - date: "#e4e4e4" - range: "#e4e4e4" - float: "#e4e4e4" - string: "#e4e4e4" - nothing: "#e4e4e4" - binary: "#e4e4e4" - cellpath: "#e4e4e4" - row_index: "#87af87" - record: "#e4e4e4" - list: "#e4e4e4" - block: "#e4e4e4" - hints: "#626262" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ffafaf" - shape_bool: "#87d7d7" - shape_int: "#ffafaf" - shape_float: "#ffafaf" - shape_range: "#ffd787" - shape_internalcall: "#87d7d7" - shape_external: "#87afaf" - shape_externalarg: "#87af87" - shape_literal: "#85add4" - shape_operator: "#d8af5f" - shape_signature: "#87af87" - shape_string: "#5f865f" - shape_string_interpolation: "#87d7d7" - shape_datetime: "#87d7d7" - shape_list: "#87d7d7" - shape_table: "#add4fb" - shape_record: "#87d7d7" - shape_block: "#add4fb" - shape_filepath: "#87afaf" - shape_globpattern: "#87d7d7" - shape_variable: "#d7afaf" - shape_flag: "#add4fb" - shape_custom: "#5f865f" - shape_nothing: "#87d7d7" +export def main [] { return { + separator: "#d0d0d0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#5f865f" attr: "b" } + empty: "#85add4" + bool: {|| if $in { "#87d7d7" } else { "light_gray" } } + int: "#d0d0d0" + filesize: {|e| + if $e == 0b { + "#d0d0d0" + } else if $e < 1mb { + "#87afaf" + } else {{ fg: "#85add4" }} } -} + duration: "#d0d0d0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d68787" attr: "b" } + } else if $in < 6hr { + "#d68787" + } else if $in < 1day { + "#d8af5f" + } else if $in < 3day { + "#5f865f" + } else if $in < 1wk { + { fg: "#5f865f" attr: "b" } + } else if $in < 6wk { + "#87afaf" + } else if $in < 52wk { + "#85add4" + } else { "dark_gray" } + } + range: "#d0d0d0" + float: "#d0d0d0" + string: "#d0d0d0" + nothing: "#d0d0d0" + binary: "#d0d0d0" + cellpath: "#d0d0d0" + row_index: { fg: "#5f865f" attr: "b" } + record: "#d0d0d0" + list: "#d0d0d0" + block: "#d0d0d0" + hints: "dark_gray" + + shape_and: { fg: "#d7afaf" attr: "b" } + shape_binary: { fg: "#d7afaf" attr: "b" } + shape_block: { fg: "#85add4" attr: "b" } + shape_bool: "#87d7d7" + shape_custom: "#5f865f" + shape_datetime: { fg: "#87afaf" attr: "b" } + shape_directory: "#87afaf" + shape_external: "#87afaf" + shape_externalarg: { fg: "#5f865f" attr: "b" } + shape_filepath: "#87afaf" + shape_flag: { fg: "#85add4" attr: "b" } + shape_float: { fg: "#d7afaf" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#87afaf" attr: "b" } + shape_int: { fg: "#d7afaf" attr: "b" } + shape_internalcall: { fg: "#87afaf" attr: "b" } + shape_list: { fg: "#87afaf" attr: "b" } + shape_literal: "#85add4" + shape_match_pattern: "#5f865f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#87d7d7" + shape_operator: "#d8af5f" + shape_or: { fg: "#d7afaf" attr: "b" } + shape_pipe: { fg: "#d7afaf" attr: "b" } + shape_range: { fg: "#d8af5f" attr: "b" } + shape_record: { fg: "#87afaf" attr: "b" } + shape_redirection: { fg: "#d7afaf" attr: "b" } + shape_signature: { fg: "#5f865f" attr: "b" } + shape_string: "#5f865f" + shape_string_interpolation: { fg: "#87afaf" attr: "b" } + shape_table: { fg: "#85add4" attr: "b" } + shape_variable: "#d7afaf" + + background: "#3a3a3a" + foreground: "#d0d0d0" + cursor: "#d0d0d0" +}} \ No newline at end of file diff --git a/themes/themes/seti-ui.nu b/themes/themes/seti-ui.nu index 4b3bd3c..fbfc475 100644 --- a/themes/themes/seti-ui.nu +++ b/themes/themes/seti-ui.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the seti_ui theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#151718" - # foreground: "#d6d6d6" - # cursor: "#d6d6d6" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#9fca56" - empty: "#55b5db" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#9fca56" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#41535B" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a074c4" - shape_bool: "#55dbbe" - shape_int: "#a074c4" - shape_float: "#a074c4" - shape_range: "#e6cd69" - shape_internalcall: "#55dbbe" - shape_external: "#55dbbe" - shape_externalarg: "#9fca56" - shape_literal: "#55b5db" - shape_operator: "#e6cd69" - shape_signature: "#9fca56" - shape_string: "#9fca56" - shape_string_interpolation: "#55dbbe" - shape_datetime: "#55dbbe" - shape_list: "#55dbbe" - shape_table: "#55b5db" - shape_record: "#55dbbe" - shape_block: "#55b5db" - shape_filepath: "#55dbbe" - shape_globpattern: "#55dbbe" - shape_variable: "#a074c4" - shape_flag: "#55b5db" - shape_custom: "#9fca56" - shape_nothing: "#55dbbe" +export def main [] { return { + separator: "#d6d6d6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#9fca56" attr: "b" } + empty: "#55b5db" + bool: {|| if $in { "#55dbbe" } else { "light_gray" } } + int: "#d6d6d6" + filesize: {|e| + if $e == 0b { + "#d6d6d6" + } else if $e < 1mb { + "#55dbbe" + } else {{ fg: "#55b5db" }} } -} + duration: "#d6d6d6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#Cd3f45" attr: "b" } + } else if $in < 6hr { + "#Cd3f45" + } else if $in < 1day { + "#e6cd69" + } else if $in < 3day { + "#9fca56" + } else if $in < 1wk { + { fg: "#9fca56" attr: "b" } + } else if $in < 6wk { + "#55dbbe" + } else if $in < 52wk { + "#55b5db" + } else { "dark_gray" } + } + range: "#d6d6d6" + float: "#d6d6d6" + string: "#d6d6d6" + nothing: "#d6d6d6" + binary: "#d6d6d6" + cellpath: "#d6d6d6" + row_index: { fg: "#9fca56" attr: "b" } + record: "#d6d6d6" + list: "#d6d6d6" + block: "#d6d6d6" + hints: "dark_gray" + + shape_and: { fg: "#a074c4" attr: "b" } + shape_binary: { fg: "#a074c4" attr: "b" } + shape_block: { fg: "#55b5db" attr: "b" } + shape_bool: "#55dbbe" + shape_custom: "#9fca56" + shape_datetime: { fg: "#55dbbe" attr: "b" } + shape_directory: "#55dbbe" + shape_external: "#55dbbe" + shape_externalarg: { fg: "#9fca56" attr: "b" } + shape_filepath: "#55dbbe" + shape_flag: { fg: "#55b5db" attr: "b" } + shape_float: { fg: "#a074c4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#55dbbe" attr: "b" } + shape_int: { fg: "#a074c4" attr: "b" } + shape_internalcall: { fg: "#55dbbe" attr: "b" } + shape_list: { fg: "#55dbbe" attr: "b" } + shape_literal: "#55b5db" + shape_match_pattern: "#9fca56" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#55dbbe" + shape_operator: "#e6cd69" + shape_or: { fg: "#a074c4" attr: "b" } + shape_pipe: { fg: "#a074c4" attr: "b" } + shape_range: { fg: "#e6cd69" attr: "b" } + shape_record: { fg: "#55dbbe" attr: "b" } + shape_redirection: { fg: "#a074c4" attr: "b" } + shape_signature: { fg: "#9fca56" attr: "b" } + shape_string: "#9fca56" + shape_string_interpolation: { fg: "#55dbbe" attr: "b" } + shape_table: { fg: "#55b5db" attr: "b" } + shape_variable: "#a074c4" + + background: "#151718" + foreground: "#d6d6d6" + cursor: "#d6d6d6" +}} \ No newline at end of file diff --git a/themes/themes/seti.nu b/themes/themes/seti.nu index 66c6164..a6a220c 100644 --- a/themes/themes/seti.nu +++ b/themes/themes/seti.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the seti theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#151718" - # foreground: "#d6d6d6" - # cursor: "#d6d6d6" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#9fca56" - empty: "#55b5db" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#9fca56" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#41535b" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a074c4" - shape_bool: "#55dbbe" - shape_int: "#a074c4" - shape_float: "#a074c4" - shape_range: "#e6cd69" - shape_internalcall: "#55dbbe" - shape_external: "#55dbbe" - shape_externalarg: "#9fca56" - shape_literal: "#55b5db" - shape_operator: "#e6cd69" - shape_signature: "#9fca56" - shape_string: "#9fca56" - shape_string_interpolation: "#55dbbe" - shape_datetime: "#55dbbe" - shape_list: "#55dbbe" - shape_table: "#55b5db" - shape_record: "#55dbbe" - shape_block: "#55b5db" - shape_filepath: "#55dbbe" - shape_globpattern: "#55dbbe" - shape_variable: "#a074c4" - shape_flag: "#55b5db" - shape_custom: "#9fca56" - shape_nothing: "#55dbbe" +export def main [] { return { + separator: "#d6d6d6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#9fca56" attr: "b" } + empty: "#55b5db" + bool: {|| if $in { "#55dbbe" } else { "light_gray" } } + int: "#d6d6d6" + filesize: {|e| + if $e == 0b { + "#d6d6d6" + } else if $e < 1mb { + "#55dbbe" + } else {{ fg: "#55b5db" }} } -} + duration: "#d6d6d6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cd3f45" attr: "b" } + } else if $in < 6hr { + "#cd3f45" + } else if $in < 1day { + "#e6cd69" + } else if $in < 3day { + "#9fca56" + } else if $in < 1wk { + { fg: "#9fca56" attr: "b" } + } else if $in < 6wk { + "#55dbbe" + } else if $in < 52wk { + "#55b5db" + } else { "dark_gray" } + } + range: "#d6d6d6" + float: "#d6d6d6" + string: "#d6d6d6" + nothing: "#d6d6d6" + binary: "#d6d6d6" + cellpath: "#d6d6d6" + row_index: { fg: "#9fca56" attr: "b" } + record: "#d6d6d6" + list: "#d6d6d6" + block: "#d6d6d6" + hints: "dark_gray" + + shape_and: { fg: "#a074c4" attr: "b" } + shape_binary: { fg: "#a074c4" attr: "b" } + shape_block: { fg: "#55b5db" attr: "b" } + shape_bool: "#55dbbe" + shape_custom: "#9fca56" + shape_datetime: { fg: "#55dbbe" attr: "b" } + shape_directory: "#55dbbe" + shape_external: "#55dbbe" + shape_externalarg: { fg: "#9fca56" attr: "b" } + shape_filepath: "#55dbbe" + shape_flag: { fg: "#55b5db" attr: "b" } + shape_float: { fg: "#a074c4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#55dbbe" attr: "b" } + shape_int: { fg: "#a074c4" attr: "b" } + shape_internalcall: { fg: "#55dbbe" attr: "b" } + shape_list: { fg: "#55dbbe" attr: "b" } + shape_literal: "#55b5db" + shape_match_pattern: "#9fca56" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#55dbbe" + shape_operator: "#e6cd69" + shape_or: { fg: "#a074c4" attr: "b" } + shape_pipe: { fg: "#a074c4" attr: "b" } + shape_range: { fg: "#e6cd69" attr: "b" } + shape_record: { fg: "#55dbbe" attr: "b" } + shape_redirection: { fg: "#a074c4" attr: "b" } + shape_signature: { fg: "#9fca56" attr: "b" } + shape_string: "#9fca56" + shape_string_interpolation: { fg: "#55dbbe" attr: "b" } + shape_table: { fg: "#55b5db" attr: "b" } + shape_variable: "#a074c4" + + background: "#151718" + foreground: "#d6d6d6" + cursor: "#d6d6d6" +}} \ No newline at end of file diff --git a/themes/themes/shaman.nu b/themes/themes/shaman.nu index a8ecb87..db3c6c3 100644 --- a/themes/themes/shaman.nu +++ b/themes/themes/shaman.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the shaman theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#001015" - # foreground: "#405555" - # cursor: "#405555" - - { - # color for nushell primitives - separator: "#58fbd6" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#2aea5e" - empty: "#449a86" - bool: "#58fbd6" - int: "#58fbd6" - filesize: "#58fbd6" - duration: "#58fbd6" - date: "#58fbd6" - range: "#58fbd6" - float: "#58fbd6" - string: "#58fbd6" - nothing: "#58fbd6" - binary: "#58fbd6" - cellpath: "#58fbd6" - row_index: "#2aea5e" - record: "#58fbd6" - list: "#58fbd6" - block: "#58fbd6" - hints: "#384451" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#1298ff" - shape_bool: "#98d028" - shape_int: "#1298ff" - shape_float: "#1298ff" - shape_range: "#8ed4fd" - shape_internalcall: "#98d028" - shape_external: "#5d7e19" - shape_externalarg: "#2aea5e" - shape_literal: "#449a86" - shape_operator: "#5e8baa" - shape_signature: "#2aea5e" - shape_string: "#00a941" - shape_string_interpolation: "#98d028" - shape_datetime: "#98d028" - shape_list: "#98d028" - shape_table: "#61d5ba" - shape_record: "#98d028" - shape_block: "#61d5ba" - shape_filepath: "#5d7e19" - shape_globpattern: "#98d028" - shape_variable: "#00599d" - shape_flag: "#61d5ba" - shape_custom: "#00a941" - shape_nothing: "#98d028" +export def main [] { return { + separator: "#405555" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00a941" attr: "b" } + empty: "#449a86" + bool: {|| if $in { "#98d028" } else { "light_gray" } } + int: "#405555" + filesize: {|e| + if $e == 0b { + "#405555" + } else if $e < 1mb { + "#5d7e19" + } else {{ fg: "#449a86" }} } -} + duration: "#405555" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b2302d" attr: "b" } + } else if $in < 6hr { + "#b2302d" + } else if $in < 1day { + "#5e8baa" + } else if $in < 3day { + "#00a941" + } else if $in < 1wk { + { fg: "#00a941" attr: "b" } + } else if $in < 6wk { + "#5d7e19" + } else if $in < 52wk { + "#449a86" + } else { "dark_gray" } + } + range: "#405555" + float: "#405555" + string: "#405555" + nothing: "#405555" + binary: "#405555" + cellpath: "#405555" + row_index: { fg: "#00a941" attr: "b" } + record: "#405555" + list: "#405555" + block: "#405555" + hints: "dark_gray" + + shape_and: { fg: "#00599d" attr: "b" } + shape_binary: { fg: "#00599d" attr: "b" } + shape_block: { fg: "#449a86" attr: "b" } + shape_bool: "#98d028" + shape_custom: "#00a941" + shape_datetime: { fg: "#5d7e19" attr: "b" } + shape_directory: "#5d7e19" + shape_external: "#5d7e19" + shape_externalarg: { fg: "#00a941" attr: "b" } + shape_filepath: "#5d7e19" + shape_flag: { fg: "#449a86" attr: "b" } + shape_float: { fg: "#00599d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5d7e19" attr: "b" } + shape_int: { fg: "#00599d" attr: "b" } + shape_internalcall: { fg: "#5d7e19" attr: "b" } + shape_list: { fg: "#5d7e19" attr: "b" } + shape_literal: "#449a86" + shape_match_pattern: "#00a941" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#98d028" + shape_operator: "#5e8baa" + shape_or: { fg: "#00599d" attr: "b" } + shape_pipe: { fg: "#00599d" attr: "b" } + shape_range: { fg: "#5e8baa" attr: "b" } + shape_record: { fg: "#5d7e19" attr: "b" } + shape_redirection: { fg: "#00599d" attr: "b" } + shape_signature: { fg: "#00a941" attr: "b" } + shape_string: "#00a941" + shape_string_interpolation: { fg: "#5d7e19" attr: "b" } + shape_table: { fg: "#449a86" attr: "b" } + shape_variable: "#00599d" + + background: "#001015" + foreground: "#405555" + cursor: "#405555" +}} \ No newline at end of file diff --git a/themes/themes/shapeshifter.nu b/themes/themes/shapeshifter.nu index 99be986..2310fdc 100644 --- a/themes/themes/shapeshifter.nu +++ b/themes/themes/shapeshifter.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the shapeshifter theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f9f9f9" - # foreground: "#102015" - # cursor: "#102015" - - { - # color for nushell primitives - separator: "#000000" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#0ed839" - empty: "#3b48e3" - bool: "#000000" - int: "#000000" - filesize: "#000000" - duration: "#000000" - date: "#000000" - range: "#000000" - float: "#000000" - string: "#000000" - nothing: "#000000" - binary: "#000000" - cellpath: "#000000" - row_index: "#0ed839" - record: "#000000" - list: "#000000" - block: "#000000" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#f996e2" - shape_bool: "#23edda" - shape_int: "#f996e2" - shape_float: "#f996e2" - shape_range: "#dddd13" - shape_internalcall: "#23edda" - shape_external: "#23edda" - shape_externalarg: "#0ed839" - shape_literal: "#3b48e3" - shape_operator: "#dddd13" - shape_signature: "#0ed839" - shape_string: "#0ed839" - shape_string_interpolation: "#23edda" - shape_datetime: "#23edda" - shape_list: "#23edda" - shape_table: "#3b48e3" - shape_record: "#23edda" - shape_block: "#3b48e3" - shape_filepath: "#23edda" - shape_globpattern: "#23edda" - shape_variable: "#f996e2" - shape_flag: "#3b48e3" - shape_custom: "#0ed839" - shape_nothing: "#23edda" +export def main [] { return { + separator: "#102015" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#0ed839" attr: "b" } + empty: "#3b48e3" + bool: {|| if $in { "#23edda" } else { "light_gray" } } + int: "#102015" + filesize: {|e| + if $e == 0b { + "#102015" + } else if $e < 1mb { + "#23edda" + } else {{ fg: "#3b48e3" }} } -} + duration: "#102015" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e92f2f" attr: "b" } + } else if $in < 6hr { + "#e92f2f" + } else if $in < 1day { + "#dddd13" + } else if $in < 3day { + "#0ed839" + } else if $in < 1wk { + { fg: "#0ed839" attr: "b" } + } else if $in < 6wk { + "#23edda" + } else if $in < 52wk { + "#3b48e3" + } else { "dark_gray" } + } + range: "#102015" + float: "#102015" + string: "#102015" + nothing: "#102015" + binary: "#102015" + cellpath: "#102015" + row_index: { fg: "#0ed839" attr: "b" } + record: "#102015" + list: "#102015" + block: "#102015" + hints: "dark_gray" + + shape_and: { fg: "#f996e2" attr: "b" } + shape_binary: { fg: "#f996e2" attr: "b" } + shape_block: { fg: "#3b48e3" attr: "b" } + shape_bool: "#23edda" + shape_custom: "#0ed839" + shape_datetime: { fg: "#23edda" attr: "b" } + shape_directory: "#23edda" + shape_external: "#23edda" + shape_externalarg: { fg: "#0ed839" attr: "b" } + shape_filepath: "#23edda" + shape_flag: { fg: "#3b48e3" attr: "b" } + shape_float: { fg: "#f996e2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#23edda" attr: "b" } + shape_int: { fg: "#f996e2" attr: "b" } + shape_internalcall: { fg: "#23edda" attr: "b" } + shape_list: { fg: "#23edda" attr: "b" } + shape_literal: "#3b48e3" + shape_match_pattern: "#0ed839" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#23edda" + shape_operator: "#dddd13" + shape_or: { fg: "#f996e2" attr: "b" } + shape_pipe: { fg: "#f996e2" attr: "b" } + shape_range: { fg: "#dddd13" attr: "b" } + shape_record: { fg: "#23edda" attr: "b" } + shape_redirection: { fg: "#f996e2" attr: "b" } + shape_signature: { fg: "#0ed839" attr: "b" } + shape_string: "#0ed839" + shape_string_interpolation: { fg: "#23edda" attr: "b" } + shape_table: { fg: "#3b48e3" attr: "b" } + shape_variable: "#f996e2" + + background: "#f9f9f9" + foreground: "#102015" + cursor: "#102015" +}} \ No newline at end of file diff --git a/themes/themes/shel.nu b/themes/themes/shel.nu index e48824e..8f6b9ab 100644 --- a/themes/themes/shel.nu +++ b/themes/themes/shel.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the shel theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2a201f" - # foreground: "#4882cd" - # cursor: "#4882cd" - - { - # color for nushell primitives - separator: "#f5eeec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#c2ee86" - empty: "#2c64a2" - bool: "#f5eeec" - int: "#f5eeec" - filesize: "#f5eeec" - duration: "#f5eeec" - date: "#f5eeec" - range: "#f5eeec" - float: "#f5eeec" - string: "#f5eeec" - nothing: "#f5eeec" - binary: "#f5eeec" - cellpath: "#f5eeec" - row_index: "#c2ee86" - record: "#f5eeec" - list: "#f5eeec" - block: "#f5eeec" - hints: "#918988" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c288ec" - shape_bool: "#8feeb9" - shape_int: "#c288ec" - shape_float: "#c288ec" - shape_range: "#f5ba86" - shape_internalcall: "#8feeb9" - shape_external: "#2ca363" - shape_externalarg: "#c2ee86" - shape_literal: "#2c64a2" - shape_operator: "#ab6423" - shape_signature: "#c2ee86" - shape_string: "#6ca323" - shape_string_interpolation: "#8feeb9" - shape_datetime: "#8feeb9" - shape_list: "#8feeb9" - shape_table: "#8fbaec" - shape_record: "#8feeb9" - shape_block: "#8fbaec" - shape_filepath: "#2ca363" - shape_globpattern: "#8feeb9" - shape_variable: "#6c24a2" - shape_flag: "#8fbaec" - shape_custom: "#6ca323" - shape_nothing: "#8feeb9" +export def main [] { return { + separator: "#918988" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6ca323" attr: "b" } + empty: "#2c64a2" + bool: {|| if $in { "#8feeb9" } else { "light_gray" } } + int: "#918988" + filesize: {|e| + if $e == 0b { + "#918988" + } else if $e < 1mb { + "#2ca363" + } else {{ fg: "#2c64a2" }} } -} + duration: "#918988" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ab2463" attr: "b" } + } else if $in < 6hr { + "#ab2463" + } else if $in < 1day { + "#ab6423" + } else if $in < 3day { + "#6ca323" + } else if $in < 1wk { + { fg: "#6ca323" attr: "b" } + } else if $in < 6wk { + "#2ca363" + } else if $in < 52wk { + "#2c64a2" + } else { "dark_gray" } + } + range: "#918988" + float: "#918988" + string: "#918988" + nothing: "#918988" + binary: "#918988" + cellpath: "#918988" + row_index: { fg: "#6ca323" attr: "b" } + record: "#918988" + list: "#918988" + block: "#918988" + hints: "dark_gray" + + shape_and: { fg: "#6c24a2" attr: "b" } + shape_binary: { fg: "#6c24a2" attr: "b" } + shape_block: { fg: "#2c64a2" attr: "b" } + shape_bool: "#8feeb9" + shape_custom: "#6ca323" + shape_datetime: { fg: "#2ca363" attr: "b" } + shape_directory: "#2ca363" + shape_external: "#2ca363" + shape_externalarg: { fg: "#6ca323" attr: "b" } + shape_filepath: "#2ca363" + shape_flag: { fg: "#2c64a2" attr: "b" } + shape_float: { fg: "#6c24a2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2ca363" attr: "b" } + shape_int: { fg: "#6c24a2" attr: "b" } + shape_internalcall: { fg: "#2ca363" attr: "b" } + shape_list: { fg: "#2ca363" attr: "b" } + shape_literal: "#2c64a2" + shape_match_pattern: "#6ca323" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8feeb9" + shape_operator: "#ab6423" + shape_or: { fg: "#6c24a2" attr: "b" } + shape_pipe: { fg: "#6c24a2" attr: "b" } + shape_range: { fg: "#ab6423" attr: "b" } + shape_record: { fg: "#2ca363" attr: "b" } + shape_redirection: { fg: "#6c24a2" attr: "b" } + shape_signature: { fg: "#6ca323" attr: "b" } + shape_string: "#6ca323" + shape_string_interpolation: { fg: "#2ca363" attr: "b" } + shape_table: { fg: "#2c64a2" attr: "b" } + shape_variable: "#6c24a2" + + background: "#2a201f" + foreground: "#4882cd" + cursor: "#4882cd" +}} \ No newline at end of file diff --git a/themes/themes/sierra.nu b/themes/themes/sierra.nu index 04093c0..abe3313 100644 --- a/themes/themes/sierra.nu +++ b/themes/themes/sierra.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the sierra theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1c1a14" - # foreground: "#cacbb9" - # cursor: "#cacbb9" - - { - # color for nushell primitives - separator: "#c9cbac" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#676938" - empty: "#989876" - bool: "#c9cbac" - int: "#c9cbac" - filesize: "#c9cbac" - duration: "#c9cbac" - date: "#c9cbac" - range: "#c9cbac" - float: "#c9cbac" - string: "#c9cbac" - nothing: "#c9cbac" - binary: "#c9cbac" - cellpath: "#c9cbac" - row_index: "#676938" - record: "#c9cbac" - list: "#c9cbac" - block: "#c9cbac" - hints: "#a85e5d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#897645" - shape_bool: "#a17140" - shape_int: "#897645" - shape_float: "#897645" - shape_range: "#7f7f41" - shape_internalcall: "#a17140" - shape_external: "#a18e60" - shape_externalarg: "#676938" - shape_literal: "#989876" - shape_operator: "#7f7f60" - shape_signature: "#676938" - shape_string: "#68694f" - shape_string_interpolation: "#a17140" - shape_datetime: "#a17140" - shape_list: "#a17140" - shape_table: "#98984e" - shape_record: "#a17140" - shape_block: "#98984e" - shape_filepath: "#a18e60" - shape_globpattern: "#a17140" - shape_variable: "#897c5b" - shape_flag: "#98984e" - shape_custom: "#68694f" - shape_nothing: "#a17140" +export def main [] { return { + separator: "#bb7774" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#68694f" attr: "b" } + empty: "#989876" + bool: {|| if $in { "#a17140" } else { "light_gray" } } + int: "#bb7774" + filesize: {|e| + if $e == 0b { + "#bb7774" + } else if $e < 1mb { + "#a18e60" + } else {{ fg: "#989876" }} } -} + duration: "#bb7774" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#515a45" attr: "b" } + } else if $in < 6hr { + "#515a45" + } else if $in < 1day { + "#7f7f60" + } else if $in < 3day { + "#68694f" + } else if $in < 1wk { + { fg: "#68694f" attr: "b" } + } else if $in < 6wk { + "#a18e60" + } else if $in < 52wk { + "#989876" + } else { "dark_gray" } + } + range: "#bb7774" + float: "#bb7774" + string: "#bb7774" + nothing: "#bb7774" + binary: "#bb7774" + cellpath: "#bb7774" + row_index: { fg: "#68694f" attr: "b" } + record: "#bb7774" + list: "#bb7774" + block: "#bb7774" + hints: "dark_gray" + + shape_and: { fg: "#897c5b" attr: "b" } + shape_binary: { fg: "#897c5b" attr: "b" } + shape_block: { fg: "#989876" attr: "b" } + shape_bool: "#a17140" + shape_custom: "#68694f" + shape_datetime: { fg: "#a18e60" attr: "b" } + shape_directory: "#a18e60" + shape_external: "#a18e60" + shape_externalarg: { fg: "#68694f" attr: "b" } + shape_filepath: "#a18e60" + shape_flag: { fg: "#989876" attr: "b" } + shape_float: { fg: "#897c5b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#a18e60" attr: "b" } + shape_int: { fg: "#897c5b" attr: "b" } + shape_internalcall: { fg: "#a18e60" attr: "b" } + shape_list: { fg: "#a18e60" attr: "b" } + shape_literal: "#989876" + shape_match_pattern: "#68694f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#a17140" + shape_operator: "#7f7f60" + shape_or: { fg: "#897c5b" attr: "b" } + shape_pipe: { fg: "#897c5b" attr: "b" } + shape_range: { fg: "#7f7f60" attr: "b" } + shape_record: { fg: "#a18e60" attr: "b" } + shape_redirection: { fg: "#897c5b" attr: "b" } + shape_signature: { fg: "#68694f" attr: "b" } + shape_string: "#68694f" + shape_string_interpolation: { fg: "#a18e60" attr: "b" } + shape_table: { fg: "#989876" attr: "b" } + shape_variable: "#897c5b" + + background: "#1c1a14" + foreground: "#cacbb9" + cursor: "#cacbb9" +}} \ No newline at end of file diff --git a/themes/themes/silk-dark.nu b/themes/themes/silk-dark.nu index f4eb762..3ba04c4 100644 --- a/themes/themes/silk-dark.nu +++ b/themes/themes/silk-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the silk_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0e3c46" - # foreground: "#c7dbdd" - # cursor: "#c7dbdd" - - { - # color for nushell primitives - separator: "#d2faff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#73d8ad" - empty: "#46bddd" - bool: "#d2faff" - int: "#d2faff" - filesize: "#d2faff" - duration: "#d2faff" - date: "#d2faff" - range: "#d2faff" - float: "#d2faff" - string: "#d2faff" - nothing: "#d2faff" - binary: "#d2faff" - cellpath: "#d2faff" - row_index: "#73d8ad" - record: "#d2faff" - list: "#d2faff" - block: "#d2faff" - hints: "#587073" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#756b8a" - shape_bool: "#3fb2b9" - shape_int: "#756b8a" - shape_float: "#756b8a" - shape_range: "#fce380" - shape_internalcall: "#3fb2b9" - shape_external: "#3fb2b9" - shape_externalarg: "#73d8ad" - shape_literal: "#46bddd" - shape_operator: "#fce380" - shape_signature: "#73d8ad" - shape_string: "#73d8ad" - shape_string_interpolation: "#3fb2b9" - shape_datetime: "#3fb2b9" - shape_list: "#3fb2b9" - shape_table: "#46bddd" - shape_record: "#3fb2b9" - shape_block: "#46bddd" - shape_filepath: "#3fb2b9" - shape_globpattern: "#3fb2b9" - shape_variable: "#756b8a" - shape_flag: "#46bddd" - shape_custom: "#73d8ad" - shape_nothing: "#3fb2b9" +export def main [] { return { + separator: "#c7dbdd" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#73d8ad" attr: "b" } + empty: "#46bddd" + bool: {|| if $in { "#3fb2b9" } else { "light_gray" } } + int: "#c7dbdd" + filesize: {|e| + if $e == 0b { + "#c7dbdd" + } else if $e < 1mb { + "#3fb2b9" + } else {{ fg: "#46bddd" }} } -} + duration: "#c7dbdd" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb6953" attr: "b" } + } else if $in < 6hr { + "#fb6953" + } else if $in < 1day { + "#fce380" + } else if $in < 3day { + "#73d8ad" + } else if $in < 1wk { + { fg: "#73d8ad" attr: "b" } + } else if $in < 6wk { + "#3fb2b9" + } else if $in < 52wk { + "#46bddd" + } else { "dark_gray" } + } + range: "#c7dbdd" + float: "#c7dbdd" + string: "#c7dbdd" + nothing: "#c7dbdd" + binary: "#c7dbdd" + cellpath: "#c7dbdd" + row_index: { fg: "#73d8ad" attr: "b" } + record: "#c7dbdd" + list: "#c7dbdd" + block: "#c7dbdd" + hints: "dark_gray" + + shape_and: { fg: "#756b8a" attr: "b" } + shape_binary: { fg: "#756b8a" attr: "b" } + shape_block: { fg: "#46bddd" attr: "b" } + shape_bool: "#3fb2b9" + shape_custom: "#73d8ad" + shape_datetime: { fg: "#3fb2b9" attr: "b" } + shape_directory: "#3fb2b9" + shape_external: "#3fb2b9" + shape_externalarg: { fg: "#73d8ad" attr: "b" } + shape_filepath: "#3fb2b9" + shape_flag: { fg: "#46bddd" attr: "b" } + shape_float: { fg: "#756b8a" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3fb2b9" attr: "b" } + shape_int: { fg: "#756b8a" attr: "b" } + shape_internalcall: { fg: "#3fb2b9" attr: "b" } + shape_list: { fg: "#3fb2b9" attr: "b" } + shape_literal: "#46bddd" + shape_match_pattern: "#73d8ad" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3fb2b9" + shape_operator: "#fce380" + shape_or: { fg: "#756b8a" attr: "b" } + shape_pipe: { fg: "#756b8a" attr: "b" } + shape_range: { fg: "#fce380" attr: "b" } + shape_record: { fg: "#3fb2b9" attr: "b" } + shape_redirection: { fg: "#756b8a" attr: "b" } + shape_signature: { fg: "#73d8ad" attr: "b" } + shape_string: "#73d8ad" + shape_string_interpolation: { fg: "#3fb2b9" attr: "b" } + shape_table: { fg: "#46bddd" attr: "b" } + shape_variable: "#756b8a" + + background: "#0e3c46" + foreground: "#c7dbdd" + cursor: "#c7dbdd" +}} \ No newline at end of file diff --git a/themes/themes/silk-light.nu b/themes/themes/silk-light.nu index 7a758bf..6fca130 100644 --- a/themes/themes/silk-light.nu +++ b/themes/themes/silk-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the silk_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#e9f1ef" - # foreground: "#385156" - # cursor: "#385156" - - { - # color for nushell primitives - separator: "#d2faff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#6ca38c" - empty: "#39aac9" - bool: "#d2faff" - int: "#d2faff" - filesize: "#d2faff" - duration: "#d2faff" - date: "#d2faff" - range: "#d2faff" - float: "#d2faff" - string: "#d2faff" - nothing: "#d2faff" - binary: "#d2faff" - cellpath: "#d2faff" - row_index: "#6ca38c" - record: "#d2faff" - list: "#d2faff" - block: "#d2faff" - hints: "#5c787b" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6e6582" - shape_bool: "#329ca2" - shape_int: "#6e6582" - shape_float: "#6e6582" - shape_range: "#cfad25" - shape_internalcall: "#329ca2" - shape_external: "#329ca2" - shape_externalarg: "#6ca38c" - shape_literal: "#39aac9" - shape_operator: "#cfad25" - shape_signature: "#6ca38c" - shape_string: "#6ca38c" - shape_string_interpolation: "#329ca2" - shape_datetime: "#329ca2" - shape_list: "#329ca2" - shape_table: "#39aac9" - shape_record: "#329ca2" - shape_block: "#39aac9" - shape_filepath: "#329ca2" - shape_globpattern: "#329ca2" - shape_variable: "#6e6582" - shape_flag: "#39aac9" - shape_custom: "#6ca38c" - shape_nothing: "#329ca2" +export def main [] { return { + separator: "#385156" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6ca38c" attr: "b" } + empty: "#39aac9" + bool: {|| if $in { "#329ca2" } else { "light_gray" } } + int: "#385156" + filesize: {|e| + if $e == 0b { + "#385156" + } else if $e < 1mb { + "#329ca2" + } else {{ fg: "#39aac9" }} } -} + duration: "#385156" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cf432e" attr: "b" } + } else if $in < 6hr { + "#cf432e" + } else if $in < 1day { + "#cfad25" + } else if $in < 3day { + "#6ca38c" + } else if $in < 1wk { + { fg: "#6ca38c" attr: "b" } + } else if $in < 6wk { + "#329ca2" + } else if $in < 52wk { + "#39aac9" + } else { "dark_gray" } + } + range: "#385156" + float: "#385156" + string: "#385156" + nothing: "#385156" + binary: "#385156" + cellpath: "#385156" + row_index: { fg: "#6ca38c" attr: "b" } + record: "#385156" + list: "#385156" + block: "#385156" + hints: "dark_gray" + + shape_and: { fg: "#6e6582" attr: "b" } + shape_binary: { fg: "#6e6582" attr: "b" } + shape_block: { fg: "#39aac9" attr: "b" } + shape_bool: "#329ca2" + shape_custom: "#6ca38c" + shape_datetime: { fg: "#329ca2" attr: "b" } + shape_directory: "#329ca2" + shape_external: "#329ca2" + shape_externalarg: { fg: "#6ca38c" attr: "b" } + shape_filepath: "#329ca2" + shape_flag: { fg: "#39aac9" attr: "b" } + shape_float: { fg: "#6e6582" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#329ca2" attr: "b" } + shape_int: { fg: "#6e6582" attr: "b" } + shape_internalcall: { fg: "#329ca2" attr: "b" } + shape_list: { fg: "#329ca2" attr: "b" } + shape_literal: "#39aac9" + shape_match_pattern: "#6ca38c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#329ca2" + shape_operator: "#cfad25" + shape_or: { fg: "#6e6582" attr: "b" } + shape_pipe: { fg: "#6e6582" attr: "b" } + shape_range: { fg: "#cfad25" attr: "b" } + shape_record: { fg: "#329ca2" attr: "b" } + shape_redirection: { fg: "#6e6582" attr: "b" } + shape_signature: { fg: "#6ca38c" attr: "b" } + shape_string: "#6ca38c" + shape_string_interpolation: { fg: "#329ca2" attr: "b" } + shape_table: { fg: "#39aac9" attr: "b" } + shape_variable: "#6e6582" + + background: "#e9f1ef" + foreground: "#385156" + cursor: "#385156" +}} \ No newline at end of file diff --git a/themes/themes/slate.nu b/themes/themes/slate.nu index f54edf1..5fb491c 100644 --- a/themes/themes/slate.nu +++ b/themes/themes/slate.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the slate theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222222" - # foreground: "#35b1d2" - # cursor: "#35b1d2" - - { - # color for nushell primitives - separator: "#e0e0e0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#beffa8" - empty: "#264b49" - bool: "#e0e0e0" - int: "#e0e0e0" - filesize: "#e0e0e0" - duration: "#e0e0e0" - date: "#e0e0e0" - range: "#e0e0e0" - float: "#e0e0e0" - string: "#e0e0e0" - nothing: "#e0e0e0" - binary: "#e0e0e0" - cellpath: "#e0e0e0" - row_index: "#beffa8" - record: "#e0e0e0" - list: "#e0e0e0" - block: "#e0e0e0" - hints: "#ffffff" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c5a7d9" - shape_bool: "#8cdfe0" - shape_int: "#c5a7d9" - shape_float: "#c5a7d9" - shape_range: "#d0ccca" - shape_internalcall: "#8cdfe0" - shape_external: "#15ab9c" - shape_externalarg: "#beffa8" - shape_literal: "#264b49" - shape_operator: "#c4c9c0" - shape_signature: "#beffa8" - shape_string: "#81d778" - shape_string_interpolation: "#8cdfe0" - shape_datetime: "#8cdfe0" - shape_list: "#8cdfe0" - shape_table: "#7ab0d2" - shape_record: "#8cdfe0" - shape_block: "#7ab0d2" - shape_filepath: "#15ab9c" - shape_globpattern: "#8cdfe0" - shape_variable: "#a481d3" - shape_flag: "#7ab0d2" - shape_custom: "#81d778" - shape_nothing: "#8cdfe0" +export def main [] { return { + separator: "#02c5e0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#81d778" attr: "b" } + empty: "#264b49" + bool: {|| if $in { "#8cdfe0" } else { "light_gray" } } + int: "#02c5e0" + filesize: {|e| + if $e == 0b { + "#02c5e0" + } else if $e < 1mb { + "#15ab9c" + } else {{ fg: "#264b49" }} } -} + duration: "#02c5e0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e2a8bf" attr: "b" } + } else if $in < 6hr { + "#e2a8bf" + } else if $in < 1day { + "#c4c9c0" + } else if $in < 3day { + "#81d778" + } else if $in < 1wk { + { fg: "#81d778" attr: "b" } + } else if $in < 6wk { + "#15ab9c" + } else if $in < 52wk { + "#264b49" + } else { "dark_gray" } + } + range: "#02c5e0" + float: "#02c5e0" + string: "#02c5e0" + nothing: "#02c5e0" + binary: "#02c5e0" + cellpath: "#02c5e0" + row_index: { fg: "#81d778" attr: "b" } + record: "#02c5e0" + list: "#02c5e0" + block: "#02c5e0" + hints: "dark_gray" + + shape_and: { fg: "#a481d3" attr: "b" } + shape_binary: { fg: "#a481d3" attr: "b" } + shape_block: { fg: "#264b49" attr: "b" } + shape_bool: "#8cdfe0" + shape_custom: "#81d778" + shape_datetime: { fg: "#15ab9c" attr: "b" } + shape_directory: "#15ab9c" + shape_external: "#15ab9c" + shape_externalarg: { fg: "#81d778" attr: "b" } + shape_filepath: "#15ab9c" + shape_flag: { fg: "#264b49" attr: "b" } + shape_float: { fg: "#a481d3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#15ab9c" attr: "b" } + shape_int: { fg: "#a481d3" attr: "b" } + shape_internalcall: { fg: "#15ab9c" attr: "b" } + shape_list: { fg: "#15ab9c" attr: "b" } + shape_literal: "#264b49" + shape_match_pattern: "#81d778" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8cdfe0" + shape_operator: "#c4c9c0" + shape_or: { fg: "#a481d3" attr: "b" } + shape_pipe: { fg: "#a481d3" attr: "b" } + shape_range: { fg: "#c4c9c0" attr: "b" } + shape_record: { fg: "#15ab9c" attr: "b" } + shape_redirection: { fg: "#a481d3" attr: "b" } + shape_signature: { fg: "#81d778" attr: "b" } + shape_string: "#81d778" + shape_string_interpolation: { fg: "#15ab9c" attr: "b" } + shape_table: { fg: "#264b49" attr: "b" } + shape_variable: "#a481d3" + + background: "#222222" + foreground: "#35b1d2" + cursor: "#35b1d2" +}} \ No newline at end of file diff --git a/themes/themes/smyck.nu b/themes/themes/smyck.nu index e5a5904..bd8ac9b 100644 --- a/themes/themes/smyck.nu +++ b/themes/themes/smyck.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the smyck theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#242424" - # foreground: "#f7f7f7" - # cursor: "#f7f7f7" - - { - # color for nushell primitives - separator: "#f7f7f7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#cdee69" - empty: "#72b3cc" - bool: "#f7f7f7" - int: "#f7f7f7" - filesize: "#f7f7f7" - duration: "#f7f7f7" - date: "#f7f7f7" - range: "#f7f7f7" - float: "#f7f7f7" - string: "#f7f7f7" - nothing: "#f7f7f7" - binary: "#f7f7f7" - cellpath: "#f7f7f7" - row_index: "#cdee69" - record: "#f7f7f7" - list: "#f7f7f7" - block: "#f7f7f7" - hints: "#5d5d5d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fbb1f9" - shape_bool: "#77dfd8" - shape_int: "#fbb1f9" - shape_float: "#fbb1f9" - shape_range: "#ffe377" - shape_internalcall: "#77dfd8" - shape_external: "#218693" - shape_externalarg: "#cdee69" - shape_literal: "#72b3cc" - shape_operator: "#d0b03c" - shape_signature: "#cdee69" - shape_string: "#8eb33b" - shape_string_interpolation: "#77dfd8" - shape_datetime: "#77dfd8" - shape_list: "#77dfd8" - shape_table: "#9cd9f0" - shape_record: "#77dfd8" - shape_block: "#9cd9f0" - shape_filepath: "#218693" - shape_globpattern: "#77dfd8" - shape_variable: "#c8a0d1" - shape_flag: "#9cd9f0" - shape_custom: "#8eb33b" - shape_nothing: "#77dfd8" +export def main [] { return { + separator: "#b0b0b0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8eb33b" attr: "b" } + empty: "#72b3cc" + bool: {|| if $in { "#77dfd8" } else { "light_gray" } } + int: "#b0b0b0" + filesize: {|e| + if $e == 0b { + "#b0b0b0" + } else if $e < 1mb { + "#218693" + } else {{ fg: "#72b3cc" }} } -} + duration: "#b0b0b0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c75646" attr: "b" } + } else if $in < 6hr { + "#c75646" + } else if $in < 1day { + "#d0b03c" + } else if $in < 3day { + "#8eb33b" + } else if $in < 1wk { + { fg: "#8eb33b" attr: "b" } + } else if $in < 6wk { + "#218693" + } else if $in < 52wk { + "#72b3cc" + } else { "dark_gray" } + } + range: "#b0b0b0" + float: "#b0b0b0" + string: "#b0b0b0" + nothing: "#b0b0b0" + binary: "#b0b0b0" + cellpath: "#b0b0b0" + row_index: { fg: "#8eb33b" attr: "b" } + record: "#b0b0b0" + list: "#b0b0b0" + block: "#b0b0b0" + hints: "dark_gray" + + shape_and: { fg: "#c8a0d1" attr: "b" } + shape_binary: { fg: "#c8a0d1" attr: "b" } + shape_block: { fg: "#72b3cc" attr: "b" } + shape_bool: "#77dfd8" + shape_custom: "#8eb33b" + shape_datetime: { fg: "#218693" attr: "b" } + shape_directory: "#218693" + shape_external: "#218693" + shape_externalarg: { fg: "#8eb33b" attr: "b" } + shape_filepath: "#218693" + shape_flag: { fg: "#72b3cc" attr: "b" } + shape_float: { fg: "#c8a0d1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#218693" attr: "b" } + shape_int: { fg: "#c8a0d1" attr: "b" } + shape_internalcall: { fg: "#218693" attr: "b" } + shape_list: { fg: "#218693" attr: "b" } + shape_literal: "#72b3cc" + shape_match_pattern: "#8eb33b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#77dfd8" + shape_operator: "#d0b03c" + shape_or: { fg: "#c8a0d1" attr: "b" } + shape_pipe: { fg: "#c8a0d1" attr: "b" } + shape_range: { fg: "#d0b03c" attr: "b" } + shape_record: { fg: "#218693" attr: "b" } + shape_redirection: { fg: "#c8a0d1" attr: "b" } + shape_signature: { fg: "#8eb33b" attr: "b" } + shape_string: "#8eb33b" + shape_string_interpolation: { fg: "#218693" attr: "b" } + shape_table: { fg: "#72b3cc" attr: "b" } + shape_variable: "#c8a0d1" + + background: "#242424" + foreground: "#f7f7f7" + cursor: "#f7f7f7" +}} \ No newline at end of file diff --git a/themes/themes/snazzy.nu b/themes/themes/snazzy.nu index 4e490df..e061206 100644 --- a/themes/themes/snazzy.nu +++ b/themes/themes/snazzy.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the snazzy theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282a36" - # foreground: "#e2e4e5" - # cursor: "#e2e4e5" - - { - # color for nushell primitives - separator: "#f1f1f0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#5af78e" - empty: "#57c7ff" - bool: "#f1f1f0" - int: "#f1f1f0" - filesize: "#f1f1f0" - duration: "#f1f1f0" - date: "#f1f1f0" - range: "#f1f1f0" - float: "#f1f1f0" - string: "#f1f1f0" - nothing: "#f1f1f0" - binary: "#f1f1f0" - cellpath: "#f1f1f0" - row_index: "#5af78e" - record: "#f1f1f0" - list: "#f1f1f0" - block: "#f1f1f0" - hints: "#78787e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff6ac1" - shape_bool: "#9aedfe" - shape_int: "#ff6ac1" - shape_float: "#ff6ac1" - shape_range: "#f3f99d" - shape_internalcall: "#9aedfe" - shape_external: "#9aedfe" - shape_externalarg: "#5af78e" - shape_literal: "#57c7ff" - shape_operator: "#f3f99d" - shape_signature: "#5af78e" - shape_string: "#5af78e" - shape_string_interpolation: "#9aedfe" - shape_datetime: "#9aedfe" - shape_list: "#9aedfe" - shape_table: "#57c7ff" - shape_record: "#9aedfe" - shape_block: "#57c7ff" - shape_filepath: "#9aedfe" - shape_globpattern: "#9aedfe" - shape_variable: "#ff6ac1" - shape_flag: "#57c7ff" - shape_custom: "#5af78e" - shape_nothing: "#9aedfe" +export def main [] { return { + separator: "#e2e4e5" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#5af78e" attr: "b" } + empty: "#57c7ff" + bool: {|| if $in { "#9aedfe" } else { "light_gray" } } + int: "#e2e4e5" + filesize: {|e| + if $e == 0b { + "#e2e4e5" + } else if $e < 1mb { + "#9aedfe" + } else {{ fg: "#57c7ff" }} } -} + duration: "#e2e4e5" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff5c57" attr: "b" } + } else if $in < 6hr { + "#ff5c57" + } else if $in < 1day { + "#f3f99d" + } else if $in < 3day { + "#5af78e" + } else if $in < 1wk { + { fg: "#5af78e" attr: "b" } + } else if $in < 6wk { + "#9aedfe" + } else if $in < 52wk { + "#57c7ff" + } else { "dark_gray" } + } + range: "#e2e4e5" + float: "#e2e4e5" + string: "#e2e4e5" + nothing: "#e2e4e5" + binary: "#e2e4e5" + cellpath: "#e2e4e5" + row_index: { fg: "#5af78e" attr: "b" } + record: "#e2e4e5" + list: "#e2e4e5" + block: "#e2e4e5" + hints: "dark_gray" + + shape_and: { fg: "#ff6ac1" attr: "b" } + shape_binary: { fg: "#ff6ac1" attr: "b" } + shape_block: { fg: "#57c7ff" attr: "b" } + shape_bool: "#9aedfe" + shape_custom: "#5af78e" + shape_datetime: { fg: "#9aedfe" attr: "b" } + shape_directory: "#9aedfe" + shape_external: "#9aedfe" + shape_externalarg: { fg: "#5af78e" attr: "b" } + shape_filepath: "#9aedfe" + shape_flag: { fg: "#57c7ff" attr: "b" } + shape_float: { fg: "#ff6ac1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#9aedfe" attr: "b" } + shape_int: { fg: "#ff6ac1" attr: "b" } + shape_internalcall: { fg: "#9aedfe" attr: "b" } + shape_list: { fg: "#9aedfe" attr: "b" } + shape_literal: "#57c7ff" + shape_match_pattern: "#5af78e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#9aedfe" + shape_operator: "#f3f99d" + shape_or: { fg: "#ff6ac1" attr: "b" } + shape_pipe: { fg: "#ff6ac1" attr: "b" } + shape_range: { fg: "#f3f99d" attr: "b" } + shape_record: { fg: "#9aedfe" attr: "b" } + shape_redirection: { fg: "#ff6ac1" attr: "b" } + shape_signature: { fg: "#5af78e" attr: "b" } + shape_string: "#5af78e" + shape_string_interpolation: { fg: "#9aedfe" attr: "b" } + shape_table: { fg: "#57c7ff" attr: "b" } + shape_variable: "#ff6ac1" + + background: "#282a36" + foreground: "#e2e4e5" + cursor: "#e2e4e5" +}} \ No newline at end of file diff --git a/themes/themes/snow-dark.nu b/themes/themes/snow-dark.nu index 9f2a2d7..64fc4e2 100644 --- a/themes/themes/snow-dark.nu +++ b/themes/themes/snow-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the snow_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2c2d30" - # foreground: "#afb7c0" - # cursor: "#cbd2d9" - - { - # color for nushell primitives - separator: "#cbd2d9" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7f9d77" - empty: "#759abd" - bool: "#cbd2d9" - int: "#cbd2d9" - filesize: "#cbd2d9" - duration: "#cbd2d9" - date: "#cbd2d9" - range: "#cbd2d9" - float: "#cbd2d9" - string: "#cbd2d9" - nothing: "#cbd2d9" - binary: "#cbd2d9" - cellpath: "#cbd2d9" - row_index: "#7f9d77" - record: "#cbd2d9" - list: "#cbd2d9" - block: "#cbd2d9" - hints: "#363a3e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a88cb3" - shape_bool: "#5da19f" - shape_int: "#a88cb3" - shape_float: "#a88cb3" - shape_range: "#ab916d" - shape_internalcall: "#5da19f" - shape_external: "#5da19f" - shape_externalarg: "#7f9d77" - shape_literal: "#759abd" - shape_operator: "#ab916d" - shape_signature: "#7f9d77" - shape_string: "#7f9d77" - shape_string_interpolation: "#5da19f" - shape_datetime: "#5da19f" - shape_list: "#5da19f" - shape_table: "#759abd" - shape_record: "#5da19f" - shape_block: "#759abd" - shape_filepath: "#5da19f" - shape_globpattern: "#5da19f" - shape_variable: "#a88cb3" - shape_flag: "#759abd" - shape_custom: "#7f9d77" - shape_nothing: "#5da19f" +export def main [] { return { + separator: "#afb7c0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7f9d77" attr: "b" } + empty: "#759abd" + bool: {|| if $in { "#5da19f" } else { "light_gray" } } + int: "#afb7c0" + filesize: {|e| + if $e == 0b { + "#afb7c0" + } else if $e < 1mb { + "#5da19f" + } else {{ fg: "#759abd" }} } -} + duration: "#afb7c0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#be868c" attr: "b" } + } else if $in < 6hr { + "#be868c" + } else if $in < 1day { + "#ab916d" + } else if $in < 3day { + "#7f9d77" + } else if $in < 1wk { + { fg: "#7f9d77" attr: "b" } + } else if $in < 6wk { + "#5da19f" + } else if $in < 52wk { + "#759abd" + } else { "dark_gray" } + } + range: "#afb7c0" + float: "#afb7c0" + string: "#afb7c0" + nothing: "#afb7c0" + binary: "#afb7c0" + cellpath: "#afb7c0" + row_index: { fg: "#7f9d77" attr: "b" } + record: "#afb7c0" + list: "#afb7c0" + block: "#afb7c0" + hints: "dark_gray" + + shape_and: { fg: "#a88cb3" attr: "b" } + shape_binary: { fg: "#a88cb3" attr: "b" } + shape_block: { fg: "#759abd" attr: "b" } + shape_bool: "#5da19f" + shape_custom: "#7f9d77" + shape_datetime: { fg: "#5da19f" attr: "b" } + shape_directory: "#5da19f" + shape_external: "#5da19f" + shape_externalarg: { fg: "#7f9d77" attr: "b" } + shape_filepath: "#5da19f" + shape_flag: { fg: "#759abd" attr: "b" } + shape_float: { fg: "#a88cb3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5da19f" attr: "b" } + shape_int: { fg: "#a88cb3" attr: "b" } + shape_internalcall: { fg: "#5da19f" attr: "b" } + shape_list: { fg: "#5da19f" attr: "b" } + shape_literal: "#759abd" + shape_match_pattern: "#7f9d77" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5da19f" + shape_operator: "#ab916d" + shape_or: { fg: "#a88cb3" attr: "b" } + shape_pipe: { fg: "#a88cb3" attr: "b" } + shape_range: { fg: "#ab916d" attr: "b" } + shape_record: { fg: "#5da19f" attr: "b" } + shape_redirection: { fg: "#a88cb3" attr: "b" } + shape_signature: { fg: "#7f9d77" attr: "b" } + shape_string: "#7f9d77" + shape_string_interpolation: { fg: "#5da19f" attr: "b" } + shape_table: { fg: "#759abd" attr: "b" } + shape_variable: "#a88cb3" + + background: "#2c2d30" + foreground: "#afb7c0" + cursor: "#cbd2d9" +}} \ No newline at end of file diff --git a/themes/themes/snow-light.nu b/themes/themes/snow-light.nu index fadaa96..66c1711 100644 --- a/themes/themes/snow-light.nu +++ b/themes/themes/snow-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the snow_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fbffff" - # foreground: "#535c65" - # cursor: "#434951" - - { - # color for nushell primitives - separator: "#434951" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#4d7f43" - empty: "#2b7ab2" - bool: "#434951" - int: "#434951" - filesize: "#434951" - duration: "#434951" - date: "#434951" - range: "#434951" - float: "#434951" - string: "#434951" - nothing: "#434951" - binary: "#434951" - cellpath: "#434951" - row_index: "#4d7f43" - record: "#434951" - list: "#434951" - block: "#434951" - hints: "#6d7782" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8f63a2" - shape_bool: "#008483" - shape_int: "#8f63a2" - shape_float: "#8f63a2" - shape_range: "#906c33" - shape_internalcall: "#008483" - shape_external: "#008483" - shape_externalarg: "#4d7f43" - shape_literal: "#2b7ab2" - shape_operator: "#906c33" - shape_signature: "#4d7f43" - shape_string: "#4d7f43" - shape_string_interpolation: "#008483" - shape_datetime: "#008483" - shape_list: "#008483" - shape_table: "#2b7ab2" - shape_record: "#008483" - shape_block: "#2b7ab2" - shape_filepath: "#008483" - shape_globpattern: "#008483" - shape_variable: "#8f63a2" - shape_flag: "#2b7ab2" - shape_custom: "#4d7f43" - shape_nothing: "#008483" +export def main [] { return { + separator: "#535c65" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4d7f43" attr: "b" } + empty: "#2b7ab2" + bool: {|| if $in { "#008483" } else { "light_gray" } } + int: "#535c65" + filesize: {|e| + if $e == 0b { + "#535c65" + } else if $e < 1mb { + "#008483" + } else {{ fg: "#2b7ab2" }} } -} + duration: "#535c65" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ae5865" attr: "b" } + } else if $in < 6hr { + "#ae5865" + } else if $in < 1day { + "#906c33" + } else if $in < 3day { + "#4d7f43" + } else if $in < 1wk { + { fg: "#4d7f43" attr: "b" } + } else if $in < 6wk { + "#008483" + } else if $in < 52wk { + "#2b7ab2" + } else { "dark_gray" } + } + range: "#535c65" + float: "#535c65" + string: "#535c65" + nothing: "#535c65" + binary: "#535c65" + cellpath: "#535c65" + row_index: { fg: "#4d7f43" attr: "b" } + record: "#535c65" + list: "#535c65" + block: "#535c65" + hints: "dark_gray" + + shape_and: { fg: "#8f63a2" attr: "b" } + shape_binary: { fg: "#8f63a2" attr: "b" } + shape_block: { fg: "#2b7ab2" attr: "b" } + shape_bool: "#008483" + shape_custom: "#4d7f43" + shape_datetime: { fg: "#008483" attr: "b" } + shape_directory: "#008483" + shape_external: "#008483" + shape_externalarg: { fg: "#4d7f43" attr: "b" } + shape_filepath: "#008483" + shape_flag: { fg: "#2b7ab2" attr: "b" } + shape_float: { fg: "#8f63a2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#008483" attr: "b" } + shape_int: { fg: "#8f63a2" attr: "b" } + shape_internalcall: { fg: "#008483" attr: "b" } + shape_list: { fg: "#008483" attr: "b" } + shape_literal: "#2b7ab2" + shape_match_pattern: "#4d7f43" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#008483" + shape_operator: "#906c33" + shape_or: { fg: "#8f63a2" attr: "b" } + shape_pipe: { fg: "#8f63a2" attr: "b" } + shape_range: { fg: "#906c33" attr: "b" } + shape_record: { fg: "#008483" attr: "b" } + shape_redirection: { fg: "#8f63a2" attr: "b" } + shape_signature: { fg: "#4d7f43" attr: "b" } + shape_string: "#4d7f43" + shape_string_interpolation: { fg: "#008483" attr: "b" } + shape_table: { fg: "#2b7ab2" attr: "b" } + shape_variable: "#8f63a2" + + background: "#fbffff" + foreground: "#535c65" + cursor: "#434951" +}} \ No newline at end of file diff --git a/themes/themes/soft-server.nu b/themes/themes/soft-server.nu index 03575c2..cc172c8 100644 --- a/themes/themes/soft-server.nu +++ b/themes/themes/soft-server.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the soft_server theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#242626" - # foreground: "#99a3a2" - # cursor: "#99a3a2" - - { - # color for nushell primitives - separator: "#d2e0de" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#bfdf55" - empty: "#6b8fa3" - bool: "#d2e0de" - int: "#d2e0de" - filesize: "#d2e0de" - duration: "#d2e0de" - date: "#d2e0de" - range: "#d2e0de" - float: "#d2e0de" - string: "#d2e0de" - nothing: "#d2e0de" - binary: "#d2e0de" - cellpath: "#d2e0de" - row_index: "#bfdf55" - record: "#d2e0de" - list: "#d2e0de" - block: "#d2e0de" - hints: "#666c6c" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#606edf" - shape_bool: "#64e39c" - shape_int: "#606edf" - shape_float: "#606edf" - shape_range: "#deb360" - shape_internalcall: "#64e39c" - shape_external: "#6ba58f" - shape_externalarg: "#bfdf55" - shape_literal: "#6b8fa3" - shape_operator: "#a3906a" - shape_signature: "#bfdf55" - shape_string: "#9aa56a" - shape_string_interpolation: "#64e39c" - shape_datetime: "#64e39c" - shape_list: "#64e39c" - shape_table: "#62b1df" - shape_record: "#64e39c" - shape_block: "#62b1df" - shape_filepath: "#6ba58f" - shape_globpattern: "#64e39c" - shape_variable: "#6a71a3" - shape_flag: "#62b1df" - shape_custom: "#9aa56a" - shape_nothing: "#64e39c" +export def main [] { return { + separator: "#99a3a2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#9aa56a" attr: "b" } + empty: "#6b8fa3" + bool: {|| if $in { "#64e39c" } else { "light_gray" } } + int: "#99a3a2" + filesize: {|e| + if $e == 0b { + "#99a3a2" + } else if $e < 1mb { + "#6ba58f" + } else {{ fg: "#6b8fa3" }} } -} + duration: "#99a3a2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a2686a" attr: "b" } + } else if $in < 6hr { + "#a2686a" + } else if $in < 1day { + "#a3906a" + } else if $in < 3day { + "#9aa56a" + } else if $in < 1wk { + { fg: "#9aa56a" attr: "b" } + } else if $in < 6wk { + "#6ba58f" + } else if $in < 52wk { + "#6b8fa3" + } else { "dark_gray" } + } + range: "#99a3a2" + float: "#99a3a2" + string: "#99a3a2" + nothing: "#99a3a2" + binary: "#99a3a2" + cellpath: "#99a3a2" + row_index: { fg: "#9aa56a" attr: "b" } + record: "#99a3a2" + list: "#99a3a2" + block: "#99a3a2" + hints: "dark_gray" + + shape_and: { fg: "#6a71a3" attr: "b" } + shape_binary: { fg: "#6a71a3" attr: "b" } + shape_block: { fg: "#6b8fa3" attr: "b" } + shape_bool: "#64e39c" + shape_custom: "#9aa56a" + shape_datetime: { fg: "#6ba58f" attr: "b" } + shape_directory: "#6ba58f" + shape_external: "#6ba58f" + shape_externalarg: { fg: "#9aa56a" attr: "b" } + shape_filepath: "#6ba58f" + shape_flag: { fg: "#6b8fa3" attr: "b" } + shape_float: { fg: "#6a71a3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#6ba58f" attr: "b" } + shape_int: { fg: "#6a71a3" attr: "b" } + shape_internalcall: { fg: "#6ba58f" attr: "b" } + shape_list: { fg: "#6ba58f" attr: "b" } + shape_literal: "#6b8fa3" + shape_match_pattern: "#9aa56a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#64e39c" + shape_operator: "#a3906a" + shape_or: { fg: "#6a71a3" attr: "b" } + shape_pipe: { fg: "#6a71a3" attr: "b" } + shape_range: { fg: "#a3906a" attr: "b" } + shape_record: { fg: "#6ba58f" attr: "b" } + shape_redirection: { fg: "#6a71a3" attr: "b" } + shape_signature: { fg: "#9aa56a" attr: "b" } + shape_string: "#9aa56a" + shape_string_interpolation: { fg: "#6ba58f" attr: "b" } + shape_table: { fg: "#6b8fa3" attr: "b" } + shape_variable: "#6a71a3" + + background: "#242626" + foreground: "#99a3a2" + cursor: "#99a3a2" +}} \ No newline at end of file diff --git a/themes/themes/solar-flare.nu b/themes/themes/solar-flare.nu index b9d8971..7d65910 100644 --- a/themes/themes/solar-flare.nu +++ b/themes/themes/solar-flare.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the solar_flare theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#18262F" - # foreground: "#A6AFB8" - # cursor: "#A6AFB8" - - { - # color for nushell primitives - separator: "#F5F7FA" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7CC844" - empty: "#33B5E1" - bool: "#F5F7FA" - int: "#F5F7FA" - filesize: "#F5F7FA" - duration: "#F5F7FA" - date: "#F5F7FA" - range: "#F5F7FA" - float: "#F5F7FA" - string: "#F5F7FA" - nothing: "#F5F7FA" - binary: "#F5F7FA" - cellpath: "#F5F7FA" - row_index: "#7CC844" - record: "#F5F7FA" - list: "#F5F7FA" - block: "#F5F7FA" - hints: "#667581" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#A363D5" - shape_bool: "#52CBB0" - shape_int: "#A363D5" - shape_float: "#A363D5" - shape_range: "#E4B51C" - shape_internalcall: "#52CBB0" - shape_external: "#52CBB0" - shape_externalarg: "#7CC844" - shape_literal: "#33B5E1" - shape_operator: "#E4B51C" - shape_signature: "#7CC844" - shape_string: "#7CC844" - shape_string_interpolation: "#52CBB0" - shape_datetime: "#52CBB0" - shape_list: "#52CBB0" - shape_table: "#33B5E1" - shape_record: "#52CBB0" - shape_block: "#33B5E1" - shape_filepath: "#52CBB0" - shape_globpattern: "#52CBB0" - shape_variable: "#A363D5" - shape_flag: "#33B5E1" - shape_custom: "#7CC844" - shape_nothing: "#52CBB0" +export def main [] { return { + separator: "#A6AFB8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7CC844" attr: "b" } + empty: "#33B5E1" + bool: {|| if $in { "#52CBB0" } else { "light_gray" } } + int: "#A6AFB8" + filesize: {|e| + if $e == 0b { + "#A6AFB8" + } else if $e < 1mb { + "#52CBB0" + } else {{ fg: "#33B5E1" }} } -} + duration: "#A6AFB8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#EF5253" attr: "b" } + } else if $in < 6hr { + "#EF5253" + } else if $in < 1day { + "#E4B51C" + } else if $in < 3day { + "#7CC844" + } else if $in < 1wk { + { fg: "#7CC844" attr: "b" } + } else if $in < 6wk { + "#52CBB0" + } else if $in < 52wk { + "#33B5E1" + } else { "dark_gray" } + } + range: "#A6AFB8" + float: "#A6AFB8" + string: "#A6AFB8" + nothing: "#A6AFB8" + binary: "#A6AFB8" + cellpath: "#A6AFB8" + row_index: { fg: "#7CC844" attr: "b" } + record: "#A6AFB8" + list: "#A6AFB8" + block: "#A6AFB8" + hints: "dark_gray" + + shape_and: { fg: "#A363D5" attr: "b" } + shape_binary: { fg: "#A363D5" attr: "b" } + shape_block: { fg: "#33B5E1" attr: "b" } + shape_bool: "#52CBB0" + shape_custom: "#7CC844" + shape_datetime: { fg: "#52CBB0" attr: "b" } + shape_directory: "#52CBB0" + shape_external: "#52CBB0" + shape_externalarg: { fg: "#7CC844" attr: "b" } + shape_filepath: "#52CBB0" + shape_flag: { fg: "#33B5E1" attr: "b" } + shape_float: { fg: "#A363D5" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#52CBB0" attr: "b" } + shape_int: { fg: "#A363D5" attr: "b" } + shape_internalcall: { fg: "#52CBB0" attr: "b" } + shape_list: { fg: "#52CBB0" attr: "b" } + shape_literal: "#33B5E1" + shape_match_pattern: "#7CC844" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#52CBB0" + shape_operator: "#E4B51C" + shape_or: { fg: "#A363D5" attr: "b" } + shape_pipe: { fg: "#A363D5" attr: "b" } + shape_range: { fg: "#E4B51C" attr: "b" } + shape_record: { fg: "#52CBB0" attr: "b" } + shape_redirection: { fg: "#A363D5" attr: "b" } + shape_signature: { fg: "#7CC844" attr: "b" } + shape_string: "#7CC844" + shape_string_interpolation: { fg: "#52CBB0" attr: "b" } + shape_table: { fg: "#33B5E1" attr: "b" } + shape_variable: "#A363D5" + + background: "#18262F" + foreground: "#A6AFB8" + cursor: "#A6AFB8" +}} \ No newline at end of file diff --git a/themes/themes/solarflare-light.nu b/themes/themes/solarflare-light.nu index ff0d47c..3fc9fee 100644 --- a/themes/themes/solarflare-light.nu +++ b/themes/themes/solarflare-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the solarflare_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f5f7fa" - # foreground: "#586875" - # cursor: "#586875" - - { - # color for nushell primitives - separator: "#18262f" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7cc844" - empty: "#33b5e1" - bool: "#18262f" - int: "#18262f" - filesize: "#18262f" - duration: "#18262f" - date: "#18262f" - range: "#18262f" - float: "#18262f" - string: "#18262f" - nothing: "#18262f" - binary: "#18262f" - cellpath: "#18262f" - row_index: "#7cc844" - record: "#18262f" - list: "#18262f" - block: "#18262f" - hints: "#85939e" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a363d5" - shape_bool: "#52cbb0" - shape_int: "#a363d5" - shape_float: "#a363d5" - shape_range: "#e4b51c" - shape_internalcall: "#52cbb0" - shape_external: "#52cbb0" - shape_externalarg: "#7cc844" - shape_literal: "#33b5e1" - shape_operator: "#e4b51c" - shape_signature: "#7cc844" - shape_string: "#7cc844" - shape_string_interpolation: "#52cbb0" - shape_datetime: "#52cbb0" - shape_list: "#52cbb0" - shape_table: "#33b5e1" - shape_record: "#52cbb0" - shape_block: "#33b5e1" - shape_filepath: "#52cbb0" - shape_globpattern: "#52cbb0" - shape_variable: "#a363d5" - shape_flag: "#33b5e1" - shape_custom: "#7cc844" - shape_nothing: "#52cbb0" +export def main [] { return { + separator: "#586875" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7cc844" attr: "b" } + empty: "#33b5e1" + bool: {|| if $in { "#52cbb0" } else { "light_gray" } } + int: "#586875" + filesize: {|e| + if $e == 0b { + "#586875" + } else if $e < 1mb { + "#52cbb0" + } else {{ fg: "#33b5e1" }} } -} + duration: "#586875" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ef5253" attr: "b" } + } else if $in < 6hr { + "#ef5253" + } else if $in < 1day { + "#e4b51c" + } else if $in < 3day { + "#7cc844" + } else if $in < 1wk { + { fg: "#7cc844" attr: "b" } + } else if $in < 6wk { + "#52cbb0" + } else if $in < 52wk { + "#33b5e1" + } else { "dark_gray" } + } + range: "#586875" + float: "#586875" + string: "#586875" + nothing: "#586875" + binary: "#586875" + cellpath: "#586875" + row_index: { fg: "#7cc844" attr: "b" } + record: "#586875" + list: "#586875" + block: "#586875" + hints: "dark_gray" + + shape_and: { fg: "#a363d5" attr: "b" } + shape_binary: { fg: "#a363d5" attr: "b" } + shape_block: { fg: "#33b5e1" attr: "b" } + shape_bool: "#52cbb0" + shape_custom: "#7cc844" + shape_datetime: { fg: "#52cbb0" attr: "b" } + shape_directory: "#52cbb0" + shape_external: "#52cbb0" + shape_externalarg: { fg: "#7cc844" attr: "b" } + shape_filepath: "#52cbb0" + shape_flag: { fg: "#33b5e1" attr: "b" } + shape_float: { fg: "#a363d5" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#52cbb0" attr: "b" } + shape_int: { fg: "#a363d5" attr: "b" } + shape_internalcall: { fg: "#52cbb0" attr: "b" } + shape_list: { fg: "#52cbb0" attr: "b" } + shape_literal: "#33b5e1" + shape_match_pattern: "#7cc844" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#52cbb0" + shape_operator: "#e4b51c" + shape_or: { fg: "#a363d5" attr: "b" } + shape_pipe: { fg: "#a363d5" attr: "b" } + shape_range: { fg: "#e4b51c" attr: "b" } + shape_record: { fg: "#52cbb0" attr: "b" } + shape_redirection: { fg: "#a363d5" attr: "b" } + shape_signature: { fg: "#7cc844" attr: "b" } + shape_string: "#7cc844" + shape_string_interpolation: { fg: "#52cbb0" attr: "b" } + shape_table: { fg: "#33b5e1" attr: "b" } + shape_variable: "#a363d5" + + background: "#f5f7fa" + foreground: "#586875" + cursor: "#586875" +}} \ No newline at end of file diff --git a/themes/themes/solarflare.nu b/themes/themes/solarflare.nu index e4c49eb..c761699 100644 --- a/themes/themes/solarflare.nu +++ b/themes/themes/solarflare.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the solarflare theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#18262f" - # foreground: "#a6afb8" - # cursor: "#a6afb8" - - { - # color for nushell primitives - separator: "#f5f7fa" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#7cc844" - empty: "#33b5e1" - bool: "#f5f7fa" - int: "#f5f7fa" - filesize: "#f5f7fa" - duration: "#f5f7fa" - date: "#f5f7fa" - range: "#f5f7fa" - float: "#f5f7fa" - string: "#f5f7fa" - nothing: "#f5f7fa" - binary: "#f5f7fa" - cellpath: "#f5f7fa" - row_index: "#7cc844" - record: "#f5f7fa" - list: "#f5f7fa" - block: "#f5f7fa" - hints: "#667581" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a363d5" - shape_bool: "#52cbb0" - shape_int: "#a363d5" - shape_float: "#a363d5" - shape_range: "#e4b51c" - shape_internalcall: "#52cbb0" - shape_external: "#52cbb0" - shape_externalarg: "#7cc844" - shape_literal: "#33b5e1" - shape_operator: "#e4b51c" - shape_signature: "#7cc844" - shape_string: "#7cc844" - shape_string_interpolation: "#52cbb0" - shape_datetime: "#52cbb0" - shape_list: "#52cbb0" - shape_table: "#33b5e1" - shape_record: "#52cbb0" - shape_block: "#33b5e1" - shape_filepath: "#52cbb0" - shape_globpattern: "#52cbb0" - shape_variable: "#a363d5" - shape_flag: "#33b5e1" - shape_custom: "#7cc844" - shape_nothing: "#52cbb0" +export def main [] { return { + separator: "#a6afb8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7cc844" attr: "b" } + empty: "#33b5e1" + bool: {|| if $in { "#52cbb0" } else { "light_gray" } } + int: "#a6afb8" + filesize: {|e| + if $e == 0b { + "#a6afb8" + } else if $e < 1mb { + "#52cbb0" + } else {{ fg: "#33b5e1" }} } -} + duration: "#a6afb8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ef5253" attr: "b" } + } else if $in < 6hr { + "#ef5253" + } else if $in < 1day { + "#e4b51c" + } else if $in < 3day { + "#7cc844" + } else if $in < 1wk { + { fg: "#7cc844" attr: "b" } + } else if $in < 6wk { + "#52cbb0" + } else if $in < 52wk { + "#33b5e1" + } else { "dark_gray" } + } + range: "#a6afb8" + float: "#a6afb8" + string: "#a6afb8" + nothing: "#a6afb8" + binary: "#a6afb8" + cellpath: "#a6afb8" + row_index: { fg: "#7cc844" attr: "b" } + record: "#a6afb8" + list: "#a6afb8" + block: "#a6afb8" + hints: "dark_gray" + + shape_and: { fg: "#a363d5" attr: "b" } + shape_binary: { fg: "#a363d5" attr: "b" } + shape_block: { fg: "#33b5e1" attr: "b" } + shape_bool: "#52cbb0" + shape_custom: "#7cc844" + shape_datetime: { fg: "#52cbb0" attr: "b" } + shape_directory: "#52cbb0" + shape_external: "#52cbb0" + shape_externalarg: { fg: "#7cc844" attr: "b" } + shape_filepath: "#52cbb0" + shape_flag: { fg: "#33b5e1" attr: "b" } + shape_float: { fg: "#a363d5" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#52cbb0" attr: "b" } + shape_int: { fg: "#a363d5" attr: "b" } + shape_internalcall: { fg: "#52cbb0" attr: "b" } + shape_list: { fg: "#52cbb0" attr: "b" } + shape_literal: "#33b5e1" + shape_match_pattern: "#7cc844" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#52cbb0" + shape_operator: "#e4b51c" + shape_or: { fg: "#a363d5" attr: "b" } + shape_pipe: { fg: "#a363d5" attr: "b" } + shape_range: { fg: "#e4b51c" attr: "b" } + shape_record: { fg: "#52cbb0" attr: "b" } + shape_redirection: { fg: "#a363d5" attr: "b" } + shape_signature: { fg: "#7cc844" attr: "b" } + shape_string: "#7cc844" + shape_string_interpolation: { fg: "#52cbb0" attr: "b" } + shape_table: { fg: "#33b5e1" attr: "b" } + shape_variable: "#a363d5" + + background: "#18262f" + foreground: "#a6afb8" + cursor: "#a6afb8" +}} \ No newline at end of file diff --git a/themes/themes/solarized-darcula.nu b/themes/themes/solarized-darcula.nu index 7c86808..cac34e2 100644 --- a/themes/themes/solarized-darcula.nu +++ b/themes/themes/solarized-darcula.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the solarized_darcula theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#3d3f41" - # foreground: "#d2d8d9" - # cursor: "#d2d8d9" - - { - # color for nushell primitives - separator: "#d2d8d9" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#629655" - empty: "#2075c7" - bool: "#d2d8d9" - int: "#d2d8d9" - filesize: "#d2d8d9" - duration: "#d2d8d9" - date: "#d2d8d9" - range: "#d2d8d9" - float: "#d2d8d9" - string: "#d2d8d9" - nothing: "#d2d8d9" - binary: "#d2d8d9" - cellpath: "#d2d8d9" - row_index: "#629655" - record: "#d2d8d9" - list: "#d2d8d9" - block: "#d2d8d9" - hints: "#25292a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#797fd4" - shape_bool: "#15968d" - shape_int: "#797fd4" - shape_float: "#797fd4" - shape_range: "#b68800" - shape_internalcall: "#15968d" - shape_external: "#15968d" - shape_externalarg: "#629655" - shape_literal: "#2075c7" - shape_operator: "#b68800" - shape_signature: "#629655" - shape_string: "#629655" - shape_string_interpolation: "#15968d" - shape_datetime: "#15968d" - shape_list: "#15968d" - shape_table: "#2075c7" - shape_record: "#15968d" - shape_block: "#2075c7" - shape_filepath: "#15968d" - shape_globpattern: "#15968d" - shape_variable: "#797fd4" - shape_flag: "#2075c7" - shape_custom: "#629655" - shape_nothing: "#15968d" +export def main [] { return { + separator: "#d2d8d9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#629655" attr: "b" } + empty: "#2075c7" + bool: {|| if $in { "#15968d" } else { "light_gray" } } + int: "#d2d8d9" + filesize: {|e| + if $e == 0b { + "#d2d8d9" + } else if $e < 1mb { + "#15968d" + } else {{ fg: "#2075c7" }} } -} + duration: "#d2d8d9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f24840" attr: "b" } + } else if $in < 6hr { + "#f24840" + } else if $in < 1day { + "#b68800" + } else if $in < 3day { + "#629655" + } else if $in < 1wk { + { fg: "#629655" attr: "b" } + } else if $in < 6wk { + "#15968d" + } else if $in < 52wk { + "#2075c7" + } else { "dark_gray" } + } + range: "#d2d8d9" + float: "#d2d8d9" + string: "#d2d8d9" + nothing: "#d2d8d9" + binary: "#d2d8d9" + cellpath: "#d2d8d9" + row_index: { fg: "#629655" attr: "b" } + record: "#d2d8d9" + list: "#d2d8d9" + block: "#d2d8d9" + hints: "dark_gray" + + shape_and: { fg: "#797fd4" attr: "b" } + shape_binary: { fg: "#797fd4" attr: "b" } + shape_block: { fg: "#2075c7" attr: "b" } + shape_bool: "#15968d" + shape_custom: "#629655" + shape_datetime: { fg: "#15968d" attr: "b" } + shape_directory: "#15968d" + shape_external: "#15968d" + shape_externalarg: { fg: "#629655" attr: "b" } + shape_filepath: "#15968d" + shape_flag: { fg: "#2075c7" attr: "b" } + shape_float: { fg: "#797fd4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#15968d" attr: "b" } + shape_int: { fg: "#797fd4" attr: "b" } + shape_internalcall: { fg: "#15968d" attr: "b" } + shape_list: { fg: "#15968d" attr: "b" } + shape_literal: "#2075c7" + shape_match_pattern: "#629655" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#15968d" + shape_operator: "#b68800" + shape_or: { fg: "#797fd4" attr: "b" } + shape_pipe: { fg: "#797fd4" attr: "b" } + shape_range: { fg: "#b68800" attr: "b" } + shape_record: { fg: "#15968d" attr: "b" } + shape_redirection: { fg: "#797fd4" attr: "b" } + shape_signature: { fg: "#629655" attr: "b" } + shape_string: "#629655" + shape_string_interpolation: { fg: "#15968d" attr: "b" } + shape_table: { fg: "#2075c7" attr: "b" } + shape_variable: "#797fd4" + + background: "#3d3f41" + foreground: "#d2d8d9" + cursor: "#d2d8d9" +}} \ No newline at end of file diff --git a/themes/themes/solarized-dark-higher-contrast.nu b/themes/themes/solarized-dark-higher-contrast.nu index bf38057..1f16a8e 100644 --- a/themes/themes/solarized-dark-higher-contrast.nu +++ b/themes/themes/solarized-dark-higher-contrast.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the solarized_dark-higher-contrast theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#001e27" - # foreground: "#9cc2c3" - # cursor: "#9cc2c3" - - { - # color for nushell primitives - separator: "#fcf4dc" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#51ef84" - empty: "#2176c7" - bool: "#fcf4dc" - int: "#fcf4dc" - filesize: "#fcf4dc" - duration: "#fcf4dc" - date: "#fcf4dc" - range: "#fcf4dc" - float: "#fcf4dc" - string: "#fcf4dc" - nothing: "#fcf4dc" - binary: "#fcf4dc" - cellpath: "#fcf4dc" - row_index: "#51ef84" - record: "#fcf4dc" - list: "#fcf4dc" - block: "#fcf4dc" - hints: "#006488" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e24d8e" - shape_bool: "#00b39e" - shape_int: "#e24d8e" - shape_float: "#e24d8e" - shape_range: "#b27e28" - shape_internalcall: "#00b39e" - shape_external: "#259286" - shape_externalarg: "#51ef84" - shape_literal: "#2176c7" - shape_operator: "#a57706" - shape_signature: "#51ef84" - shape_string: "#6cbe6c" - shape_string_interpolation: "#00b39e" - shape_datetime: "#00b39e" - shape_list: "#00b39e" - shape_table: "#178ec8" - shape_record: "#00b39e" - shape_block: "#178ec8" - shape_filepath: "#259286" - shape_globpattern: "#00b39e" - shape_variable: "#c61c6f" - shape_flag: "#178ec8" - shape_custom: "#6cbe6c" - shape_nothing: "#00b39e" +export def main [] { return { + separator: "#eae3cb" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6cbe6c" attr: "b" } + empty: "#2176c7" + bool: {|| if $in { "#00b39e" } else { "light_gray" } } + int: "#eae3cb" + filesize: {|e| + if $e == 0b { + "#eae3cb" + } else if $e < 1mb { + "#259286" + } else {{ fg: "#2176c7" }} } -} + duration: "#eae3cb" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d11c24" attr: "b" } + } else if $in < 6hr { + "#d11c24" + } else if $in < 1day { + "#a57706" + } else if $in < 3day { + "#6cbe6c" + } else if $in < 1wk { + { fg: "#6cbe6c" attr: "b" } + } else if $in < 6wk { + "#259286" + } else if $in < 52wk { + "#2176c7" + } else { "dark_gray" } + } + range: "#eae3cb" + float: "#eae3cb" + string: "#eae3cb" + nothing: "#eae3cb" + binary: "#eae3cb" + cellpath: "#eae3cb" + row_index: { fg: "#6cbe6c" attr: "b" } + record: "#eae3cb" + list: "#eae3cb" + block: "#eae3cb" + hints: "dark_gray" + + shape_and: { fg: "#c61c6f" attr: "b" } + shape_binary: { fg: "#c61c6f" attr: "b" } + shape_block: { fg: "#2176c7" attr: "b" } + shape_bool: "#00b39e" + shape_custom: "#6cbe6c" + shape_datetime: { fg: "#259286" attr: "b" } + shape_directory: "#259286" + shape_external: "#259286" + shape_externalarg: { fg: "#6cbe6c" attr: "b" } + shape_filepath: "#259286" + shape_flag: { fg: "#2176c7" attr: "b" } + shape_float: { fg: "#c61c6f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#259286" attr: "b" } + shape_int: { fg: "#c61c6f" attr: "b" } + shape_internalcall: { fg: "#259286" attr: "b" } + shape_list: { fg: "#259286" attr: "b" } + shape_literal: "#2176c7" + shape_match_pattern: "#6cbe6c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00b39e" + shape_operator: "#a57706" + shape_or: { fg: "#c61c6f" attr: "b" } + shape_pipe: { fg: "#c61c6f" attr: "b" } + shape_range: { fg: "#a57706" attr: "b" } + shape_record: { fg: "#259286" attr: "b" } + shape_redirection: { fg: "#c61c6f" attr: "b" } + shape_signature: { fg: "#6cbe6c" attr: "b" } + shape_string: "#6cbe6c" + shape_string_interpolation: { fg: "#259286" attr: "b" } + shape_table: { fg: "#2176c7" attr: "b" } + shape_variable: "#c61c6f" + + background: "#001e27" + foreground: "#9cc2c3" + cursor: "#9cc2c3" +}} \ No newline at end of file diff --git a/themes/themes/solarized-dark.nu b/themes/themes/solarized-dark.nu index 7e7974e..dce2c13 100644 --- a/themes/themes/solarized-dark.nu +++ b/themes/themes/solarized-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the solarized_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#002b36" - # foreground: "#93a1a1" - # cursor: "#93a1a1" - - { - # color for nushell primitives - separator: "#fdf6e3" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#859900" - empty: "#268bd2" - bool: "#fdf6e3" - int: "#fdf6e3" - filesize: "#fdf6e3" - duration: "#fdf6e3" - date: "#fdf6e3" - range: "#fdf6e3" - float: "#fdf6e3" - string: "#fdf6e3" - nothing: "#fdf6e3" - binary: "#fdf6e3" - cellpath: "#fdf6e3" - row_index: "#859900" - record: "#fdf6e3" - list: "#fdf6e3" - block: "#fdf6e3" - hints: "#657b83" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6c71c4" - shape_bool: "#2aa198" - shape_int: "#6c71c4" - shape_float: "#6c71c4" - shape_range: "#b58900" - shape_internalcall: "#2aa198" - shape_external: "#2aa198" - shape_externalarg: "#859900" - shape_literal: "#268bd2" - shape_operator: "#b58900" - shape_signature: "#859900" - shape_string: "#859900" - shape_string_interpolation: "#2aa198" - shape_datetime: "#2aa198" - shape_list: "#2aa198" - shape_table: "#268bd2" - shape_record: "#2aa198" - shape_block: "#268bd2" - shape_filepath: "#2aa198" - shape_globpattern: "#2aa198" - shape_variable: "#6c71c4" - shape_flag: "#268bd2" - shape_custom: "#859900" - shape_nothing: "#2aa198" +export def main [] { return { + separator: "#93a1a1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#859900" attr: "b" } + empty: "#268bd2" + bool: {|| if $in { "#2aa198" } else { "light_gray" } } + int: "#93a1a1" + filesize: {|e| + if $e == 0b { + "#93a1a1" + } else if $e < 1mb { + "#2aa198" + } else {{ fg: "#268bd2" }} } -} + duration: "#93a1a1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#dc322f" attr: "b" } + } else if $in < 6hr { + "#dc322f" + } else if $in < 1day { + "#b58900" + } else if $in < 3day { + "#859900" + } else if $in < 1wk { + { fg: "#859900" attr: "b" } + } else if $in < 6wk { + "#2aa198" + } else if $in < 52wk { + "#268bd2" + } else { "dark_gray" } + } + range: "#93a1a1" + float: "#93a1a1" + string: "#93a1a1" + nothing: "#93a1a1" + binary: "#93a1a1" + cellpath: "#93a1a1" + row_index: { fg: "#859900" attr: "b" } + record: "#93a1a1" + list: "#93a1a1" + block: "#93a1a1" + hints: "dark_gray" + + shape_and: { fg: "#6c71c4" attr: "b" } + shape_binary: { fg: "#6c71c4" attr: "b" } + shape_block: { fg: "#268bd2" attr: "b" } + shape_bool: "#2aa198" + shape_custom: "#859900" + shape_datetime: { fg: "#2aa198" attr: "b" } + shape_directory: "#2aa198" + shape_external: "#2aa198" + shape_externalarg: { fg: "#859900" attr: "b" } + shape_filepath: "#2aa198" + shape_flag: { fg: "#268bd2" attr: "b" } + shape_float: { fg: "#6c71c4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2aa198" attr: "b" } + shape_int: { fg: "#6c71c4" attr: "b" } + shape_internalcall: { fg: "#2aa198" attr: "b" } + shape_list: { fg: "#2aa198" attr: "b" } + shape_literal: "#268bd2" + shape_match_pattern: "#859900" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2aa198" + shape_operator: "#b58900" + shape_or: { fg: "#6c71c4" attr: "b" } + shape_pipe: { fg: "#6c71c4" attr: "b" } + shape_range: { fg: "#b58900" attr: "b" } + shape_record: { fg: "#2aa198" attr: "b" } + shape_redirection: { fg: "#6c71c4" attr: "b" } + shape_signature: { fg: "#859900" attr: "b" } + shape_string: "#859900" + shape_string_interpolation: { fg: "#2aa198" attr: "b" } + shape_table: { fg: "#268bd2" attr: "b" } + shape_variable: "#6c71c4" + + background: "#002b36" + foreground: "#93a1a1" + cursor: "#93a1a1" +}} \ No newline at end of file diff --git a/themes/themes/solarized-light.nu b/themes/themes/solarized-light.nu index b80c409..2837b73 100644 --- a/themes/themes/solarized-light.nu +++ b/themes/themes/solarized-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the solarized_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fdf6e3" - # foreground: "#586e75" - # cursor: "#586e75" - - { - # color for nushell primitives - separator: "#002b36" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#859900" - empty: "#268bd2" - bool: "#002b36" - int: "#002b36" - filesize: "#002b36" - duration: "#002b36" - date: "#002b36" - range: "#002b36" - float: "#002b36" - string: "#002b36" - nothing: "#002b36" - binary: "#002b36" - cellpath: "#002b36" - row_index: "#859900" - record: "#002b36" - list: "#002b36" - block: "#002b36" - hints: "#839496" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#6c71c4" - shape_bool: "#2aa198" - shape_int: "#6c71c4" - shape_float: "#6c71c4" - shape_range: "#b58900" - shape_internalcall: "#2aa198" - shape_external: "#2aa198" - shape_externalarg: "#859900" - shape_literal: "#268bd2" - shape_operator: "#b58900" - shape_signature: "#859900" - shape_string: "#859900" - shape_string_interpolation: "#2aa198" - shape_datetime: "#2aa198" - shape_list: "#2aa198" - shape_table: "#268bd2" - shape_record: "#2aa198" - shape_block: "#268bd2" - shape_filepath: "#2aa198" - shape_globpattern: "#2aa198" - shape_variable: "#6c71c4" - shape_flag: "#268bd2" - shape_custom: "#859900" - shape_nothing: "#2aa198" +export def main [] { return { + separator: "#586e75" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#859900" attr: "b" } + empty: "#268bd2" + bool: {|| if $in { "#2aa198" } else { "light_gray" } } + int: "#586e75" + filesize: {|e| + if $e == 0b { + "#586e75" + } else if $e < 1mb { + "#2aa198" + } else {{ fg: "#268bd2" }} } -} + duration: "#586e75" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#dc322f" attr: "b" } + } else if $in < 6hr { + "#dc322f" + } else if $in < 1day { + "#b58900" + } else if $in < 3day { + "#859900" + } else if $in < 1wk { + { fg: "#859900" attr: "b" } + } else if $in < 6wk { + "#2aa198" + } else if $in < 52wk { + "#268bd2" + } else { "dark_gray" } + } + range: "#586e75" + float: "#586e75" + string: "#586e75" + nothing: "#586e75" + binary: "#586e75" + cellpath: "#586e75" + row_index: { fg: "#859900" attr: "b" } + record: "#586e75" + list: "#586e75" + block: "#586e75" + hints: "dark_gray" + + shape_and: { fg: "#6c71c4" attr: "b" } + shape_binary: { fg: "#6c71c4" attr: "b" } + shape_block: { fg: "#268bd2" attr: "b" } + shape_bool: "#2aa198" + shape_custom: "#859900" + shape_datetime: { fg: "#2aa198" attr: "b" } + shape_directory: "#2aa198" + shape_external: "#2aa198" + shape_externalarg: { fg: "#859900" attr: "b" } + shape_filepath: "#2aa198" + shape_flag: { fg: "#268bd2" attr: "b" } + shape_float: { fg: "#6c71c4" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2aa198" attr: "b" } + shape_int: { fg: "#6c71c4" attr: "b" } + shape_internalcall: { fg: "#2aa198" attr: "b" } + shape_list: { fg: "#2aa198" attr: "b" } + shape_literal: "#268bd2" + shape_match_pattern: "#859900" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2aa198" + shape_operator: "#b58900" + shape_or: { fg: "#6c71c4" attr: "b" } + shape_pipe: { fg: "#6c71c4" attr: "b" } + shape_range: { fg: "#b58900" attr: "b" } + shape_record: { fg: "#2aa198" attr: "b" } + shape_redirection: { fg: "#6c71c4" attr: "b" } + shape_signature: { fg: "#859900" attr: "b" } + shape_string: "#859900" + shape_string_interpolation: { fg: "#2aa198" attr: "b" } + shape_table: { fg: "#268bd2" attr: "b" } + shape_variable: "#6c71c4" + + background: "#fdf6e3" + foreground: "#586e75" + cursor: "#586e75" +}} \ No newline at end of file diff --git a/themes/themes/source-code-x.nu b/themes/themes/source-code-x.nu index 8406c53..0482fd3 100644 --- a/themes/themes/source-code-x.nu +++ b/themes/themes/source-code-x.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the source_code-x theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1f1f24" - # foreground: "#000000" - # cursor: "#7f7f7f" - - { - # color for nushell primitives - separator: "#91a0b1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#aef37c" - empty: "#9586f4" - bool: "#91a0b1" - int: "#91a0b1" - filesize: "#91a0b1" - duration: "#91a0b1" - date: "#91a0b1" - range: "#91a0b1" - float: "#91a0b1" - string: "#91a0b1" - nothing: "#91a0b1" - binary: "#91a0b1" - cellpath: "#91a0b1" - row_index: "#aef37c" - record: "#91a0b1" - list: "#91a0b1" - block: "#91a0b1" - hints: "#91a0b1" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fb5ea3" - shape_bool: "#83d2c0" - shape_int: "#fb5ea3" - shape_float: "#fb5ea3" - shape_range: "#fc8e3e" - shape_internalcall: "#83d2c0" - shape_external: "#79c8b6" - shape_externalarg: "#aef37c" - shape_literal: "#9586f4" - shape_operator: "#fc8e3e" - shape_signature: "#aef37c" - shape_string: "#74b391" - shape_string_interpolation: "#83d2c0" - shape_datetime: "#83d2c0" - shape_list: "#83d2c0" - shape_table: "#53a4fb" - shape_record: "#83d2c0" - shape_block: "#53a4fb" - shape_filepath: "#79c8b6" - shape_globpattern: "#83d2c0" - shape_variable: "#fb5ea3" - shape_flag: "#53a4fb" - shape_custom: "#74b391" - shape_nothing: "#83d2c0" +export def main [] { return { + separator: "#bfbfbf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#74b391" attr: "b" } + empty: "#9586f4" + bool: {|| if $in { "#83d2c0" } else { "light_gray" } } + int: "#bfbfbf" + filesize: {|e| + if $e == 0b { + "#bfbfbf" + } else if $e < 1mb { + "#79c8b6" + } else {{ fg: "#9586f4" }} } -} + duration: "#bfbfbf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb695d" attr: "b" } + } else if $in < 6hr { + "#fb695d" + } else if $in < 1day { + "#fc8e3e" + } else if $in < 3day { + "#74b391" + } else if $in < 1wk { + { fg: "#74b391" attr: "b" } + } else if $in < 6wk { + "#79c8b6" + } else if $in < 52wk { + "#9586f4" + } else { "dark_gray" } + } + range: "#bfbfbf" + float: "#bfbfbf" + string: "#bfbfbf" + nothing: "#bfbfbf" + binary: "#bfbfbf" + cellpath: "#bfbfbf" + row_index: { fg: "#74b391" attr: "b" } + record: "#bfbfbf" + list: "#bfbfbf" + block: "#bfbfbf" + hints: "dark_gray" + + shape_and: { fg: "#fb5ea3" attr: "b" } + shape_binary: { fg: "#fb5ea3" attr: "b" } + shape_block: { fg: "#9586f4" attr: "b" } + shape_bool: "#83d2c0" + shape_custom: "#74b391" + shape_datetime: { fg: "#79c8b6" attr: "b" } + shape_directory: "#79c8b6" + shape_external: "#79c8b6" + shape_externalarg: { fg: "#74b391" attr: "b" } + shape_filepath: "#79c8b6" + shape_flag: { fg: "#9586f4" attr: "b" } + shape_float: { fg: "#fb5ea3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#79c8b6" attr: "b" } + shape_int: { fg: "#fb5ea3" attr: "b" } + shape_internalcall: { fg: "#79c8b6" attr: "b" } + shape_list: { fg: "#79c8b6" attr: "b" } + shape_literal: "#9586f4" + shape_match_pattern: "#74b391" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#83d2c0" + shape_operator: "#fc8e3e" + shape_or: { fg: "#fb5ea3" attr: "b" } + shape_pipe: { fg: "#fb5ea3" attr: "b" } + shape_range: { fg: "#fc8e3e" attr: "b" } + shape_record: { fg: "#79c8b6" attr: "b" } + shape_redirection: { fg: "#fb5ea3" attr: "b" } + shape_signature: { fg: "#74b391" attr: "b" } + shape_string: "#74b391" + shape_string_interpolation: { fg: "#79c8b6" attr: "b" } + shape_table: { fg: "#9586f4" attr: "b" } + shape_variable: "#fb5ea3" + + background: "#1f1f24" + foreground: "#000000" + cursor: "#7f7f7f" +}} \ No newline at end of file diff --git a/themes/themes/sourcerer.nu b/themes/themes/sourcerer.nu index 389eaf2..5566dd8 100644 --- a/themes/themes/sourcerer.nu +++ b/themes/themes/sourcerer.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the sourcerer theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222222" - # foreground: "#c2c2b0" - # cursor: "#c2c2b0" - - { - # color for nushell primitives - separator: "#c1cdc1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b1d631" - empty: "#6688aa" - bool: "#c1cdc1" - int: "#c1cdc1" - filesize: "#c1cdc1" - duration: "#c1cdc1" - date: "#c1cdc1" - range: "#c1cdc1" - float: "#c1cdc1" - string: "#c1cdc1" - nothing: "#c1cdc1" - binary: "#c1cdc1" - cellpath: "#c1cdc1" - row_index: "#b1d631" - record: "#c1cdc1" - list: "#c1cdc1" - block: "#c1cdc1" - hints: "#181818" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8181a6" - shape_bool: "#87ceeb" - shape_int: "#8181a6" - shape_float: "#8181a6" - shape_range: "#87875f" - shape_internalcall: "#87ceeb" - shape_external: "#528b8b" - shape_externalarg: "#b1d631" - shape_literal: "#6688aa" - shape_operator: "#ff9800" - shape_signature: "#b1d631" - shape_string: "#719611" - shape_string_interpolation: "#87ceeb" - shape_datetime: "#87ceeb" - shape_list: "#87ceeb" - shape_table: "#90b0d1" - shape_record: "#87ceeb" - shape_block: "#90b0d1" - shape_filepath: "#528b8b" - shape_globpattern: "#87ceeb" - shape_variable: "#8f6f8f" - shape_flag: "#90b0d1" - shape_custom: "#719611" - shape_nothing: "#87ceeb" +export def main [] { return { + separator: "#d3d3d3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#719611" attr: "b" } + empty: "#6688aa" + bool: {|| if $in { "#87ceeb" } else { "light_gray" } } + int: "#d3d3d3" + filesize: {|e| + if $e == 0b { + "#d3d3d3" + } else if $e < 1mb { + "#528b8b" + } else {{ fg: "#6688aa" }} } -} + duration: "#d3d3d3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#aa4450" attr: "b" } + } else if $in < 6hr { + "#aa4450" + } else if $in < 1day { + "#ff9800" + } else if $in < 3day { + "#719611" + } else if $in < 1wk { + { fg: "#719611" attr: "b" } + } else if $in < 6wk { + "#528b8b" + } else if $in < 52wk { + "#6688aa" + } else { "dark_gray" } + } + range: "#d3d3d3" + float: "#d3d3d3" + string: "#d3d3d3" + nothing: "#d3d3d3" + binary: "#d3d3d3" + cellpath: "#d3d3d3" + row_index: { fg: "#719611" attr: "b" } + record: "#d3d3d3" + list: "#d3d3d3" + block: "#d3d3d3" + hints: "dark_gray" + + shape_and: { fg: "#8f6f8f" attr: "b" } + shape_binary: { fg: "#8f6f8f" attr: "b" } + shape_block: { fg: "#6688aa" attr: "b" } + shape_bool: "#87ceeb" + shape_custom: "#719611" + shape_datetime: { fg: "#528b8b" attr: "b" } + shape_directory: "#528b8b" + shape_external: "#528b8b" + shape_externalarg: { fg: "#719611" attr: "b" } + shape_filepath: "#528b8b" + shape_flag: { fg: "#6688aa" attr: "b" } + shape_float: { fg: "#8f6f8f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#528b8b" attr: "b" } + shape_int: { fg: "#8f6f8f" attr: "b" } + shape_internalcall: { fg: "#528b8b" attr: "b" } + shape_list: { fg: "#528b8b" attr: "b" } + shape_literal: "#6688aa" + shape_match_pattern: "#719611" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#87ceeb" + shape_operator: "#ff9800" + shape_or: { fg: "#8f6f8f" attr: "b" } + shape_pipe: { fg: "#8f6f8f" attr: "b" } + shape_range: { fg: "#ff9800" attr: "b" } + shape_record: { fg: "#528b8b" attr: "b" } + shape_redirection: { fg: "#8f6f8f" attr: "b" } + shape_signature: { fg: "#719611" attr: "b" } + shape_string: "#719611" + shape_string_interpolation: { fg: "#528b8b" attr: "b" } + shape_table: { fg: "#6688aa" attr: "b" } + shape_variable: "#8f6f8f" + + background: "#222222" + foreground: "#c2c2b0" + cursor: "#c2c2b0" +}} \ No newline at end of file diff --git a/themes/themes/sourcerer2.nu b/themes/themes/sourcerer2.nu index 3ee5ac7..5566dd8 100644 --- a/themes/themes/sourcerer2.nu +++ b/themes/themes/sourcerer2.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the sourcerer2 theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222222" - # foreground: "#c2c2b0" - # cursor: "#c2c2b0" - - { - # color for nushell primitives - separator: "#c1cdc1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b1d631" - empty: "#6688aa" - bool: "#c1cdc1" - int: "#c1cdc1" - filesize: "#c1cdc1" - duration: "#c1cdc1" - date: "#c1cdc1" - range: "#c1cdc1" - float: "#c1cdc1" - string: "#c1cdc1" - nothing: "#c1cdc1" - binary: "#c1cdc1" - cellpath: "#c1cdc1" - row_index: "#b1d631" - record: "#c1cdc1" - list: "#c1cdc1" - block: "#c1cdc1" - hints: "#181818" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8181a6" - shape_bool: "#87ceeb" - shape_int: "#8181a6" - shape_float: "#8181a6" - shape_range: "#87875f" - shape_internalcall: "#87ceeb" - shape_external: "#528b8b" - shape_externalarg: "#b1d631" - shape_literal: "#6688aa" - shape_operator: "#ff9800" - shape_signature: "#b1d631" - shape_string: "#719611" - shape_string_interpolation: "#87ceeb" - shape_datetime: "#87ceeb" - shape_list: "#87ceeb" - shape_table: "#90b0d1" - shape_record: "#87ceeb" - shape_block: "#90b0d1" - shape_filepath: "#528b8b" - shape_globpattern: "#87ceeb" - shape_variable: "#8f6f8f" - shape_flag: "#90b0d1" - shape_custom: "#719611" - shape_nothing: "#87ceeb" +export def main [] { return { + separator: "#d3d3d3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#719611" attr: "b" } + empty: "#6688aa" + bool: {|| if $in { "#87ceeb" } else { "light_gray" } } + int: "#d3d3d3" + filesize: {|e| + if $e == 0b { + "#d3d3d3" + } else if $e < 1mb { + "#528b8b" + } else {{ fg: "#6688aa" }} } -} + duration: "#d3d3d3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#aa4450" attr: "b" } + } else if $in < 6hr { + "#aa4450" + } else if $in < 1day { + "#ff9800" + } else if $in < 3day { + "#719611" + } else if $in < 1wk { + { fg: "#719611" attr: "b" } + } else if $in < 6wk { + "#528b8b" + } else if $in < 52wk { + "#6688aa" + } else { "dark_gray" } + } + range: "#d3d3d3" + float: "#d3d3d3" + string: "#d3d3d3" + nothing: "#d3d3d3" + binary: "#d3d3d3" + cellpath: "#d3d3d3" + row_index: { fg: "#719611" attr: "b" } + record: "#d3d3d3" + list: "#d3d3d3" + block: "#d3d3d3" + hints: "dark_gray" + + shape_and: { fg: "#8f6f8f" attr: "b" } + shape_binary: { fg: "#8f6f8f" attr: "b" } + shape_block: { fg: "#6688aa" attr: "b" } + shape_bool: "#87ceeb" + shape_custom: "#719611" + shape_datetime: { fg: "#528b8b" attr: "b" } + shape_directory: "#528b8b" + shape_external: "#528b8b" + shape_externalarg: { fg: "#719611" attr: "b" } + shape_filepath: "#528b8b" + shape_flag: { fg: "#6688aa" attr: "b" } + shape_float: { fg: "#8f6f8f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#528b8b" attr: "b" } + shape_int: { fg: "#8f6f8f" attr: "b" } + shape_internalcall: { fg: "#528b8b" attr: "b" } + shape_list: { fg: "#528b8b" attr: "b" } + shape_literal: "#6688aa" + shape_match_pattern: "#719611" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#87ceeb" + shape_operator: "#ff9800" + shape_or: { fg: "#8f6f8f" attr: "b" } + shape_pipe: { fg: "#8f6f8f" attr: "b" } + shape_range: { fg: "#ff9800" attr: "b" } + shape_record: { fg: "#528b8b" attr: "b" } + shape_redirection: { fg: "#8f6f8f" attr: "b" } + shape_signature: { fg: "#719611" attr: "b" } + shape_string: "#719611" + shape_string_interpolation: { fg: "#528b8b" attr: "b" } + shape_table: { fg: "#6688aa" attr: "b" } + shape_variable: "#8f6f8f" + + background: "#222222" + foreground: "#c2c2b0" + cursor: "#c2c2b0" +}} \ No newline at end of file diff --git a/themes/themes/spaceduck.nu b/themes/themes/spaceduck.nu index 5b97488..ee0fee9 100644 --- a/themes/themes/spaceduck.nu +++ b/themes/themes/spaceduck.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the spaceduck theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0f111b" - # foreground: "#ecf0c1" - # cursor: "#ecf0c1" - - { - # color for nushell primitives - separator: "#f0f1ce" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#5ccc96" - empty: "#00a3cc" - bool: "#f0f1ce" - int: "#f0f1ce" - filesize: "#f0f1ce" - duration: "#f0f1ce" - date: "#f0f1ce" - range: "#f0f1ce" - float: "#f0f1ce" - string: "#f0f1ce" - nothing: "#f0f1ce" - binary: "#f0f1ce" - cellpath: "#f0f1ce" - row_index: "#5ccc96" - record: "#f0f1ce" - list: "#f0f1ce" - block: "#f0f1ce" - hints: "#686f9a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#f2ce00" - shape_bool: "#7a5ccc" - shape_int: "#f2ce00" - shape_float: "#f2ce00" - shape_range: "#b3a1e6" - shape_internalcall: "#7a5ccc" - shape_external: "#7a5ccc" - shape_externalarg: "#5ccc96" - shape_literal: "#00a3cc" - shape_operator: "#b3a1e6" - shape_signature: "#5ccc96" - shape_string: "#5ccc96" - shape_string_interpolation: "#7a5ccc" - shape_datetime: "#7a5ccc" - shape_list: "#7a5ccc" - shape_table: "#00a3cc" - shape_record: "#7a5ccc" - shape_block: "#00a3cc" - shape_filepath: "#7a5ccc" - shape_globpattern: "#7a5ccc" - shape_variable: "#f2ce00" - shape_flag: "#00a3cc" - shape_custom: "#5ccc96" - shape_nothing: "#7a5ccc" +export def main [] { return { + separator: "#686f9a" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#5ccc96" attr: "b" } + empty: "#00a3cc" + bool: {|| if $in { "#7a5ccc" } else { "light_gray" } } + int: "#686f9a" + filesize: {|e| + if $e == 0b { + "#686f9a" + } else if $e < 1mb { + "#7a5ccc" + } else {{ fg: "#00a3cc" }} } -} + duration: "#686f9a" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e33400" attr: "b" } + } else if $in < 6hr { + "#e33400" + } else if $in < 1day { + "#b3a1e6" + } else if $in < 3day { + "#5ccc96" + } else if $in < 1wk { + { fg: "#5ccc96" attr: "b" } + } else if $in < 6wk { + "#7a5ccc" + } else if $in < 52wk { + "#00a3cc" + } else { "dark_gray" } + } + range: "#686f9a" + float: "#686f9a" + string: "#686f9a" + nothing: "#686f9a" + binary: "#686f9a" + cellpath: "#686f9a" + row_index: { fg: "#5ccc96" attr: "b" } + record: "#686f9a" + list: "#686f9a" + block: "#686f9a" + hints: "dark_gray" + + shape_and: { fg: "#f2ce00" attr: "b" } + shape_binary: { fg: "#f2ce00" attr: "b" } + shape_block: { fg: "#00a3cc" attr: "b" } + shape_bool: "#7a5ccc" + shape_custom: "#5ccc96" + shape_datetime: { fg: "#7a5ccc" attr: "b" } + shape_directory: "#7a5ccc" + shape_external: "#7a5ccc" + shape_externalarg: { fg: "#5ccc96" attr: "b" } + shape_filepath: "#7a5ccc" + shape_flag: { fg: "#00a3cc" attr: "b" } + shape_float: { fg: "#f2ce00" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7a5ccc" attr: "b" } + shape_int: { fg: "#f2ce00" attr: "b" } + shape_internalcall: { fg: "#7a5ccc" attr: "b" } + shape_list: { fg: "#7a5ccc" attr: "b" } + shape_literal: "#00a3cc" + shape_match_pattern: "#5ccc96" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7a5ccc" + shape_operator: "#b3a1e6" + shape_or: { fg: "#f2ce00" attr: "b" } + shape_pipe: { fg: "#f2ce00" attr: "b" } + shape_range: { fg: "#b3a1e6" attr: "b" } + shape_record: { fg: "#7a5ccc" attr: "b" } + shape_redirection: { fg: "#f2ce00" attr: "b" } + shape_signature: { fg: "#5ccc96" attr: "b" } + shape_string: "#5ccc96" + shape_string_interpolation: { fg: "#7a5ccc" attr: "b" } + shape_table: { fg: "#00a3cc" attr: "b" } + shape_variable: "#f2ce00" + + background: "#0f111b" + foreground: "#ecf0c1" + cursor: "#ecf0c1" +}} \ No newline at end of file diff --git a/themes/themes/spacedust.nu b/themes/themes/spacedust.nu index 51429b1..c36ac0a 100644 --- a/themes/themes/spacedust.nu +++ b/themes/themes/spacedust.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the spacedust theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0a1e24" - # foreground: "#ecf0c1" - # cursor: "#ecf0c1" - - { - # color for nushell primitives - separator: "#fefff1" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#aecab8" - empty: "#0f548b" - bool: "#fefff1" - int: "#fefff1" - filesize: "#fefff1" - duration: "#fefff1" - date: "#fefff1" - range: "#fefff1" - float: "#fefff1" - string: "#fefff1" - nothing: "#fefff1" - binary: "#fefff1" - cellpath: "#fefff1" - row_index: "#aecab8" - record: "#fefff1" - list: "#fefff1" - block: "#fefff1" - hints: "#684c31" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff8a3a" - shape_bool: "#83a7b4" - shape_int: "#ff8a3a" - shape_float: "#ff8a3a" - shape_range: "#ffc878" - shape_internalcall: "#83a7b4" - shape_external: "#06afc7" - shape_externalarg: "#aecab8" - shape_literal: "#0f548b" - shape_operator: "#e3cd7b" - shape_signature: "#aecab8" - shape_string: "#5cab96" - shape_string_interpolation: "#83a7b4" - shape_datetime: "#83a7b4" - shape_list: "#83a7b4" - shape_table: "#67a0ce" - shape_record: "#83a7b4" - shape_block: "#67a0ce" - shape_filepath: "#06afc7" - shape_globpattern: "#83a7b4" - shape_variable: "#e35b00" - shape_flag: "#67a0ce" - shape_custom: "#5cab96" - shape_nothing: "#83a7b4" +export def main [] { return { + separator: "#f0f1ce" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#5cab96" attr: "b" } + empty: "#0f548b" + bool: {|| if $in { "#83a7b4" } else { "light_gray" } } + int: "#f0f1ce" + filesize: {|e| + if $e == 0b { + "#f0f1ce" + } else if $e < 1mb { + "#06afc7" + } else {{ fg: "#0f548b" }} } -} + duration: "#f0f1ce" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e35b00" attr: "b" } + } else if $in < 6hr { + "#e35b00" + } else if $in < 1day { + "#e3cd7b" + } else if $in < 3day { + "#5cab96" + } else if $in < 1wk { + { fg: "#5cab96" attr: "b" } + } else if $in < 6wk { + "#06afc7" + } else if $in < 52wk { + "#0f548b" + } else { "dark_gray" } + } + range: "#f0f1ce" + float: "#f0f1ce" + string: "#f0f1ce" + nothing: "#f0f1ce" + binary: "#f0f1ce" + cellpath: "#f0f1ce" + row_index: { fg: "#5cab96" attr: "b" } + record: "#f0f1ce" + list: "#f0f1ce" + block: "#f0f1ce" + hints: "dark_gray" + + shape_and: { fg: "#e35b00" attr: "b" } + shape_binary: { fg: "#e35b00" attr: "b" } + shape_block: { fg: "#0f548b" attr: "b" } + shape_bool: "#83a7b4" + shape_custom: "#5cab96" + shape_datetime: { fg: "#06afc7" attr: "b" } + shape_directory: "#06afc7" + shape_external: "#06afc7" + shape_externalarg: { fg: "#5cab96" attr: "b" } + shape_filepath: "#06afc7" + shape_flag: { fg: "#0f548b" attr: "b" } + shape_float: { fg: "#e35b00" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#06afc7" attr: "b" } + shape_int: { fg: "#e35b00" attr: "b" } + shape_internalcall: { fg: "#06afc7" attr: "b" } + shape_list: { fg: "#06afc7" attr: "b" } + shape_literal: "#0f548b" + shape_match_pattern: "#5cab96" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#83a7b4" + shape_operator: "#e3cd7b" + shape_or: { fg: "#e35b00" attr: "b" } + shape_pipe: { fg: "#e35b00" attr: "b" } + shape_range: { fg: "#e3cd7b" attr: "b" } + shape_record: { fg: "#06afc7" attr: "b" } + shape_redirection: { fg: "#e35b00" attr: "b" } + shape_signature: { fg: "#5cab96" attr: "b" } + shape_string: "#5cab96" + shape_string_interpolation: { fg: "#06afc7" attr: "b" } + shape_table: { fg: "#0f548b" attr: "b" } + shape_variable: "#e35b00" + + background: "#0a1e24" + foreground: "#ecf0c1" + cursor: "#ecf0c1" +}} \ No newline at end of file diff --git a/themes/themes/spacegray-eighties-dull.nu b/themes/themes/spacegray-eighties-dull.nu index 01a2424..66b6c44 100644 --- a/themes/themes/spacegray-eighties-dull.nu +++ b/themes/themes/spacegray-eighties-dull.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the spacegray_eighties-dull theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222222" - # foreground: "#c9c6bc" - # cursor: "#c9c6bc" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#89e986" - empty: "#7c8fa5" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#89e986" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bf83c1" - shape_bool: "#58c2c1" - shape_int: "#bf83c1" - shape_float: "#bf83c1" - shape_range: "#fec254" - shape_internalcall: "#58c2c1" - shape_external: "#80cdcb" - shape_externalarg: "#89e986" - shape_literal: "#7c8fa5" - shape_operator: "#c6735a" - shape_signature: "#89e986" - shape_string: "#92b477" - shape_string_interpolation: "#58c2c1" - shape_datetime: "#58c2c1" - shape_list: "#58c2c1" - shape_table: "#5486c0" - shape_record: "#58c2c1" - shape_block: "#5486c0" - shape_filepath: "#80cdcb" - shape_globpattern: "#58c2c1" - shape_variable: "#a5789e" - shape_flag: "#5486c0" - shape_custom: "#92b477" - shape_nothing: "#58c2c1" +export def main [] { return { + separator: "#b3b8c3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#92b477" attr: "b" } + empty: "#7c8fa5" + bool: {|| if $in { "#58c2c1" } else { "light_gray" } } + int: "#b3b8c3" + filesize: {|e| + if $e == 0b { + "#b3b8c3" + } else if $e < 1mb { + "#80cdcb" + } else {{ fg: "#7c8fa5" }} } -} + duration: "#b3b8c3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b24a56" attr: "b" } + } else if $in < 6hr { + "#b24a56" + } else if $in < 1day { + "#c6735a" + } else if $in < 3day { + "#92b477" + } else if $in < 1wk { + { fg: "#92b477" attr: "b" } + } else if $in < 6wk { + "#80cdcb" + } else if $in < 52wk { + "#7c8fa5" + } else { "dark_gray" } + } + range: "#b3b8c3" + float: "#b3b8c3" + string: "#b3b8c3" + nothing: "#b3b8c3" + binary: "#b3b8c3" + cellpath: "#b3b8c3" + row_index: { fg: "#92b477" attr: "b" } + record: "#b3b8c3" + list: "#b3b8c3" + block: "#b3b8c3" + hints: "dark_gray" + + shape_and: { fg: "#a5789e" attr: "b" } + shape_binary: { fg: "#a5789e" attr: "b" } + shape_block: { fg: "#7c8fa5" attr: "b" } + shape_bool: "#58c2c1" + shape_custom: "#92b477" + shape_datetime: { fg: "#80cdcb" attr: "b" } + shape_directory: "#80cdcb" + shape_external: "#80cdcb" + shape_externalarg: { fg: "#92b477" attr: "b" } + shape_filepath: "#80cdcb" + shape_flag: { fg: "#7c8fa5" attr: "b" } + shape_float: { fg: "#a5789e" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#80cdcb" attr: "b" } + shape_int: { fg: "#a5789e" attr: "b" } + shape_internalcall: { fg: "#80cdcb" attr: "b" } + shape_list: { fg: "#80cdcb" attr: "b" } + shape_literal: "#7c8fa5" + shape_match_pattern: "#92b477" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#58c2c1" + shape_operator: "#c6735a" + shape_or: { fg: "#a5789e" attr: "b" } + shape_pipe: { fg: "#a5789e" attr: "b" } + shape_range: { fg: "#c6735a" attr: "b" } + shape_record: { fg: "#80cdcb" attr: "b" } + shape_redirection: { fg: "#a5789e" attr: "b" } + shape_signature: { fg: "#92b477" attr: "b" } + shape_string: "#92b477" + shape_string_interpolation: { fg: "#80cdcb" attr: "b" } + shape_table: { fg: "#7c8fa5" attr: "b" } + shape_variable: "#a5789e" + + background: "#222222" + foreground: "#c9c6bc" + cursor: "#c9c6bc" +}} \ No newline at end of file diff --git a/themes/themes/spacegray-eighties.nu b/themes/themes/spacegray-eighties.nu index 890755e..1af493a 100644 --- a/themes/themes/spacegray-eighties.nu +++ b/themes/themes/spacegray-eighties.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the spacegray_eighties theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#222222" - # foreground: "#bdbaae" - # cursor: "#bdbaae" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#93d493" - empty: "#5486c0" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#93d493" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff55ff" - shape_bool: "#83e9e4" - shape_int: "#ff55ff" - shape_float: "#ff55ff" - shape_range: "#ffd256" - shape_internalcall: "#83e9e4" - shape_external: "#57c2c1" - shape_externalarg: "#93d493" - shape_literal: "#5486c0" - shape_operator: "#fec254" - shape_signature: "#93d493" - shape_string: "#81a764" - shape_string_interpolation: "#83e9e4" - shape_datetime: "#83e9e4" - shape_list: "#83e9e4" - shape_table: "#4d84d1" - shape_record: "#83e9e4" - shape_block: "#4d84d1" - shape_filepath: "#57c2c1" - shape_globpattern: "#83e9e4" - shape_variable: "#bf83c1" - shape_flag: "#4d84d1" - shape_custom: "#81a764" - shape_nothing: "#83e9e4" +export def main [] { return { + separator: "#efece7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#81a764" attr: "b" } + empty: "#5486c0" + bool: {|| if $in { "#83e9e4" } else { "light_gray" } } + int: "#efece7" + filesize: {|e| + if $e == 0b { + "#efece7" + } else if $e < 1mb { + "#57c2c1" + } else {{ fg: "#5486c0" }} } -} + duration: "#efece7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ec5f67" attr: "b" } + } else if $in < 6hr { + "#ec5f67" + } else if $in < 1day { + "#fec254" + } else if $in < 3day { + "#81a764" + } else if $in < 1wk { + { fg: "#81a764" attr: "b" } + } else if $in < 6wk { + "#57c2c1" + } else if $in < 52wk { + "#5486c0" + } else { "dark_gray" } + } + range: "#efece7" + float: "#efece7" + string: "#efece7" + nothing: "#efece7" + binary: "#efece7" + cellpath: "#efece7" + row_index: { fg: "#81a764" attr: "b" } + record: "#efece7" + list: "#efece7" + block: "#efece7" + hints: "dark_gray" + + shape_and: { fg: "#bf83c1" attr: "b" } + shape_binary: { fg: "#bf83c1" attr: "b" } + shape_block: { fg: "#5486c0" attr: "b" } + shape_bool: "#83e9e4" + shape_custom: "#81a764" + shape_datetime: { fg: "#57c2c1" attr: "b" } + shape_directory: "#57c2c1" + shape_external: "#57c2c1" + shape_externalarg: { fg: "#81a764" attr: "b" } + shape_filepath: "#57c2c1" + shape_flag: { fg: "#5486c0" attr: "b" } + shape_float: { fg: "#bf83c1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#57c2c1" attr: "b" } + shape_int: { fg: "#bf83c1" attr: "b" } + shape_internalcall: { fg: "#57c2c1" attr: "b" } + shape_list: { fg: "#57c2c1" attr: "b" } + shape_literal: "#5486c0" + shape_match_pattern: "#81a764" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#83e9e4" + shape_operator: "#fec254" + shape_or: { fg: "#bf83c1" attr: "b" } + shape_pipe: { fg: "#bf83c1" attr: "b" } + shape_range: { fg: "#fec254" attr: "b" } + shape_record: { fg: "#57c2c1" attr: "b" } + shape_redirection: { fg: "#bf83c1" attr: "b" } + shape_signature: { fg: "#81a764" attr: "b" } + shape_string: "#81a764" + shape_string_interpolation: { fg: "#57c2c1" attr: "b" } + shape_table: { fg: "#5486c0" attr: "b" } + shape_variable: "#bf83c1" + + background: "#222222" + foreground: "#bdbaae" + cursor: "#bdbaae" +}} \ No newline at end of file diff --git a/themes/themes/spacegray.nu b/themes/themes/spacegray.nu index cbccebe..15d911f 100644 --- a/themes/themes/spacegray.nu +++ b/themes/themes/spacegray.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the spacegray theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#20242d" - # foreground: "#b3b8c3" - # cursor: "#b3b8c3" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#87b379" - empty: "#7d8fa4" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#87b379" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#000000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a47996" - shape_bool: "#85a7a5" - shape_int: "#a47996" - shape_float: "#a47996" - shape_range: "#e5c179" - shape_internalcall: "#85a7a5" - shape_external: "#85a7a5" - shape_externalarg: "#87b379" - shape_literal: "#7d8fa4" - shape_operator: "#e5c179" - shape_signature: "#87b379" - shape_string: "#87b379" - shape_string_interpolation: "#85a7a5" - shape_datetime: "#85a7a5" - shape_list: "#85a7a5" - shape_table: "#7d8fa4" - shape_record: "#85a7a5" - shape_block: "#7d8fa4" - shape_filepath: "#85a7a5" - shape_globpattern: "#85a7a5" - shape_variable: "#a47996" - shape_flag: "#7d8fa4" - shape_custom: "#87b379" - shape_nothing: "#85a7a5" +export def main [] { return { + separator: "#b3b8c3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#87b379" attr: "b" } + empty: "#7d8fa4" + bool: {|| if $in { "#85a7a5" } else { "light_gray" } } + int: "#b3b8c3" + filesize: {|e| + if $e == 0b { + "#b3b8c3" + } else if $e < 1mb { + "#85a7a5" + } else {{ fg: "#7d8fa4" }} } -} + duration: "#b3b8c3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b04b57" attr: "b" } + } else if $in < 6hr { + "#b04b57" + } else if $in < 1day { + "#e5c179" + } else if $in < 3day { + "#87b379" + } else if $in < 1wk { + { fg: "#87b379" attr: "b" } + } else if $in < 6wk { + "#85a7a5" + } else if $in < 52wk { + "#7d8fa4" + } else { "dark_gray" } + } + range: "#b3b8c3" + float: "#b3b8c3" + string: "#b3b8c3" + nothing: "#b3b8c3" + binary: "#b3b8c3" + cellpath: "#b3b8c3" + row_index: { fg: "#87b379" attr: "b" } + record: "#b3b8c3" + list: "#b3b8c3" + block: "#b3b8c3" + hints: "dark_gray" + + shape_and: { fg: "#a47996" attr: "b" } + shape_binary: { fg: "#a47996" attr: "b" } + shape_block: { fg: "#7d8fa4" attr: "b" } + shape_bool: "#85a7a5" + shape_custom: "#87b379" + shape_datetime: { fg: "#85a7a5" attr: "b" } + shape_directory: "#85a7a5" + shape_external: "#85a7a5" + shape_externalarg: { fg: "#87b379" attr: "b" } + shape_filepath: "#85a7a5" + shape_flag: { fg: "#7d8fa4" attr: "b" } + shape_float: { fg: "#a47996" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#85a7a5" attr: "b" } + shape_int: { fg: "#a47996" attr: "b" } + shape_internalcall: { fg: "#85a7a5" attr: "b" } + shape_list: { fg: "#85a7a5" attr: "b" } + shape_literal: "#7d8fa4" + shape_match_pattern: "#87b379" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#85a7a5" + shape_operator: "#e5c179" + shape_or: { fg: "#a47996" attr: "b" } + shape_pipe: { fg: "#a47996" attr: "b" } + shape_range: { fg: "#e5c179" attr: "b" } + shape_record: { fg: "#85a7a5" attr: "b" } + shape_redirection: { fg: "#a47996" attr: "b" } + shape_signature: { fg: "#87b379" attr: "b" } + shape_string: "#87b379" + shape_string_interpolation: { fg: "#85a7a5" attr: "b" } + shape_table: { fg: "#7d8fa4" attr: "b" } + shape_variable: "#a47996" + + background: "#20242d" + foreground: "#b3b8c3" + cursor: "#b3b8c3" +}} \ No newline at end of file diff --git a/themes/themes/spacemacs.nu b/themes/themes/spacemacs.nu index 8197f34..9c356d8 100644 --- a/themes/themes/spacemacs.nu +++ b/themes/themes/spacemacs.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the spacemacs theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1f2022" - # foreground: "#a3a3a3" - # cursor: "#a3a3a3" - - { - # color for nushell primitives - separator: "#f8f8f8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#67b11d" - empty: "#4f97d7" - bool: "#f8f8f8" - int: "#f8f8f8" - filesize: "#f8f8f8" - duration: "#f8f8f8" - date: "#f8f8f8" - range: "#f8f8f8" - float: "#f8f8f8" - string: "#f8f8f8" - nothing: "#f8f8f8" - binary: "#f8f8f8" - cellpath: "#f8f8f8" - row_index: "#67b11d" - record: "#f8f8f8" - list: "#f8f8f8" - block: "#f8f8f8" - hints: "#585858" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a31db1" - shape_bool: "#2d9574" - shape_int: "#a31db1" - shape_float: "#a31db1" - shape_range: "#b1951d" - shape_internalcall: "#2d9574" - shape_external: "#2d9574" - shape_externalarg: "#67b11d" - shape_literal: "#4f97d7" - shape_operator: "#b1951d" - shape_signature: "#67b11d" - shape_string: "#67b11d" - shape_string_interpolation: "#2d9574" - shape_datetime: "#2d9574" - shape_list: "#2d9574" - shape_table: "#4f97d7" - shape_record: "#2d9574" - shape_block: "#4f97d7" - shape_filepath: "#2d9574" - shape_globpattern: "#2d9574" - shape_variable: "#a31db1" - shape_flag: "#4f97d7" - shape_custom: "#67b11d" - shape_nothing: "#2d9574" +export def main [] { return { + separator: "#a3a3a3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#67b11d" attr: "b" } + empty: "#4f97d7" + bool: {|| if $in { "#2d9574" } else { "light_gray" } } + int: "#a3a3a3" + filesize: {|e| + if $e == 0b { + "#a3a3a3" + } else if $e < 1mb { + "#2d9574" + } else {{ fg: "#4f97d7" }} } -} + duration: "#a3a3a3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f2241f" attr: "b" } + } else if $in < 6hr { + "#f2241f" + } else if $in < 1day { + "#b1951d" + } else if $in < 3day { + "#67b11d" + } else if $in < 1wk { + { fg: "#67b11d" attr: "b" } + } else if $in < 6wk { + "#2d9574" + } else if $in < 52wk { + "#4f97d7" + } else { "dark_gray" } + } + range: "#a3a3a3" + float: "#a3a3a3" + string: "#a3a3a3" + nothing: "#a3a3a3" + binary: "#a3a3a3" + cellpath: "#a3a3a3" + row_index: { fg: "#67b11d" attr: "b" } + record: "#a3a3a3" + list: "#a3a3a3" + block: "#a3a3a3" + hints: "dark_gray" + + shape_and: { fg: "#a31db1" attr: "b" } + shape_binary: { fg: "#a31db1" attr: "b" } + shape_block: { fg: "#4f97d7" attr: "b" } + shape_bool: "#2d9574" + shape_custom: "#67b11d" + shape_datetime: { fg: "#2d9574" attr: "b" } + shape_directory: "#2d9574" + shape_external: "#2d9574" + shape_externalarg: { fg: "#67b11d" attr: "b" } + shape_filepath: "#2d9574" + shape_flag: { fg: "#4f97d7" attr: "b" } + shape_float: { fg: "#a31db1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2d9574" attr: "b" } + shape_int: { fg: "#a31db1" attr: "b" } + shape_internalcall: { fg: "#2d9574" attr: "b" } + shape_list: { fg: "#2d9574" attr: "b" } + shape_literal: "#4f97d7" + shape_match_pattern: "#67b11d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2d9574" + shape_operator: "#b1951d" + shape_or: { fg: "#a31db1" attr: "b" } + shape_pipe: { fg: "#a31db1" attr: "b" } + shape_range: { fg: "#b1951d" attr: "b" } + shape_record: { fg: "#2d9574" attr: "b" } + shape_redirection: { fg: "#a31db1" attr: "b" } + shape_signature: { fg: "#67b11d" attr: "b" } + shape_string: "#67b11d" + shape_string_interpolation: { fg: "#2d9574" attr: "b" } + shape_table: { fg: "#4f97d7" attr: "b" } + shape_variable: "#a31db1" + + background: "#1f2022" + foreground: "#a3a3a3" + cursor: "#a3a3a3" +}} \ No newline at end of file diff --git a/themes/themes/spiderman.nu b/themes/themes/spiderman.nu index 0d41f50..5a7e51b 100644 --- a/themes/themes/spiderman.nu +++ b/themes/themes/spiderman.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the spiderman theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1b1d1e" - # foreground: "#e2e2e2" - # cursor: "#2b3fff" - - { - # color for nushell primitives - separator: "#fefff9" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ff3238" - empty: "#2b3fff" - bool: "#fefff9" - int: "#fefff9" - filesize: "#fefff9" - duration: "#fefff9" - date: "#fefff9" - range: "#fefff9" - float: "#fefff9" - string: "#fefff9" - nothing: "#fefff9" - binary: "#fefff9" - cellpath: "#fefff9" - row_index: "#ff3238" - record: "#fefff9" - list: "#fefff9" - block: "#fefff9" - hints: "#505354" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#737bff" - shape_bool: "#6083ff" - shape_int: "#737bff" - shape_float: "#737bff" - shape_range: "#fe3935" - shape_internalcall: "#6083ff" - shape_external: "#3255ff" - shape_externalarg: "#ff3238" - shape_literal: "#2b3fff" - shape_operator: "#e24655" - shape_signature: "#ff3238" - shape_string: "#e22828" - shape_string_interpolation: "#6083ff" - shape_datetime: "#6083ff" - shape_list: "#6083ff" - shape_table: "#1d4fff" - shape_record: "#6083ff" - shape_block: "#1d4fff" - shape_filepath: "#3255ff" - shape_globpattern: "#6083ff" - shape_variable: "#2435db" - shape_flag: "#1d4fff" - shape_custom: "#e22828" - shape_nothing: "#6083ff" +export def main [] { return { + separator: "#fffef6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#e22828" attr: "b" } + empty: "#2b3fff" + bool: {|| if $in { "#6083ff" } else { "light_gray" } } + int: "#fffef6" + filesize: {|e| + if $e == 0b { + "#fffef6" + } else if $e < 1mb { + "#3255ff" + } else {{ fg: "#2b3fff" }} } -} + duration: "#fffef6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e60712" attr: "b" } + } else if $in < 6hr { + "#e60712" + } else if $in < 1day { + "#e24655" + } else if $in < 3day { + "#e22828" + } else if $in < 1wk { + { fg: "#e22828" attr: "b" } + } else if $in < 6wk { + "#3255ff" + } else if $in < 52wk { + "#2b3fff" + } else { "dark_gray" } + } + range: "#fffef6" + float: "#fffef6" + string: "#fffef6" + nothing: "#fffef6" + binary: "#fffef6" + cellpath: "#fffef6" + row_index: { fg: "#e22828" attr: "b" } + record: "#fffef6" + list: "#fffef6" + block: "#fffef6" + hints: "dark_gray" + + shape_and: { fg: "#2435db" attr: "b" } + shape_binary: { fg: "#2435db" attr: "b" } + shape_block: { fg: "#2b3fff" attr: "b" } + shape_bool: "#6083ff" + shape_custom: "#e22828" + shape_datetime: { fg: "#3255ff" attr: "b" } + shape_directory: "#3255ff" + shape_external: "#3255ff" + shape_externalarg: { fg: "#e22828" attr: "b" } + shape_filepath: "#3255ff" + shape_flag: { fg: "#2b3fff" attr: "b" } + shape_float: { fg: "#2435db" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3255ff" attr: "b" } + shape_int: { fg: "#2435db" attr: "b" } + shape_internalcall: { fg: "#3255ff" attr: "b" } + shape_list: { fg: "#3255ff" attr: "b" } + shape_literal: "#2b3fff" + shape_match_pattern: "#e22828" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#6083ff" + shape_operator: "#e24655" + shape_or: { fg: "#2435db" attr: "b" } + shape_pipe: { fg: "#2435db" attr: "b" } + shape_range: { fg: "#e24655" attr: "b" } + shape_record: { fg: "#3255ff" attr: "b" } + shape_redirection: { fg: "#2435db" attr: "b" } + shape_signature: { fg: "#e22828" attr: "b" } + shape_string: "#e22828" + shape_string_interpolation: { fg: "#3255ff" attr: "b" } + shape_table: { fg: "#2b3fff" attr: "b" } + shape_variable: "#2435db" + + background: "#1b1d1e" + foreground: "#e2e2e2" + cursor: "#2b3fff" +}} \ No newline at end of file diff --git a/themes/themes/spring.nu b/themes/themes/spring.nu index 4080341..0e616c9 100644 --- a/themes/themes/spring.nu +++ b/themes/themes/spring.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the spring theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0a1e24" - # foreground: "#ecf0c1" - # cursor: "#ecf0c1" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#1fc231" - empty: "#1dd3ee" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#1fc231" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#000000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8959a8" - shape_bool: "#3e999f" - shape_int: "#8959a8" - shape_float: "#8959a8" - shape_range: "#d5b807" - shape_internalcall: "#3e999f" - shape_external: "#3e999f" - shape_externalarg: "#1fc231" - shape_literal: "#1dd3ee" - shape_operator: "#1fc95b" - shape_signature: "#1fc231" - shape_string: "#1f8c3b" - shape_string_interpolation: "#3e999f" - shape_datetime: "#3e999f" - shape_list: "#3e999f" - shape_table: "#15a9fd" - shape_record: "#3e999f" - shape_block: "#15a9fd" - shape_filepath: "#3e999f" - shape_globpattern: "#3e999f" - shape_variable: "#8959a8" - shape_flag: "#15a9fd" - shape_custom: "#1f8c3b" - shape_nothing: "#3e999f" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#1f8c3b" attr: "b" } + empty: "#1dd3ee" + bool: {|| if $in { "#3e999f" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#3e999f" + } else {{ fg: "#1dd3ee" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff4d83" attr: "b" } + } else if $in < 6hr { + "#ff4d83" + } else if $in < 1day { + "#1fc95b" + } else if $in < 3day { + "#1f8c3b" + } else if $in < 1wk { + { fg: "#1f8c3b" attr: "b" } + } else if $in < 6wk { + "#3e999f" + } else if $in < 52wk { + "#1dd3ee" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#1f8c3b" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#8959a8" attr: "b" } + shape_binary: { fg: "#8959a8" attr: "b" } + shape_block: { fg: "#1dd3ee" attr: "b" } + shape_bool: "#3e999f" + shape_custom: "#1f8c3b" + shape_datetime: { fg: "#3e999f" attr: "b" } + shape_directory: "#3e999f" + shape_external: "#3e999f" + shape_externalarg: { fg: "#1f8c3b" attr: "b" } + shape_filepath: "#3e999f" + shape_flag: { fg: "#1dd3ee" attr: "b" } + shape_float: { fg: "#8959a8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3e999f" attr: "b" } + shape_int: { fg: "#8959a8" attr: "b" } + shape_internalcall: { fg: "#3e999f" attr: "b" } + shape_list: { fg: "#3e999f" attr: "b" } + shape_literal: "#1dd3ee" + shape_match_pattern: "#1f8c3b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3e999f" + shape_operator: "#1fc95b" + shape_or: { fg: "#8959a8" attr: "b" } + shape_pipe: { fg: "#8959a8" attr: "b" } + shape_range: { fg: "#1fc95b" attr: "b" } + shape_record: { fg: "#3e999f" attr: "b" } + shape_redirection: { fg: "#8959a8" attr: "b" } + shape_signature: { fg: "#1f8c3b" attr: "b" } + shape_string: "#1f8c3b" + shape_string_interpolation: { fg: "#3e999f" attr: "b" } + shape_table: { fg: "#1dd3ee" attr: "b" } + shape_variable: "#8959a8" + + background: "#0a1e24" + foreground: "#ecf0c1" + cursor: "#ecf0c1" +}} \ No newline at end of file diff --git a/themes/themes/square.nu b/themes/themes/square.nu index d67cd35..6de674e 100644 --- a/themes/themes/square.nu +++ b/themes/themes/square.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the square theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0a1e24" - # foreground: "#1a1a1a" - # cursor: "#1a1a1a" - - { - # color for nushell primitives - separator: "#e2e2e2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#c3f786" - empty: "#a9cdeb" - bool: "#e2e2e2" - int: "#e2e2e2" - filesize: "#e2e2e2" - duration: "#e2e2e2" - date: "#e2e2e2" - range: "#e2e2e2" - float: "#e2e2e2" - string: "#e2e2e2" - nothing: "#e2e2e2" - binary: "#e2e2e2" - cellpath: "#e2e2e2" - row_index: "#c3f786" - record: "#e2e2e2" - list: "#e2e2e2" - block: "#e2e2e2" - hints: "#141414" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ad7fa8" - shape_bool: "#d7d9fc" - shape_int: "#ad7fa8" - shape_float: "#ad7fa8" - shape_range: "#fcfbcc" - shape_internalcall: "#d7d9fc" - shape_external: "#c9caec" - shape_externalarg: "#c3f786" - shape_literal: "#a9cdeb" - shape_operator: "#ecebbe" - shape_signature: "#c3f786" - shape_string: "#b6377d" - shape_string_interpolation: "#d7d9fc" - shape_datetime: "#d7d9fc" - shape_list: "#d7d9fc" - shape_table: "#b6defb" - shape_record: "#d7d9fc" - shape_block: "#b6defb" - shape_filepath: "#c9caec" - shape_globpattern: "#d7d9fc" - shape_variable: "#75507b" - shape_flag: "#b6defb" - shape_custom: "#b6377d" - shape_nothing: "#d7d9fc" +export def main [] { return { + separator: "#f2f2f2" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b6377d" attr: "b" } + empty: "#a9cdeb" + bool: {|| if $in { "#d7d9fc" } else { "light_gray" } } + int: "#f2f2f2" + filesize: {|e| + if $e == 0b { + "#f2f2f2" + } else if $e < 1mb { + "#c9caec" + } else {{ fg: "#a9cdeb" }} } -} + duration: "#f2f2f2" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e9897c" attr: "b" } + } else if $in < 6hr { + "#e9897c" + } else if $in < 1day { + "#ecebbe" + } else if $in < 3day { + "#b6377d" + } else if $in < 1wk { + { fg: "#b6377d" attr: "b" } + } else if $in < 6wk { + "#c9caec" + } else if $in < 52wk { + "#a9cdeb" + } else { "dark_gray" } + } + range: "#f2f2f2" + float: "#f2f2f2" + string: "#f2f2f2" + nothing: "#f2f2f2" + binary: "#f2f2f2" + cellpath: "#f2f2f2" + row_index: { fg: "#b6377d" attr: "b" } + record: "#f2f2f2" + list: "#f2f2f2" + block: "#f2f2f2" + hints: "dark_gray" + + shape_and: { fg: "#75507b" attr: "b" } + shape_binary: { fg: "#75507b" attr: "b" } + shape_block: { fg: "#a9cdeb" attr: "b" } + shape_bool: "#d7d9fc" + shape_custom: "#b6377d" + shape_datetime: { fg: "#c9caec" attr: "b" } + shape_directory: "#c9caec" + shape_external: "#c9caec" + shape_externalarg: { fg: "#b6377d" attr: "b" } + shape_filepath: "#c9caec" + shape_flag: { fg: "#a9cdeb" attr: "b" } + shape_float: { fg: "#75507b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#c9caec" attr: "b" } + shape_int: { fg: "#75507b" attr: "b" } + shape_internalcall: { fg: "#c9caec" attr: "b" } + shape_list: { fg: "#c9caec" attr: "b" } + shape_literal: "#a9cdeb" + shape_match_pattern: "#b6377d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#d7d9fc" + shape_operator: "#ecebbe" + shape_or: { fg: "#75507b" attr: "b" } + shape_pipe: { fg: "#75507b" attr: "b" } + shape_range: { fg: "#ecebbe" attr: "b" } + shape_record: { fg: "#c9caec" attr: "b" } + shape_redirection: { fg: "#75507b" attr: "b" } + shape_signature: { fg: "#b6377d" attr: "b" } + shape_string: "#b6377d" + shape_string_interpolation: { fg: "#c9caec" attr: "b" } + shape_table: { fg: "#a9cdeb" attr: "b" } + shape_variable: "#75507b" + + background: "#0a1e24" + foreground: "#1a1a1a" + cursor: "#1a1a1a" +}} \ No newline at end of file diff --git a/themes/themes/srcery.nu b/themes/themes/srcery.nu index e3e7365..a6d9642 100644 --- a/themes/themes/srcery.nu +++ b/themes/themes/srcery.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the srcery theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1c1b19" - # foreground: "#fce8c3" - # cursor: "#fbb829" - - { - # color for nushell primitives - separator: "#fce8c3" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#98bc37" - empty: "#2c78bf" - bool: "#fce8c3" - int: "#fce8c3" - filesize: "#fce8c3" - duration: "#fce8c3" - date: "#fce8c3" - range: "#fce8c3" - float: "#fce8c3" - string: "#fce8c3" - nothing: "#fce8c3" - binary: "#fce8c3" - cellpath: "#fce8c3" - row_index: "#98bc37" - record: "#fce8c3" - list: "#fce8c3" - block: "#fce8c3" - hints: "#918175" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff5c8f" - shape_bool: "#2be4d0" - shape_int: "#ff5c8f" - shape_float: "#ff5c8f" - shape_range: "#fed06e" - shape_internalcall: "#2be4d0" - shape_external: "#0aaeb3" - shape_externalarg: "#98bc37" - shape_literal: "#2c78bf" - shape_operator: "#fbb829" - shape_signature: "#98bc37" - shape_string: "#519f50" - shape_string_interpolation: "#2be4d0" - shape_datetime: "#2be4d0" - shape_list: "#2be4d0" - shape_table: "#68a8e4" - shape_record: "#2be4d0" - shape_block: "#68a8e4" - shape_filepath: "#0aaeb3" - shape_globpattern: "#2be4d0" - shape_variable: "#e02c6d" - shape_flag: "#68a8e4" - shape_custom: "#519f50" - shape_nothing: "#2be4d0" +export def main [] { return { + separator: "#baa67f" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#519f50" attr: "b" } + empty: "#2c78bf" + bool: {|| if $in { "#2be4d0" } else { "light_gray" } } + int: "#baa67f" + filesize: {|e| + if $e == 0b { + "#baa67f" + } else if $e < 1mb { + "#0aaeb3" + } else {{ fg: "#2c78bf" }} } -} + duration: "#baa67f" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ef2f27" attr: "b" } + } else if $in < 6hr { + "#ef2f27" + } else if $in < 1day { + "#fbb829" + } else if $in < 3day { + "#519f50" + } else if $in < 1wk { + { fg: "#519f50" attr: "b" } + } else if $in < 6wk { + "#0aaeb3" + } else if $in < 52wk { + "#2c78bf" + } else { "dark_gray" } + } + range: "#baa67f" + float: "#baa67f" + string: "#baa67f" + nothing: "#baa67f" + binary: "#baa67f" + cellpath: "#baa67f" + row_index: { fg: "#519f50" attr: "b" } + record: "#baa67f" + list: "#baa67f" + block: "#baa67f" + hints: "dark_gray" + + shape_and: { fg: "#e02c6d" attr: "b" } + shape_binary: { fg: "#e02c6d" attr: "b" } + shape_block: { fg: "#2c78bf" attr: "b" } + shape_bool: "#2be4d0" + shape_custom: "#519f50" + shape_datetime: { fg: "#0aaeb3" attr: "b" } + shape_directory: "#0aaeb3" + shape_external: "#0aaeb3" + shape_externalarg: { fg: "#519f50" attr: "b" } + shape_filepath: "#0aaeb3" + shape_flag: { fg: "#2c78bf" attr: "b" } + shape_float: { fg: "#e02c6d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#0aaeb3" attr: "b" } + shape_int: { fg: "#e02c6d" attr: "b" } + shape_internalcall: { fg: "#0aaeb3" attr: "b" } + shape_list: { fg: "#0aaeb3" attr: "b" } + shape_literal: "#2c78bf" + shape_match_pattern: "#519f50" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2be4d0" + shape_operator: "#fbb829" + shape_or: { fg: "#e02c6d" attr: "b" } + shape_pipe: { fg: "#e02c6d" attr: "b" } + shape_range: { fg: "#fbb829" attr: "b" } + shape_record: { fg: "#0aaeb3" attr: "b" } + shape_redirection: { fg: "#e02c6d" attr: "b" } + shape_signature: { fg: "#519f50" attr: "b" } + shape_string: "#519f50" + shape_string_interpolation: { fg: "#0aaeb3" attr: "b" } + shape_table: { fg: "#2c78bf" attr: "b" } + shape_variable: "#e02c6d" + + background: "#1c1b19" + foreground: "#fce8c3" + cursor: "#fbb829" +}} \ No newline at end of file diff --git a/themes/themes/substrata.nu b/themes/themes/substrata.nu index 37fe249..c2070ab 100644 --- a/themes/themes/substrata.nu +++ b/themes/themes/substrata.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the substrata theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#191c25" - # foreground: "#b5b4c9" - # cursor: "#b5b4c9" - - { - # color for nushell primitives - separator: "#f0ecfe" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#92c47e" - empty: "#8296b0" - bool: "#f0ecfe" - int: "#f0ecfe" - filesize: "#f0ecfe" - duration: "#f0ecfe" - date: "#f0ecfe" - range: "#f0ecfe" - float: "#f0ecfe" - string: "#f0ecfe" - nothing: "#f0ecfe" - binary: "#f0ecfe" - cellpath: "#f0ecfe" - row_index: "#92c47e" - record: "#f0ecfe" - list: "#f0ecfe" - block: "#f0ecfe" - hints: "#5b5f71" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c6aed7" - shape_bool: "#7dc2c7" - shape_int: "#c6aed7" - shape_float: "#c6aed7" - shape_range: "#d2b45f" - shape_internalcall: "#7dc2c7" - shape_external: "#659ea2" - shape_externalarg: "#92c47e" - shape_literal: "#8296b0" - shape_operator: "#ab924c" - shape_signature: "#92c47e" - shape_string: "#76a065" - shape_string_interpolation: "#7dc2c7" - shape_datetime: "#7dc2c7" - shape_list: "#7dc2c7" - shape_table: "#a0b9d8" - shape_record: "#7dc2c7" - shape_block: "#a0b9d8" - shape_filepath: "#659ea2" - shape_globpattern: "#7dc2c7" - shape_variable: "#a18daf" - shape_flag: "#a0b9d8" - shape_custom: "#76a065" - shape_nothing: "#7dc2c7" +export def main [] { return { + separator: "#b5b4c9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#76a065" attr: "b" } + empty: "#8296b0" + bool: {|| if $in { "#7dc2c7" } else { "light_gray" } } + int: "#b5b4c9" + filesize: {|e| + if $e == 0b { + "#b5b4c9" + } else if $e < 1mb { + "#659ea2" + } else {{ fg: "#8296b0" }} } -} + duration: "#b5b4c9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cf8164" attr: "b" } + } else if $in < 6hr { + "#cf8164" + } else if $in < 1day { + "#ab924c" + } else if $in < 3day { + "#76a065" + } else if $in < 1wk { + { fg: "#76a065" attr: "b" } + } else if $in < 6wk { + "#659ea2" + } else if $in < 52wk { + "#8296b0" + } else { "dark_gray" } + } + range: "#b5b4c9" + float: "#b5b4c9" + string: "#b5b4c9" + nothing: "#b5b4c9" + binary: "#b5b4c9" + cellpath: "#b5b4c9" + row_index: { fg: "#76a065" attr: "b" } + record: "#b5b4c9" + list: "#b5b4c9" + block: "#b5b4c9" + hints: "dark_gray" + + shape_and: { fg: "#a18daf" attr: "b" } + shape_binary: { fg: "#a18daf" attr: "b" } + shape_block: { fg: "#8296b0" attr: "b" } + shape_bool: "#7dc2c7" + shape_custom: "#76a065" + shape_datetime: { fg: "#659ea2" attr: "b" } + shape_directory: "#659ea2" + shape_external: "#659ea2" + shape_externalarg: { fg: "#76a065" attr: "b" } + shape_filepath: "#659ea2" + shape_flag: { fg: "#8296b0" attr: "b" } + shape_float: { fg: "#a18daf" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#659ea2" attr: "b" } + shape_int: { fg: "#a18daf" attr: "b" } + shape_internalcall: { fg: "#659ea2" attr: "b" } + shape_list: { fg: "#659ea2" attr: "b" } + shape_literal: "#8296b0" + shape_match_pattern: "#76a065" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7dc2c7" + shape_operator: "#ab924c" + shape_or: { fg: "#a18daf" attr: "b" } + shape_pipe: { fg: "#a18daf" attr: "b" } + shape_range: { fg: "#ab924c" attr: "b" } + shape_record: { fg: "#659ea2" attr: "b" } + shape_redirection: { fg: "#a18daf" attr: "b" } + shape_signature: { fg: "#76a065" attr: "b" } + shape_string: "#76a065" + shape_string_interpolation: { fg: "#659ea2" attr: "b" } + shape_table: { fg: "#8296b0" attr: "b" } + shape_variable: "#a18daf" + + background: "#191c25" + foreground: "#b5b4c9" + cursor: "#b5b4c9" +}} \ No newline at end of file diff --git a/themes/themes/summercamp.nu b/themes/themes/summercamp.nu index 8a13e52..9731bf9 100644 --- a/themes/themes/summercamp.nu +++ b/themes/themes/summercamp.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the summercamp theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1c1810" - # foreground: "#736e55" - # cursor: "#736e55" - - { - # color for nushell primitives - separator: "#f8f5de" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#5ceb5a" - empty: "#489bf0" - bool: "#f8f5de" - int: "#f8f5de" - filesize: "#f8f5de" - duration: "#f8f5de" - date: "#f8f5de" - range: "#f8f5de" - float: "#f8f5de" - string: "#f8f5de" - nothing: "#f8f5de" - binary: "#f8f5de" - cellpath: "#f8f5de" - row_index: "#5ceb5a" - record: "#f8f5de" - list: "#f8f5de" - block: "#f8f5de" - hints: "#504b38" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff8080" - shape_bool: "#5aebbc" - shape_int: "#ff8080" - shape_float: "#ff8080" - shape_range: "#f2ff27" - shape_internalcall: "#5aebbc" - shape_external: "#5aebbc" - shape_externalarg: "#5ceb5a" - shape_literal: "#489bf0" - shape_operator: "#f2ff27" - shape_signature: "#5ceb5a" - shape_string: "#5ceb5a" - shape_string_interpolation: "#5aebbc" - shape_datetime: "#5aebbc" - shape_list: "#5aebbc" - shape_table: "#489bf0" - shape_record: "#5aebbc" - shape_block: "#489bf0" - shape_filepath: "#5aebbc" - shape_globpattern: "#5aebbc" - shape_variable: "#ff8080" - shape_flag: "#489bf0" - shape_custom: "#5ceb5a" - shape_nothing: "#5aebbc" +export def main [] { return { + separator: "#736e55" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#5ceb5a" attr: "b" } + empty: "#489bf0" + bool: {|| if $in { "#5aebbc" } else { "light_gray" } } + int: "#736e55" + filesize: {|e| + if $e == 0b { + "#736e55" + } else if $e < 1mb { + "#5aebbc" + } else {{ fg: "#489bf0" }} } -} + duration: "#736e55" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e35142" attr: "b" } + } else if $in < 6hr { + "#e35142" + } else if $in < 1day { + "#f2ff27" + } else if $in < 3day { + "#5ceb5a" + } else if $in < 1wk { + { fg: "#5ceb5a" attr: "b" } + } else if $in < 6wk { + "#5aebbc" + } else if $in < 52wk { + "#489bf0" + } else { "dark_gray" } + } + range: "#736e55" + float: "#736e55" + string: "#736e55" + nothing: "#736e55" + binary: "#736e55" + cellpath: "#736e55" + row_index: { fg: "#5ceb5a" attr: "b" } + record: "#736e55" + list: "#736e55" + block: "#736e55" + hints: "dark_gray" + + shape_and: { fg: "#ff8080" attr: "b" } + shape_binary: { fg: "#ff8080" attr: "b" } + shape_block: { fg: "#489bf0" attr: "b" } + shape_bool: "#5aebbc" + shape_custom: "#5ceb5a" + shape_datetime: { fg: "#5aebbc" attr: "b" } + shape_directory: "#5aebbc" + shape_external: "#5aebbc" + shape_externalarg: { fg: "#5ceb5a" attr: "b" } + shape_filepath: "#5aebbc" + shape_flag: { fg: "#489bf0" attr: "b" } + shape_float: { fg: "#ff8080" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5aebbc" attr: "b" } + shape_int: { fg: "#ff8080" attr: "b" } + shape_internalcall: { fg: "#5aebbc" attr: "b" } + shape_list: { fg: "#5aebbc" attr: "b" } + shape_literal: "#489bf0" + shape_match_pattern: "#5ceb5a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5aebbc" + shape_operator: "#f2ff27" + shape_or: { fg: "#ff8080" attr: "b" } + shape_pipe: { fg: "#ff8080" attr: "b" } + shape_range: { fg: "#f2ff27" attr: "b" } + shape_record: { fg: "#5aebbc" attr: "b" } + shape_redirection: { fg: "#ff8080" attr: "b" } + shape_signature: { fg: "#5ceb5a" attr: "b" } + shape_string: "#5ceb5a" + shape_string_interpolation: { fg: "#5aebbc" attr: "b" } + shape_table: { fg: "#489bf0" attr: "b" } + shape_variable: "#ff8080" + + background: "#1c1810" + foreground: "#736e55" + cursor: "#736e55" +}} \ No newline at end of file diff --git a/themes/themes/summerfruit-dark.nu b/themes/themes/summerfruit-dark.nu index d95a1f3..8dd16bd 100644 --- a/themes/themes/summerfruit-dark.nu +++ b/themes/themes/summerfruit-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the summerfruit_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#151515" - # foreground: "#d0d0d0" - # cursor: "#d0d0d0" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00c918" - empty: "#3777e6" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#00c918" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#505050" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ad00a1" - shape_bool: "#1faaaa" - shape_int: "#ad00a1" - shape_float: "#ad00a1" - shape_range: "#aba800" - shape_internalcall: "#1faaaa" - shape_external: "#1faaaa" - shape_externalarg: "#00c918" - shape_literal: "#3777e6" - shape_operator: "#aba800" - shape_signature: "#00c918" - shape_string: "#00c918" - shape_string_interpolation: "#1faaaa" - shape_datetime: "#1faaaa" - shape_list: "#1faaaa" - shape_table: "#3777e6" - shape_record: "#1faaaa" - shape_block: "#3777e6" - shape_filepath: "#1faaaa" - shape_globpattern: "#1faaaa" - shape_variable: "#ad00a1" - shape_flag: "#3777e6" - shape_custom: "#00c918" - shape_nothing: "#1faaaa" +export def main [] { return { + separator: "#d0d0d0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00c918" attr: "b" } + empty: "#3777e6" + bool: {|| if $in { "#1faaaa" } else { "light_gray" } } + int: "#d0d0d0" + filesize: {|e| + if $e == 0b { + "#d0d0d0" + } else if $e < 1mb { + "#1faaaa" + } else {{ fg: "#3777e6" }} } -} + duration: "#d0d0d0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff0086" attr: "b" } + } else if $in < 6hr { + "#ff0086" + } else if $in < 1day { + "#aba800" + } else if $in < 3day { + "#00c918" + } else if $in < 1wk { + { fg: "#00c918" attr: "b" } + } else if $in < 6wk { + "#1faaaa" + } else if $in < 52wk { + "#3777e6" + } else { "dark_gray" } + } + range: "#d0d0d0" + float: "#d0d0d0" + string: "#d0d0d0" + nothing: "#d0d0d0" + binary: "#d0d0d0" + cellpath: "#d0d0d0" + row_index: { fg: "#00c918" attr: "b" } + record: "#d0d0d0" + list: "#d0d0d0" + block: "#d0d0d0" + hints: "dark_gray" + + shape_and: { fg: "#ad00a1" attr: "b" } + shape_binary: { fg: "#ad00a1" attr: "b" } + shape_block: { fg: "#3777e6" attr: "b" } + shape_bool: "#1faaaa" + shape_custom: "#00c918" + shape_datetime: { fg: "#1faaaa" attr: "b" } + shape_directory: "#1faaaa" + shape_external: "#1faaaa" + shape_externalarg: { fg: "#00c918" attr: "b" } + shape_filepath: "#1faaaa" + shape_flag: { fg: "#3777e6" attr: "b" } + shape_float: { fg: "#ad00a1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1faaaa" attr: "b" } + shape_int: { fg: "#ad00a1" attr: "b" } + shape_internalcall: { fg: "#1faaaa" attr: "b" } + shape_list: { fg: "#1faaaa" attr: "b" } + shape_literal: "#3777e6" + shape_match_pattern: "#00c918" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1faaaa" + shape_operator: "#aba800" + shape_or: { fg: "#ad00a1" attr: "b" } + shape_pipe: { fg: "#ad00a1" attr: "b" } + shape_range: { fg: "#aba800" attr: "b" } + shape_record: { fg: "#1faaaa" attr: "b" } + shape_redirection: { fg: "#ad00a1" attr: "b" } + shape_signature: { fg: "#00c918" attr: "b" } + shape_string: "#00c918" + shape_string_interpolation: { fg: "#1faaaa" attr: "b" } + shape_table: { fg: "#3777e6" attr: "b" } + shape_variable: "#ad00a1" + + background: "#151515" + foreground: "#d0d0d0" + cursor: "#d0d0d0" +}} \ No newline at end of file diff --git a/themes/themes/summerfruit-light.nu b/themes/themes/summerfruit-light.nu index f411f0c..2725be3 100644 --- a/themes/themes/summerfruit-light.nu +++ b/themes/themes/summerfruit-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the summerfruit_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#101010" - # cursor: "#101010" - - { - # color for nushell primitives - separator: "#202020" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00c918" - empty: "#3777e6" - bool: "#202020" - int: "#202020" - filesize: "#202020" - duration: "#202020" - date: "#202020" - range: "#202020" - float: "#202020" - string: "#202020" - nothing: "#202020" - binary: "#202020" - cellpath: "#202020" - row_index: "#00c918" - record: "#202020" - list: "#202020" - block: "#202020" - hints: "#b0b0b0" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ad00a1" - shape_bool: "#1faaaa" - shape_int: "#ad00a1" - shape_float: "#ad00a1" - shape_range: "#aba800" - shape_internalcall: "#1faaaa" - shape_external: "#1faaaa" - shape_externalarg: "#00c918" - shape_literal: "#3777e6" - shape_operator: "#aba800" - shape_signature: "#00c918" - shape_string: "#00c918" - shape_string_interpolation: "#1faaaa" - shape_datetime: "#1faaaa" - shape_list: "#1faaaa" - shape_table: "#3777e6" - shape_record: "#1faaaa" - shape_block: "#3777e6" - shape_filepath: "#1faaaa" - shape_globpattern: "#1faaaa" - shape_variable: "#ad00a1" - shape_flag: "#3777e6" - shape_custom: "#00c918" - shape_nothing: "#1faaaa" +export def main [] { return { + separator: "#101010" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00c918" attr: "b" } + empty: "#3777e6" + bool: {|| if $in { "#1faaaa" } else { "light_gray" } } + int: "#101010" + filesize: {|e| + if $e == 0b { + "#101010" + } else if $e < 1mb { + "#1faaaa" + } else {{ fg: "#3777e6" }} } -} + duration: "#101010" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff0086" attr: "b" } + } else if $in < 6hr { + "#ff0086" + } else if $in < 1day { + "#aba800" + } else if $in < 3day { + "#00c918" + } else if $in < 1wk { + { fg: "#00c918" attr: "b" } + } else if $in < 6wk { + "#1faaaa" + } else if $in < 52wk { + "#3777e6" + } else { "dark_gray" } + } + range: "#101010" + float: "#101010" + string: "#101010" + nothing: "#101010" + binary: "#101010" + cellpath: "#101010" + row_index: { fg: "#00c918" attr: "b" } + record: "#101010" + list: "#101010" + block: "#101010" + hints: "dark_gray" + + shape_and: { fg: "#ad00a1" attr: "b" } + shape_binary: { fg: "#ad00a1" attr: "b" } + shape_block: { fg: "#3777e6" attr: "b" } + shape_bool: "#1faaaa" + shape_custom: "#00c918" + shape_datetime: { fg: "#1faaaa" attr: "b" } + shape_directory: "#1faaaa" + shape_external: "#1faaaa" + shape_externalarg: { fg: "#00c918" attr: "b" } + shape_filepath: "#1faaaa" + shape_flag: { fg: "#3777e6" attr: "b" } + shape_float: { fg: "#ad00a1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1faaaa" attr: "b" } + shape_int: { fg: "#ad00a1" attr: "b" } + shape_internalcall: { fg: "#1faaaa" attr: "b" } + shape_list: { fg: "#1faaaa" attr: "b" } + shape_literal: "#3777e6" + shape_match_pattern: "#00c918" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1faaaa" + shape_operator: "#aba800" + shape_or: { fg: "#ad00a1" attr: "b" } + shape_pipe: { fg: "#ad00a1" attr: "b" } + shape_range: { fg: "#aba800" attr: "b" } + shape_record: { fg: "#1faaaa" attr: "b" } + shape_redirection: { fg: "#ad00a1" attr: "b" } + shape_signature: { fg: "#00c918" attr: "b" } + shape_string: "#00c918" + shape_string_interpolation: { fg: "#1faaaa" attr: "b" } + shape_table: { fg: "#3777e6" attr: "b" } + shape_variable: "#ad00a1" + + background: "#ffffff" + foreground: "#101010" + cursor: "#101010" +}} \ No newline at end of file diff --git a/themes/themes/sundried.nu b/themes/themes/sundried.nu index 78af444..09579c3 100644 --- a/themes/themes/sundried.nu +++ b/themes/themes/sundried.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the sundried theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1a1818" - # foreground: "#c9c9c9" - # cursor: "#c9c9c9" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#128c21" - empty: "#485b98" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#128c21" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#4d4e48" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fd8aa1" - shape_bool: "#fad484" - shape_int: "#fd8aa1" - shape_float: "#fd8aa1" - shape_range: "#fc6a21" - shape_internalcall: "#fad484" - shape_external: "#9c814f" - shape_externalarg: "#128c21" - shape_literal: "#485b98" - shape_operator: "#9d602a" - shape_signature: "#128c21" - shape_string: "#587744" - shape_string_interpolation: "#fad484" - shape_datetime: "#fad484" - shape_list: "#fad484" - shape_table: "#7999f7" - shape_record: "#fad484" - shape_block: "#7999f7" - shape_filepath: "#9c814f" - shape_globpattern: "#fad484" - shape_variable: "#864651" - shape_flag: "#7999f7" - shape_custom: "#587744" - shape_nothing: "#fad484" +export def main [] { return { + separator: "#c9c9c9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#587744" attr: "b" } + empty: "#485b98" + bool: {|| if $in { "#fad484" } else { "light_gray" } } + int: "#c9c9c9" + filesize: {|e| + if $e == 0b { + "#c9c9c9" + } else if $e < 1mb { + "#9c814f" + } else {{ fg: "#485b98" }} } -} + duration: "#c9c9c9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a7463d" attr: "b" } + } else if $in < 6hr { + "#a7463d" + } else if $in < 1day { + "#9d602a" + } else if $in < 3day { + "#587744" + } else if $in < 1wk { + { fg: "#587744" attr: "b" } + } else if $in < 6wk { + "#9c814f" + } else if $in < 52wk { + "#485b98" + } else { "dark_gray" } + } + range: "#c9c9c9" + float: "#c9c9c9" + string: "#c9c9c9" + nothing: "#c9c9c9" + binary: "#c9c9c9" + cellpath: "#c9c9c9" + row_index: { fg: "#587744" attr: "b" } + record: "#c9c9c9" + list: "#c9c9c9" + block: "#c9c9c9" + hints: "dark_gray" + + shape_and: { fg: "#864651" attr: "b" } + shape_binary: { fg: "#864651" attr: "b" } + shape_block: { fg: "#485b98" attr: "b" } + shape_bool: "#fad484" + shape_custom: "#587744" + shape_datetime: { fg: "#9c814f" attr: "b" } + shape_directory: "#9c814f" + shape_external: "#9c814f" + shape_externalarg: { fg: "#587744" attr: "b" } + shape_filepath: "#9c814f" + shape_flag: { fg: "#485b98" attr: "b" } + shape_float: { fg: "#864651" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#9c814f" attr: "b" } + shape_int: { fg: "#864651" attr: "b" } + shape_internalcall: { fg: "#9c814f" attr: "b" } + shape_list: { fg: "#9c814f" attr: "b" } + shape_literal: "#485b98" + shape_match_pattern: "#587744" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#fad484" + shape_operator: "#9d602a" + shape_or: { fg: "#864651" attr: "b" } + shape_pipe: { fg: "#864651" attr: "b" } + shape_range: { fg: "#9d602a" attr: "b" } + shape_record: { fg: "#9c814f" attr: "b" } + shape_redirection: { fg: "#864651" attr: "b" } + shape_signature: { fg: "#587744" attr: "b" } + shape_string: "#587744" + shape_string_interpolation: { fg: "#9c814f" attr: "b" } + shape_table: { fg: "#485b98" attr: "b" } + shape_variable: "#864651" + + background: "#1a1818" + foreground: "#c9c9c9" + cursor: "#c9c9c9" +}} \ No newline at end of file diff --git a/themes/themes/symphonic.nu b/themes/themes/symphonic.nu index c488128..11ca838 100644 --- a/themes/themes/symphonic.nu +++ b/themes/themes/symphonic.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the symphonic theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#56db3a" - empty: "#0084d4" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#56db3a" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#1b1d21" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b729d9" - shape_bool: "#ccccff" - shape_int: "#b729d9" - shape_float: "#b729d9" - shape_range: "#ff8400" - shape_internalcall: "#ccccff" - shape_external: "#ccccff" - shape_externalarg: "#56db3a" - shape_literal: "#0084d4" - shape_operator: "#ff8400" - shape_signature: "#56db3a" - shape_string: "#56db3a" - shape_string_interpolation: "#ccccff" - shape_datetime: "#ccccff" - shape_list: "#ccccff" - shape_table: "#0084d4" - shape_record: "#ccccff" - shape_block: "#0084d4" - shape_filepath: "#ccccff" - shape_globpattern: "#ccccff" - shape_variable: "#b729d9" - shape_flag: "#0084d4" - shape_custom: "#56db3a" - shape_nothing: "#ccccff" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#56db3a" attr: "b" } + empty: "#0084d4" + bool: {|| if $in { "#ccccff" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#ccccff" + } else {{ fg: "#0084d4" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#dc322f" attr: "b" } + } else if $in < 6hr { + "#dc322f" + } else if $in < 1day { + "#ff8400" + } else if $in < 3day { + "#56db3a" + } else if $in < 1wk { + { fg: "#56db3a" attr: "b" } + } else if $in < 6wk { + "#ccccff" + } else if $in < 52wk { + "#0084d4" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#56db3a" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#b729d9" attr: "b" } + shape_binary: { fg: "#b729d9" attr: "b" } + shape_block: { fg: "#0084d4" attr: "b" } + shape_bool: "#ccccff" + shape_custom: "#56db3a" + shape_datetime: { fg: "#ccccff" attr: "b" } + shape_directory: "#ccccff" + shape_external: "#ccccff" + shape_externalarg: { fg: "#56db3a" attr: "b" } + shape_filepath: "#ccccff" + shape_flag: { fg: "#0084d4" attr: "b" } + shape_float: { fg: "#b729d9" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#ccccff" attr: "b" } + shape_int: { fg: "#b729d9" attr: "b" } + shape_internalcall: { fg: "#ccccff" attr: "b" } + shape_list: { fg: "#ccccff" attr: "b" } + shape_literal: "#0084d4" + shape_match_pattern: "#56db3a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#ccccff" + shape_operator: "#ff8400" + shape_or: { fg: "#b729d9" attr: "b" } + shape_pipe: { fg: "#b729d9" attr: "b" } + shape_range: { fg: "#ff8400" attr: "b" } + shape_record: { fg: "#ccccff" attr: "b" } + shape_redirection: { fg: "#b729d9" attr: "b" } + shape_signature: { fg: "#56db3a" attr: "b" } + shape_string: "#56db3a" + shape_string_interpolation: { fg: "#ccccff" attr: "b" } + shape_table: { fg: "#0084d4" attr: "b" } + shape_variable: "#b729d9" + + background: "#000000" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/synth-midnight-dark.nu b/themes/themes/synth-midnight-dark.nu index bbcd6c3..b8524fc 100644 --- a/themes/themes/synth-midnight-dark.nu +++ b/themes/themes/synth-midnight-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the synth_midnight-dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#050608" - # foreground: "#c1c3c4" - # cursor: "#c1c3c4" - - { - # color for nushell primitives - separator: "#dddfe0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#06ea61" - empty: "#03aeff" - bool: "#dddfe0" - int: "#dddfe0" - filesize: "#dddfe0" - duration: "#dddfe0" - date: "#dddfe0" - range: "#dddfe0" - float: "#dddfe0" - string: "#dddfe0" - nothing: "#dddfe0" - binary: "#dddfe0" - cellpath: "#dddfe0" - row_index: "#06ea61" - record: "#dddfe0" - list: "#dddfe0" - block: "#dddfe0" - hints: "#474849" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ea5ce2" - shape_bool: "#42fff9" - shape_int: "#ea5ce2" - shape_float: "#ea5ce2" - shape_range: "#c9d364" - shape_internalcall: "#42fff9" - shape_external: "#42fff9" - shape_externalarg: "#06ea61" - shape_literal: "#03aeff" - shape_operator: "#c9d364" - shape_signature: "#06ea61" - shape_string: "#06ea61" - shape_string_interpolation: "#42fff9" - shape_datetime: "#42fff9" - shape_list: "#42fff9" - shape_table: "#03aeff" - shape_record: "#42fff9" - shape_block: "#03aeff" - shape_filepath: "#42fff9" - shape_globpattern: "#42fff9" - shape_variable: "#ea5ce2" - shape_flag: "#03aeff" - shape_custom: "#06ea61" - shape_nothing: "#42fff9" +export def main [] { return { + separator: "#c1c3c4" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#06ea61" attr: "b" } + empty: "#03aeff" + bool: {|| if $in { "#42fff9" } else { "light_gray" } } + int: "#c1c3c4" + filesize: {|e| + if $e == 0b { + "#c1c3c4" + } else if $e < 1mb { + "#42fff9" + } else {{ fg: "#03aeff" }} } -} + duration: "#c1c3c4" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b53b50" attr: "b" } + } else if $in < 6hr { + "#b53b50" + } else if $in < 1day { + "#c9d364" + } else if $in < 3day { + "#06ea61" + } else if $in < 1wk { + { fg: "#06ea61" attr: "b" } + } else if $in < 6wk { + "#42fff9" + } else if $in < 52wk { + "#03aeff" + } else { "dark_gray" } + } + range: "#c1c3c4" + float: "#c1c3c4" + string: "#c1c3c4" + nothing: "#c1c3c4" + binary: "#c1c3c4" + cellpath: "#c1c3c4" + row_index: { fg: "#06ea61" attr: "b" } + record: "#c1c3c4" + list: "#c1c3c4" + block: "#c1c3c4" + hints: "dark_gray" + + shape_and: { fg: "#ea5ce2" attr: "b" } + shape_binary: { fg: "#ea5ce2" attr: "b" } + shape_block: { fg: "#03aeff" attr: "b" } + shape_bool: "#42fff9" + shape_custom: "#06ea61" + shape_datetime: { fg: "#42fff9" attr: "b" } + shape_directory: "#42fff9" + shape_external: "#42fff9" + shape_externalarg: { fg: "#06ea61" attr: "b" } + shape_filepath: "#42fff9" + shape_flag: { fg: "#03aeff" attr: "b" } + shape_float: { fg: "#ea5ce2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#42fff9" attr: "b" } + shape_int: { fg: "#ea5ce2" attr: "b" } + shape_internalcall: { fg: "#42fff9" attr: "b" } + shape_list: { fg: "#42fff9" attr: "b" } + shape_literal: "#03aeff" + shape_match_pattern: "#06ea61" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#42fff9" + shape_operator: "#c9d364" + shape_or: { fg: "#ea5ce2" attr: "b" } + shape_pipe: { fg: "#ea5ce2" attr: "b" } + shape_range: { fg: "#c9d364" attr: "b" } + shape_record: { fg: "#42fff9" attr: "b" } + shape_redirection: { fg: "#ea5ce2" attr: "b" } + shape_signature: { fg: "#06ea61" attr: "b" } + shape_string: "#06ea61" + shape_string_interpolation: { fg: "#42fff9" attr: "b" } + shape_table: { fg: "#03aeff" attr: "b" } + shape_variable: "#ea5ce2" + + background: "#050608" + foreground: "#c1c3c4" + cursor: "#c1c3c4" +}} \ No newline at end of file diff --git a/themes/themes/synth-midnight-light.nu b/themes/themes/synth-midnight-light.nu index 4129150..777ac96 100644 --- a/themes/themes/synth-midnight-light.nu +++ b/themes/themes/synth-midnight-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the synth_midnight-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#dddfe0" - # foreground: "#28292a" - # cursor: "#28292a" - - { - # color for nushell primitives - separator: "#050608" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#06ea61" - empty: "#03aeff" - bool: "#050608" - int: "#050608" - filesize: "#050608" - duration: "#050608" - date: "#050608" - range: "#050608" - float: "#050608" - string: "#050608" - nothing: "#050608" - binary: "#050608" - cellpath: "#050608" - row_index: "#06ea61" - record: "#050608" - list: "#050608" - block: "#050608" - hints: "#a3a5a6" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ea5ce2" - shape_bool: "#42fff9" - shape_int: "#ea5ce2" - shape_float: "#ea5ce2" - shape_range: "#c9d364" - shape_internalcall: "#42fff9" - shape_external: "#42fff9" - shape_externalarg: "#06ea61" - shape_literal: "#03aeff" - shape_operator: "#c9d364" - shape_signature: "#06ea61" - shape_string: "#06ea61" - shape_string_interpolation: "#42fff9" - shape_datetime: "#42fff9" - shape_list: "#42fff9" - shape_table: "#03aeff" - shape_record: "#42fff9" - shape_block: "#03aeff" - shape_filepath: "#42fff9" - shape_globpattern: "#42fff9" - shape_variable: "#ea5ce2" - shape_flag: "#03aeff" - shape_custom: "#06ea61" - shape_nothing: "#42fff9" +export def main [] { return { + separator: "#28292a" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#06ea61" attr: "b" } + empty: "#03aeff" + bool: {|| if $in { "#42fff9" } else { "light_gray" } } + int: "#28292a" + filesize: {|e| + if $e == 0b { + "#28292a" + } else if $e < 1mb { + "#42fff9" + } else {{ fg: "#03aeff" }} } -} + duration: "#28292a" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b53b50" attr: "b" } + } else if $in < 6hr { + "#b53b50" + } else if $in < 1day { + "#c9d364" + } else if $in < 3day { + "#06ea61" + } else if $in < 1wk { + { fg: "#06ea61" attr: "b" } + } else if $in < 6wk { + "#42fff9" + } else if $in < 52wk { + "#03aeff" + } else { "dark_gray" } + } + range: "#28292a" + float: "#28292a" + string: "#28292a" + nothing: "#28292a" + binary: "#28292a" + cellpath: "#28292a" + row_index: { fg: "#06ea61" attr: "b" } + record: "#28292a" + list: "#28292a" + block: "#28292a" + hints: "dark_gray" + + shape_and: { fg: "#ea5ce2" attr: "b" } + shape_binary: { fg: "#ea5ce2" attr: "b" } + shape_block: { fg: "#03aeff" attr: "b" } + shape_bool: "#42fff9" + shape_custom: "#06ea61" + shape_datetime: { fg: "#42fff9" attr: "b" } + shape_directory: "#42fff9" + shape_external: "#42fff9" + shape_externalarg: { fg: "#06ea61" attr: "b" } + shape_filepath: "#42fff9" + shape_flag: { fg: "#03aeff" attr: "b" } + shape_float: { fg: "#ea5ce2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#42fff9" attr: "b" } + shape_int: { fg: "#ea5ce2" attr: "b" } + shape_internalcall: { fg: "#42fff9" attr: "b" } + shape_list: { fg: "#42fff9" attr: "b" } + shape_literal: "#03aeff" + shape_match_pattern: "#06ea61" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#42fff9" + shape_operator: "#c9d364" + shape_or: { fg: "#ea5ce2" attr: "b" } + shape_pipe: { fg: "#ea5ce2" attr: "b" } + shape_range: { fg: "#c9d364" attr: "b" } + shape_record: { fg: "#42fff9" attr: "b" } + shape_redirection: { fg: "#ea5ce2" attr: "b" } + shape_signature: { fg: "#06ea61" attr: "b" } + shape_string: "#06ea61" + shape_string_interpolation: { fg: "#42fff9" attr: "b" } + shape_table: { fg: "#03aeff" attr: "b" } + shape_variable: "#ea5ce2" + + background: "#dddfe0" + foreground: "#28292a" + cursor: "#28292a" +}} \ No newline at end of file diff --git a/themes/themes/tango-dark.nu b/themes/themes/tango-dark.nu index 6aee223..4fe5dc7 100644 --- a/themes/themes/tango-dark.nu +++ b/themes/themes/tango-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tango_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#ededec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8ae234" - empty: "#3464a4" - bool: "#ededec" - int: "#ededec" - filesize: "#ededec" - duration: "#ededec" - date: "#ededec" - range: "#ededec" - float: "#ededec" - string: "#ededec" - nothing: "#ededec" - binary: "#ededec" - cellpath: "#ededec" - row_index: "#8ae234" - record: "#ededec" - list: "#ededec" - block: "#ededec" - hints: "#545753" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ad7ea7" - shape_bool: "#34e2e2" - shape_int: "#ad7ea7" - shape_float: "#ad7ea7" - shape_range: "#fce94e" - shape_internalcall: "#34e2e2" - shape_external: "#05989a" - shape_externalarg: "#8ae234" - shape_literal: "#3464a4" - shape_operator: "#c4a000" - shape_signature: "#8ae234" - shape_string: "#4e9a05" - shape_string_interpolation: "#34e2e2" - shape_datetime: "#34e2e2" - shape_list: "#34e2e2" - shape_table: "#719ecf" - shape_record: "#34e2e2" - shape_block: "#719ecf" - shape_filepath: "#05989a" - shape_globpattern: "#34e2e2" - shape_variable: "#74507a" - shape_flag: "#719ecf" - shape_custom: "#4e9a05" - shape_nothing: "#34e2e2" +export def main [] { return { + separator: "#d3d7cf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4e9a05" attr: "b" } + empty: "#3464a4" + bool: {|| if $in { "#34e2e2" } else { "light_gray" } } + int: "#d3d7cf" + filesize: {|e| + if $e == 0b { + "#d3d7cf" + } else if $e < 1mb { + "#05989a" + } else {{ fg: "#3464a4" }} } -} + duration: "#d3d7cf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc0000" attr: "b" } + } else if $in < 6hr { + "#cc0000" + } else if $in < 1day { + "#c4a000" + } else if $in < 3day { + "#4e9a05" + } else if $in < 1wk { + { fg: "#4e9a05" attr: "b" } + } else if $in < 6wk { + "#05989a" + } else if $in < 52wk { + "#3464a4" + } else { "dark_gray" } + } + range: "#d3d7cf" + float: "#d3d7cf" + string: "#d3d7cf" + nothing: "#d3d7cf" + binary: "#d3d7cf" + cellpath: "#d3d7cf" + row_index: { fg: "#4e9a05" attr: "b" } + record: "#d3d7cf" + list: "#d3d7cf" + block: "#d3d7cf" + hints: "dark_gray" + + shape_and: { fg: "#74507a" attr: "b" } + shape_binary: { fg: "#74507a" attr: "b" } + shape_block: { fg: "#3464a4" attr: "b" } + shape_bool: "#34e2e2" + shape_custom: "#4e9a05" + shape_datetime: { fg: "#05989a" attr: "b" } + shape_directory: "#05989a" + shape_external: "#05989a" + shape_externalarg: { fg: "#4e9a05" attr: "b" } + shape_filepath: "#05989a" + shape_flag: { fg: "#3464a4" attr: "b" } + shape_float: { fg: "#74507a" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#05989a" attr: "b" } + shape_int: { fg: "#74507a" attr: "b" } + shape_internalcall: { fg: "#05989a" attr: "b" } + shape_list: { fg: "#05989a" attr: "b" } + shape_literal: "#3464a4" + shape_match_pattern: "#4e9a05" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#34e2e2" + shape_operator: "#c4a000" + shape_or: { fg: "#74507a" attr: "b" } + shape_pipe: { fg: "#74507a" attr: "b" } + shape_range: { fg: "#c4a000" attr: "b" } + shape_record: { fg: "#05989a" attr: "b" } + shape_redirection: { fg: "#74507a" attr: "b" } + shape_signature: { fg: "#4e9a05" attr: "b" } + shape_string: "#4e9a05" + shape_string_interpolation: { fg: "#05989a" attr: "b" } + shape_table: { fg: "#3464a4" attr: "b" } + shape_variable: "#74507a" + + background: "#000000" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/tango-light.nu b/themes/themes/tango-light.nu index a91a003..d2c210b 100644 --- a/themes/themes/tango-light.nu +++ b/themes/themes/tango-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tango_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#000000" - # cursor: "#000000" - - { - # color for nushell primitives - separator: "#ededec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8ae234" - empty: "#3464a4" - bool: "#ededec" - int: "#ededec" - filesize: "#ededec" - duration: "#ededec" - date: "#ededec" - range: "#ededec" - float: "#ededec" - string: "#ededec" - nothing: "#ededec" - binary: "#ededec" - cellpath: "#ededec" - row_index: "#8ae234" - record: "#ededec" - list: "#ededec" - block: "#ededec" - hints: "#545753" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ad7ea7" - shape_bool: "#34e2e2" - shape_int: "#ad7ea7" - shape_float: "#ad7ea7" - shape_range: "#fce94e" - shape_internalcall: "#34e2e2" - shape_external: "#05989a" - shape_externalarg: "#8ae234" - shape_literal: "#3464a4" - shape_operator: "#c4a000" - shape_signature: "#8ae234" - shape_string: "#4e9a05" - shape_string_interpolation: "#34e2e2" - shape_datetime: "#34e2e2" - shape_list: "#34e2e2" - shape_table: "#719ecf" - shape_record: "#34e2e2" - shape_block: "#719ecf" - shape_filepath: "#05989a" - shape_globpattern: "#34e2e2" - shape_variable: "#74507a" - shape_flag: "#719ecf" - shape_custom: "#4e9a05" - shape_nothing: "#34e2e2" +export def main [] { return { + separator: "#d3d7cf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4e9a05" attr: "b" } + empty: "#3464a4" + bool: {|| if $in { "#34e2e2" } else { "light_gray" } } + int: "#d3d7cf" + filesize: {|e| + if $e == 0b { + "#d3d7cf" + } else if $e < 1mb { + "#05989a" + } else {{ fg: "#3464a4" }} } -} + duration: "#d3d7cf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc0000" attr: "b" } + } else if $in < 6hr { + "#cc0000" + } else if $in < 1day { + "#c4a000" + } else if $in < 3day { + "#4e9a05" + } else if $in < 1wk { + { fg: "#4e9a05" attr: "b" } + } else if $in < 6wk { + "#05989a" + } else if $in < 52wk { + "#3464a4" + } else { "dark_gray" } + } + range: "#d3d7cf" + float: "#d3d7cf" + string: "#d3d7cf" + nothing: "#d3d7cf" + binary: "#d3d7cf" + cellpath: "#d3d7cf" + row_index: { fg: "#4e9a05" attr: "b" } + record: "#d3d7cf" + list: "#d3d7cf" + block: "#d3d7cf" + hints: "dark_gray" + + shape_and: { fg: "#74507a" attr: "b" } + shape_binary: { fg: "#74507a" attr: "b" } + shape_block: { fg: "#3464a4" attr: "b" } + shape_bool: "#34e2e2" + shape_custom: "#4e9a05" + shape_datetime: { fg: "#05989a" attr: "b" } + shape_directory: "#05989a" + shape_external: "#05989a" + shape_externalarg: { fg: "#4e9a05" attr: "b" } + shape_filepath: "#05989a" + shape_flag: { fg: "#3464a4" attr: "b" } + shape_float: { fg: "#74507a" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#05989a" attr: "b" } + shape_int: { fg: "#74507a" attr: "b" } + shape_internalcall: { fg: "#05989a" attr: "b" } + shape_list: { fg: "#05989a" attr: "b" } + shape_literal: "#3464a4" + shape_match_pattern: "#4e9a05" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#34e2e2" + shape_operator: "#c4a000" + shape_or: { fg: "#74507a" attr: "b" } + shape_pipe: { fg: "#74507a" attr: "b" } + shape_range: { fg: "#c4a000" attr: "b" } + shape_record: { fg: "#05989a" attr: "b" } + shape_redirection: { fg: "#74507a" attr: "b" } + shape_signature: { fg: "#4e9a05" attr: "b" } + shape_string: "#4e9a05" + shape_string_interpolation: { fg: "#05989a" attr: "b" } + shape_table: { fg: "#3464a4" attr: "b" } + shape_variable: "#74507a" + + background: "#ffffff" + foreground: "#000000" + cursor: "#000000" +}} \ No newline at end of file diff --git a/themes/themes/tango.nu b/themes/themes/tango.nu index 4546eb5..2cf411c 100644 --- a/themes/themes/tango.nu +++ b/themes/themes/tango.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tango theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2e3436" - # foreground: "#d3d7cf" - # cursor: "#d3d7cf" - - { - # color for nushell primitives - separator: "#eeeeec" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#4e9a06" - empty: "#3465a4" - bool: "#eeeeec" - int: "#eeeeec" - filesize: "#eeeeec" - duration: "#eeeeec" - date: "#eeeeec" - range: "#eeeeec" - float: "#eeeeec" - string: "#eeeeec" - nothing: "#eeeeec" - binary: "#eeeeec" - cellpath: "#eeeeec" - row_index: "#4e9a06" - record: "#eeeeec" - list: "#eeeeec" - block: "#eeeeec" - hints: "#555753" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#75507b" - shape_bool: "#06989a" - shape_int: "#75507b" - shape_float: "#75507b" - shape_range: "#c4a000" - shape_internalcall: "#06989a" - shape_external: "#06989a" - shape_externalarg: "#4e9a06" - shape_literal: "#3465a4" - shape_operator: "#c4a000" - shape_signature: "#4e9a06" - shape_string: "#4e9a06" - shape_string_interpolation: "#06989a" - shape_datetime: "#06989a" - shape_list: "#06989a" - shape_table: "#3465a4" - shape_record: "#06989a" - shape_block: "#3465a4" - shape_filepath: "#06989a" - shape_globpattern: "#06989a" - shape_variable: "#75507b" - shape_flag: "#3465a4" - shape_custom: "#4e9a06" - shape_nothing: "#06989a" +export def main [] { return { + separator: "#d3d7cf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4e9a06" attr: "b" } + empty: "#3465a4" + bool: {|| if $in { "#06989a" } else { "light_gray" } } + int: "#d3d7cf" + filesize: {|e| + if $e == 0b { + "#d3d7cf" + } else if $e < 1mb { + "#06989a" + } else {{ fg: "#3465a4" }} } -} + duration: "#d3d7cf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc0000" attr: "b" } + } else if $in < 6hr { + "#cc0000" + } else if $in < 1day { + "#c4a000" + } else if $in < 3day { + "#4e9a06" + } else if $in < 1wk { + { fg: "#4e9a06" attr: "b" } + } else if $in < 6wk { + "#06989a" + } else if $in < 52wk { + "#3465a4" + } else { "dark_gray" } + } + range: "#d3d7cf" + float: "#d3d7cf" + string: "#d3d7cf" + nothing: "#d3d7cf" + binary: "#d3d7cf" + cellpath: "#d3d7cf" + row_index: { fg: "#4e9a06" attr: "b" } + record: "#d3d7cf" + list: "#d3d7cf" + block: "#d3d7cf" + hints: "dark_gray" + + shape_and: { fg: "#75507b" attr: "b" } + shape_binary: { fg: "#75507b" attr: "b" } + shape_block: { fg: "#3465a4" attr: "b" } + shape_bool: "#06989a" + shape_custom: "#4e9a06" + shape_datetime: { fg: "#06989a" attr: "b" } + shape_directory: "#06989a" + shape_external: "#06989a" + shape_externalarg: { fg: "#4e9a06" attr: "b" } + shape_filepath: "#06989a" + shape_flag: { fg: "#3465a4" attr: "b" } + shape_float: { fg: "#75507b" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#06989a" attr: "b" } + shape_int: { fg: "#75507b" attr: "b" } + shape_internalcall: { fg: "#06989a" attr: "b" } + shape_list: { fg: "#06989a" attr: "b" } + shape_literal: "#3465a4" + shape_match_pattern: "#4e9a06" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#06989a" + shape_operator: "#c4a000" + shape_or: { fg: "#75507b" attr: "b" } + shape_pipe: { fg: "#75507b" attr: "b" } + shape_range: { fg: "#c4a000" attr: "b" } + shape_record: { fg: "#06989a" attr: "b" } + shape_redirection: { fg: "#75507b" attr: "b" } + shape_signature: { fg: "#4e9a06" attr: "b" } + shape_string: "#4e9a06" + shape_string_interpolation: { fg: "#06989a" attr: "b" } + shape_table: { fg: "#3465a4" attr: "b" } + shape_variable: "#75507b" + + background: "#2e3436" + foreground: "#d3d7cf" + cursor: "#d3d7cf" +}} \ No newline at end of file diff --git a/themes/themes/teerb.nu b/themes/themes/teerb.nu index f95b3a9..039c6b7 100644 --- a/themes/themes/teerb.nu +++ b/themes/themes/teerb.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the teerb theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#262626" - # foreground: "#d0d0d0" - # cursor: "#d0d0d0" - - { - # color for nushell primitives - separator: "#efefef" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#aed686" - empty: "#86aed6" - bool: "#efefef" - int: "#efefef" - filesize: "#efefef" - duration: "#efefef" - date: "#efefef" - range: "#efefef" - float: "#efefef" - string: "#efefef" - nothing: "#efefef" - binary: "#efefef" - cellpath: "#efefef" - row_index: "#aed686" - record: "#efefef" - list: "#efefef" - block: "#efefef" - hints: "#1c1c1c" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d6aed6" - shape_bool: "#b1e7dd" - shape_int: "#d6aed6" - shape_float: "#d6aed6" - shape_range: "#e4c9af" - shape_internalcall: "#b1e7dd" - shape_external: "#8adbb4" - shape_externalarg: "#aed686" - shape_literal: "#86aed6" - shape_operator: "#d7af87" - shape_signature: "#aed686" - shape_string: "#aed686" - shape_string_interpolation: "#b1e7dd" - shape_datetime: "#b1e7dd" - shape_list: "#b1e7dd" - shape_table: "#86aed6" - shape_record: "#b1e7dd" - shape_block: "#86aed6" - shape_filepath: "#8adbb4" - shape_globpattern: "#b1e7dd" - shape_variable: "#d6aed6" - shape_flag: "#86aed6" - shape_custom: "#aed686" - shape_nothing: "#b1e7dd" +export def main [] { return { + separator: "#d0d0d0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#aed686" attr: "b" } + empty: "#86aed6" + bool: {|| if $in { "#b1e7dd" } else { "light_gray" } } + int: "#d0d0d0" + filesize: {|e| + if $e == 0b { + "#d0d0d0" + } else if $e < 1mb { + "#8adbb4" + } else {{ fg: "#86aed6" }} } -} + duration: "#d0d0d0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d68686" attr: "b" } + } else if $in < 6hr { + "#d68686" + } else if $in < 1day { + "#d7af87" + } else if $in < 3day { + "#aed686" + } else if $in < 1wk { + { fg: "#aed686" attr: "b" } + } else if $in < 6wk { + "#8adbb4" + } else if $in < 52wk { + "#86aed6" + } else { "dark_gray" } + } + range: "#d0d0d0" + float: "#d0d0d0" + string: "#d0d0d0" + nothing: "#d0d0d0" + binary: "#d0d0d0" + cellpath: "#d0d0d0" + row_index: { fg: "#aed686" attr: "b" } + record: "#d0d0d0" + list: "#d0d0d0" + block: "#d0d0d0" + hints: "dark_gray" + + shape_and: { fg: "#d6aed6" attr: "b" } + shape_binary: { fg: "#d6aed6" attr: "b" } + shape_block: { fg: "#86aed6" attr: "b" } + shape_bool: "#b1e7dd" + shape_custom: "#aed686" + shape_datetime: { fg: "#8adbb4" attr: "b" } + shape_directory: "#8adbb4" + shape_external: "#8adbb4" + shape_externalarg: { fg: "#aed686" attr: "b" } + shape_filepath: "#8adbb4" + shape_flag: { fg: "#86aed6" attr: "b" } + shape_float: { fg: "#d6aed6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8adbb4" attr: "b" } + shape_int: { fg: "#d6aed6" attr: "b" } + shape_internalcall: { fg: "#8adbb4" attr: "b" } + shape_list: { fg: "#8adbb4" attr: "b" } + shape_literal: "#86aed6" + shape_match_pattern: "#aed686" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#b1e7dd" + shape_operator: "#d7af87" + shape_or: { fg: "#d6aed6" attr: "b" } + shape_pipe: { fg: "#d6aed6" attr: "b" } + shape_range: { fg: "#d7af87" attr: "b" } + shape_record: { fg: "#8adbb4" attr: "b" } + shape_redirection: { fg: "#d6aed6" attr: "b" } + shape_signature: { fg: "#aed686" attr: "b" } + shape_string: "#aed686" + shape_string_interpolation: { fg: "#8adbb4" attr: "b" } + shape_table: { fg: "#86aed6" attr: "b" } + shape_variable: "#d6aed6" + + background: "#262626" + foreground: "#d0d0d0" + cursor: "#d0d0d0" +}} \ No newline at end of file diff --git a/themes/themes/tempus-autumn.nu b/themes/themes/tempus-autumn.nu index e713015..9f72899 100644 --- a/themes/themes/tempus-autumn.nu +++ b/themes/themes/tempus-autumn.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_autumn theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#302420" - # foreground: "#a9a2a6" - # cursor: "#a9a2a6" - - { - # color for nushell primitives - separator: "#a9a2a6" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#43a770" - empty: "#7897c2" - bool: "#a9a2a6" - int: "#a9a2a6" - filesize: "#a9a2a6" - duration: "#a9a2a6" - date: "#a9a2a6" - range: "#a9a2a6" - float: "#a9a2a6" - string: "#a9a2a6" - nothing: "#a9a2a6" - binary: "#a9a2a6" - cellpath: "#a9a2a6" - row_index: "#43a770" - record: "#a9a2a6" - list: "#a9a2a6" - block: "#a9a2a6" - hints: "#312e2a" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c57bc4" - shape_bool: "#2aa4ad" - shape_int: "#c57bc4" - shape_float: "#c57bc4" - shape_range: "#ba9000" - shape_internalcall: "#2aa4ad" - shape_external: "#52a485" - shape_externalarg: "#43a770" - shape_literal: "#7897c2" - shape_operator: "#ac9440" - shape_signature: "#43a770" - shape_string: "#80a100" - shape_string_interpolation: "#2aa4ad" - shape_datetime: "#2aa4ad" - shape_list: "#2aa4ad" - shape_table: "#908ed4" - shape_record: "#2aa4ad" - shape_block: "#908ed4" - shape_filepath: "#52a485" - shape_globpattern: "#2aa4ad" - shape_variable: "#dd758e" - shape_flag: "#908ed4" - shape_custom: "#80a100" - shape_nothing: "#2aa4ad" +export def main [] { return { + separator: "#a5918a" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#80a100" attr: "b" } + empty: "#7897c2" + bool: {|| if $in { "#2aa4ad" } else { "light_gray" } } + int: "#a5918a" + filesize: {|e| + if $e == 0b { + "#a5918a" + } else if $e < 1mb { + "#52a485" + } else {{ fg: "#7897c2" }} } -} + duration: "#a5918a" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f16c50" attr: "b" } + } else if $in < 6hr { + "#f16c50" + } else if $in < 1day { + "#ac9440" + } else if $in < 3day { + "#80a100" + } else if $in < 1wk { + { fg: "#80a100" attr: "b" } + } else if $in < 6wk { + "#52a485" + } else if $in < 52wk { + "#7897c2" + } else { "dark_gray" } + } + range: "#a5918a" + float: "#a5918a" + string: "#a5918a" + nothing: "#a5918a" + binary: "#a5918a" + cellpath: "#a5918a" + row_index: { fg: "#80a100" attr: "b" } + record: "#a5918a" + list: "#a5918a" + block: "#a5918a" + hints: "dark_gray" + + shape_and: { fg: "#dd758e" attr: "b" } + shape_binary: { fg: "#dd758e" attr: "b" } + shape_block: { fg: "#7897c2" attr: "b" } + shape_bool: "#2aa4ad" + shape_custom: "#80a100" + shape_datetime: { fg: "#52a485" attr: "b" } + shape_directory: "#52a485" + shape_external: "#52a485" + shape_externalarg: { fg: "#80a100" attr: "b" } + shape_filepath: "#52a485" + shape_flag: { fg: "#7897c2" attr: "b" } + shape_float: { fg: "#dd758e" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#52a485" attr: "b" } + shape_int: { fg: "#dd758e" attr: "b" } + shape_internalcall: { fg: "#52a485" attr: "b" } + shape_list: { fg: "#52a485" attr: "b" } + shape_literal: "#7897c2" + shape_match_pattern: "#80a100" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2aa4ad" + shape_operator: "#ac9440" + shape_or: { fg: "#dd758e" attr: "b" } + shape_pipe: { fg: "#dd758e" attr: "b" } + shape_range: { fg: "#ac9440" attr: "b" } + shape_record: { fg: "#52a485" attr: "b" } + shape_redirection: { fg: "#dd758e" attr: "b" } + shape_signature: { fg: "#80a100" attr: "b" } + shape_string: "#80a100" + shape_string_interpolation: { fg: "#52a485" attr: "b" } + shape_table: { fg: "#7897c2" attr: "b" } + shape_variable: "#dd758e" + + background: "#302420" + foreground: "#a9a2a6" + cursor: "#a9a2a6" +}} \ No newline at end of file diff --git a/themes/themes/tempus-classic.nu b/themes/themes/tempus-classic.nu index 78759d4..3d84f37 100644 --- a/themes/themes/tempus-classic.nu +++ b/themes/themes/tempus-classic.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_classic theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#232323" - # foreground: "#aeadaf" - # cursor: "#aeadaf" - - { - # color for nushell primitives - separator: "#aeadaf" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#96a42d" - empty: "#6e9cb0" - bool: "#aeadaf" - int: "#aeadaf" - filesize: "#aeadaf" - duration: "#aeadaf" - date: "#aeadaf" - range: "#aeadaf" - float: "#aeadaf" - string: "#aeadaf" - nothing: "#aeadaf" - binary: "#aeadaf" - cellpath: "#aeadaf" - row_index: "#96a42d" - record: "#aeadaf" - list: "#aeadaf" - block: "#aeadaf" - hints: "#312e30" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d58888" - shape_bool: "#7aa880" - shape_int: "#d58888" - shape_float: "#d58888" - shape_range: "#a8a030" - shape_internalcall: "#7aa880" - shape_external: "#6da280" - shape_externalarg: "#96a42d" - shape_literal: "#6e9cb0" - shape_operator: "#b1942b" - shape_signature: "#96a42d" - shape_string: "#8c9e3d" - shape_string_interpolation: "#7aa880" - shape_datetime: "#7aa880" - shape_list: "#7aa880" - shape_table: "#8e9cc0" - shape_record: "#7aa880" - shape_block: "#8e9cc0" - shape_filepath: "#6da280" - shape_globpattern: "#7aa880" - shape_variable: "#b58d88" - shape_flag: "#8e9cc0" - shape_custom: "#8c9e3d" - shape_nothing: "#7aa880" +export def main [] { return { + separator: "#949d9f" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8c9e3d" attr: "b" } + empty: "#6e9cb0" + bool: {|| if $in { "#7aa880" } else { "light_gray" } } + int: "#949d9f" + filesize: {|e| + if $e == 0b { + "#949d9f" + } else if $e < 1mb { + "#6da280" + } else {{ fg: "#6e9cb0" }} } -} + duration: "#949d9f" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d2813d" attr: "b" } + } else if $in < 6hr { + "#d2813d" + } else if $in < 1day { + "#b1942b" + } else if $in < 3day { + "#8c9e3d" + } else if $in < 1wk { + { fg: "#8c9e3d" attr: "b" } + } else if $in < 6wk { + "#6da280" + } else if $in < 52wk { + "#6e9cb0" + } else { "dark_gray" } + } + range: "#949d9f" + float: "#949d9f" + string: "#949d9f" + nothing: "#949d9f" + binary: "#949d9f" + cellpath: "#949d9f" + row_index: { fg: "#8c9e3d" attr: "b" } + record: "#949d9f" + list: "#949d9f" + block: "#949d9f" + hints: "dark_gray" + + shape_and: { fg: "#b58d88" attr: "b" } + shape_binary: { fg: "#b58d88" attr: "b" } + shape_block: { fg: "#6e9cb0" attr: "b" } + shape_bool: "#7aa880" + shape_custom: "#8c9e3d" + shape_datetime: { fg: "#6da280" attr: "b" } + shape_directory: "#6da280" + shape_external: "#6da280" + shape_externalarg: { fg: "#8c9e3d" attr: "b" } + shape_filepath: "#6da280" + shape_flag: { fg: "#6e9cb0" attr: "b" } + shape_float: { fg: "#b58d88" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#6da280" attr: "b" } + shape_int: { fg: "#b58d88" attr: "b" } + shape_internalcall: { fg: "#6da280" attr: "b" } + shape_list: { fg: "#6da280" attr: "b" } + shape_literal: "#6e9cb0" + shape_match_pattern: "#8c9e3d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7aa880" + shape_operator: "#b1942b" + shape_or: { fg: "#b58d88" attr: "b" } + shape_pipe: { fg: "#b58d88" attr: "b" } + shape_range: { fg: "#b1942b" attr: "b" } + shape_record: { fg: "#6da280" attr: "b" } + shape_redirection: { fg: "#b58d88" attr: "b" } + shape_signature: { fg: "#8c9e3d" attr: "b" } + shape_string: "#8c9e3d" + shape_string_interpolation: { fg: "#6da280" attr: "b" } + shape_table: { fg: "#6e9cb0" attr: "b" } + shape_variable: "#b58d88" + + background: "#232323" + foreground: "#aeadaf" + cursor: "#aeadaf" +}} \ No newline at end of file diff --git a/themes/themes/tempus-dawn.nu b/themes/themes/tempus-dawn.nu index 214e3e2..6dc08cc 100644 --- a/themes/themes/tempus-dawn.nu +++ b/themes/themes/tempus-dawn.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_dawn theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#eff0f2" - # foreground: "#4a4b4e" - # cursor: "#4a4b4e" - - { - # color for nushell primitives - separator: "#eff0f2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#1a7608" - empty: "#4b529a" - bool: "#eff0f2" - int: "#eff0f2" - filesize: "#eff0f2" - duration: "#eff0f2" - date: "#eff0f2" - range: "#eff0f2" - float: "#eff0f2" - string: "#eff0f2" - nothing: "#eff0f2" - binary: "#eff0f2" - cellpath: "#eff0f2" - row_index: "#1a7608" - record: "#eff0f2" - list: "#eff0f2" - block: "#eff0f2" - hints: "#686565" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8e47a8" - shape_bool: "#106e8c" - shape_int: "#8e47a8" - shape_float: "#8e47a8" - shape_range: "#8d5b0a" - shape_internalcall: "#106e8c" - shape_external: "#086784" - shape_externalarg: "#1a7608" - shape_literal: "#4b529a" - shape_operator: "#745300" - shape_signature: "#1a7608" - shape_string: "#206620" - shape_string_interpolation: "#106e8c" - shape_datetime: "#106e8c" - shape_list: "#106e8c" - shape_table: "#5c5bb2" - shape_record: "#106e8c" - shape_block: "#5c5bb2" - shape_filepath: "#086784" - shape_globpattern: "#106e8c" - shape_variable: "#8d377e" - shape_flag: "#5c5bb2" - shape_custom: "#206620" - shape_nothing: "#106e8c" +export def main [] { return { + separator: "#e2e4e1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#206620" attr: "b" } + empty: "#4b529a" + bool: {|| if $in { "#106e8c" } else { "light_gray" } } + int: "#e2e4e1" + filesize: {|e| + if $e == 0b { + "#e2e4e1" + } else if $e < 1mb { + "#086784" + } else {{ fg: "#4b529a" }} } -} + duration: "#e2e4e1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a32a3a" attr: "b" } + } else if $in < 6hr { + "#a32a3a" + } else if $in < 1day { + "#745300" + } else if $in < 3day { + "#206620" + } else if $in < 1wk { + { fg: "#206620" attr: "b" } + } else if $in < 6wk { + "#086784" + } else if $in < 52wk { + "#4b529a" + } else { "dark_gray" } + } + range: "#e2e4e1" + float: "#e2e4e1" + string: "#e2e4e1" + nothing: "#e2e4e1" + binary: "#e2e4e1" + cellpath: "#e2e4e1" + row_index: { fg: "#206620" attr: "b" } + record: "#e2e4e1" + list: "#e2e4e1" + block: "#e2e4e1" + hints: "dark_gray" + + shape_and: { fg: "#8d377e" attr: "b" } + shape_binary: { fg: "#8d377e" attr: "b" } + shape_block: { fg: "#4b529a" attr: "b" } + shape_bool: "#106e8c" + shape_custom: "#206620" + shape_datetime: { fg: "#086784" attr: "b" } + shape_directory: "#086784" + shape_external: "#086784" + shape_externalarg: { fg: "#206620" attr: "b" } + shape_filepath: "#086784" + shape_flag: { fg: "#4b529a" attr: "b" } + shape_float: { fg: "#8d377e" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#086784" attr: "b" } + shape_int: { fg: "#8d377e" attr: "b" } + shape_internalcall: { fg: "#086784" attr: "b" } + shape_list: { fg: "#086784" attr: "b" } + shape_literal: "#4b529a" + shape_match_pattern: "#206620" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#106e8c" + shape_operator: "#745300" + shape_or: { fg: "#8d377e" attr: "b" } + shape_pipe: { fg: "#8d377e" attr: "b" } + shape_range: { fg: "#745300" attr: "b" } + shape_record: { fg: "#086784" attr: "b" } + shape_redirection: { fg: "#8d377e" attr: "b" } + shape_signature: { fg: "#206620" attr: "b" } + shape_string: "#206620" + shape_string_interpolation: { fg: "#086784" attr: "b" } + shape_table: { fg: "#4b529a" attr: "b" } + shape_variable: "#8d377e" + + background: "#eff0f2" + foreground: "#4a4b4e" + cursor: "#4a4b4e" +}} \ No newline at end of file diff --git a/themes/themes/tempus-day.nu b/themes/themes/tempus-day.nu index 1d230f0..0b7375d 100644 --- a/themes/themes/tempus-day.nu +++ b/themes/themes/tempus-day.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_day theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f8f2e5" - # foreground: "#464340" - # cursor: "#464340" - - { - # color for nushell primitives - separator: "#f8f2e5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#4a7240" - empty: "#385dc4" - bool: "#f8f2e5" - int: "#f8f2e5" - filesize: "#f8f2e5" - duration: "#f8f2e5" - date: "#f8f2e5" - range: "#f8f2e5" - float: "#f8f2e5" - string: "#f8f2e5" - nothing: "#f8f2e5" - binary: "#f8f2e5" - cellpath: "#f8f2e5" - row_index: "#4a7240" - record: "#f8f2e5" - list: "#f8f2e5" - block: "#f8f2e5" - hints: "#68607d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8055aa" - shape_bool: "#337087" - shape_int: "#8055aa" - shape_float: "#8055aa" - shape_range: "#706a00" - shape_internalcall: "#337087" - shape_external: "#007070" - shape_externalarg: "#4a7240" - shape_literal: "#385dc4" - shape_operator: "#806000" - shape_signature: "#4a7240" - shape_string: "#107410" - shape_string_interpolation: "#337087" - shape_datetime: "#337087" - shape_list: "#337087" - shape_table: "#0d66c9" - shape_record: "#337087" - shape_block: "#0d66c9" - shape_filepath: "#007070" - shape_globpattern: "#337087" - shape_variable: "#b63052" - shape_flag: "#0d66c9" - shape_custom: "#107410" - shape_nothing: "#337087" +export def main [] { return { + separator: "#eae9dd" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#107410" attr: "b" } + empty: "#385dc4" + bool: {|| if $in { "#337087" } else { "light_gray" } } + int: "#eae9dd" + filesize: {|e| + if $e == 0b { + "#eae9dd" + } else if $e < 1mb { + "#007070" + } else {{ fg: "#385dc4" }} } -} + duration: "#eae9dd" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c81000" attr: "b" } + } else if $in < 6hr { + "#c81000" + } else if $in < 1day { + "#806000" + } else if $in < 3day { + "#107410" + } else if $in < 1wk { + { fg: "#107410" attr: "b" } + } else if $in < 6wk { + "#007070" + } else if $in < 52wk { + "#385dc4" + } else { "dark_gray" } + } + range: "#eae9dd" + float: "#eae9dd" + string: "#eae9dd" + nothing: "#eae9dd" + binary: "#eae9dd" + cellpath: "#eae9dd" + row_index: { fg: "#107410" attr: "b" } + record: "#eae9dd" + list: "#eae9dd" + block: "#eae9dd" + hints: "dark_gray" + + shape_and: { fg: "#b63052" attr: "b" } + shape_binary: { fg: "#b63052" attr: "b" } + shape_block: { fg: "#385dc4" attr: "b" } + shape_bool: "#337087" + shape_custom: "#107410" + shape_datetime: { fg: "#007070" attr: "b" } + shape_directory: "#007070" + shape_external: "#007070" + shape_externalarg: { fg: "#107410" attr: "b" } + shape_filepath: "#007070" + shape_flag: { fg: "#385dc4" attr: "b" } + shape_float: { fg: "#b63052" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#007070" attr: "b" } + shape_int: { fg: "#b63052" attr: "b" } + shape_internalcall: { fg: "#007070" attr: "b" } + shape_list: { fg: "#007070" attr: "b" } + shape_literal: "#385dc4" + shape_match_pattern: "#107410" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#337087" + shape_operator: "#806000" + shape_or: { fg: "#b63052" attr: "b" } + shape_pipe: { fg: "#b63052" attr: "b" } + shape_range: { fg: "#806000" attr: "b" } + shape_record: { fg: "#007070" attr: "b" } + shape_redirection: { fg: "#b63052" attr: "b" } + shape_signature: { fg: "#107410" attr: "b" } + shape_string: "#107410" + shape_string_interpolation: { fg: "#007070" attr: "b" } + shape_table: { fg: "#385dc4" attr: "b" } + shape_variable: "#b63052" + + background: "#f8f2e5" + foreground: "#464340" + cursor: "#464340" +}} \ No newline at end of file diff --git a/themes/themes/tempus-dusk.nu b/themes/themes/tempus-dusk.nu index 1db1f6c..6c34af6 100644 --- a/themes/themes/tempus-dusk.nu +++ b/themes/themes/tempus-dusk.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_dusk theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1f252d" - # foreground: "#a2a8ba" - # cursor: "#a2a8ba" - - { - # color for nushell primitives - separator: "#a2a8ba" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#80b48f" - empty: "#8c9abe" - bool: "#a2a8ba" - int: "#a2a8ba" - filesize: "#a2a8ba" - duration: "#a2a8ba" - date: "#a2a8ba" - range: "#a2a8ba" - float: "#a2a8ba" - string: "#a2a8ba" - nothing: "#a2a8ba" - binary: "#a2a8ba" - cellpath: "#a2a8ba" - row_index: "#80b48f" - record: "#a2a8ba" - list: "#a2a8ba" - block: "#a2a8ba" - hints: "#2c3150" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c69ac6" - shape_bool: "#8caeb6" - shape_int: "#c69ac6" - shape_float: "#c69ac6" - shape_range: "#bda75a" - shape_internalcall: "#8caeb6" - shape_external: "#8e9aba" - shape_externalarg: "#80b48f" - shape_literal: "#8c9abe" - shape_operator: "#a79c46" - shape_signature: "#80b48f" - shape_string: "#8ba089" - shape_string_interpolation: "#8caeb6" - shape_datetime: "#8caeb6" - shape_list: "#8caeb6" - shape_table: "#9ca5de" - shape_record: "#8caeb6" - shape_block: "#9ca5de" - shape_filepath: "#8e9aba" - shape_globpattern: "#8caeb6" - shape_variable: "#b190af" - shape_flag: "#9ca5de" - shape_custom: "#8ba089" - shape_nothing: "#8caeb6" +export def main [] { return { + separator: "#a29899" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8ba089" attr: "b" } + empty: "#8c9abe" + bool: {|| if $in { "#8caeb6" } else { "light_gray" } } + int: "#a29899" + filesize: {|e| + if $e == 0b { + "#a29899" + } else if $e < 1mb { + "#8e9aba" + } else {{ fg: "#8c9abe" }} } -} + duration: "#a29899" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cb8d56" attr: "b" } + } else if $in < 6hr { + "#cb8d56" + } else if $in < 1day { + "#a79c46" + } else if $in < 3day { + "#8ba089" + } else if $in < 1wk { + { fg: "#8ba089" attr: "b" } + } else if $in < 6wk { + "#8e9aba" + } else if $in < 52wk { + "#8c9abe" + } else { "dark_gray" } + } + range: "#a29899" + float: "#a29899" + string: "#a29899" + nothing: "#a29899" + binary: "#a29899" + cellpath: "#a29899" + row_index: { fg: "#8ba089" attr: "b" } + record: "#a29899" + list: "#a29899" + block: "#a29899" + hints: "dark_gray" + + shape_and: { fg: "#b190af" attr: "b" } + shape_binary: { fg: "#b190af" attr: "b" } + shape_block: { fg: "#8c9abe" attr: "b" } + shape_bool: "#8caeb6" + shape_custom: "#8ba089" + shape_datetime: { fg: "#8e9aba" attr: "b" } + shape_directory: "#8e9aba" + shape_external: "#8e9aba" + shape_externalarg: { fg: "#8ba089" attr: "b" } + shape_filepath: "#8e9aba" + shape_flag: { fg: "#8c9abe" attr: "b" } + shape_float: { fg: "#b190af" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8e9aba" attr: "b" } + shape_int: { fg: "#b190af" attr: "b" } + shape_internalcall: { fg: "#8e9aba" attr: "b" } + shape_list: { fg: "#8e9aba" attr: "b" } + shape_literal: "#8c9abe" + shape_match_pattern: "#8ba089" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8caeb6" + shape_operator: "#a79c46" + shape_or: { fg: "#b190af" attr: "b" } + shape_pipe: { fg: "#b190af" attr: "b" } + shape_range: { fg: "#a79c46" attr: "b" } + shape_record: { fg: "#8e9aba" attr: "b" } + shape_redirection: { fg: "#b190af" attr: "b" } + shape_signature: { fg: "#8ba089" attr: "b" } + shape_string: "#8ba089" + shape_string_interpolation: { fg: "#8e9aba" attr: "b" } + shape_table: { fg: "#8c9abe" attr: "b" } + shape_variable: "#b190af" + + background: "#1f252d" + foreground: "#a2a8ba" + cursor: "#a2a8ba" +}} \ No newline at end of file diff --git a/themes/themes/tempus-fugit.nu b/themes/themes/tempus-fugit.nu index 41dde75..a7740f6 100644 --- a/themes/themes/tempus-fugit.nu +++ b/themes/themes/tempus-fugit.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_fugit theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fff5f3" - # foreground: "#4d595f" - # cursor: "#4d595f" - - { - # color for nushell primitives - separator: "#fff5f3" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#447720" - empty: "#1666b0" - bool: "#fff5f3" - int: "#fff5f3" - filesize: "#fff5f3" - duration: "#fff5f3" - date: "#fff5f3" - range: "#fff5f3" - float: "#fff5f3" - string: "#fff5f3" - nothing: "#fff5f3" - binary: "#fff5f3" - cellpath: "#fff5f3" - row_index: "#447720" - record: "#fff5f3" - list: "#fff5f3" - block: "#fff5f3" - hints: "#7b6471" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a438c0" - shape_bool: "#00786a" - shape_int: "#a438c0" - shape_float: "#a438c0" - shape_range: "#985d00" - shape_internalcall: "#00786a" - shape_external: "#007072" - shape_externalarg: "#447720" - shape_literal: "#1666b0" - shape_operator: "#825e00" - shape_signature: "#447720" - shape_string: "#357200" - shape_string_interpolation: "#00786a" - shape_datetime: "#00786a" - shape_list: "#00786a" - shape_table: "#485ddf" - shape_record: "#00786a" - shape_block: "#485ddf" - shape_filepath: "#007072" - shape_globpattern: "#00786a" - shape_variable: "#a83884" - shape_flag: "#485ddf" - shape_custom: "#357200" - shape_nothing: "#00786a" +export def main [] { return { + separator: "#f2ebe9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#357200" attr: "b" } + empty: "#1666b0" + bool: {|| if $in { "#00786a" } else { "light_gray" } } + int: "#f2ebe9" + filesize: {|e| + if $e == 0b { + "#f2ebe9" + } else if $e < 1mb { + "#007072" + } else {{ fg: "#1666b0" }} } -} + duration: "#f2ebe9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c61a14" attr: "b" } + } else if $in < 6hr { + "#c61a14" + } else if $in < 1day { + "#825e00" + } else if $in < 3day { + "#357200" + } else if $in < 1wk { + { fg: "#357200" attr: "b" } + } else if $in < 6wk { + "#007072" + } else if $in < 52wk { + "#1666b0" + } else { "dark_gray" } + } + range: "#f2ebe9" + float: "#f2ebe9" + string: "#f2ebe9" + nothing: "#f2ebe9" + binary: "#f2ebe9" + cellpath: "#f2ebe9" + row_index: { fg: "#357200" attr: "b" } + record: "#f2ebe9" + list: "#f2ebe9" + block: "#f2ebe9" + hints: "dark_gray" + + shape_and: { fg: "#a83884" attr: "b" } + shape_binary: { fg: "#a83884" attr: "b" } + shape_block: { fg: "#1666b0" attr: "b" } + shape_bool: "#00786a" + shape_custom: "#357200" + shape_datetime: { fg: "#007072" attr: "b" } + shape_directory: "#007072" + shape_external: "#007072" + shape_externalarg: { fg: "#357200" attr: "b" } + shape_filepath: "#007072" + shape_flag: { fg: "#1666b0" attr: "b" } + shape_float: { fg: "#a83884" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#007072" attr: "b" } + shape_int: { fg: "#a83884" attr: "b" } + shape_internalcall: { fg: "#007072" attr: "b" } + shape_list: { fg: "#007072" attr: "b" } + shape_literal: "#1666b0" + shape_match_pattern: "#357200" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00786a" + shape_operator: "#825e00" + shape_or: { fg: "#a83884" attr: "b" } + shape_pipe: { fg: "#a83884" attr: "b" } + shape_range: { fg: "#825e00" attr: "b" } + shape_record: { fg: "#007072" attr: "b" } + shape_redirection: { fg: "#a83884" attr: "b" } + shape_signature: { fg: "#357200" attr: "b" } + shape_string: "#357200" + shape_string_interpolation: { fg: "#007072" attr: "b" } + shape_table: { fg: "#1666b0" attr: "b" } + shape_variable: "#a83884" + + background: "#fff5f3" + foreground: "#4d595f" + cursor: "#4d595f" +}} \ No newline at end of file diff --git a/themes/themes/tempus-future.nu b/themes/themes/tempus-future.nu index da56c7e..de3aee4 100644 --- a/themes/themes/tempus-future.nu +++ b/themes/themes/tempus-future.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_future theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#090a18" - # foreground: "#b4abac" - # cursor: "#b4abac" - - { - # color for nushell primitives - separator: "#b4abac" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#60ba80" - empty: "#4aaed3" - bool: "#b4abac" - int: "#b4abac" - filesize: "#b4abac" - duration: "#b4abac" - date: "#b4abac" - range: "#b4abac" - float: "#b4abac" - string: "#b4abac" - nothing: "#b4abac" - binary: "#b4abac" - cellpath: "#b4abac" - row_index: "#60ba80" - record: "#b4abac" - list: "#b4abac" - block: "#b4abac" - hints: "#260e22" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e08bd6" - shape_bool: "#2cbab6" - shape_int: "#e08bd6" - shape_float: "#e08bd6" - shape_range: "#de9b1d" - shape_internalcall: "#2cbab6" - shape_external: "#29b3bb" - shape_externalarg: "#60ba80" - shape_literal: "#4aaed3" - shape_operator: "#bfa01a" - shape_signature: "#60ba80" - shape_string: "#6ab539" - shape_string_interpolation: "#2cbab6" - shape_datetime: "#2cbab6" - shape_list: "#2cbab6" - shape_table: "#8ba7ea" - shape_record: "#2cbab6" - shape_block: "#8ba7ea" - shape_filepath: "#29b3bb" - shape_globpattern: "#2cbab6" - shape_variable: "#e58a82" - shape_flag: "#8ba7ea" - shape_custom: "#6ab539" - shape_nothing: "#2cbab6" +export def main [] { return { + separator: "#a59ebd" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6ab539" attr: "b" } + empty: "#4aaed3" + bool: {|| if $in { "#2cbab6" } else { "light_gray" } } + int: "#a59ebd" + filesize: {|e| + if $e == 0b { + "#a59ebd" + } else if $e < 1mb { + "#29b3bb" + } else {{ fg: "#4aaed3" }} } -} + duration: "#a59ebd" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff778a" attr: "b" } + } else if $in < 6hr { + "#ff778a" + } else if $in < 1day { + "#bfa01a" + } else if $in < 3day { + "#6ab539" + } else if $in < 1wk { + { fg: "#6ab539" attr: "b" } + } else if $in < 6wk { + "#29b3bb" + } else if $in < 52wk { + "#4aaed3" + } else { "dark_gray" } + } + range: "#a59ebd" + float: "#a59ebd" + string: "#a59ebd" + nothing: "#a59ebd" + binary: "#a59ebd" + cellpath: "#a59ebd" + row_index: { fg: "#6ab539" attr: "b" } + record: "#a59ebd" + list: "#a59ebd" + block: "#a59ebd" + hints: "dark_gray" + + shape_and: { fg: "#e58a82" attr: "b" } + shape_binary: { fg: "#e58a82" attr: "b" } + shape_block: { fg: "#4aaed3" attr: "b" } + shape_bool: "#2cbab6" + shape_custom: "#6ab539" + shape_datetime: { fg: "#29b3bb" attr: "b" } + shape_directory: "#29b3bb" + shape_external: "#29b3bb" + shape_externalarg: { fg: "#6ab539" attr: "b" } + shape_filepath: "#29b3bb" + shape_flag: { fg: "#4aaed3" attr: "b" } + shape_float: { fg: "#e58a82" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#29b3bb" attr: "b" } + shape_int: { fg: "#e58a82" attr: "b" } + shape_internalcall: { fg: "#29b3bb" attr: "b" } + shape_list: { fg: "#29b3bb" attr: "b" } + shape_literal: "#4aaed3" + shape_match_pattern: "#6ab539" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2cbab6" + shape_operator: "#bfa01a" + shape_or: { fg: "#e58a82" attr: "b" } + shape_pipe: { fg: "#e58a82" attr: "b" } + shape_range: { fg: "#bfa01a" attr: "b" } + shape_record: { fg: "#29b3bb" attr: "b" } + shape_redirection: { fg: "#e58a82" attr: "b" } + shape_signature: { fg: "#6ab539" attr: "b" } + shape_string: "#6ab539" + shape_string_interpolation: { fg: "#29b3bb" attr: "b" } + shape_table: { fg: "#4aaed3" attr: "b" } + shape_variable: "#e58a82" + + background: "#090a18" + foreground: "#b4abac" + cursor: "#b4abac" +}} \ No newline at end of file diff --git a/themes/themes/tempus-night.nu b/themes/themes/tempus-night.nu index ffbd04e..1d8871e 100644 --- a/themes/themes/tempus-night.nu +++ b/themes/themes/tempus-night.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_night theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1a1a1a" - # foreground: "#e0e0e0" - # cursor: "#e0e0e0" - - { - # color for nushell primitives - separator: "#e0e0e0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#88c400" - empty: "#5aaaf2" - bool: "#e0e0e0" - int: "#e0e0e0" - filesize: "#e0e0e0" - duration: "#e0e0e0" - date: "#e0e0e0" - range: "#e0e0e0" - float: "#e0e0e0" - string: "#e0e0e0" - nothing: "#e0e0e0" - binary: "#e0e0e0" - cellpath: "#e0e0e0" - row_index: "#88c400" - record: "#e0e0e0" - list: "#e0e0e0" - block: "#e0e0e0" - hints: "#18143d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#de99f0" - shape_bool: "#00ca9a" - shape_int: "#de99f0" - shape_float: "#de99f0" - shape_range: "#d7ae00" - shape_internalcall: "#00ca9a" - shape_external: "#1db5c3" - shape_externalarg: "#88c400" - shape_literal: "#5aaaf2" - shape_operator: "#b0a800" - shape_signature: "#88c400" - shape_string: "#52ba40" - shape_string_interpolation: "#00ca9a" - shape_datetime: "#00ca9a" - shape_list: "#00ca9a" - shape_table: "#8cb4f0" - shape_record: "#00ca9a" - shape_block: "#8cb4f0" - shape_filepath: "#1db5c3" - shape_globpattern: "#00ca9a" - shape_variable: "#ee80c0" - shape_flag: "#8cb4f0" - shape_custom: "#52ba40" - shape_nothing: "#00ca9a" +export def main [] { return { + separator: "#c4bdaf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#52ba40" attr: "b" } + empty: "#5aaaf2" + bool: {|| if $in { "#00ca9a" } else { "light_gray" } } + int: "#c4bdaf" + filesize: {|e| + if $e == 0b { + "#c4bdaf" + } else if $e < 1mb { + "#1db5c3" + } else {{ fg: "#5aaaf2" }} } -} + duration: "#c4bdaf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fb7e8e" attr: "b" } + } else if $in < 6hr { + "#fb7e8e" + } else if $in < 1day { + "#b0a800" + } else if $in < 3day { + "#52ba40" + } else if $in < 1wk { + { fg: "#52ba40" attr: "b" } + } else if $in < 6wk { + "#1db5c3" + } else if $in < 52wk { + "#5aaaf2" + } else { "dark_gray" } + } + range: "#c4bdaf" + float: "#c4bdaf" + string: "#c4bdaf" + nothing: "#c4bdaf" + binary: "#c4bdaf" + cellpath: "#c4bdaf" + row_index: { fg: "#52ba40" attr: "b" } + record: "#c4bdaf" + list: "#c4bdaf" + block: "#c4bdaf" + hints: "dark_gray" + + shape_and: { fg: "#ee80c0" attr: "b" } + shape_binary: { fg: "#ee80c0" attr: "b" } + shape_block: { fg: "#5aaaf2" attr: "b" } + shape_bool: "#00ca9a" + shape_custom: "#52ba40" + shape_datetime: { fg: "#1db5c3" attr: "b" } + shape_directory: "#1db5c3" + shape_external: "#1db5c3" + shape_externalarg: { fg: "#52ba40" attr: "b" } + shape_filepath: "#1db5c3" + shape_flag: { fg: "#5aaaf2" attr: "b" } + shape_float: { fg: "#ee80c0" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1db5c3" attr: "b" } + shape_int: { fg: "#ee80c0" attr: "b" } + shape_internalcall: { fg: "#1db5c3" attr: "b" } + shape_list: { fg: "#1db5c3" attr: "b" } + shape_literal: "#5aaaf2" + shape_match_pattern: "#52ba40" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00ca9a" + shape_operator: "#b0a800" + shape_or: { fg: "#ee80c0" attr: "b" } + shape_pipe: { fg: "#ee80c0" attr: "b" } + shape_range: { fg: "#b0a800" attr: "b" } + shape_record: { fg: "#1db5c3" attr: "b" } + shape_redirection: { fg: "#ee80c0" attr: "b" } + shape_signature: { fg: "#52ba40" attr: "b" } + shape_string: "#52ba40" + shape_string_interpolation: { fg: "#1db5c3" attr: "b" } + shape_table: { fg: "#5aaaf2" attr: "b" } + shape_variable: "#ee80c0" + + background: "#1a1a1a" + foreground: "#e0e0e0" + cursor: "#e0e0e0" +}} \ No newline at end of file diff --git a/themes/themes/tempus-past.nu b/themes/themes/tempus-past.nu index d7bcfe0..eabe052 100644 --- a/themes/themes/tempus-past.nu +++ b/themes/themes/tempus-past.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_past theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f3f2f4" - # foreground: "#53545b" - # cursor: "#53545b" - - { - # color for nushell primitives - separator: "#f3f2f4" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#407343" - empty: "#1763aa" - bool: "#f3f2f4" - int: "#f3f2f4" - filesize: "#f3f2f4" - duration: "#f3f2f4" - date: "#f3f2f4" - range: "#f3f2f4" - float: "#f3f2f4" - string: "#f3f2f4" - nothing: "#f3f2f4" - binary: "#f3f2f4" - cellpath: "#f3f2f4" - row_index: "#407343" - record: "#f3f2f4" - list: "#f3f2f4" - block: "#f3f2f4" - hints: "#80565d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b225ab" - shape_bool: "#07737a" - shape_int: "#b225ab" - shape_float: "#b225ab" - shape_range: "#9d524a" - shape_internalcall: "#07737a" - shape_external: "#096a83" - shape_externalarg: "#407343" - shape_literal: "#1763aa" - shape_operator: "#a6403a" - shape_signature: "#407343" - shape_string: "#0a7040" - shape_string_interpolation: "#07737a" - shape_datetime: "#07737a" - shape_list: "#07737a" - shape_table: "#5a5ebb" - shape_record: "#07737a" - shape_block: "#5a5ebb" - shape_filepath: "#096a83" - shape_globpattern: "#07737a" - shape_variable: "#b02874" - shape_flag: "#5a5ebb" - shape_custom: "#0a7040" - shape_nothing: "#07737a" +export def main [] { return { + separator: "#ece6de" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#0a7040" attr: "b" } + empty: "#1763aa" + bool: {|| if $in { "#07737a" } else { "light_gray" } } + int: "#ece6de" + filesize: {|e| + if $e == 0b { + "#ece6de" + } else if $e < 1mb { + "#096a83" + } else {{ fg: "#1763aa" }} } -} + duration: "#ece6de" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c00c50" attr: "b" } + } else if $in < 6hr { + "#c00c50" + } else if $in < 1day { + "#a6403a" + } else if $in < 3day { + "#0a7040" + } else if $in < 1wk { + { fg: "#0a7040" attr: "b" } + } else if $in < 6wk { + "#096a83" + } else if $in < 52wk { + "#1763aa" + } else { "dark_gray" } + } + range: "#ece6de" + float: "#ece6de" + string: "#ece6de" + nothing: "#ece6de" + binary: "#ece6de" + cellpath: "#ece6de" + row_index: { fg: "#0a7040" attr: "b" } + record: "#ece6de" + list: "#ece6de" + block: "#ece6de" + hints: "dark_gray" + + shape_and: { fg: "#b02874" attr: "b" } + shape_binary: { fg: "#b02874" attr: "b" } + shape_block: { fg: "#1763aa" attr: "b" } + shape_bool: "#07737a" + shape_custom: "#0a7040" + shape_datetime: { fg: "#096a83" attr: "b" } + shape_directory: "#096a83" + shape_external: "#096a83" + shape_externalarg: { fg: "#0a7040" attr: "b" } + shape_filepath: "#096a83" + shape_flag: { fg: "#1763aa" attr: "b" } + shape_float: { fg: "#b02874" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#096a83" attr: "b" } + shape_int: { fg: "#b02874" attr: "b" } + shape_internalcall: { fg: "#096a83" attr: "b" } + shape_list: { fg: "#096a83" attr: "b" } + shape_literal: "#1763aa" + shape_match_pattern: "#0a7040" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#07737a" + shape_operator: "#a6403a" + shape_or: { fg: "#b02874" attr: "b" } + shape_pipe: { fg: "#b02874" attr: "b" } + shape_range: { fg: "#a6403a" attr: "b" } + shape_record: { fg: "#096a83" attr: "b" } + shape_redirection: { fg: "#b02874" attr: "b" } + shape_signature: { fg: "#0a7040" attr: "b" } + shape_string: "#0a7040" + shape_string_interpolation: { fg: "#096a83" attr: "b" } + shape_table: { fg: "#1763aa" attr: "b" } + shape_variable: "#b02874" + + background: "#f3f2f4" + foreground: "#53545b" + cursor: "#53545b" +}} \ No newline at end of file diff --git a/themes/themes/tempus-rift.nu b/themes/themes/tempus-rift.nu index e83518e..17913d1 100644 --- a/themes/themes/tempus-rift.nu +++ b/themes/themes/tempus-rift.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_rift theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#162c22" - # foreground: "#bbbcbc" - # cursor: "#bbbcbc" - - { - # color for nushell primitives - separator: "#bbbcbc" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#6ac134" - empty: "#30aeb0" - bool: "#bbbcbc" - int: "#bbbcbc" - filesize: "#bbbcbc" - duration: "#bbbcbc" - date: "#bbbcbc" - range: "#bbbcbc" - float: "#bbbcbc" - string: "#bbbcbc" - nothing: "#bbbcbc" - binary: "#bbbcbc" - cellpath: "#bbbcbc" - row_index: "#6ac134" - record: "#bbbcbc" - list: "#bbbcbc" - block: "#bbbcbc" - hints: "#283431" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#cca0ba" - shape_bool: "#10c480" - shape_int: "#cca0ba" - shape_float: "#cca0ba" - shape_range: "#82bd00" - shape_internalcall: "#10c480" - shape_external: "#5fad8f" - shape_externalarg: "#6ac134" - shape_literal: "#30aeb0" - shape_operator: "#7fad00" - shape_signature: "#6ac134" - shape_string: "#34b534" - shape_string_interpolation: "#10c480" - shape_datetime: "#10c480" - shape_list: "#10c480" - shape_table: "#56bdad" - shape_record: "#10c480" - shape_block: "#56bdad" - shape_filepath: "#5fad8f" - shape_globpattern: "#10c480" - shape_variable: "#c8954c" - shape_flag: "#56bdad" - shape_custom: "#34b534" - shape_nothing: "#10c480" +export def main [] { return { + separator: "#ab9aa9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#34b534" attr: "b" } + empty: "#30aeb0" + bool: {|| if $in { "#10c480" } else { "light_gray" } } + int: "#ab9aa9" + filesize: {|e| + if $e == 0b { + "#ab9aa9" + } else if $e < 1mb { + "#5fad8f" + } else {{ fg: "#30aeb0" }} } -} + duration: "#ab9aa9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c19904" attr: "b" } + } else if $in < 6hr { + "#c19904" + } else if $in < 1day { + "#7fad00" + } else if $in < 3day { + "#34b534" + } else if $in < 1wk { + { fg: "#34b534" attr: "b" } + } else if $in < 6wk { + "#5fad8f" + } else if $in < 52wk { + "#30aeb0" + } else { "dark_gray" } + } + range: "#ab9aa9" + float: "#ab9aa9" + string: "#ab9aa9" + nothing: "#ab9aa9" + binary: "#ab9aa9" + cellpath: "#ab9aa9" + row_index: { fg: "#34b534" attr: "b" } + record: "#ab9aa9" + list: "#ab9aa9" + block: "#ab9aa9" + hints: "dark_gray" + + shape_and: { fg: "#c8954c" attr: "b" } + shape_binary: { fg: "#c8954c" attr: "b" } + shape_block: { fg: "#30aeb0" attr: "b" } + shape_bool: "#10c480" + shape_custom: "#34b534" + shape_datetime: { fg: "#5fad8f" attr: "b" } + shape_directory: "#5fad8f" + shape_external: "#5fad8f" + shape_externalarg: { fg: "#34b534" attr: "b" } + shape_filepath: "#5fad8f" + shape_flag: { fg: "#30aeb0" attr: "b" } + shape_float: { fg: "#c8954c" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5fad8f" attr: "b" } + shape_int: { fg: "#c8954c" attr: "b" } + shape_internalcall: { fg: "#5fad8f" attr: "b" } + shape_list: { fg: "#5fad8f" attr: "b" } + shape_literal: "#30aeb0" + shape_match_pattern: "#34b534" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#10c480" + shape_operator: "#7fad00" + shape_or: { fg: "#c8954c" attr: "b" } + shape_pipe: { fg: "#c8954c" attr: "b" } + shape_range: { fg: "#7fad00" attr: "b" } + shape_record: { fg: "#5fad8f" attr: "b" } + shape_redirection: { fg: "#c8954c" attr: "b" } + shape_signature: { fg: "#34b534" attr: "b" } + shape_string: "#34b534" + shape_string_interpolation: { fg: "#5fad8f" attr: "b" } + shape_table: { fg: "#30aeb0" attr: "b" } + shape_variable: "#c8954c" + + background: "#162c22" + foreground: "#bbbcbc" + cursor: "#bbbcbc" +}} \ No newline at end of file diff --git a/themes/themes/tempus-spring.nu b/themes/themes/tempus-spring.nu index fe23932..3934dca 100644 --- a/themes/themes/tempus-spring.nu +++ b/themes/themes/tempus-spring.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_spring theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#283a37" - # foreground: "#b5b8b7" - # cursor: "#b5b8b7" - - { - # color for nushell primitives - separator: "#b5b8b7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#6dbb0d" - empty: "#39b6ce" - bool: "#b5b8b7" - int: "#b5b8b7" - filesize: "#b5b8b7" - duration: "#b5b8b7" - date: "#b5b8b7" - range: "#b5b8b7" - float: "#b5b8b7" - string: "#b5b8b7" - nothing: "#b5b8b7" - binary: "#b5b8b7" - cellpath: "#b5b8b7" - row_index: "#6dbb0d" - record: "#b5b8b7" - list: "#b5b8b7" - block: "#b5b8b7" - hints: "#2a423d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d091db" - shape_bool: "#3cbaa6" - shape_int: "#d091db" - shape_float: "#d091db" - shape_range: "#c5a443" - shape_internalcall: "#3cbaa6" - shape_external: "#36bd84" - shape_externalarg: "#6dbb0d" - shape_literal: "#39b6ce" - shape_operator: "#a6af1a" - shape_signature: "#6dbb0d" - shape_string: "#5cbc4d" - shape_string_interpolation: "#3cbaa6" - shape_datetime: "#3cbaa6" - shape_list: "#3cbaa6" - shape_table: "#70ade2" - shape_record: "#3cbaa6" - shape_block: "#70ade2" - shape_filepath: "#36bd84" - shape_globpattern: "#3cbaa6" - shape_variable: "#e69092" - shape_flag: "#70ade2" - shape_custom: "#5cbc4d" - shape_nothing: "#3cbaa6" +export def main [] { return { + separator: "#96aca7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#5cbc4d" attr: "b" } + empty: "#39b6ce" + bool: {|| if $in { "#3cbaa6" } else { "light_gray" } } + int: "#96aca7" + filesize: {|e| + if $e == 0b { + "#96aca7" + } else if $e < 1mb { + "#36bd84" + } else {{ fg: "#39b6ce" }} } -} + duration: "#96aca7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff855a" attr: "b" } + } else if $in < 6hr { + "#ff855a" + } else if $in < 1day { + "#a6af1a" + } else if $in < 3day { + "#5cbc4d" + } else if $in < 1wk { + { fg: "#5cbc4d" attr: "b" } + } else if $in < 6wk { + "#36bd84" + } else if $in < 52wk { + "#39b6ce" + } else { "dark_gray" } + } + range: "#96aca7" + float: "#96aca7" + string: "#96aca7" + nothing: "#96aca7" + binary: "#96aca7" + cellpath: "#96aca7" + row_index: { fg: "#5cbc4d" attr: "b" } + record: "#96aca7" + list: "#96aca7" + block: "#96aca7" + hints: "dark_gray" + + shape_and: { fg: "#e69092" attr: "b" } + shape_binary: { fg: "#e69092" attr: "b" } + shape_block: { fg: "#39b6ce" attr: "b" } + shape_bool: "#3cbaa6" + shape_custom: "#5cbc4d" + shape_datetime: { fg: "#36bd84" attr: "b" } + shape_directory: "#36bd84" + shape_external: "#36bd84" + shape_externalarg: { fg: "#5cbc4d" attr: "b" } + shape_filepath: "#36bd84" + shape_flag: { fg: "#39b6ce" attr: "b" } + shape_float: { fg: "#e69092" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#36bd84" attr: "b" } + shape_int: { fg: "#e69092" attr: "b" } + shape_internalcall: { fg: "#36bd84" attr: "b" } + shape_list: { fg: "#36bd84" attr: "b" } + shape_literal: "#39b6ce" + shape_match_pattern: "#5cbc4d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3cbaa6" + shape_operator: "#a6af1a" + shape_or: { fg: "#e69092" attr: "b" } + shape_pipe: { fg: "#e69092" attr: "b" } + shape_range: { fg: "#a6af1a" attr: "b" } + shape_record: { fg: "#36bd84" attr: "b" } + shape_redirection: { fg: "#e69092" attr: "b" } + shape_signature: { fg: "#5cbc4d" attr: "b" } + shape_string: "#5cbc4d" + shape_string_interpolation: { fg: "#36bd84" attr: "b" } + shape_table: { fg: "#39b6ce" attr: "b" } + shape_variable: "#e69092" + + background: "#283a37" + foreground: "#b5b8b7" + cursor: "#b5b8b7" +}} \ No newline at end of file diff --git a/themes/themes/tempus-summer.nu b/themes/themes/tempus-summer.nu index 0275fb6..280ce56 100644 --- a/themes/themes/tempus-summer.nu +++ b/themes/themes/tempus-summer.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_summer theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#202c3d" - # foreground: "#a0abae" - # cursor: "#a0abae" - - { - # color for nushell primitives - separator: "#a0abae" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#57ad47" - empty: "#609fda" - bool: "#a0abae" - int: "#a0abae" - filesize: "#a0abae" - duration: "#a0abae" - date: "#a0abae" - range: "#a0abae" - float: "#a0abae" - string: "#a0abae" - nothing: "#a0abae" - binary: "#a0abae" - cellpath: "#a0abae" - row_index: "#57ad47" - record: "#a0abae" - list: "#a0abae" - block: "#a0abae" - hints: "#352f49" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c97ed7" - shape_bool: "#2aa9b6" - shape_int: "#c97ed7" - shape_float: "#c97ed7" - shape_range: "#bd951a" - shape_internalcall: "#2aa9b6" - shape_external: "#3dab95" - shape_externalarg: "#57ad47" - shape_literal: "#609fda" - shape_operator: "#af9a0a" - shape_signature: "#57ad47" - shape_string: "#4eac6d" - shape_string_interpolation: "#2aa9b6" - shape_datetime: "#2aa9b6" - shape_list: "#2aa9b6" - shape_table: "#8196e8" - shape_record: "#2aa9b6" - shape_block: "#8196e8" - shape_filepath: "#3dab95" - shape_globpattern: "#2aa9b6" - shape_variable: "#cc84ad" - shape_flag: "#8196e8" - shape_custom: "#4eac6d" - shape_nothing: "#2aa9b6" +export def main [] { return { + separator: "#919ab9" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4eac6d" attr: "b" } + empty: "#609fda" + bool: {|| if $in { "#2aa9b6" } else { "light_gray" } } + int: "#919ab9" + filesize: {|e| + if $e == 0b { + "#919ab9" + } else if $e < 1mb { + "#3dab95" + } else {{ fg: "#609fda" }} } -} + duration: "#919ab9" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f76f6e" attr: "b" } + } else if $in < 6hr { + "#f76f6e" + } else if $in < 1day { + "#af9a0a" + } else if $in < 3day { + "#4eac6d" + } else if $in < 1wk { + { fg: "#4eac6d" attr: "b" } + } else if $in < 6wk { + "#3dab95" + } else if $in < 52wk { + "#609fda" + } else { "dark_gray" } + } + range: "#919ab9" + float: "#919ab9" + string: "#919ab9" + nothing: "#919ab9" + binary: "#919ab9" + cellpath: "#919ab9" + row_index: { fg: "#4eac6d" attr: "b" } + record: "#919ab9" + list: "#919ab9" + block: "#919ab9" + hints: "dark_gray" + + shape_and: { fg: "#cc84ad" attr: "b" } + shape_binary: { fg: "#cc84ad" attr: "b" } + shape_block: { fg: "#609fda" attr: "b" } + shape_bool: "#2aa9b6" + shape_custom: "#4eac6d" + shape_datetime: { fg: "#3dab95" attr: "b" } + shape_directory: "#3dab95" + shape_external: "#3dab95" + shape_externalarg: { fg: "#4eac6d" attr: "b" } + shape_filepath: "#3dab95" + shape_flag: { fg: "#609fda" attr: "b" } + shape_float: { fg: "#cc84ad" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3dab95" attr: "b" } + shape_int: { fg: "#cc84ad" attr: "b" } + shape_internalcall: { fg: "#3dab95" attr: "b" } + shape_list: { fg: "#3dab95" attr: "b" } + shape_literal: "#609fda" + shape_match_pattern: "#4eac6d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#2aa9b6" + shape_operator: "#af9a0a" + shape_or: { fg: "#cc84ad" attr: "b" } + shape_pipe: { fg: "#cc84ad" attr: "b" } + shape_range: { fg: "#af9a0a" attr: "b" } + shape_record: { fg: "#3dab95" attr: "b" } + shape_redirection: { fg: "#cc84ad" attr: "b" } + shape_signature: { fg: "#4eac6d" attr: "b" } + shape_string: "#4eac6d" + shape_string_interpolation: { fg: "#3dab95" attr: "b" } + shape_table: { fg: "#609fda" attr: "b" } + shape_variable: "#cc84ad" + + background: "#202c3d" + foreground: "#a0abae" + cursor: "#a0abae" +}} \ No newline at end of file diff --git a/themes/themes/tempus-tempest.nu b/themes/themes/tempus-tempest.nu index bf1acf6..ead143a 100644 --- a/themes/themes/tempus-tempest.nu +++ b/themes/themes/tempus-tempest.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_tempest theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282b2b" - # foreground: "#b6e0ca" - # cursor: "#b6e0ca" - - { - # color for nushell primitives - separator: "#b6e0ca" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#99e299" - empty: "#60d4cd" - bool: "#b6e0ca" - int: "#b6e0ca" - filesize: "#b6e0ca" - duration: "#b6e0ca" - date: "#b6e0ca" - range: "#b6e0ca" - float: "#b6e0ca" - string: "#b6e0ca" - nothing: "#b6e0ca" - binary: "#b6e0ca" - cellpath: "#b6e0ca" - row_index: "#99e299" - record: "#b6e0ca" - list: "#b6e0ca" - block: "#b6e0ca" - hints: "#303434" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d2d4aa" - shape_bool: "#9bdfc4" - shape_int: "#d2d4aa" - shape_float: "#d2d4aa" - shape_range: "#bbde4f" - shape_internalcall: "#9bdfc4" - shape_external: "#8ad0b0" - shape_externalarg: "#99e299" - shape_literal: "#60d4cd" - shape_operator: "#bfc94a" - shape_signature: "#99e299" - shape_string: "#7ad67a" - shape_string_interpolation: "#9bdfc4" - shape_datetime: "#9bdfc4" - shape_list: "#9bdfc4" - shape_table: "#74e4cd" - shape_record: "#9bdfc4" - shape_block: "#74e4cd" - shape_filepath: "#8ad0b0" - shape_globpattern: "#9bdfc4" - shape_variable: "#c0c4aa" - shape_flag: "#74e4cd" - shape_custom: "#7ad67a" - shape_nothing: "#9bdfc4" +export def main [] { return { + separator: "#b0c8ca" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#7ad67a" attr: "b" } + empty: "#60d4cd" + bool: {|| if $in { "#9bdfc4" } else { "light_gray" } } + int: "#b0c8ca" + filesize: {|e| + if $e == 0b { + "#b0c8ca" + } else if $e < 1mb { + "#8ad0b0" + } else {{ fg: "#60d4cd" }} } -} + duration: "#b0c8ca" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c6c80a" attr: "b" } + } else if $in < 6hr { + "#c6c80a" + } else if $in < 1day { + "#bfc94a" + } else if $in < 3day { + "#7ad67a" + } else if $in < 1wk { + { fg: "#7ad67a" attr: "b" } + } else if $in < 6wk { + "#8ad0b0" + } else if $in < 52wk { + "#60d4cd" + } else { "dark_gray" } + } + range: "#b0c8ca" + float: "#b0c8ca" + string: "#b0c8ca" + nothing: "#b0c8ca" + binary: "#b0c8ca" + cellpath: "#b0c8ca" + row_index: { fg: "#7ad67a" attr: "b" } + record: "#b0c8ca" + list: "#b0c8ca" + block: "#b0c8ca" + hints: "dark_gray" + + shape_and: { fg: "#c0c4aa" attr: "b" } + shape_binary: { fg: "#c0c4aa" attr: "b" } + shape_block: { fg: "#60d4cd" attr: "b" } + shape_bool: "#9bdfc4" + shape_custom: "#7ad67a" + shape_datetime: { fg: "#8ad0b0" attr: "b" } + shape_directory: "#8ad0b0" + shape_external: "#8ad0b0" + shape_externalarg: { fg: "#7ad67a" attr: "b" } + shape_filepath: "#8ad0b0" + shape_flag: { fg: "#60d4cd" attr: "b" } + shape_float: { fg: "#c0c4aa" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8ad0b0" attr: "b" } + shape_int: { fg: "#c0c4aa" attr: "b" } + shape_internalcall: { fg: "#8ad0b0" attr: "b" } + shape_list: { fg: "#8ad0b0" attr: "b" } + shape_literal: "#60d4cd" + shape_match_pattern: "#7ad67a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#9bdfc4" + shape_operator: "#bfc94a" + shape_or: { fg: "#c0c4aa" attr: "b" } + shape_pipe: { fg: "#c0c4aa" attr: "b" } + shape_range: { fg: "#bfc94a" attr: "b" } + shape_record: { fg: "#8ad0b0" attr: "b" } + shape_redirection: { fg: "#c0c4aa" attr: "b" } + shape_signature: { fg: "#7ad67a" attr: "b" } + shape_string: "#7ad67a" + shape_string_interpolation: { fg: "#8ad0b0" attr: "b" } + shape_table: { fg: "#60d4cd" attr: "b" } + shape_variable: "#c0c4aa" + + background: "#282b2b" + foreground: "#b6e0ca" + cursor: "#b6e0ca" +}} \ No newline at end of file diff --git a/themes/themes/tempus-totus.nu b/themes/themes/tempus-totus.nu index cc7b314..dbfb1bf 100644 --- a/themes/themes/tempus-totus.nu +++ b/themes/themes/tempus-totus.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_totus theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#4a484d" - # cursor: "#4a484d" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#4a5700" - empty: "#1d3fcf" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#4a5700" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#5f4d4f" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#7310cb" - shape_bool: "#005589" - shape_int: "#7310cb" - shape_float: "#7310cb" - shape_range: "#8b3800" - shape_internalcall: "#005589" - shape_external: "#185870" - shape_externalarg: "#4a5700" - shape_literal: "#1d3fcf" - shape_operator: "#714900" - shape_signature: "#4a5700" - shape_string: "#005f26" - shape_string_interpolation: "#005589" - shape_datetime: "#005589" - shape_list: "#005589" - shape_table: "#2d48b0" - shape_record: "#005589" - shape_block: "#2d48b0" - shape_filepath: "#185870" - shape_globpattern: "#005589" - shape_variable: "#882a7a" - shape_flag: "#2d48b0" - shape_custom: "#005f26" - shape_nothing: "#005589" +export def main [] { return { + separator: "#f3f1f3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#005f26" attr: "b" } + empty: "#1d3fcf" + bool: {|| if $in { "#005589" } else { "light_gray" } } + int: "#f3f1f3" + filesize: {|e| + if $e == 0b { + "#f3f1f3" + } else if $e < 1mb { + "#185870" + } else {{ fg: "#1d3fcf" }} } -} + duration: "#f3f1f3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a80000" attr: "b" } + } else if $in < 6hr { + "#a80000" + } else if $in < 1day { + "#714900" + } else if $in < 3day { + "#005f26" + } else if $in < 1wk { + { fg: "#005f26" attr: "b" } + } else if $in < 6wk { + "#185870" + } else if $in < 52wk { + "#1d3fcf" + } else { "dark_gray" } + } + range: "#f3f1f3" + float: "#f3f1f3" + string: "#f3f1f3" + nothing: "#f3f1f3" + binary: "#f3f1f3" + cellpath: "#f3f1f3" + row_index: { fg: "#005f26" attr: "b" } + record: "#f3f1f3" + list: "#f3f1f3" + block: "#f3f1f3" + hints: "dark_gray" + + shape_and: { fg: "#882a7a" attr: "b" } + shape_binary: { fg: "#882a7a" attr: "b" } + shape_block: { fg: "#1d3fcf" attr: "b" } + shape_bool: "#005589" + shape_custom: "#005f26" + shape_datetime: { fg: "#185870" attr: "b" } + shape_directory: "#185870" + shape_external: "#185870" + shape_externalarg: { fg: "#005f26" attr: "b" } + shape_filepath: "#185870" + shape_flag: { fg: "#1d3fcf" attr: "b" } + shape_float: { fg: "#882a7a" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#185870" attr: "b" } + shape_int: { fg: "#882a7a" attr: "b" } + shape_internalcall: { fg: "#185870" attr: "b" } + shape_list: { fg: "#185870" attr: "b" } + shape_literal: "#1d3fcf" + shape_match_pattern: "#005f26" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#005589" + shape_operator: "#714900" + shape_or: { fg: "#882a7a" attr: "b" } + shape_pipe: { fg: "#882a7a" attr: "b" } + shape_range: { fg: "#714900" attr: "b" } + shape_record: { fg: "#185870" attr: "b" } + shape_redirection: { fg: "#882a7a" attr: "b" } + shape_signature: { fg: "#005f26" attr: "b" } + shape_string: "#005f26" + shape_string_interpolation: { fg: "#185870" attr: "b" } + shape_table: { fg: "#1d3fcf" attr: "b" } + shape_variable: "#882a7a" + + background: "#ffffff" + foreground: "#4a484d" + cursor: "#4a484d" +}} \ No newline at end of file diff --git a/themes/themes/tempus-warp.nu b/themes/themes/tempus-warp.nu index 37d6b51..76e51ad 100644 --- a/themes/themes/tempus-warp.nu +++ b/themes/themes/tempus-warp.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_warp theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#001514" - # foreground: "#a29fa0" - # cursor: "#a29fa0" - - { - # color for nushell primitives - separator: "#a29fa0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#3aa73a" - empty: "#557feb" - bool: "#a29fa0" - int: "#a29fa0" - filesize: "#a29fa0" - duration: "#a29fa0" - date: "#a29fa0" - range: "#a29fa0" - float: "#a29fa0" - string: "#a29fa0" - nothing: "#a29fa0" - binary: "#a29fa0" - cellpath: "#a29fa0" - row_index: "#3aa73a" - record: "#a29fa0" - list: "#a29fa0" - block: "#a29fa0" - hints: "#241828" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d85cf2" - shape_bool: "#1da1af" - shape_int: "#d85cf2" - shape_float: "#d85cf2" - shape_range: "#ba8a00" - shape_internalcall: "#1da1af" - shape_external: "#009580" - shape_externalarg: "#3aa73a" - shape_literal: "#557feb" - shape_operator: "#9e8100" - shape_signature: "#3aa73a" - shape_string: "#139913" - shape_string_interpolation: "#1da1af" - shape_datetime: "#1da1af" - shape_list: "#1da1af" - shape_table: "#8887f0" - shape_record: "#1da1af" - shape_block: "#8887f0" - shape_filepath: "#009580" - shape_globpattern: "#1da1af" - shape_variable: "#d54cbf" - shape_flag: "#8887f0" - shape_custom: "#139913" - shape_nothing: "#1da1af" +export def main [] { return { + separator: "#928080" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#139913" attr: "b" } + empty: "#557feb" + bool: {|| if $in { "#1da1af" } else { "light_gray" } } + int: "#928080" + filesize: {|e| + if $e == 0b { + "#928080" + } else if $e < 1mb { + "#009580" + } else {{ fg: "#557feb" }} } -} + duration: "#928080" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fa3333" attr: "b" } + } else if $in < 6hr { + "#fa3333" + } else if $in < 1day { + "#9e8100" + } else if $in < 3day { + "#139913" + } else if $in < 1wk { + { fg: "#139913" attr: "b" } + } else if $in < 6wk { + "#009580" + } else if $in < 52wk { + "#557feb" + } else { "dark_gray" } + } + range: "#928080" + float: "#928080" + string: "#928080" + nothing: "#928080" + binary: "#928080" + cellpath: "#928080" + row_index: { fg: "#139913" attr: "b" } + record: "#928080" + list: "#928080" + block: "#928080" + hints: "dark_gray" + + shape_and: { fg: "#d54cbf" attr: "b" } + shape_binary: { fg: "#d54cbf" attr: "b" } + shape_block: { fg: "#557feb" attr: "b" } + shape_bool: "#1da1af" + shape_custom: "#139913" + shape_datetime: { fg: "#009580" attr: "b" } + shape_directory: "#009580" + shape_external: "#009580" + shape_externalarg: { fg: "#139913" attr: "b" } + shape_filepath: "#009580" + shape_flag: { fg: "#557feb" attr: "b" } + shape_float: { fg: "#d54cbf" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#009580" attr: "b" } + shape_int: { fg: "#d54cbf" attr: "b" } + shape_internalcall: { fg: "#009580" attr: "b" } + shape_list: { fg: "#009580" attr: "b" } + shape_literal: "#557feb" + shape_match_pattern: "#139913" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1da1af" + shape_operator: "#9e8100" + shape_or: { fg: "#d54cbf" attr: "b" } + shape_pipe: { fg: "#d54cbf" attr: "b" } + shape_range: { fg: "#9e8100" attr: "b" } + shape_record: { fg: "#009580" attr: "b" } + shape_redirection: { fg: "#d54cbf" attr: "b" } + shape_signature: { fg: "#139913" attr: "b" } + shape_string: "#139913" + shape_string_interpolation: { fg: "#009580" attr: "b" } + shape_table: { fg: "#557feb" attr: "b" } + shape_variable: "#d54cbf" + + background: "#001514" + foreground: "#a29fa0" + cursor: "#a29fa0" +}} \ No newline at end of file diff --git a/themes/themes/tempus-winter.nu b/themes/themes/tempus-winter.nu index 113ecc6..0c723c1 100644 --- a/themes/themes/tempus-winter.nu +++ b/themes/themes/tempus-winter.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tempus_winter theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#202427" - # foreground: "#8da3b8" - # cursor: "#8da3b8" - - { - # color for nushell primitives - separator: "#8da3b8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00a854" - empty: "#798fd7" - bool: "#8da3b8" - int: "#8da3b8" - filesize: "#8da3b8" - duration: "#8da3b8" - date: "#8da3b8" - range: "#8da3b8" - float: "#8da3b8" - string: "#8da3b8" - nothing: "#8da3b8" - binary: "#8da3b8" - cellpath: "#8da3b8" - row_index: "#00a854" - record: "#8da3b8" - list: "#8da3b8" - block: "#8da3b8" - hints: "#292b35" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c874c2" - shape_bool: "#1ba2a0" - shape_int: "#c874c2" - shape_float: "#c874c2" - shape_range: "#ad8e4b" - shape_internalcall: "#1ba2a0" - shape_external: "#4fa090" - shape_externalarg: "#00a854" - shape_literal: "#798fd7" - shape_operator: "#959721" - shape_signature: "#00a854" - shape_string: "#49a61d" - shape_string_interpolation: "#1ba2a0" - shape_datetime: "#1ba2a0" - shape_list: "#1ba2a0" - shape_table: "#309dc1" - shape_record: "#1ba2a0" - shape_block: "#309dc1" - shape_filepath: "#4fa090" - shape_globpattern: "#1ba2a0" - shape_variable: "#cd7b7e" - shape_flag: "#309dc1" - shape_custom: "#49a61d" - shape_nothing: "#1ba2a0" +export def main [] { return { + separator: "#909294" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#49a61d" attr: "b" } + empty: "#798fd7" + bool: {|| if $in { "#1ba2a0" } else { "light_gray" } } + int: "#909294" + filesize: {|e| + if $e == 0b { + "#909294" + } else if $e < 1mb { + "#4fa090" + } else {{ fg: "#798fd7" }} } -} + duration: "#909294" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#eb6a58" attr: "b" } + } else if $in < 6hr { + "#eb6a58" + } else if $in < 1day { + "#959721" + } else if $in < 3day { + "#49a61d" + } else if $in < 1wk { + { fg: "#49a61d" attr: "b" } + } else if $in < 6wk { + "#4fa090" + } else if $in < 52wk { + "#798fd7" + } else { "dark_gray" } + } + range: "#909294" + float: "#909294" + string: "#909294" + nothing: "#909294" + binary: "#909294" + cellpath: "#909294" + row_index: { fg: "#49a61d" attr: "b" } + record: "#909294" + list: "#909294" + block: "#909294" + hints: "dark_gray" + + shape_and: { fg: "#cd7b7e" attr: "b" } + shape_binary: { fg: "#cd7b7e" attr: "b" } + shape_block: { fg: "#798fd7" attr: "b" } + shape_bool: "#1ba2a0" + shape_custom: "#49a61d" + shape_datetime: { fg: "#4fa090" attr: "b" } + shape_directory: "#4fa090" + shape_external: "#4fa090" + shape_externalarg: { fg: "#49a61d" attr: "b" } + shape_filepath: "#4fa090" + shape_flag: { fg: "#798fd7" attr: "b" } + shape_float: { fg: "#cd7b7e" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#4fa090" attr: "b" } + shape_int: { fg: "#cd7b7e" attr: "b" } + shape_internalcall: { fg: "#4fa090" attr: "b" } + shape_list: { fg: "#4fa090" attr: "b" } + shape_literal: "#798fd7" + shape_match_pattern: "#49a61d" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#1ba2a0" + shape_operator: "#959721" + shape_or: { fg: "#cd7b7e" attr: "b" } + shape_pipe: { fg: "#cd7b7e" attr: "b" } + shape_range: { fg: "#959721" attr: "b" } + shape_record: { fg: "#4fa090" attr: "b" } + shape_redirection: { fg: "#cd7b7e" attr: "b" } + shape_signature: { fg: "#49a61d" attr: "b" } + shape_string: "#49a61d" + shape_string_interpolation: { fg: "#4fa090" attr: "b" } + shape_table: { fg: "#798fd7" attr: "b" } + shape_variable: "#cd7b7e" + + background: "#202427" + foreground: "#8da3b8" + cursor: "#8da3b8" +}} \ No newline at end of file diff --git a/themes/themes/tender.nu b/themes/themes/tender.nu index a9fff8f..a9e4389 100644 --- a/themes/themes/tender.nu +++ b/themes/themes/tender.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tender theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282828" - # foreground: "#eeeeee" - # cursor: "#eeeeee" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#c9d05c" - empty: "#b3deef" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#c9d05c" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#1d1d1d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#d3b987" - shape_bool: "#73cef4" - shape_int: "#d3b987" - shape_float: "#d3b987" - shape_range: "#ffc24b" - shape_internalcall: "#73cef4" - shape_external: "#73cef4" - shape_externalarg: "#c9d05c" - shape_literal: "#b3deef" - shape_operator: "#ffc24b" - shape_signature: "#c9d05c" - shape_string: "#c9d05c" - shape_string_interpolation: "#73cef4" - shape_datetime: "#73cef4" - shape_list: "#73cef4" - shape_table: "#b3deef" - shape_record: "#73cef4" - shape_block: "#b3deef" - shape_filepath: "#73cef4" - shape_globpattern: "#73cef4" - shape_variable: "#d3b987" - shape_flag: "#b3deef" - shape_custom: "#c9d05c" - shape_nothing: "#73cef4" +export def main [] { return { + separator: "#eeeeee" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#c9d05c" attr: "b" } + empty: "#b3deef" + bool: {|| if $in { "#73cef4" } else { "light_gray" } } + int: "#eeeeee" + filesize: {|e| + if $e == 0b { + "#eeeeee" + } else if $e < 1mb { + "#73cef4" + } else {{ fg: "#b3deef" }} } -} + duration: "#eeeeee" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f43753" attr: "b" } + } else if $in < 6hr { + "#f43753" + } else if $in < 1day { + "#ffc24b" + } else if $in < 3day { + "#c9d05c" + } else if $in < 1wk { + { fg: "#c9d05c" attr: "b" } + } else if $in < 6wk { + "#73cef4" + } else if $in < 52wk { + "#b3deef" + } else { "dark_gray" } + } + range: "#eeeeee" + float: "#eeeeee" + string: "#eeeeee" + nothing: "#eeeeee" + binary: "#eeeeee" + cellpath: "#eeeeee" + row_index: { fg: "#c9d05c" attr: "b" } + record: "#eeeeee" + list: "#eeeeee" + block: "#eeeeee" + hints: "dark_gray" + + shape_and: { fg: "#d3b987" attr: "b" } + shape_binary: { fg: "#d3b987" attr: "b" } + shape_block: { fg: "#b3deef" attr: "b" } + shape_bool: "#73cef4" + shape_custom: "#c9d05c" + shape_datetime: { fg: "#73cef4" attr: "b" } + shape_directory: "#73cef4" + shape_external: "#73cef4" + shape_externalarg: { fg: "#c9d05c" attr: "b" } + shape_filepath: "#73cef4" + shape_flag: { fg: "#b3deef" attr: "b" } + shape_float: { fg: "#d3b987" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#73cef4" attr: "b" } + shape_int: { fg: "#d3b987" attr: "b" } + shape_internalcall: { fg: "#73cef4" attr: "b" } + shape_list: { fg: "#73cef4" attr: "b" } + shape_literal: "#b3deef" + shape_match_pattern: "#c9d05c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#73cef4" + shape_operator: "#ffc24b" + shape_or: { fg: "#d3b987" attr: "b" } + shape_pipe: { fg: "#d3b987" attr: "b" } + shape_range: { fg: "#ffc24b" attr: "b" } + shape_record: { fg: "#73cef4" attr: "b" } + shape_redirection: { fg: "#d3b987" attr: "b" } + shape_signature: { fg: "#c9d05c" attr: "b" } + shape_string: "#c9d05c" + shape_string_interpolation: { fg: "#73cef4" attr: "b" } + shape_table: { fg: "#b3deef" attr: "b" } + shape_variable: "#d3b987" + + background: "#282828" + foreground: "#eeeeee" + cursor: "#eeeeee" +}} \ No newline at end of file diff --git a/themes/themes/terminal-basic.nu b/themes/themes/terminal-basic.nu index ed69ce5..8cf6796 100644 --- a/themes/themes/terminal-basic.nu +++ b/themes/themes/terminal-basic.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the terminal_basic theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#000000" - # cursor: "#000000" - - { - # color for nushell primitives - separator: "#e5e5e5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00d900" - empty: "#0000b2" - bool: "#e5e5e5" - int: "#e5e5e5" - filesize: "#e5e5e5" - duration: "#e5e5e5" - date: "#e5e5e5" - range: "#e5e5e5" - float: "#e5e5e5" - string: "#e5e5e5" - nothing: "#e5e5e5" - binary: "#e5e5e5" - cellpath: "#e5e5e5" - row_index: "#00d900" - record: "#e5e5e5" - list: "#e5e5e5" - block: "#e5e5e5" - hints: "#666666" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e500e5" - shape_bool: "#00e5e5" - shape_int: "#e500e5" - shape_float: "#e500e5" - shape_range: "#e5e500" - shape_internalcall: "#00e5e5" - shape_external: "#00a6b2" - shape_externalarg: "#00d900" - shape_literal: "#0000b2" - shape_operator: "#999900" - shape_signature: "#00d900" - shape_string: "#00a600" - shape_string_interpolation: "#00e5e5" - shape_datetime: "#00e5e5" - shape_list: "#00e5e5" - shape_table: "#0000ff" - shape_record: "#00e5e5" - shape_block: "#0000ff" - shape_filepath: "#00a6b2" - shape_globpattern: "#00e5e5" - shape_variable: "#b200b2" - shape_flag: "#0000ff" - shape_custom: "#00a600" - shape_nothing: "#00e5e5" +export def main [] { return { + separator: "#bfbfbf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00a600" attr: "b" } + empty: "#0000b2" + bool: {|| if $in { "#00e5e5" } else { "light_gray" } } + int: "#bfbfbf" + filesize: {|e| + if $e == 0b { + "#bfbfbf" + } else if $e < 1mb { + "#00a6b2" + } else {{ fg: "#0000b2" }} } -} + duration: "#bfbfbf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#990000" attr: "b" } + } else if $in < 6hr { + "#990000" + } else if $in < 1day { + "#999900" + } else if $in < 3day { + "#00a600" + } else if $in < 1wk { + { fg: "#00a600" attr: "b" } + } else if $in < 6wk { + "#00a6b2" + } else if $in < 52wk { + "#0000b2" + } else { "dark_gray" } + } + range: "#bfbfbf" + float: "#bfbfbf" + string: "#bfbfbf" + nothing: "#bfbfbf" + binary: "#bfbfbf" + cellpath: "#bfbfbf" + row_index: { fg: "#00a600" attr: "b" } + record: "#bfbfbf" + list: "#bfbfbf" + block: "#bfbfbf" + hints: "dark_gray" + + shape_and: { fg: "#b200b2" attr: "b" } + shape_binary: { fg: "#b200b2" attr: "b" } + shape_block: { fg: "#0000b2" attr: "b" } + shape_bool: "#00e5e5" + shape_custom: "#00a600" + shape_datetime: { fg: "#00a6b2" attr: "b" } + shape_directory: "#00a6b2" + shape_external: "#00a6b2" + shape_externalarg: { fg: "#00a600" attr: "b" } + shape_filepath: "#00a6b2" + shape_flag: { fg: "#0000b2" attr: "b" } + shape_float: { fg: "#b200b2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00a6b2" attr: "b" } + shape_int: { fg: "#b200b2" attr: "b" } + shape_internalcall: { fg: "#00a6b2" attr: "b" } + shape_list: { fg: "#00a6b2" attr: "b" } + shape_literal: "#0000b2" + shape_match_pattern: "#00a600" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00e5e5" + shape_operator: "#999900" + shape_or: { fg: "#b200b2" attr: "b" } + shape_pipe: { fg: "#b200b2" attr: "b" } + shape_range: { fg: "#999900" attr: "b" } + shape_record: { fg: "#00a6b2" attr: "b" } + shape_redirection: { fg: "#b200b2" attr: "b" } + shape_signature: { fg: "#00a600" attr: "b" } + shape_string: "#00a600" + shape_string_interpolation: { fg: "#00a6b2" attr: "b" } + shape_table: { fg: "#0000b2" attr: "b" } + shape_variable: "#b200b2" + + background: "#ffffff" + foreground: "#000000" + cursor: "#000000" +}} \ No newline at end of file diff --git a/themes/themes/terminix-dark.nu b/themes/themes/terminix-dark.nu index a1d0a9d..e506f35 100644 --- a/themes/themes/terminix-dark.nu +++ b/themes/themes/terminix-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the terminix_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#091116" - # foreground: "#868a8c" - # cursor: "#868a8c" - - { - # color for nushell primitives - separator: "#c5c8c6" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#608360" - empty: "#225555" - bool: "#c5c8c6" - int: "#c5c8c6" - filesize: "#c5c8c6" - duration: "#c5c8c6" - date: "#c5c8c6" - range: "#c5c8c6" - float: "#c5c8c6" - string: "#c5c8c6" - nothing: "#c5c8c6" - binary: "#c5c8c6" - cellpath: "#c5c8c6" - row_index: "#608360" - record: "#c5c8c6" - list: "#c5c8c6" - block: "#c5c8c6" - hints: "#373b41" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ba8baf" - shape_bool: "#86c1b9" - shape_int: "#ba8baf" - shape_float: "#ba8baf" - shape_range: "#fa805a" - shape_internalcall: "#86c1b9" - shape_external: "#5e8d87" - shape_externalarg: "#608360" - shape_literal: "#225555" - shape_operator: "#de935f" - shape_signature: "#608360" - shape_string: "#a1b56c" - shape_string_interpolation: "#86c1b9" - shape_datetime: "#86c1b9" - shape_list: "#86c1b9" - shape_table: "#449da1" - shape_record: "#86c1b9" - shape_block: "#449da1" - shape_filepath: "#5e8d87" - shape_globpattern: "#86c1b9" - shape_variable: "#85678f" - shape_flag: "#449da1" - shape_custom: "#a1b56c" - shape_nothing: "#86c1b9" +export def main [] { return { + separator: "#777777" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#a1b56c" attr: "b" } + empty: "#225555" + bool: {|| if $in { "#86c1b9" } else { "light_gray" } } + int: "#777777" + filesize: {|e| + if $e == 0b { + "#777777" + } else if $e < 1mb { + "#5e8d87" + } else {{ fg: "#225555" }} } -} + duration: "#777777" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a54242" attr: "b" } + } else if $in < 6hr { + "#a54242" + } else if $in < 1day { + "#de935f" + } else if $in < 3day { + "#a1b56c" + } else if $in < 1wk { + { fg: "#a1b56c" attr: "b" } + } else if $in < 6wk { + "#5e8d87" + } else if $in < 52wk { + "#225555" + } else { "dark_gray" } + } + range: "#777777" + float: "#777777" + string: "#777777" + nothing: "#777777" + binary: "#777777" + cellpath: "#777777" + row_index: { fg: "#a1b56c" attr: "b" } + record: "#777777" + list: "#777777" + block: "#777777" + hints: "dark_gray" + + shape_and: { fg: "#85678f" attr: "b" } + shape_binary: { fg: "#85678f" attr: "b" } + shape_block: { fg: "#225555" attr: "b" } + shape_bool: "#86c1b9" + shape_custom: "#a1b56c" + shape_datetime: { fg: "#5e8d87" attr: "b" } + shape_directory: "#5e8d87" + shape_external: "#5e8d87" + shape_externalarg: { fg: "#a1b56c" attr: "b" } + shape_filepath: "#5e8d87" + shape_flag: { fg: "#225555" attr: "b" } + shape_float: { fg: "#85678f" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#5e8d87" attr: "b" } + shape_int: { fg: "#85678f" attr: "b" } + shape_internalcall: { fg: "#5e8d87" attr: "b" } + shape_list: { fg: "#5e8d87" attr: "b" } + shape_literal: "#225555" + shape_match_pattern: "#a1b56c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#86c1b9" + shape_operator: "#de935f" + shape_or: { fg: "#85678f" attr: "b" } + shape_pipe: { fg: "#85678f" attr: "b" } + shape_range: { fg: "#de935f" attr: "b" } + shape_record: { fg: "#5e8d87" attr: "b" } + shape_redirection: { fg: "#85678f" attr: "b" } + shape_signature: { fg: "#a1b56c" attr: "b" } + shape_string: "#a1b56c" + shape_string_interpolation: { fg: "#5e8d87" attr: "b" } + shape_table: { fg: "#225555" attr: "b" } + shape_variable: "#85678f" + + background: "#091116" + foreground: "#868a8c" + cursor: "#868a8c" +}} \ No newline at end of file diff --git a/themes/themes/thayer-bright.nu b/themes/themes/thayer-bright.nu index dbac68f..d97dcac 100644 --- a/themes/themes/thayer-bright.nu +++ b/themes/themes/thayer-bright.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the thayer_bright theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1b1d1e" - # foreground: "#f8f8f8" - # cursor: "#f8f8f8" - - { - # color for nushell primitives - separator: "#f8f8f2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b6e354" - empty: "#2757d6" - bool: "#f8f8f2" - int: "#f8f8f2" - filesize: "#f8f8f2" - duration: "#f8f8f2" - date: "#f8f8f2" - range: "#f8f8f2" - float: "#f8f8f2" - string: "#f8f8f2" - nothing: "#f8f8f2" - binary: "#f8f8f2" - cellpath: "#f8f8f2" - row_index: "#b6e354" - record: "#f8f8f2" - list: "#f8f8f2" - block: "#f8f8f2" - hints: "#505354" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9e6ffe" - shape_bool: "#23cfd5" - shape_int: "#9e6ffe" - shape_float: "#9e6ffe" - shape_range: "#feed6c" - shape_internalcall: "#23cfd5" - shape_external: "#38c8b5" - shape_externalarg: "#b6e354" - shape_literal: "#2757d6" - shape_operator: "#f4fd22" - shape_signature: "#b6e354" - shape_string: "#4df840" - shape_string_interpolation: "#23cfd5" - shape_datetime: "#23cfd5" - shape_list: "#23cfd5" - shape_table: "#3f78ff" - shape_record: "#23cfd5" - shape_block: "#3f78ff" - shape_filepath: "#38c8b5" - shape_globpattern: "#23cfd5" - shape_variable: "#8c54fe" - shape_flag: "#3f78ff" - shape_custom: "#4df840" - shape_nothing: "#23cfd5" +export def main [] { return { + separator: "#ccccc6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4df840" attr: "b" } + empty: "#2757d6" + bool: {|| if $in { "#23cfd5" } else { "light_gray" } } + int: "#ccccc6" + filesize: {|e| + if $e == 0b { + "#ccccc6" + } else if $e < 1mb { + "#38c8b5" + } else {{ fg: "#2757d6" }} } -} + duration: "#ccccc6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f92672" attr: "b" } + } else if $in < 6hr { + "#f92672" + } else if $in < 1day { + "#f4fd22" + } else if $in < 3day { + "#4df840" + } else if $in < 1wk { + { fg: "#4df840" attr: "b" } + } else if $in < 6wk { + "#38c8b5" + } else if $in < 52wk { + "#2757d6" + } else { "dark_gray" } + } + range: "#ccccc6" + float: "#ccccc6" + string: "#ccccc6" + nothing: "#ccccc6" + binary: "#ccccc6" + cellpath: "#ccccc6" + row_index: { fg: "#4df840" attr: "b" } + record: "#ccccc6" + list: "#ccccc6" + block: "#ccccc6" + hints: "dark_gray" + + shape_and: { fg: "#8c54fe" attr: "b" } + shape_binary: { fg: "#8c54fe" attr: "b" } + shape_block: { fg: "#2757d6" attr: "b" } + shape_bool: "#23cfd5" + shape_custom: "#4df840" + shape_datetime: { fg: "#38c8b5" attr: "b" } + shape_directory: "#38c8b5" + shape_external: "#38c8b5" + shape_externalarg: { fg: "#4df840" attr: "b" } + shape_filepath: "#38c8b5" + shape_flag: { fg: "#2757d6" attr: "b" } + shape_float: { fg: "#8c54fe" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#38c8b5" attr: "b" } + shape_int: { fg: "#8c54fe" attr: "b" } + shape_internalcall: { fg: "#38c8b5" attr: "b" } + shape_list: { fg: "#38c8b5" attr: "b" } + shape_literal: "#2757d6" + shape_match_pattern: "#4df840" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#23cfd5" + shape_operator: "#f4fd22" + shape_or: { fg: "#8c54fe" attr: "b" } + shape_pipe: { fg: "#8c54fe" attr: "b" } + shape_range: { fg: "#f4fd22" attr: "b" } + shape_record: { fg: "#38c8b5" attr: "b" } + shape_redirection: { fg: "#8c54fe" attr: "b" } + shape_signature: { fg: "#4df840" attr: "b" } + shape_string: "#4df840" + shape_string_interpolation: { fg: "#38c8b5" attr: "b" } + shape_table: { fg: "#2757d6" attr: "b" } + shape_variable: "#8c54fe" + + background: "#1b1d1e" + foreground: "#f8f8f8" + cursor: "#f8f8f8" +}} \ No newline at end of file diff --git a/themes/themes/the-hulk.nu b/themes/themes/the-hulk.nu index 0e9dbfd..1c89d3f 100644 --- a/themes/themes/the-hulk.nu +++ b/themes/themes/the-hulk.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the the_hulk theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1b1d1e" - # foreground: "#b4b4b4" - # cursor: "#15b61a" - - { - # color for nushell primitives - separator: "#e5e5e0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#48ff76" - empty: "#2424f4" - bool: "#e5e5e0" - int: "#e5e5e0" - filesize: "#e5e5e0" - duration: "#e5e5e0" - date: "#e5e5e0" - range: "#e5e5e0" - float: "#e5e5e0" - string: "#e5e5e0" - nothing: "#e5e5e0" - binary: "#e5e5e0" - cellpath: "#e5e5e0" - row_index: "#48ff76" - record: "#e5e5e0" - list: "#e5e5e0" - block: "#e5e5e0" - hints: "#505354" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#72579d" - shape_bool: "#3f85a5" - shape_int: "#72579d" - shape_float: "#72579d" - shape_range: "#3afe15" - shape_internalcall: "#3f85a5" - shape_external: "#378ca9" - shape_externalarg: "#48ff76" - shape_literal: "#2424f4" - shape_operator: "#62e456" - shape_signature: "#48ff76" - shape_string: "#13ce2f" - shape_string_interpolation: "#3f85a5" - shape_datetime: "#3f85a5" - shape_list: "#3f85a5" - shape_table: "#4f6a95" - shape_record: "#3f85a5" - shape_block: "#4f6a95" - shape_filepath: "#378ca9" - shape_globpattern: "#3f85a5" - shape_variable: "#641e73" - shape_flag: "#4f6a95" - shape_custom: "#13ce2f" - shape_nothing: "#3f85a5" +export def main [] { return { + separator: "#d8d8d0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#13ce2f" attr: "b" } + empty: "#2424f4" + bool: {|| if $in { "#3f85a5" } else { "light_gray" } } + int: "#d8d8d0" + filesize: {|e| + if $e == 0b { + "#d8d8d0" + } else if $e < 1mb { + "#378ca9" + } else {{ fg: "#2424f4" }} } -} + duration: "#d8d8d0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#259d1a" attr: "b" } + } else if $in < 6hr { + "#259d1a" + } else if $in < 1day { + "#62e456" + } else if $in < 3day { + "#13ce2f" + } else if $in < 1wk { + { fg: "#13ce2f" attr: "b" } + } else if $in < 6wk { + "#378ca9" + } else if $in < 52wk { + "#2424f4" + } else { "dark_gray" } + } + range: "#d8d8d0" + float: "#d8d8d0" + string: "#d8d8d0" + nothing: "#d8d8d0" + binary: "#d8d8d0" + cellpath: "#d8d8d0" + row_index: { fg: "#13ce2f" attr: "b" } + record: "#d8d8d0" + list: "#d8d8d0" + block: "#d8d8d0" + hints: "dark_gray" + + shape_and: { fg: "#641e73" attr: "b" } + shape_binary: { fg: "#641e73" attr: "b" } + shape_block: { fg: "#2424f4" attr: "b" } + shape_bool: "#3f85a5" + shape_custom: "#13ce2f" + shape_datetime: { fg: "#378ca9" attr: "b" } + shape_directory: "#378ca9" + shape_external: "#378ca9" + shape_externalarg: { fg: "#13ce2f" attr: "b" } + shape_filepath: "#378ca9" + shape_flag: { fg: "#2424f4" attr: "b" } + shape_float: { fg: "#641e73" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#378ca9" attr: "b" } + shape_int: { fg: "#641e73" attr: "b" } + shape_internalcall: { fg: "#378ca9" attr: "b" } + shape_list: { fg: "#378ca9" attr: "b" } + shape_literal: "#2424f4" + shape_match_pattern: "#13ce2f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3f85a5" + shape_operator: "#62e456" + shape_or: { fg: "#641e73" attr: "b" } + shape_pipe: { fg: "#641e73" attr: "b" } + shape_range: { fg: "#62e456" attr: "b" } + shape_record: { fg: "#378ca9" attr: "b" } + shape_redirection: { fg: "#641e73" attr: "b" } + shape_signature: { fg: "#13ce2f" attr: "b" } + shape_string: "#13ce2f" + shape_string_interpolation: { fg: "#378ca9" attr: "b" } + shape_table: { fg: "#2424f4" attr: "b" } + shape_variable: "#641e73" + + background: "#1b1d1e" + foreground: "#b4b4b4" + cursor: "#15b61a" +}} \ No newline at end of file diff --git a/themes/themes/tin.nu b/themes/themes/tin.nu index e71bd66..4d29ada 100644 --- a/themes/themes/tin.nu +++ b/themes/themes/tin.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tin theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2e2e35" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#78b57d" - empty: "#534e8d" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#78b57d" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#000000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b578b0" - shape_bool: "#78b0b5" - shape_int: "#b578b0" - shape_float: "#b578b0" - shape_range: "#b0b578" - shape_internalcall: "#78b0b5" - shape_external: "#4e888d" - shape_externalarg: "#78b57d" - shape_literal: "#534e8d" - shape_operator: "#888d4e" - shape_signature: "#78b57d" - shape_string: "#4e8d53" - shape_string_interpolation: "#78b0b5" - shape_datetime: "#78b0b5" - shape_list: "#78b0b5" - shape_table: "#7d78b5" - shape_record: "#78b0b5" - shape_block: "#7d78b5" - shape_filepath: "#4e888d" - shape_globpattern: "#78b0b5" - shape_variable: "#8d4e88" - shape_flag: "#7d78b5" - shape_custom: "#4e8d53" - shape_nothing: "#78b0b5" +export def main [] { return { + separator: "#ffffff" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#4e8d53" attr: "b" } + empty: "#534e8d" + bool: {|| if $in { "#78b0b5" } else { "light_gray" } } + int: "#ffffff" + filesize: {|e| + if $e == 0b { + "#ffffff" + } else if $e < 1mb { + "#4e888d" + } else {{ fg: "#534e8d" }} } -} + duration: "#ffffff" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#8d534e" attr: "b" } + } else if $in < 6hr { + "#8d534e" + } else if $in < 1day { + "#888d4e" + } else if $in < 3day { + "#4e8d53" + } else if $in < 1wk { + { fg: "#4e8d53" attr: "b" } + } else if $in < 6wk { + "#4e888d" + } else if $in < 52wk { + "#534e8d" + } else { "dark_gray" } + } + range: "#ffffff" + float: "#ffffff" + string: "#ffffff" + nothing: "#ffffff" + binary: "#ffffff" + cellpath: "#ffffff" + row_index: { fg: "#4e8d53" attr: "b" } + record: "#ffffff" + list: "#ffffff" + block: "#ffffff" + hints: "dark_gray" + + shape_and: { fg: "#8d4e88" attr: "b" } + shape_binary: { fg: "#8d4e88" attr: "b" } + shape_block: { fg: "#534e8d" attr: "b" } + shape_bool: "#78b0b5" + shape_custom: "#4e8d53" + shape_datetime: { fg: "#4e888d" attr: "b" } + shape_directory: "#4e888d" + shape_external: "#4e888d" + shape_externalarg: { fg: "#4e8d53" attr: "b" } + shape_filepath: "#4e888d" + shape_flag: { fg: "#534e8d" attr: "b" } + shape_float: { fg: "#8d4e88" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#4e888d" attr: "b" } + shape_int: { fg: "#8d4e88" attr: "b" } + shape_internalcall: { fg: "#4e888d" attr: "b" } + shape_list: { fg: "#4e888d" attr: "b" } + shape_literal: "#534e8d" + shape_match_pattern: "#4e8d53" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#78b0b5" + shape_operator: "#888d4e" + shape_or: { fg: "#8d4e88" attr: "b" } + shape_pipe: { fg: "#8d4e88" attr: "b" } + shape_range: { fg: "#888d4e" attr: "b" } + shape_record: { fg: "#4e888d" attr: "b" } + shape_redirection: { fg: "#8d4e88" attr: "b" } + shape_signature: { fg: "#4e8d53" attr: "b" } + shape_string: "#4e8d53" + shape_string_interpolation: { fg: "#4e888d" attr: "b" } + shape_table: { fg: "#534e8d" attr: "b" } + shape_variable: "#8d4e88" + + background: "#2e2e35" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/tokyo-day.nu b/themes/themes/tokyo-day.nu index 80efdcb..2a73981 100644 --- a/themes/themes/tokyo-day.nu +++ b/themes/themes/tokyo-day.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tokyo_day theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#e1e2e7" - # foreground: "#3760bf" - # cursor: "#3760bf" - - { - # color for nushell primitives - separator: "#3760bf" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#587539" - empty: "#2e7de9" - bool: "#3760bf" - int: "#3760bf" - filesize: "#3760bf" - duration: "#3760bf" - date: "#3760bf" - range: "#3760bf" - float: "#3760bf" - string: "#3760bf" - nothing: "#3760bf" - binary: "#3760bf" - cellpath: "#3760bf" - row_index: "#587539" - record: "#3760bf" - list: "#3760bf" - block: "#3760bf" - hints: "#a1a6c5" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9854f1" - shape_bool: "#007197" - shape_int: "#9854f1" - shape_float: "#9854f1" - shape_range: "#8c6c3e" - shape_internalcall: "#007197" - shape_external: "#007197" - shape_externalarg: "#587539" - shape_literal: "#2e7de9" - shape_operator: "#8c6c3e" - shape_signature: "#587539" - shape_string: "#587539" - shape_string_interpolation: "#007197" - shape_datetime: "#007197" - shape_list: "#007197" - shape_table: "#2e7de9" - shape_record: "#007197" - shape_block: "#2e7de9" - shape_filepath: "#007197" - shape_globpattern: "#007197" - shape_variable: "#9854f1" - shape_flag: "#2e7de9" - shape_custom: "#587539" - shape_nothing: "#007197" +export def main [] { return { + separator: "#6172b0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#587539" attr: "b" } + empty: "#2e7de9" + bool: {|| if $in { "#007197" } else { "light_gray" } } + int: "#6172b0" + filesize: {|e| + if $e == 0b { + "#6172b0" + } else if $e < 1mb { + "#007197" + } else {{ fg: "#2e7de9" }} } -} + duration: "#6172b0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f52a65" attr: "b" } + } else if $in < 6hr { + "#f52a65" + } else if $in < 1day { + "#8c6c3e" + } else if $in < 3day { + "#587539" + } else if $in < 1wk { + { fg: "#587539" attr: "b" } + } else if $in < 6wk { + "#007197" + } else if $in < 52wk { + "#2e7de9" + } else { "dark_gray" } + } + range: "#6172b0" + float: "#6172b0" + string: "#6172b0" + nothing: "#6172b0" + binary: "#6172b0" + cellpath: "#6172b0" + row_index: { fg: "#587539" attr: "b" } + record: "#6172b0" + list: "#6172b0" + block: "#6172b0" + hints: "dark_gray" + + shape_and: { fg: "#9854f1" attr: "b" } + shape_binary: { fg: "#9854f1" attr: "b" } + shape_block: { fg: "#2e7de9" attr: "b" } + shape_bool: "#007197" + shape_custom: "#587539" + shape_datetime: { fg: "#007197" attr: "b" } + shape_directory: "#007197" + shape_external: "#007197" + shape_externalarg: { fg: "#587539" attr: "b" } + shape_filepath: "#007197" + shape_flag: { fg: "#2e7de9" attr: "b" } + shape_float: { fg: "#9854f1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#007197" attr: "b" } + shape_int: { fg: "#9854f1" attr: "b" } + shape_internalcall: { fg: "#007197" attr: "b" } + shape_list: { fg: "#007197" attr: "b" } + shape_literal: "#2e7de9" + shape_match_pattern: "#587539" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#007197" + shape_operator: "#8c6c3e" + shape_or: { fg: "#9854f1" attr: "b" } + shape_pipe: { fg: "#9854f1" attr: "b" } + shape_range: { fg: "#8c6c3e" attr: "b" } + shape_record: { fg: "#007197" attr: "b" } + shape_redirection: { fg: "#9854f1" attr: "b" } + shape_signature: { fg: "#587539" attr: "b" } + shape_string: "#587539" + shape_string_interpolation: { fg: "#007197" attr: "b" } + shape_table: { fg: "#2e7de9" attr: "b" } + shape_variable: "#9854f1" + + background: "#e1e2e7" + foreground: "#3760bf" + cursor: "#3760bf" +}} \ No newline at end of file diff --git a/themes/themes/tokyo-night.nu b/themes/themes/tokyo-night.nu index 18ced32..3d3027f 100644 --- a/themes/themes/tokyo-night.nu +++ b/themes/themes/tokyo-night.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tokyo_night theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1a1b26" - # foreground: "#c0caf5" - # cursor: "#c0caf5" - - { - # color for nushell primitives - separator: "#c0caf5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#9ece6a" - empty: "#7aa2f7" - bool: "#c0caf5" - int: "#c0caf5" - filesize: "#c0caf5" - duration: "#c0caf5" - date: "#c0caf5" - range: "#c0caf5" - float: "#c0caf5" - string: "#c0caf5" - nothing: "#c0caf5" - binary: "#c0caf5" - cellpath: "#c0caf5" - row_index: "#9ece6a" - record: "#c0caf5" - list: "#c0caf5" - block: "#c0caf5" - hints: "#414868" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bb9af7" - shape_bool: "#7dcfff" - shape_int: "#bb9af7" - shape_float: "#bb9af7" - shape_range: "#e0af68" - shape_internalcall: "#7dcfff" - shape_external: "#7dcfff" - shape_externalarg: "#9ece6a" - shape_literal: "#7aa2f7" - shape_operator: "#e0af68" - shape_signature: "#9ece6a" - shape_string: "#9ece6a" - shape_string_interpolation: "#7dcfff" - shape_datetime: "#7dcfff" - shape_list: "#7dcfff" - shape_table: "#7aa2f7" - shape_record: "#7dcfff" - shape_block: "#7aa2f7" - shape_filepath: "#7dcfff" - shape_globpattern: "#7dcfff" - shape_variable: "#bb9af7" - shape_flag: "#7aa2f7" - shape_custom: "#9ece6a" - shape_nothing: "#7dcfff" +export def main [] { return { + separator: "#a9b1d6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#9ece6a" attr: "b" } + empty: "#7aa2f7" + bool: {|| if $in { "#7dcfff" } else { "light_gray" } } + int: "#a9b1d6" + filesize: {|e| + if $e == 0b { + "#a9b1d6" + } else if $e < 1mb { + "#7dcfff" + } else {{ fg: "#7aa2f7" }} } -} + duration: "#a9b1d6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f7768e" attr: "b" } + } else if $in < 6hr { + "#f7768e" + } else if $in < 1day { + "#e0af68" + } else if $in < 3day { + "#9ece6a" + } else if $in < 1wk { + { fg: "#9ece6a" attr: "b" } + } else if $in < 6wk { + "#7dcfff" + } else if $in < 52wk { + "#7aa2f7" + } else { "dark_gray" } + } + range: "#a9b1d6" + float: "#a9b1d6" + string: "#a9b1d6" + nothing: "#a9b1d6" + binary: "#a9b1d6" + cellpath: "#a9b1d6" + row_index: { fg: "#9ece6a" attr: "b" } + record: "#a9b1d6" + list: "#a9b1d6" + block: "#a9b1d6" + hints: "dark_gray" + + shape_and: { fg: "#bb9af7" attr: "b" } + shape_binary: { fg: "#bb9af7" attr: "b" } + shape_block: { fg: "#7aa2f7" attr: "b" } + shape_bool: "#7dcfff" + shape_custom: "#9ece6a" + shape_datetime: { fg: "#7dcfff" attr: "b" } + shape_directory: "#7dcfff" + shape_external: "#7dcfff" + shape_externalarg: { fg: "#9ece6a" attr: "b" } + shape_filepath: "#7dcfff" + shape_flag: { fg: "#7aa2f7" attr: "b" } + shape_float: { fg: "#bb9af7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7dcfff" attr: "b" } + shape_int: { fg: "#bb9af7" attr: "b" } + shape_internalcall: { fg: "#7dcfff" attr: "b" } + shape_list: { fg: "#7dcfff" attr: "b" } + shape_literal: "#7aa2f7" + shape_match_pattern: "#9ece6a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7dcfff" + shape_operator: "#e0af68" + shape_or: { fg: "#bb9af7" attr: "b" } + shape_pipe: { fg: "#bb9af7" attr: "b" } + shape_range: { fg: "#e0af68" attr: "b" } + shape_record: { fg: "#7dcfff" attr: "b" } + shape_redirection: { fg: "#bb9af7" attr: "b" } + shape_signature: { fg: "#9ece6a" attr: "b" } + shape_string: "#9ece6a" + shape_string_interpolation: { fg: "#7dcfff" attr: "b" } + shape_table: { fg: "#7aa2f7" attr: "b" } + shape_variable: "#bb9af7" + + background: "#1a1b26" + foreground: "#c0caf5" + cursor: "#c0caf5" +}} \ No newline at end of file diff --git a/themes/themes/tokyo-storm.nu b/themes/themes/tokyo-storm.nu index 96e5995..4e6b7e7 100644 --- a/themes/themes/tokyo-storm.nu +++ b/themes/themes/tokyo-storm.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tokyo_storm theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#24283b" - # foreground: "#c0caf5" - # cursor: "#c0caf5" - - { - # color for nushell primitives - separator: "#c0caf5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#9ece6a" - empty: "#7aa2f7" - bool: "#c0caf5" - int: "#c0caf5" - filesize: "#c0caf5" - duration: "#c0caf5" - date: "#c0caf5" - range: "#c0caf5" - float: "#c0caf5" - string: "#c0caf5" - nothing: "#c0caf5" - binary: "#c0caf5" - cellpath: "#c0caf5" - row_index: "#9ece6a" - record: "#c0caf5" - list: "#c0caf5" - block: "#c0caf5" - hints: "#414868" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bb9af7" - shape_bool: "#7dcfff" - shape_int: "#bb9af7" - shape_float: "#bb9af7" - shape_range: "#e0af68" - shape_internalcall: "#7dcfff" - shape_external: "#7dcfff" - shape_externalarg: "#9ece6a" - shape_literal: "#7aa2f7" - shape_operator: "#e0af68" - shape_signature: "#9ece6a" - shape_string: "#9ece6a" - shape_string_interpolation: "#7dcfff" - shape_datetime: "#7dcfff" - shape_list: "#7dcfff" - shape_table: "#7aa2f7" - shape_record: "#7dcfff" - shape_block: "#7aa2f7" - shape_filepath: "#7dcfff" - shape_globpattern: "#7dcfff" - shape_variable: "#bb9af7" - shape_flag: "#7aa2f7" - shape_custom: "#9ece6a" - shape_nothing: "#7dcfff" +export def main [] { return { + separator: "#a9b1d6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#9ece6a" attr: "b" } + empty: "#7aa2f7" + bool: {|| if $in { "#7dcfff" } else { "light_gray" } } + int: "#a9b1d6" + filesize: {|e| + if $e == 0b { + "#a9b1d6" + } else if $e < 1mb { + "#7dcfff" + } else {{ fg: "#7aa2f7" }} } -} + duration: "#a9b1d6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f7768e" attr: "b" } + } else if $in < 6hr { + "#f7768e" + } else if $in < 1day { + "#e0af68" + } else if $in < 3day { + "#9ece6a" + } else if $in < 1wk { + { fg: "#9ece6a" attr: "b" } + } else if $in < 6wk { + "#7dcfff" + } else if $in < 52wk { + "#7aa2f7" + } else { "dark_gray" } + } + range: "#a9b1d6" + float: "#a9b1d6" + string: "#a9b1d6" + nothing: "#a9b1d6" + binary: "#a9b1d6" + cellpath: "#a9b1d6" + row_index: { fg: "#9ece6a" attr: "b" } + record: "#a9b1d6" + list: "#a9b1d6" + block: "#a9b1d6" + hints: "dark_gray" + + shape_and: { fg: "#bb9af7" attr: "b" } + shape_binary: { fg: "#bb9af7" attr: "b" } + shape_block: { fg: "#7aa2f7" attr: "b" } + shape_bool: "#7dcfff" + shape_custom: "#9ece6a" + shape_datetime: { fg: "#7dcfff" attr: "b" } + shape_directory: "#7dcfff" + shape_external: "#7dcfff" + shape_externalarg: { fg: "#9ece6a" attr: "b" } + shape_filepath: "#7dcfff" + shape_flag: { fg: "#7aa2f7" attr: "b" } + shape_float: { fg: "#bb9af7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7dcfff" attr: "b" } + shape_int: { fg: "#bb9af7" attr: "b" } + shape_internalcall: { fg: "#7dcfff" attr: "b" } + shape_list: { fg: "#7dcfff" attr: "b" } + shape_literal: "#7aa2f7" + shape_match_pattern: "#9ece6a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#7dcfff" + shape_operator: "#e0af68" + shape_or: { fg: "#bb9af7" attr: "b" } + shape_pipe: { fg: "#bb9af7" attr: "b" } + shape_range: { fg: "#e0af68" attr: "b" } + shape_record: { fg: "#7dcfff" attr: "b" } + shape_redirection: { fg: "#bb9af7" attr: "b" } + shape_signature: { fg: "#9ece6a" attr: "b" } + shape_string: "#9ece6a" + shape_string_interpolation: { fg: "#7dcfff" attr: "b" } + shape_table: { fg: "#7aa2f7" attr: "b" } + shape_variable: "#bb9af7" + + background: "#24283b" + foreground: "#c0caf5" + cursor: "#c0caf5" +}} \ No newline at end of file diff --git a/themes/themes/tomorrow-night-blue.nu b/themes/themes/tomorrow-night-blue.nu index 05cfc18..251deec 100644 --- a/themes/themes/tomorrow-night-blue.nu +++ b/themes/themes/tomorrow-night-blue.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tomorrow_night-blue theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#002451" - # foreground: "#fffefe" - # cursor: "#fffefe" - - { - # color for nushell primitives - separator: "#fffefe" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#d0f0a8" - empty: "#bbdaff" - bool: "#fffefe" - int: "#fffefe" - filesize: "#fffefe" - duration: "#fffefe" - date: "#fffefe" - range: "#fffefe" - float: "#fffefe" - string: "#fffefe" - nothing: "#fffefe" - binary: "#fffefe" - cellpath: "#fffefe" - row_index: "#d0f0a8" - record: "#fffefe" - list: "#fffefe" - block: "#fffefe" - hints: "#000000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ebbaff" - shape_bool: "#99ffff" - shape_int: "#ebbaff" - shape_float: "#ebbaff" - shape_range: "#ffedac" - shape_internalcall: "#99ffff" - shape_external: "#99ffff" - shape_externalarg: "#d0f0a8" - shape_literal: "#bbdaff" - shape_operator: "#ffeead" - shape_signature: "#d0f0a8" - shape_string: "#d1f1a9" - shape_string_interpolation: "#99ffff" - shape_datetime: "#99ffff" - shape_list: "#99ffff" - shape_table: "#badaff" - shape_record: "#99ffff" - shape_block: "#badaff" - shape_filepath: "#99ffff" - shape_globpattern: "#99ffff" - shape_variable: "#ebbbff" - shape_flag: "#badaff" - shape_custom: "#d1f1a9" - shape_nothing: "#99ffff" +export def main [] { return { + separator: "#fffefe" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#d1f1a9" attr: "b" } + empty: "#bbdaff" + bool: {|| if $in { "#99ffff" } else { "light_gray" } } + int: "#fffefe" + filesize: {|e| + if $e == 0b { + "#fffefe" + } else if $e < 1mb { + "#99ffff" + } else {{ fg: "#bbdaff" }} } -} + duration: "#fffefe" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff9da3" attr: "b" } + } else if $in < 6hr { + "#ff9da3" + } else if $in < 1day { + "#ffeead" + } else if $in < 3day { + "#d1f1a9" + } else if $in < 1wk { + { fg: "#d1f1a9" attr: "b" } + } else if $in < 6wk { + "#99ffff" + } else if $in < 52wk { + "#bbdaff" + } else { "dark_gray" } + } + range: "#fffefe" + float: "#fffefe" + string: "#fffefe" + nothing: "#fffefe" + binary: "#fffefe" + cellpath: "#fffefe" + row_index: { fg: "#d1f1a9" attr: "b" } + record: "#fffefe" + list: "#fffefe" + block: "#fffefe" + hints: "dark_gray" + + shape_and: { fg: "#ebbbff" attr: "b" } + shape_binary: { fg: "#ebbbff" attr: "b" } + shape_block: { fg: "#bbdaff" attr: "b" } + shape_bool: "#99ffff" + shape_custom: "#d1f1a9" + shape_datetime: { fg: "#99ffff" attr: "b" } + shape_directory: "#99ffff" + shape_external: "#99ffff" + shape_externalarg: { fg: "#d1f1a9" attr: "b" } + shape_filepath: "#99ffff" + shape_flag: { fg: "#bbdaff" attr: "b" } + shape_float: { fg: "#ebbbff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#99ffff" attr: "b" } + shape_int: { fg: "#ebbbff" attr: "b" } + shape_internalcall: { fg: "#99ffff" attr: "b" } + shape_list: { fg: "#99ffff" attr: "b" } + shape_literal: "#bbdaff" + shape_match_pattern: "#d1f1a9" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#99ffff" + shape_operator: "#ffeead" + shape_or: { fg: "#ebbbff" attr: "b" } + shape_pipe: { fg: "#ebbbff" attr: "b" } + shape_range: { fg: "#ffeead" attr: "b" } + shape_record: { fg: "#99ffff" attr: "b" } + shape_redirection: { fg: "#ebbbff" attr: "b" } + shape_signature: { fg: "#d1f1a9" attr: "b" } + shape_string: "#d1f1a9" + shape_string_interpolation: { fg: "#99ffff" attr: "b" } + shape_table: { fg: "#bbdaff" attr: "b" } + shape_variable: "#ebbbff" + + background: "#002451" + foreground: "#fffefe" + cursor: "#fffefe" +}} \ No newline at end of file diff --git a/themes/themes/tomorrow-night-bright.nu b/themes/themes/tomorrow-night-bright.nu index 25145b5..e8e7aee 100644 --- a/themes/themes/tomorrow-night-bright.nu +++ b/themes/themes/tomorrow-night-bright.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tomorrow_night-bright theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#e9e9e9" - # cursor: "#e9e9e9" - - { - # color for nushell primitives - separator: "#fffefe" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b9c949" - empty: "#79a6da" - bool: "#fffefe" - int: "#fffefe" - filesize: "#fffefe" - duration: "#fffefe" - date: "#fffefe" - range: "#fffefe" - float: "#fffefe" - string: "#fffefe" - nothing: "#fffefe" - binary: "#fffefe" - cellpath: "#fffefe" - row_index: "#b9c949" - record: "#fffefe" - list: "#fffefe" - block: "#fffefe" - hints: "#000000" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c396d7" - shape_bool: "#70c0b1" - shape_int: "#c396d7" - shape_float: "#c396d7" - shape_range: "#e6c446" - shape_internalcall: "#70c0b1" - shape_external: "#70c0b1" - shape_externalarg: "#b9c949" - shape_literal: "#79a6da" - shape_operator: "#e7c547" - shape_signature: "#b9c949" - shape_string: "#b9ca49" - shape_string_interpolation: "#70c0b1" - shape_datetime: "#70c0b1" - shape_list: "#70c0b1" - shape_table: "#79a6da" - shape_record: "#70c0b1" - shape_block: "#79a6da" - shape_filepath: "#70c0b1" - shape_globpattern: "#70c0b1" - shape_variable: "#c397d8" - shape_flag: "#79a6da" - shape_custom: "#b9ca49" - shape_nothing: "#70c0b1" +export def main [] { return { + separator: "#fffefe" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b9ca49" attr: "b" } + empty: "#79a6da" + bool: {|| if $in { "#70c0b1" } else { "light_gray" } } + int: "#fffefe" + filesize: {|e| + if $e == 0b { + "#fffefe" + } else if $e < 1mb { + "#70c0b1" + } else {{ fg: "#79a6da" }} } -} + duration: "#fffefe" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d54e53" attr: "b" } + } else if $in < 6hr { + "#d54e53" + } else if $in < 1day { + "#e7c547" + } else if $in < 3day { + "#b9ca49" + } else if $in < 1wk { + { fg: "#b9ca49" attr: "b" } + } else if $in < 6wk { + "#70c0b1" + } else if $in < 52wk { + "#79a6da" + } else { "dark_gray" } + } + range: "#fffefe" + float: "#fffefe" + string: "#fffefe" + nothing: "#fffefe" + binary: "#fffefe" + cellpath: "#fffefe" + row_index: { fg: "#b9ca49" attr: "b" } + record: "#fffefe" + list: "#fffefe" + block: "#fffefe" + hints: "dark_gray" + + shape_and: { fg: "#c397d8" attr: "b" } + shape_binary: { fg: "#c397d8" attr: "b" } + shape_block: { fg: "#79a6da" attr: "b" } + shape_bool: "#70c0b1" + shape_custom: "#b9ca49" + shape_datetime: { fg: "#70c0b1" attr: "b" } + shape_directory: "#70c0b1" + shape_external: "#70c0b1" + shape_externalarg: { fg: "#b9ca49" attr: "b" } + shape_filepath: "#70c0b1" + shape_flag: { fg: "#79a6da" attr: "b" } + shape_float: { fg: "#c397d8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#70c0b1" attr: "b" } + shape_int: { fg: "#c397d8" attr: "b" } + shape_internalcall: { fg: "#70c0b1" attr: "b" } + shape_list: { fg: "#70c0b1" attr: "b" } + shape_literal: "#79a6da" + shape_match_pattern: "#b9ca49" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#70c0b1" + shape_operator: "#e7c547" + shape_or: { fg: "#c397d8" attr: "b" } + shape_pipe: { fg: "#c397d8" attr: "b" } + shape_range: { fg: "#e7c547" attr: "b" } + shape_record: { fg: "#70c0b1" attr: "b" } + shape_redirection: { fg: "#c397d8" attr: "b" } + shape_signature: { fg: "#b9ca49" attr: "b" } + shape_string: "#b9ca49" + shape_string_interpolation: { fg: "#70c0b1" attr: "b" } + shape_table: { fg: "#79a6da" attr: "b" } + shape_variable: "#c397d8" + + background: "#000000" + foreground: "#e9e9e9" + cursor: "#e9e9e9" +}} \ No newline at end of file diff --git a/themes/themes/tomorrow-night-eighties.nu b/themes/themes/tomorrow-night-eighties.nu index ba34f45..9eae81d 100644 --- a/themes/themes/tomorrow-night-eighties.nu +++ b/themes/themes/tomorrow-night-eighties.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tomorrow_night-eighties theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2d2d2d" - # foreground: "#cccccc" - # cursor: "#cccccc" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#99cc99" - empty: "#6699cc" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#99cc99" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#999999" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#cc99cc" - shape_bool: "#66cccc" - shape_int: "#cc99cc" - shape_float: "#cc99cc" - shape_range: "#ffcc66" - shape_internalcall: "#66cccc" - shape_external: "#66cccc" - shape_externalarg: "#99cc99" - shape_literal: "#6699cc" - shape_operator: "#ffcc66" - shape_signature: "#99cc99" - shape_string: "#99cc99" - shape_string_interpolation: "#66cccc" - shape_datetime: "#66cccc" - shape_list: "#66cccc" - shape_table: "#6699cc" - shape_record: "#66cccc" - shape_block: "#6699cc" - shape_filepath: "#66cccc" - shape_globpattern: "#66cccc" - shape_variable: "#cc99cc" - shape_flag: "#6699cc" - shape_custom: "#99cc99" - shape_nothing: "#66cccc" +export def main [] { return { + separator: "#cccccc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#99cc99" attr: "b" } + empty: "#6699cc" + bool: {|| if $in { "#66cccc" } else { "light_gray" } } + int: "#cccccc" + filesize: {|e| + if $e == 0b { + "#cccccc" + } else if $e < 1mb { + "#66cccc" + } else {{ fg: "#6699cc" }} } -} + duration: "#cccccc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#f2777a" attr: "b" } + } else if $in < 6hr { + "#f2777a" + } else if $in < 1day { + "#ffcc66" + } else if $in < 3day { + "#99cc99" + } else if $in < 1wk { + { fg: "#99cc99" attr: "b" } + } else if $in < 6wk { + "#66cccc" + } else if $in < 52wk { + "#6699cc" + } else { "dark_gray" } + } + range: "#cccccc" + float: "#cccccc" + string: "#cccccc" + nothing: "#cccccc" + binary: "#cccccc" + cellpath: "#cccccc" + row_index: { fg: "#99cc99" attr: "b" } + record: "#cccccc" + list: "#cccccc" + block: "#cccccc" + hints: "dark_gray" + + shape_and: { fg: "#cc99cc" attr: "b" } + shape_binary: { fg: "#cc99cc" attr: "b" } + shape_block: { fg: "#6699cc" attr: "b" } + shape_bool: "#66cccc" + shape_custom: "#99cc99" + shape_datetime: { fg: "#66cccc" attr: "b" } + shape_directory: "#66cccc" + shape_external: "#66cccc" + shape_externalarg: { fg: "#99cc99" attr: "b" } + shape_filepath: "#66cccc" + shape_flag: { fg: "#6699cc" attr: "b" } + shape_float: { fg: "#cc99cc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#66cccc" attr: "b" } + shape_int: { fg: "#cc99cc" attr: "b" } + shape_internalcall: { fg: "#66cccc" attr: "b" } + shape_list: { fg: "#66cccc" attr: "b" } + shape_literal: "#6699cc" + shape_match_pattern: "#99cc99" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#66cccc" + shape_operator: "#ffcc66" + shape_or: { fg: "#cc99cc" attr: "b" } + shape_pipe: { fg: "#cc99cc" attr: "b" } + shape_range: { fg: "#ffcc66" attr: "b" } + shape_record: { fg: "#66cccc" attr: "b" } + shape_redirection: { fg: "#cc99cc" attr: "b" } + shape_signature: { fg: "#99cc99" attr: "b" } + shape_string: "#99cc99" + shape_string_interpolation: { fg: "#66cccc" attr: "b" } + shape_table: { fg: "#6699cc" attr: "b" } + shape_variable: "#cc99cc" + + background: "#2d2d2d" + foreground: "#cccccc" + cursor: "#cccccc" +}} \ No newline at end of file diff --git a/themes/themes/tomorrow-night.nu b/themes/themes/tomorrow-night.nu index 1ec0e68..72bf7be 100644 --- a/themes/themes/tomorrow-night.nu +++ b/themes/themes/tomorrow-night.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tomorrow_night theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1d1f21" - # foreground: "#c5c8c6" - # cursor: "#c5c8c6" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b5bd68" - empty: "#81a2be" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#b5bd68" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#969896" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b294bb" - shape_bool: "#8abeb7" - shape_int: "#b294bb" - shape_float: "#b294bb" - shape_range: "#f0c674" - shape_internalcall: "#8abeb7" - shape_external: "#8abeb7" - shape_externalarg: "#b5bd68" - shape_literal: "#81a2be" - shape_operator: "#f0c674" - shape_signature: "#b5bd68" - shape_string: "#b5bd68" - shape_string_interpolation: "#8abeb7" - shape_datetime: "#8abeb7" - shape_list: "#8abeb7" - shape_table: "#81a2be" - shape_record: "#8abeb7" - shape_block: "#81a2be" - shape_filepath: "#8abeb7" - shape_globpattern: "#8abeb7" - shape_variable: "#b294bb" - shape_flag: "#81a2be" - shape_custom: "#b5bd68" - shape_nothing: "#8abeb7" +export def main [] { return { + separator: "#c5c8c6" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b5bd68" attr: "b" } + empty: "#81a2be" + bool: {|| if $in { "#8abeb7" } else { "light_gray" } } + int: "#c5c8c6" + filesize: {|e| + if $e == 0b { + "#c5c8c6" + } else if $e < 1mb { + "#8abeb7" + } else {{ fg: "#81a2be" }} } -} + duration: "#c5c8c6" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc6666" attr: "b" } + } else if $in < 6hr { + "#cc6666" + } else if $in < 1day { + "#f0c674" + } else if $in < 3day { + "#b5bd68" + } else if $in < 1wk { + { fg: "#b5bd68" attr: "b" } + } else if $in < 6wk { + "#8abeb7" + } else if $in < 52wk { + "#81a2be" + } else { "dark_gray" } + } + range: "#c5c8c6" + float: "#c5c8c6" + string: "#c5c8c6" + nothing: "#c5c8c6" + binary: "#c5c8c6" + cellpath: "#c5c8c6" + row_index: { fg: "#b5bd68" attr: "b" } + record: "#c5c8c6" + list: "#c5c8c6" + block: "#c5c8c6" + hints: "dark_gray" + + shape_and: { fg: "#b294bb" attr: "b" } + shape_binary: { fg: "#b294bb" attr: "b" } + shape_block: { fg: "#81a2be" attr: "b" } + shape_bool: "#8abeb7" + shape_custom: "#b5bd68" + shape_datetime: { fg: "#8abeb7" attr: "b" } + shape_directory: "#8abeb7" + shape_external: "#8abeb7" + shape_externalarg: { fg: "#b5bd68" attr: "b" } + shape_filepath: "#8abeb7" + shape_flag: { fg: "#81a2be" attr: "b" } + shape_float: { fg: "#b294bb" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8abeb7" attr: "b" } + shape_int: { fg: "#b294bb" attr: "b" } + shape_internalcall: { fg: "#8abeb7" attr: "b" } + shape_list: { fg: "#8abeb7" attr: "b" } + shape_literal: "#81a2be" + shape_match_pattern: "#b5bd68" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#8abeb7" + shape_operator: "#f0c674" + shape_or: { fg: "#b294bb" attr: "b" } + shape_pipe: { fg: "#b294bb" attr: "b" } + shape_range: { fg: "#f0c674" attr: "b" } + shape_record: { fg: "#8abeb7" attr: "b" } + shape_redirection: { fg: "#b294bb" attr: "b" } + shape_signature: { fg: "#b5bd68" attr: "b" } + shape_string: "#b5bd68" + shape_string_interpolation: { fg: "#8abeb7" attr: "b" } + shape_table: { fg: "#81a2be" attr: "b" } + shape_variable: "#b294bb" + + background: "#1d1f21" + foreground: "#c5c8c6" + cursor: "#c5c8c6" +}} \ No newline at end of file diff --git a/themes/themes/tomorrow.nu b/themes/themes/tomorrow.nu index f93fe2c..74c1483 100644 --- a/themes/themes/tomorrow.nu +++ b/themes/themes/tomorrow.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tomorrow theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#4d4d4c" - # cursor: "#4d4d4c" - - { - # color for nushell primitives - separator: "#1d1f21" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#718c00" - empty: "#4271ae" - bool: "#1d1f21" - int: "#1d1f21" - filesize: "#1d1f21" - duration: "#1d1f21" - date: "#1d1f21" - range: "#1d1f21" - float: "#1d1f21" - string: "#1d1f21" - nothing: "#1d1f21" - binary: "#1d1f21" - cellpath: "#1d1f21" - row_index: "#718c00" - record: "#1d1f21" - list: "#1d1f21" - block: "#1d1f21" - hints: "#8e908c" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#8959a8" - shape_bool: "#3e999f" - shape_int: "#8959a8" - shape_float: "#8959a8" - shape_range: "#eab700" - shape_internalcall: "#3e999f" - shape_external: "#3e999f" - shape_externalarg: "#718c00" - shape_literal: "#4271ae" - shape_operator: "#eab700" - shape_signature: "#718c00" - shape_string: "#718c00" - shape_string_interpolation: "#3e999f" - shape_datetime: "#3e999f" - shape_list: "#3e999f" - shape_table: "#4271ae" - shape_record: "#3e999f" - shape_block: "#4271ae" - shape_filepath: "#3e999f" - shape_globpattern: "#3e999f" - shape_variable: "#8959a8" - shape_flag: "#4271ae" - shape_custom: "#718c00" - shape_nothing: "#3e999f" +export def main [] { return { + separator: "#4d4d4c" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#718c00" attr: "b" } + empty: "#4271ae" + bool: {|| if $in { "#3e999f" } else { "light_gray" } } + int: "#4d4d4c" + filesize: {|e| + if $e == 0b { + "#4d4d4c" + } else if $e < 1mb { + "#3e999f" + } else {{ fg: "#4271ae" }} } -} + duration: "#4d4d4c" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c82829" attr: "b" } + } else if $in < 6hr { + "#c82829" + } else if $in < 1day { + "#eab700" + } else if $in < 3day { + "#718c00" + } else if $in < 1wk { + { fg: "#718c00" attr: "b" } + } else if $in < 6wk { + "#3e999f" + } else if $in < 52wk { + "#4271ae" + } else { "dark_gray" } + } + range: "#4d4d4c" + float: "#4d4d4c" + string: "#4d4d4c" + nothing: "#4d4d4c" + binary: "#4d4d4c" + cellpath: "#4d4d4c" + row_index: { fg: "#718c00" attr: "b" } + record: "#4d4d4c" + list: "#4d4d4c" + block: "#4d4d4c" + hints: "dark_gray" + + shape_and: { fg: "#8959a8" attr: "b" } + shape_binary: { fg: "#8959a8" attr: "b" } + shape_block: { fg: "#4271ae" attr: "b" } + shape_bool: "#3e999f" + shape_custom: "#718c00" + shape_datetime: { fg: "#3e999f" attr: "b" } + shape_directory: "#3e999f" + shape_external: "#3e999f" + shape_externalarg: { fg: "#718c00" attr: "b" } + shape_filepath: "#3e999f" + shape_flag: { fg: "#4271ae" attr: "b" } + shape_float: { fg: "#8959a8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3e999f" attr: "b" } + shape_int: { fg: "#8959a8" attr: "b" } + shape_internalcall: { fg: "#3e999f" attr: "b" } + shape_list: { fg: "#3e999f" attr: "b" } + shape_literal: "#4271ae" + shape_match_pattern: "#718c00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3e999f" + shape_operator: "#eab700" + shape_or: { fg: "#8959a8" attr: "b" } + shape_pipe: { fg: "#8959a8" attr: "b" } + shape_range: { fg: "#eab700" attr: "b" } + shape_record: { fg: "#3e999f" attr: "b" } + shape_redirection: { fg: "#8959a8" attr: "b" } + shape_signature: { fg: "#718c00" attr: "b" } + shape_string: "#718c00" + shape_string_interpolation: { fg: "#3e999f" attr: "b" } + shape_table: { fg: "#4271ae" attr: "b" } + shape_variable: "#8959a8" + + background: "#ffffff" + foreground: "#4d4d4c" + cursor: "#4d4d4c" +}} \ No newline at end of file diff --git a/themes/themes/toy-chest.nu b/themes/themes/toy-chest.nu index e607ac8..d292d13 100644 --- a/themes/themes/toy-chest.nu +++ b/themes/themes/toy-chest.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the toy_chest theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#24364b" - # foreground: "#31d07b" - # cursor: "#31d07b" - - { - # color for nushell primitives - separator: "#d5d5d5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#31d07b" - empty: "#325d96" - bool: "#d5d5d5" - int: "#d5d5d5" - filesize: "#d5d5d5" - duration: "#d5d5d5" - date: "#d5d5d5" - range: "#d5d5d5" - float: "#d5d5d5" - string: "#d5d5d5" - nothing: "#d5d5d5" - binary: "#d5d5d5" - cellpath: "#d5d5d5" - row_index: "#31d07b" - record: "#d5d5d5" - list: "#d5d5d5" - block: "#d5d5d5" - hints: "#336889" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ae6bdc" - shape_bool: "#42c3ae" - shape_int: "#ae6bdc" - shape_float: "#ae6bdc" - shape_range: "#e7d84b" - shape_internalcall: "#42c3ae" - shape_external: "#35a08f" - shape_externalarg: "#31d07b" - shape_literal: "#325d96" - shape_operator: "#db8e27" - shape_signature: "#31d07b" - shape_string: "#1a9172" - shape_string_interpolation: "#42c3ae" - shape_datetime: "#42c3ae" - shape_list: "#42c3ae" - shape_table: "#34a6da" - shape_record: "#42c3ae" - shape_block: "#34a6da" - shape_filepath: "#35a08f" - shape_globpattern: "#42c3ae" - shape_variable: "#8a5edc" - shape_flag: "#34a6da" - shape_custom: "#1a9172" - shape_nothing: "#42c3ae" +export def main [] { return { + separator: "#23d183" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#1a9172" attr: "b" } + empty: "#325d96" + bool: {|| if $in { "#42c3ae" } else { "light_gray" } } + int: "#23d183" + filesize: {|e| + if $e == 0b { + "#23d183" + } else if $e < 1mb { + "#35a08f" + } else {{ fg: "#325d96" }} } -} + duration: "#23d183" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#be2d26" attr: "b" } + } else if $in < 6hr { + "#be2d26" + } else if $in < 1day { + "#db8e27" + } else if $in < 3day { + "#1a9172" + } else if $in < 1wk { + { fg: "#1a9172" attr: "b" } + } else if $in < 6wk { + "#35a08f" + } else if $in < 52wk { + "#325d96" + } else { "dark_gray" } + } + range: "#23d183" + float: "#23d183" + string: "#23d183" + nothing: "#23d183" + binary: "#23d183" + cellpath: "#23d183" + row_index: { fg: "#1a9172" attr: "b" } + record: "#23d183" + list: "#23d183" + block: "#23d183" + hints: "dark_gray" + + shape_and: { fg: "#8a5edc" attr: "b" } + shape_binary: { fg: "#8a5edc" attr: "b" } + shape_block: { fg: "#325d96" attr: "b" } + shape_bool: "#42c3ae" + shape_custom: "#1a9172" + shape_datetime: { fg: "#35a08f" attr: "b" } + shape_directory: "#35a08f" + shape_external: "#35a08f" + shape_externalarg: { fg: "#1a9172" attr: "b" } + shape_filepath: "#35a08f" + shape_flag: { fg: "#325d96" attr: "b" } + shape_float: { fg: "#8a5edc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#35a08f" attr: "b" } + shape_int: { fg: "#8a5edc" attr: "b" } + shape_internalcall: { fg: "#35a08f" attr: "b" } + shape_list: { fg: "#35a08f" attr: "b" } + shape_literal: "#325d96" + shape_match_pattern: "#1a9172" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#42c3ae" + shape_operator: "#db8e27" + shape_or: { fg: "#8a5edc" attr: "b" } + shape_pipe: { fg: "#8a5edc" attr: "b" } + shape_range: { fg: "#db8e27" attr: "b" } + shape_record: { fg: "#35a08f" attr: "b" } + shape_redirection: { fg: "#8a5edc" attr: "b" } + shape_signature: { fg: "#1a9172" attr: "b" } + shape_string: "#1a9172" + shape_string_interpolation: { fg: "#35a08f" attr: "b" } + shape_table: { fg: "#325d96" attr: "b" } + shape_variable: "#8a5edc" + + background: "#24364b" + foreground: "#31d07b" + cursor: "#31d07b" +}} \ No newline at end of file diff --git a/themes/themes/treehouse.nu b/themes/themes/treehouse.nu index 10b8b97..a3b4668 100644 --- a/themes/themes/treehouse.nu +++ b/themes/themes/treehouse.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the treehouse theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#191919" - # foreground: "#786b53" - # cursor: "#786b53" - - { - # color for nushell primitives - separator: "#ffc800" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#55f238" - empty: "#58859a" - bool: "#ffc800" - int: "#ffc800" - filesize: "#ffc800" - duration: "#ffc800" - date: "#ffc800" - range: "#ffc800" - float: "#ffc800" - string: "#ffc800" - nothing: "#ffc800" - binary: "#ffc800" - cellpath: "#ffc800" - row_index: "#55f238" - record: "#ffc800" - list: "#ffc800" - block: "#ffc800" - hints: "#433626" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#e14c5a" - shape_bool: "#f07d14" - shape_int: "#e14c5a" - shape_float: "#e14c5a" - shape_range: "#f2b732" - shape_internalcall: "#f07d14" - shape_external: "#b25a1e" - shape_externalarg: "#55f238" - shape_literal: "#58859a" - shape_operator: "#aa820c" - shape_signature: "#55f238" - shape_string: "#44a900" - shape_string_interpolation: "#f07d14" - shape_datetime: "#f07d14" - shape_list: "#f07d14" - shape_table: "#85cfed" - shape_record: "#f07d14" - shape_block: "#85cfed" - shape_filepath: "#b25a1e" - shape_globpattern: "#f07d14" - shape_variable: "#97363d" - shape_flag: "#85cfed" - shape_custom: "#44a900" - shape_nothing: "#f07d14" +export def main [] { return { + separator: "#786b53" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#44a900" attr: "b" } + empty: "#58859a" + bool: {|| if $in { "#f07d14" } else { "light_gray" } } + int: "#786b53" + filesize: {|e| + if $e == 0b { + "#786b53" + } else if $e < 1mb { + "#b25a1e" + } else {{ fg: "#58859a" }} } -} + duration: "#786b53" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b2270e" attr: "b" } + } else if $in < 6hr { + "#b2270e" + } else if $in < 1day { + "#aa820c" + } else if $in < 3day { + "#44a900" + } else if $in < 1wk { + { fg: "#44a900" attr: "b" } + } else if $in < 6wk { + "#b25a1e" + } else if $in < 52wk { + "#58859a" + } else { "dark_gray" } + } + range: "#786b53" + float: "#786b53" + string: "#786b53" + nothing: "#786b53" + binary: "#786b53" + cellpath: "#786b53" + row_index: { fg: "#44a900" attr: "b" } + record: "#786b53" + list: "#786b53" + block: "#786b53" + hints: "dark_gray" + + shape_and: { fg: "#97363d" attr: "b" } + shape_binary: { fg: "#97363d" attr: "b" } + shape_block: { fg: "#58859a" attr: "b" } + shape_bool: "#f07d14" + shape_custom: "#44a900" + shape_datetime: { fg: "#b25a1e" attr: "b" } + shape_directory: "#b25a1e" + shape_external: "#b25a1e" + shape_externalarg: { fg: "#44a900" attr: "b" } + shape_filepath: "#b25a1e" + shape_flag: { fg: "#58859a" attr: "b" } + shape_float: { fg: "#97363d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#b25a1e" attr: "b" } + shape_int: { fg: "#97363d" attr: "b" } + shape_internalcall: { fg: "#b25a1e" attr: "b" } + shape_list: { fg: "#b25a1e" attr: "b" } + shape_literal: "#58859a" + shape_match_pattern: "#44a900" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#f07d14" + shape_operator: "#aa820c" + shape_or: { fg: "#97363d" attr: "b" } + shape_pipe: { fg: "#97363d" attr: "b" } + shape_range: { fg: "#aa820c" attr: "b" } + shape_record: { fg: "#b25a1e" attr: "b" } + shape_redirection: { fg: "#97363d" attr: "b" } + shape_signature: { fg: "#44a900" attr: "b" } + shape_string: "#44a900" + shape_string_interpolation: { fg: "#b25a1e" attr: "b" } + shape_table: { fg: "#58859a" attr: "b" } + shape_variable: "#97363d" + + background: "#191919" + foreground: "#786b53" + cursor: "#786b53" +}} \ No newline at end of file diff --git a/themes/themes/tube.nu b/themes/themes/tube.nu index 71a57a2..76c6d5b 100644 --- a/themes/themes/tube.nu +++ b/themes/themes/tube.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the tube theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#231f20" - # foreground: "#d9d8d8" - # cursor: "#d9d8d8" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00853e" - empty: "#009ddc" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#00853e" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#737171" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#98005d" - shape_bool: "#85cebc" - shape_int: "#98005d" - shape_float: "#98005d" - shape_range: "#ffd204" - shape_internalcall: "#85cebc" - shape_external: "#85cebc" - shape_externalarg: "#00853e" - shape_literal: "#009ddc" - shape_operator: "#ffd204" - shape_signature: "#00853e" - shape_string: "#00853e" - shape_string_interpolation: "#85cebc" - shape_datetime: "#85cebc" - shape_list: "#85cebc" - shape_table: "#009ddc" - shape_record: "#85cebc" - shape_block: "#009ddc" - shape_filepath: "#85cebc" - shape_globpattern: "#85cebc" - shape_variable: "#98005d" - shape_flag: "#009ddc" - shape_custom: "#00853e" - shape_nothing: "#85cebc" +export def main [] { return { + separator: "#d9d8d8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00853e" attr: "b" } + empty: "#009ddc" + bool: {|| if $in { "#85cebc" } else { "light_gray" } } + int: "#d9d8d8" + filesize: {|e| + if $e == 0b { + "#d9d8d8" + } else if $e < 1mb { + "#85cebc" + } else {{ fg: "#009ddc" }} } -} + duration: "#d9d8d8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ee2e24" attr: "b" } + } else if $in < 6hr { + "#ee2e24" + } else if $in < 1day { + "#ffd204" + } else if $in < 3day { + "#00853e" + } else if $in < 1wk { + { fg: "#00853e" attr: "b" } + } else if $in < 6wk { + "#85cebc" + } else if $in < 52wk { + "#009ddc" + } else { "dark_gray" } + } + range: "#d9d8d8" + float: "#d9d8d8" + string: "#d9d8d8" + nothing: "#d9d8d8" + binary: "#d9d8d8" + cellpath: "#d9d8d8" + row_index: { fg: "#00853e" attr: "b" } + record: "#d9d8d8" + list: "#d9d8d8" + block: "#d9d8d8" + hints: "dark_gray" + + shape_and: { fg: "#98005d" attr: "b" } + shape_binary: { fg: "#98005d" attr: "b" } + shape_block: { fg: "#009ddc" attr: "b" } + shape_bool: "#85cebc" + shape_custom: "#00853e" + shape_datetime: { fg: "#85cebc" attr: "b" } + shape_directory: "#85cebc" + shape_external: "#85cebc" + shape_externalarg: { fg: "#00853e" attr: "b" } + shape_filepath: "#85cebc" + shape_flag: { fg: "#009ddc" attr: "b" } + shape_float: { fg: "#98005d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#85cebc" attr: "b" } + shape_int: { fg: "#98005d" attr: "b" } + shape_internalcall: { fg: "#85cebc" attr: "b" } + shape_list: { fg: "#85cebc" attr: "b" } + shape_literal: "#009ddc" + shape_match_pattern: "#00853e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#85cebc" + shape_operator: "#ffd204" + shape_or: { fg: "#98005d" attr: "b" } + shape_pipe: { fg: "#98005d" attr: "b" } + shape_range: { fg: "#ffd204" attr: "b" } + shape_record: { fg: "#85cebc" attr: "b" } + shape_redirection: { fg: "#98005d" attr: "b" } + shape_signature: { fg: "#00853e" attr: "b" } + shape_string: "#00853e" + shape_string_interpolation: { fg: "#85cebc" attr: "b" } + shape_table: { fg: "#009ddc" attr: "b" } + shape_variable: "#98005d" + + background: "#231f20" + foreground: "#d9d8d8" + cursor: "#d9d8d8" +}} \ No newline at end of file diff --git a/themes/themes/twilight.nu b/themes/themes/twilight.nu index 426ce6c..1539a63 100644 --- a/themes/themes/twilight.nu +++ b/themes/themes/twilight.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the twilight theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1e1e1e" - # foreground: "#a7a7a7" - # cursor: "#a7a7a7" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#8f9d6a" - empty: "#7587a6" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#8f9d6a" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#5f5a60" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9b859d" - shape_bool: "#afc4db" - shape_int: "#9b859d" - shape_float: "#9b859d" - shape_range: "#f9ee98" - shape_internalcall: "#afc4db" - shape_external: "#afc4db" - shape_externalarg: "#8f9d6a" - shape_literal: "#7587a6" - shape_operator: "#f9ee98" - shape_signature: "#8f9d6a" - shape_string: "#8f9d6a" - shape_string_interpolation: "#afc4db" - shape_datetime: "#afc4db" - shape_list: "#afc4db" - shape_table: "#7587a6" - shape_record: "#afc4db" - shape_block: "#7587a6" - shape_filepath: "#afc4db" - shape_globpattern: "#afc4db" - shape_variable: "#9b859d" - shape_flag: "#7587a6" - shape_custom: "#8f9d6a" - shape_nothing: "#afc4db" +export def main [] { return { + separator: "#a7a7a7" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#8f9d6a" attr: "b" } + empty: "#7587a6" + bool: {|| if $in { "#afc4db" } else { "light_gray" } } + int: "#a7a7a7" + filesize: {|e| + if $e == 0b { + "#a7a7a7" + } else if $e < 1mb { + "#afc4db" + } else {{ fg: "#7587a6" }} } -} + duration: "#a7a7a7" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cf6a4c" attr: "b" } + } else if $in < 6hr { + "#cf6a4c" + } else if $in < 1day { + "#f9ee98" + } else if $in < 3day { + "#8f9d6a" + } else if $in < 1wk { + { fg: "#8f9d6a" attr: "b" } + } else if $in < 6wk { + "#afc4db" + } else if $in < 52wk { + "#7587a6" + } else { "dark_gray" } + } + range: "#a7a7a7" + float: "#a7a7a7" + string: "#a7a7a7" + nothing: "#a7a7a7" + binary: "#a7a7a7" + cellpath: "#a7a7a7" + row_index: { fg: "#8f9d6a" attr: "b" } + record: "#a7a7a7" + list: "#a7a7a7" + block: "#a7a7a7" + hints: "dark_gray" + + shape_and: { fg: "#9b859d" attr: "b" } + shape_binary: { fg: "#9b859d" attr: "b" } + shape_block: { fg: "#7587a6" attr: "b" } + shape_bool: "#afc4db" + shape_custom: "#8f9d6a" + shape_datetime: { fg: "#afc4db" attr: "b" } + shape_directory: "#afc4db" + shape_external: "#afc4db" + shape_externalarg: { fg: "#8f9d6a" attr: "b" } + shape_filepath: "#afc4db" + shape_flag: { fg: "#7587a6" attr: "b" } + shape_float: { fg: "#9b859d" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#afc4db" attr: "b" } + shape_int: { fg: "#9b859d" attr: "b" } + shape_internalcall: { fg: "#afc4db" attr: "b" } + shape_list: { fg: "#afc4db" attr: "b" } + shape_literal: "#7587a6" + shape_match_pattern: "#8f9d6a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#afc4db" + shape_operator: "#f9ee98" + shape_or: { fg: "#9b859d" attr: "b" } + shape_pipe: { fg: "#9b859d" attr: "b" } + shape_range: { fg: "#f9ee98" attr: "b" } + shape_record: { fg: "#afc4db" attr: "b" } + shape_redirection: { fg: "#9b859d" attr: "b" } + shape_signature: { fg: "#8f9d6a" attr: "b" } + shape_string: "#8f9d6a" + shape_string_interpolation: { fg: "#afc4db" attr: "b" } + shape_table: { fg: "#7587a6" attr: "b" } + shape_variable: "#9b859d" + + background: "#1e1e1e" + foreground: "#a7a7a7" + cursor: "#a7a7a7" +}} \ No newline at end of file diff --git a/themes/themes/two-firewatch.nu b/themes/themes/two-firewatch.nu index 91bf5b4..8c546b1 100644 --- a/themes/themes/two-firewatch.nu +++ b/themes/themes/two-firewatch.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the two_firewatch theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282c34" - # foreground: "#abb2bf" - # cursor: "#abb2bf" - - { - # color for nushell primitives - separator: "#dcdfe4" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#98c379" - empty: "#61afef" - bool: "#dcdfe4" - int: "#dcdfe4" - filesize: "#dcdfe4" - duration: "#dcdfe4" - date: "#dcdfe4" - range: "#dcdfe4" - float: "#dcdfe4" - string: "#dcdfe4" - nothing: "#dcdfe4" - binary: "#dcdfe4" - cellpath: "#dcdfe4" - row_index: "#98c379" - record: "#dcdfe4" - list: "#dcdfe4" - block: "#dcdfe4" - hints: "#282c34" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#c678dd" - shape_bool: "#56b6c2" - shape_int: "#c678dd" - shape_float: "#c678dd" - shape_range: "#e5c07b" - shape_internalcall: "#56b6c2" - shape_external: "#56b6c2" - shape_externalarg: "#98c379" - shape_literal: "#61afef" - shape_operator: "#e5c07b" - shape_signature: "#98c379" - shape_string: "#98c379" - shape_string_interpolation: "#56b6c2" - shape_datetime: "#56b6c2" - shape_list: "#56b6c2" - shape_table: "#61afef" - shape_record: "#56b6c2" - shape_block: "#61afef" - shape_filepath: "#56b6c2" - shape_globpattern: "#56b6c2" - shape_variable: "#c678dd" - shape_flag: "#61afef" - shape_custom: "#98c379" - shape_nothing: "#56b6c2" +export def main [] { return { + separator: "#dcdfe4" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#98c379" attr: "b" } + empty: "#61afef" + bool: {|| if $in { "#56b6c2" } else { "light_gray" } } + int: "#dcdfe4" + filesize: {|e| + if $e == 0b { + "#dcdfe4" + } else if $e < 1mb { + "#56b6c2" + } else {{ fg: "#61afef" }} } -} + duration: "#dcdfe4" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e06c75" attr: "b" } + } else if $in < 6hr { + "#e06c75" + } else if $in < 1day { + "#e5c07b" + } else if $in < 3day { + "#98c379" + } else if $in < 1wk { + { fg: "#98c379" attr: "b" } + } else if $in < 6wk { + "#56b6c2" + } else if $in < 52wk { + "#61afef" + } else { "dark_gray" } + } + range: "#dcdfe4" + float: "#dcdfe4" + string: "#dcdfe4" + nothing: "#dcdfe4" + binary: "#dcdfe4" + cellpath: "#dcdfe4" + row_index: { fg: "#98c379" attr: "b" } + record: "#dcdfe4" + list: "#dcdfe4" + block: "#dcdfe4" + hints: "dark_gray" + + shape_and: { fg: "#c678dd" attr: "b" } + shape_binary: { fg: "#c678dd" attr: "b" } + shape_block: { fg: "#61afef" attr: "b" } + shape_bool: "#56b6c2" + shape_custom: "#98c379" + shape_datetime: { fg: "#56b6c2" attr: "b" } + shape_directory: "#56b6c2" + shape_external: "#56b6c2" + shape_externalarg: { fg: "#98c379" attr: "b" } + shape_filepath: "#56b6c2" + shape_flag: { fg: "#61afef" attr: "b" } + shape_float: { fg: "#c678dd" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#56b6c2" attr: "b" } + shape_int: { fg: "#c678dd" attr: "b" } + shape_internalcall: { fg: "#56b6c2" attr: "b" } + shape_list: { fg: "#56b6c2" attr: "b" } + shape_literal: "#61afef" + shape_match_pattern: "#98c379" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#56b6c2" + shape_operator: "#e5c07b" + shape_or: { fg: "#c678dd" attr: "b" } + shape_pipe: { fg: "#c678dd" attr: "b" } + shape_range: { fg: "#e5c07b" attr: "b" } + shape_record: { fg: "#56b6c2" attr: "b" } + shape_redirection: { fg: "#c678dd" attr: "b" } + shape_signature: { fg: "#98c379" attr: "b" } + shape_string: "#98c379" + shape_string_interpolation: { fg: "#56b6c2" attr: "b" } + shape_table: { fg: "#61afef" attr: "b" } + shape_variable: "#c678dd" + + background: "#282c34" + foreground: "#abb2bf" + cursor: "#abb2bf" +}} \ No newline at end of file diff --git a/themes/themes/unikitty-dark.nu b/themes/themes/unikitty-dark.nu index 8114803..a883c0a 100644 --- a/themes/themes/unikitty-dark.nu +++ b/themes/themes/unikitty-dark.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the unikitty_dark theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#2e2a31" - # foreground: "#bcbabe" - # cursor: "#bcbabe" - - { - # color for nushell primitives - separator: "#f5f4f7" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#17ad98" - empty: "#796af5" - bool: "#f5f4f7" - int: "#f5f4f7" - filesize: "#f5f4f7" - duration: "#f5f4f7" - date: "#f5f4f7" - range: "#f5f4f7" - float: "#f5f4f7" - string: "#f5f4f7" - nothing: "#f5f4f7" - binary: "#f5f4f7" - cellpath: "#f5f4f7" - row_index: "#17ad98" - record: "#f5f4f7" - list: "#f5f4f7" - block: "#f5f4f7" - hints: "#838085" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bb60ea" - shape_bool: "#149bda" - shape_int: "#bb60ea" - shape_float: "#bb60ea" - shape_range: "#dc8a0e" - shape_internalcall: "#149bda" - shape_external: "#149bda" - shape_externalarg: "#17ad98" - shape_literal: "#796af5" - shape_operator: "#dc8a0e" - shape_signature: "#17ad98" - shape_string: "#17ad98" - shape_string_interpolation: "#149bda" - shape_datetime: "#149bda" - shape_list: "#149bda" - shape_table: "#796af5" - shape_record: "#149bda" - shape_block: "#796af5" - shape_filepath: "#149bda" - shape_globpattern: "#149bda" - shape_variable: "#bb60ea" - shape_flag: "#796af5" - shape_custom: "#17ad98" - shape_nothing: "#149bda" +export def main [] { return { + separator: "#bcbabe" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#17ad98" attr: "b" } + empty: "#796af5" + bool: {|| if $in { "#149bda" } else { "light_gray" } } + int: "#bcbabe" + filesize: {|e| + if $e == 0b { + "#bcbabe" + } else if $e < 1mb { + "#149bda" + } else {{ fg: "#796af5" }} } -} + duration: "#bcbabe" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d8137f" attr: "b" } + } else if $in < 6hr { + "#d8137f" + } else if $in < 1day { + "#dc8a0e" + } else if $in < 3day { + "#17ad98" + } else if $in < 1wk { + { fg: "#17ad98" attr: "b" } + } else if $in < 6wk { + "#149bda" + } else if $in < 52wk { + "#796af5" + } else { "dark_gray" } + } + range: "#bcbabe" + float: "#bcbabe" + string: "#bcbabe" + nothing: "#bcbabe" + binary: "#bcbabe" + cellpath: "#bcbabe" + row_index: { fg: "#17ad98" attr: "b" } + record: "#bcbabe" + list: "#bcbabe" + block: "#bcbabe" + hints: "dark_gray" + + shape_and: { fg: "#bb60ea" attr: "b" } + shape_binary: { fg: "#bb60ea" attr: "b" } + shape_block: { fg: "#796af5" attr: "b" } + shape_bool: "#149bda" + shape_custom: "#17ad98" + shape_datetime: { fg: "#149bda" attr: "b" } + shape_directory: "#149bda" + shape_external: "#149bda" + shape_externalarg: { fg: "#17ad98" attr: "b" } + shape_filepath: "#149bda" + shape_flag: { fg: "#796af5" attr: "b" } + shape_float: { fg: "#bb60ea" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#149bda" attr: "b" } + shape_int: { fg: "#bb60ea" attr: "b" } + shape_internalcall: { fg: "#149bda" attr: "b" } + shape_list: { fg: "#149bda" attr: "b" } + shape_literal: "#796af5" + shape_match_pattern: "#17ad98" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#149bda" + shape_operator: "#dc8a0e" + shape_or: { fg: "#bb60ea" attr: "b" } + shape_pipe: { fg: "#bb60ea" attr: "b" } + shape_range: { fg: "#dc8a0e" attr: "b" } + shape_record: { fg: "#149bda" attr: "b" } + shape_redirection: { fg: "#bb60ea" attr: "b" } + shape_signature: { fg: "#17ad98" attr: "b" } + shape_string: "#17ad98" + shape_string_interpolation: { fg: "#149bda" attr: "b" } + shape_table: { fg: "#796af5" attr: "b" } + shape_variable: "#bb60ea" + + background: "#2e2a31" + foreground: "#bcbabe" + cursor: "#bcbabe" +}} \ No newline at end of file diff --git a/themes/themes/unikitty-light.nu b/themes/themes/unikitty-light.nu index 48c360e..84bbb47 100644 --- a/themes/themes/unikitty-light.nu +++ b/themes/themes/unikitty-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the unikitty_light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#6c696e" - # cursor: "#6c696e" - - { - # color for nushell primitives - separator: "#322d34" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#17ad98" - empty: "#775dff" - bool: "#322d34" - int: "#322d34" - filesize: "#322d34" - duration: "#322d34" - date: "#322d34" - range: "#322d34" - float: "#322d34" - string: "#322d34" - nothing: "#322d34" - binary: "#322d34" - cellpath: "#322d34" - row_index: "#17ad98" - record: "#322d34" - list: "#322d34" - block: "#322d34" - hints: "#a7a5a8" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#aa17e6" - shape_bool: "#149bda" - shape_int: "#aa17e6" - shape_float: "#aa17e6" - shape_range: "#dc8a0e" - shape_internalcall: "#149bda" - shape_external: "#149bda" - shape_externalarg: "#17ad98" - shape_literal: "#775dff" - shape_operator: "#dc8a0e" - shape_signature: "#17ad98" - shape_string: "#17ad98" - shape_string_interpolation: "#149bda" - shape_datetime: "#149bda" - shape_list: "#149bda" - shape_table: "#775dff" - shape_record: "#149bda" - shape_block: "#775dff" - shape_filepath: "#149bda" - shape_globpattern: "#149bda" - shape_variable: "#aa17e6" - shape_flag: "#775dff" - shape_custom: "#17ad98" - shape_nothing: "#149bda" +export def main [] { return { + separator: "#6c696e" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#17ad98" attr: "b" } + empty: "#775dff" + bool: {|| if $in { "#149bda" } else { "light_gray" } } + int: "#6c696e" + filesize: {|e| + if $e == 0b { + "#6c696e" + } else if $e < 1mb { + "#149bda" + } else {{ fg: "#775dff" }} } -} + duration: "#6c696e" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d8137f" attr: "b" } + } else if $in < 6hr { + "#d8137f" + } else if $in < 1day { + "#dc8a0e" + } else if $in < 3day { + "#17ad98" + } else if $in < 1wk { + { fg: "#17ad98" attr: "b" } + } else if $in < 6wk { + "#149bda" + } else if $in < 52wk { + "#775dff" + } else { "dark_gray" } + } + range: "#6c696e" + float: "#6c696e" + string: "#6c696e" + nothing: "#6c696e" + binary: "#6c696e" + cellpath: "#6c696e" + row_index: { fg: "#17ad98" attr: "b" } + record: "#6c696e" + list: "#6c696e" + block: "#6c696e" + hints: "dark_gray" + + shape_and: { fg: "#aa17e6" attr: "b" } + shape_binary: { fg: "#aa17e6" attr: "b" } + shape_block: { fg: "#775dff" attr: "b" } + shape_bool: "#149bda" + shape_custom: "#17ad98" + shape_datetime: { fg: "#149bda" attr: "b" } + shape_directory: "#149bda" + shape_external: "#149bda" + shape_externalarg: { fg: "#17ad98" attr: "b" } + shape_filepath: "#149bda" + shape_flag: { fg: "#775dff" attr: "b" } + shape_float: { fg: "#aa17e6" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#149bda" attr: "b" } + shape_int: { fg: "#aa17e6" attr: "b" } + shape_internalcall: { fg: "#149bda" attr: "b" } + shape_list: { fg: "#149bda" attr: "b" } + shape_literal: "#775dff" + shape_match_pattern: "#17ad98" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#149bda" + shape_operator: "#dc8a0e" + shape_or: { fg: "#aa17e6" attr: "b" } + shape_pipe: { fg: "#aa17e6" attr: "b" } + shape_range: { fg: "#dc8a0e" attr: "b" } + shape_record: { fg: "#149bda" attr: "b" } + shape_redirection: { fg: "#aa17e6" attr: "b" } + shape_signature: { fg: "#17ad98" attr: "b" } + shape_string: "#17ad98" + shape_string_interpolation: { fg: "#149bda" attr: "b" } + shape_table: { fg: "#775dff" attr: "b" } + shape_variable: "#aa17e6" + + background: "#ffffff" + foreground: "#6c696e" + cursor: "#6c696e" +}} \ No newline at end of file diff --git a/themes/themes/ura.nu b/themes/themes/ura.nu index b7d1ce0..9489508 100644 --- a/themes/themes/ura.nu +++ b/themes/themes/ura.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the ura theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#feffee" - # foreground: "#23476a" - # cursor: "#23476a" - - { - # color for nushell primitives - separator: "#e5e5e5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b9ee84" - empty: "#1b6fc2" - bool: "#e5e5e5" - int: "#e5e5e5" - filesize: "#e5e5e5" - duration: "#e5e5e5" - date: "#e5e5e5" - range: "#e5e5e5" - float: "#e5e5e5" - string: "#e5e5e5" - nothing: "#e5e5e5" - binary: "#e5e5e5" - cellpath: "#e5e5e5" - row_index: "#b9ee84" - record: "#e5e5e5" - list: "#e5e5e5" - block: "#e5e5e5" - hints: "#808080" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b984ee" - shape_bool: "#84eeb9" - shape_int: "#b984ee" - shape_float: "#b984ee" - shape_range: "#eeb984" - shape_internalcall: "#84eeb9" - shape_external: "#1bc26f" - shape_externalarg: "#b9ee84" - shape_literal: "#1b6fc2" - shape_operator: "#c26f1b" - shape_signature: "#b9ee84" - shape_string: "#6fc21b" - shape_string_interpolation: "#84eeb9" - shape_datetime: "#84eeb9" - shape_list: "#84eeb9" - shape_table: "#84b9ee" - shape_record: "#84eeb9" - shape_block: "#84b9ee" - shape_filepath: "#1bc26f" - shape_globpattern: "#84eeb9" - shape_variable: "#6f1bc2" - shape_flag: "#84b9ee" - shape_custom: "#6fc21b" - shape_nothing: "#84eeb9" +export def main [] { return { + separator: "#808080" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#6fc21b" attr: "b" } + empty: "#1b6fc2" + bool: {|| if $in { "#84eeb9" } else { "light_gray" } } + int: "#808080" + filesize: {|e| + if $e == 0b { + "#808080" + } else if $e < 1mb { + "#1bc26f" + } else {{ fg: "#1b6fc2" }} } -} + duration: "#808080" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c21b6f" attr: "b" } + } else if $in < 6hr { + "#c21b6f" + } else if $in < 1day { + "#c26f1b" + } else if $in < 3day { + "#6fc21b" + } else if $in < 1wk { + { fg: "#6fc21b" attr: "b" } + } else if $in < 6wk { + "#1bc26f" + } else if $in < 52wk { + "#1b6fc2" + } else { "dark_gray" } + } + range: "#808080" + float: "#808080" + string: "#808080" + nothing: "#808080" + binary: "#808080" + cellpath: "#808080" + row_index: { fg: "#6fc21b" attr: "b" } + record: "#808080" + list: "#808080" + block: "#808080" + hints: "dark_gray" + + shape_and: { fg: "#6f1bc2" attr: "b" } + shape_binary: { fg: "#6f1bc2" attr: "b" } + shape_block: { fg: "#1b6fc2" attr: "b" } + shape_bool: "#84eeb9" + shape_custom: "#6fc21b" + shape_datetime: { fg: "#1bc26f" attr: "b" } + shape_directory: "#1bc26f" + shape_external: "#1bc26f" + shape_externalarg: { fg: "#6fc21b" attr: "b" } + shape_filepath: "#1bc26f" + shape_flag: { fg: "#1b6fc2" attr: "b" } + shape_float: { fg: "#6f1bc2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#1bc26f" attr: "b" } + shape_int: { fg: "#6f1bc2" attr: "b" } + shape_internalcall: { fg: "#1bc26f" attr: "b" } + shape_list: { fg: "#1bc26f" attr: "b" } + shape_literal: "#1b6fc2" + shape_match_pattern: "#6fc21b" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#84eeb9" + shape_operator: "#c26f1b" + shape_or: { fg: "#6f1bc2" attr: "b" } + shape_pipe: { fg: "#6f1bc2" attr: "b" } + shape_range: { fg: "#c26f1b" attr: "b" } + shape_record: { fg: "#1bc26f" attr: "b" } + shape_redirection: { fg: "#6f1bc2" attr: "b" } + shape_signature: { fg: "#6fc21b" attr: "b" } + shape_string: "#6fc21b" + shape_string_interpolation: { fg: "#1bc26f" attr: "b" } + shape_table: { fg: "#1b6fc2" attr: "b" } + shape_variable: "#6f1bc2" + + background: "#feffee" + foreground: "#23476a" + cursor: "#23476a" +}} \ No newline at end of file diff --git a/themes/themes/urple.nu b/themes/themes/urple.nu index 72420f1..9083c18 100644 --- a/themes/themes/urple.nu +++ b/themes/themes/urple.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the urple theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1b1b23" - # foreground: "#877a9b" - # cursor: "#877a9b" - - { - # color for nushell primitives - separator: "#bfa3ff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#29e620" - empty: "#564d9b" - bool: "#bfa3ff" - int: "#bfa3ff" - filesize: "#bfa3ff" - duration: "#bfa3ff" - date: "#bfa3ff" - range: "#bfa3ff" - float: "#bfa3ff" - string: "#bfa3ff" - nothing: "#bfa3ff" - binary: "#bfa3ff" - cellpath: "#bfa3ff" - row_index: "#29e620" - record: "#bfa3ff" - list: "#bfa3ff" - block: "#bfa3ff" - hints: "#5d3225" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a05eee" - shape_bool: "#eaeaea" - shape_int: "#a05eee" - shape_float: "#a05eee" - shape_range: "#f08161" - shape_internalcall: "#eaeaea" - shape_external: "#808080" - shape_externalarg: "#29e620" - shape_literal: "#564d9b" - shape_operator: "#ad5c42" - shape_signature: "#29e620" - shape_string: "#37a415" - shape_string_interpolation: "#eaeaea" - shape_datetime: "#eaeaea" - shape_list: "#eaeaea" - shape_table: "#867aed" - shape_record: "#eaeaea" - shape_block: "#867aed" - shape_filepath: "#808080" - shape_globpattern: "#eaeaea" - shape_variable: "#6c3ca1" - shape_flag: "#867aed" - shape_custom: "#37a415" - shape_nothing: "#eaeaea" +export def main [] { return { + separator: "#87799c" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#37a415" attr: "b" } + empty: "#564d9b" + bool: {|| if $in { "#eaeaea" } else { "light_gray" } } + int: "#87799c" + filesize: {|e| + if $e == 0b { + "#87799c" + } else if $e < 1mb { + "#808080" + } else {{ fg: "#564d9b" }} } -} + duration: "#87799c" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b0425b" attr: "b" } + } else if $in < 6hr { + "#b0425b" + } else if $in < 1day { + "#ad5c42" + } else if $in < 3day { + "#37a415" + } else if $in < 1wk { + { fg: "#37a415" attr: "b" } + } else if $in < 6wk { + "#808080" + } else if $in < 52wk { + "#564d9b" + } else { "dark_gray" } + } + range: "#87799c" + float: "#87799c" + string: "#87799c" + nothing: "#87799c" + binary: "#87799c" + cellpath: "#87799c" + row_index: { fg: "#37a415" attr: "b" } + record: "#87799c" + list: "#87799c" + block: "#87799c" + hints: "dark_gray" + + shape_and: { fg: "#6c3ca1" attr: "b" } + shape_binary: { fg: "#6c3ca1" attr: "b" } + shape_block: { fg: "#564d9b" attr: "b" } + shape_bool: "#eaeaea" + shape_custom: "#37a415" + shape_datetime: { fg: "#808080" attr: "b" } + shape_directory: "#808080" + shape_external: "#808080" + shape_externalarg: { fg: "#37a415" attr: "b" } + shape_filepath: "#808080" + shape_flag: { fg: "#564d9b" attr: "b" } + shape_float: { fg: "#6c3ca1" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#808080" attr: "b" } + shape_int: { fg: "#6c3ca1" attr: "b" } + shape_internalcall: { fg: "#808080" attr: "b" } + shape_list: { fg: "#808080" attr: "b" } + shape_literal: "#564d9b" + shape_match_pattern: "#37a415" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#eaeaea" + shape_operator: "#ad5c42" + shape_or: { fg: "#6c3ca1" attr: "b" } + shape_pipe: { fg: "#6c3ca1" attr: "b" } + shape_range: { fg: "#ad5c42" attr: "b" } + shape_record: { fg: "#808080" attr: "b" } + shape_redirection: { fg: "#6c3ca1" attr: "b" } + shape_signature: { fg: "#37a415" attr: "b" } + shape_string: "#37a415" + shape_string_interpolation: { fg: "#808080" attr: "b" } + shape_table: { fg: "#564d9b" attr: "b" } + shape_variable: "#6c3ca1" + + background: "#1b1b23" + foreground: "#877a9b" + cursor: "#877a9b" +}} \ No newline at end of file diff --git a/themes/themes/vag.nu b/themes/themes/vag.nu index 4f71980..389525e 100644 --- a/themes/themes/vag.nu +++ b/themes/themes/vag.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the vag theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#191f1d" - # foreground: "#d9e6f2" - # cursor: "#d9e6f2" - - { - # color for nushell primitives - separator: "#cfcfcf" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#3bb076" - empty: "#7139a8" - bool: "#cfcfcf" - int: "#cfcfcf" - filesize: "#cfcfcf" - duration: "#cfcfcf" - date: "#cfcfcf" - range: "#cfcfcf" - float: "#cfcfcf" - string: "#cfcfcf" - nothing: "#cfcfcf" - binary: "#cfcfcf" - cellpath: "#cfcfcf" - row_index: "#3bb076" - record: "#cfcfcf" - list: "#cfcfcf" - block: "#cfcfcf" - hints: "#494949" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b03b76" - shape_bool: "#3b76b0" - shape_int: "#b03b76" - shape_float: "#b03b76" - shape_range: "#76b03b" - shape_internalcall: "#3b76b0" - shape_external: "#3971a8" - shape_externalarg: "#3bb076" - shape_literal: "#7139a8" - shape_operator: "#71a839" - shape_signature: "#3bb076" - shape_string: "#39a871" - shape_string_interpolation: "#3b76b0" - shape_datetime: "#3b76b0" - shape_list: "#3b76b0" - shape_table: "#763bb0" - shape_record: "#3b76b0" - shape_block: "#763bb0" - shape_filepath: "#3971a8" - shape_globpattern: "#3b76b0" - shape_variable: "#a83971" - shape_flag: "#763bb0" - shape_custom: "#39a871" - shape_nothing: "#3b76b0" +export def main [] { return { + separator: "#8a8a8a" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#39a871" attr: "b" } + empty: "#7139a8" + bool: {|| if $in { "#3b76b0" } else { "light_gray" } } + int: "#8a8a8a" + filesize: {|e| + if $e == 0b { + "#8a8a8a" + } else if $e < 1mb { + "#3971a8" + } else {{ fg: "#7139a8" }} } -} + duration: "#8a8a8a" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a87139" attr: "b" } + } else if $in < 6hr { + "#a87139" + } else if $in < 1day { + "#71a839" + } else if $in < 3day { + "#39a871" + } else if $in < 1wk { + { fg: "#39a871" attr: "b" } + } else if $in < 6wk { + "#3971a8" + } else if $in < 52wk { + "#7139a8" + } else { "dark_gray" } + } + range: "#8a8a8a" + float: "#8a8a8a" + string: "#8a8a8a" + nothing: "#8a8a8a" + binary: "#8a8a8a" + cellpath: "#8a8a8a" + row_index: { fg: "#39a871" attr: "b" } + record: "#8a8a8a" + list: "#8a8a8a" + block: "#8a8a8a" + hints: "dark_gray" + + shape_and: { fg: "#a83971" attr: "b" } + shape_binary: { fg: "#a83971" attr: "b" } + shape_block: { fg: "#7139a8" attr: "b" } + shape_bool: "#3b76b0" + shape_custom: "#39a871" + shape_datetime: { fg: "#3971a8" attr: "b" } + shape_directory: "#3971a8" + shape_external: "#3971a8" + shape_externalarg: { fg: "#39a871" attr: "b" } + shape_filepath: "#3971a8" + shape_flag: { fg: "#7139a8" attr: "b" } + shape_float: { fg: "#a83971" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3971a8" attr: "b" } + shape_int: { fg: "#a83971" attr: "b" } + shape_internalcall: { fg: "#3971a8" attr: "b" } + shape_list: { fg: "#3971a8" attr: "b" } + shape_literal: "#7139a8" + shape_match_pattern: "#39a871" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3b76b0" + shape_operator: "#71a839" + shape_or: { fg: "#a83971" attr: "b" } + shape_pipe: { fg: "#a83971" attr: "b" } + shape_range: { fg: "#71a839" attr: "b" } + shape_record: { fg: "#3971a8" attr: "b" } + shape_redirection: { fg: "#a83971" attr: "b" } + shape_signature: { fg: "#39a871" attr: "b" } + shape_string: "#39a871" + shape_string_interpolation: { fg: "#3971a8" attr: "b" } + shape_table: { fg: "#7139a8" attr: "b" } + shape_variable: "#a83971" + + background: "#191f1d" + foreground: "#d9e6f2" + cursor: "#d9e6f2" +}} \ No newline at end of file diff --git a/themes/themes/vaughn.nu b/themes/themes/vaughn.nu index 5db5d40..271dc71 100644 --- a/themes/themes/vaughn.nu +++ b/themes/themes/vaughn.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the vaughn theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#25234f" - # foreground: "#dcdccc" - # cursor: "#dcdccc" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#60b48a" - empty: "#5555ff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#60b48a" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#709080" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ec93d3" - shape_bool: "#93e0e3" - shape_int: "#ec93d3" - shape_float: "#ec93d3" - shape_range: "#f0dfaf" - shape_internalcall: "#93e0e3" - shape_external: "#8cd0d3" - shape_externalarg: "#60b48a" - shape_literal: "#5555ff" - shape_operator: "#dfaf8f" - shape_signature: "#60b48a" - shape_string: "#60b48a" - shape_string_interpolation: "#93e0e3" - shape_datetime: "#93e0e3" - shape_list: "#93e0e3" - shape_table: "#5555ff" - shape_record: "#93e0e3" - shape_block: "#5555ff" - shape_filepath: "#8cd0d3" - shape_globpattern: "#93e0e3" - shape_variable: "#f08cc3" - shape_flag: "#5555ff" - shape_custom: "#60b48a" - shape_nothing: "#93e0e3" +export def main [] { return { + separator: "#709080" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#60b48a" attr: "b" } + empty: "#5555ff" + bool: {|| if $in { "#93e0e3" } else { "light_gray" } } + int: "#709080" + filesize: {|e| + if $e == 0b { + "#709080" + } else if $e < 1mb { + "#8cd0d3" + } else {{ fg: "#5555ff" }} } -} + duration: "#709080" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#705050" attr: "b" } + } else if $in < 6hr { + "#705050" + } else if $in < 1day { + "#dfaf8f" + } else if $in < 3day { + "#60b48a" + } else if $in < 1wk { + { fg: "#60b48a" attr: "b" } + } else if $in < 6wk { + "#8cd0d3" + } else if $in < 52wk { + "#5555ff" + } else { "dark_gray" } + } + range: "#709080" + float: "#709080" + string: "#709080" + nothing: "#709080" + binary: "#709080" + cellpath: "#709080" + row_index: { fg: "#60b48a" attr: "b" } + record: "#709080" + list: "#709080" + block: "#709080" + hints: "dark_gray" + + shape_and: { fg: "#f08cc3" attr: "b" } + shape_binary: { fg: "#f08cc3" attr: "b" } + shape_block: { fg: "#5555ff" attr: "b" } + shape_bool: "#93e0e3" + shape_custom: "#60b48a" + shape_datetime: { fg: "#8cd0d3" attr: "b" } + shape_directory: "#8cd0d3" + shape_external: "#8cd0d3" + shape_externalarg: { fg: "#60b48a" attr: "b" } + shape_filepath: "#8cd0d3" + shape_flag: { fg: "#5555ff" attr: "b" } + shape_float: { fg: "#f08cc3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#8cd0d3" attr: "b" } + shape_int: { fg: "#f08cc3" attr: "b" } + shape_internalcall: { fg: "#8cd0d3" attr: "b" } + shape_list: { fg: "#8cd0d3" attr: "b" } + shape_literal: "#5555ff" + shape_match_pattern: "#60b48a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#93e0e3" + shape_operator: "#dfaf8f" + shape_or: { fg: "#f08cc3" attr: "b" } + shape_pipe: { fg: "#f08cc3" attr: "b" } + shape_range: { fg: "#dfaf8f" attr: "b" } + shape_record: { fg: "#8cd0d3" attr: "b" } + shape_redirection: { fg: "#f08cc3" attr: "b" } + shape_signature: { fg: "#60b48a" attr: "b" } + shape_string: "#60b48a" + shape_string_interpolation: { fg: "#8cd0d3" attr: "b" } + shape_table: { fg: "#5555ff" attr: "b" } + shape_variable: "#f08cc3" + + background: "#25234f" + foreground: "#dcdccc" + cursor: "#dcdccc" +}} \ No newline at end of file diff --git a/themes/themes/vibrant-ink.nu b/themes/themes/vibrant-ink.nu index ec53d31..405b294 100644 --- a/themes/themes/vibrant-ink.nu +++ b/themes/themes/vibrant-ink.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the vibrant_ink theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#ffffff" - # cursor: "#ffffff" - - { - # color for nushell primitives - separator: "#e5e5e5" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00ff00" - empty: "#44b4cc" - bool: "#e5e5e5" - int: "#e5e5e5" - filesize: "#e5e5e5" - duration: "#e5e5e5" - date: "#e5e5e5" - range: "#e5e5e5" - float: "#e5e5e5" - string: "#e5e5e5" - nothing: "#e5e5e5" - binary: "#e5e5e5" - cellpath: "#e5e5e5" - row_index: "#00ff00" - record: "#e5e5e5" - list: "#e5e5e5" - block: "#e5e5e5" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff00ff" - shape_bool: "#00ffff" - shape_int: "#ff00ff" - shape_float: "#ff00ff" - shape_range: "#ffff00" - shape_internalcall: "#00ffff" - shape_external: "#44b4cc" - shape_externalarg: "#00ff00" - shape_literal: "#44b4cc" - shape_operator: "#ffcc00" - shape_signature: "#00ff00" - shape_string: "#ccff04" - shape_string_interpolation: "#00ffff" - shape_datetime: "#00ffff" - shape_list: "#00ffff" - shape_table: "#0000ff" - shape_record: "#00ffff" - shape_block: "#0000ff" - shape_filepath: "#44b4cc" - shape_globpattern: "#00ffff" - shape_variable: "#9933cc" - shape_flag: "#0000ff" - shape_custom: "#ccff04" - shape_nothing: "#00ffff" +export def main [] { return { + separator: "#f5f5f5" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#ccff04" attr: "b" } + empty: "#44b4cc" + bool: {|| if $in { "#00ffff" } else { "light_gray" } } + int: "#f5f5f5" + filesize: {|e| + if $e == 0b { + "#f5f5f5" + } else if $e < 1mb { + "#44b4cc" + } else {{ fg: "#44b4cc" }} } -} + duration: "#f5f5f5" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff6600" attr: "b" } + } else if $in < 6hr { + "#ff6600" + } else if $in < 1day { + "#ffcc00" + } else if $in < 3day { + "#ccff04" + } else if $in < 1wk { + { fg: "#ccff04" attr: "b" } + } else if $in < 6wk { + "#44b4cc" + } else if $in < 52wk { + "#44b4cc" + } else { "dark_gray" } + } + range: "#f5f5f5" + float: "#f5f5f5" + string: "#f5f5f5" + nothing: "#f5f5f5" + binary: "#f5f5f5" + cellpath: "#f5f5f5" + row_index: { fg: "#ccff04" attr: "b" } + record: "#f5f5f5" + list: "#f5f5f5" + block: "#f5f5f5" + hints: "dark_gray" + + shape_and: { fg: "#9933cc" attr: "b" } + shape_binary: { fg: "#9933cc" attr: "b" } + shape_block: { fg: "#44b4cc" attr: "b" } + shape_bool: "#00ffff" + shape_custom: "#ccff04" + shape_datetime: { fg: "#44b4cc" attr: "b" } + shape_directory: "#44b4cc" + shape_external: "#44b4cc" + shape_externalarg: { fg: "#ccff04" attr: "b" } + shape_filepath: "#44b4cc" + shape_flag: { fg: "#44b4cc" attr: "b" } + shape_float: { fg: "#9933cc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#44b4cc" attr: "b" } + shape_int: { fg: "#9933cc" attr: "b" } + shape_internalcall: { fg: "#44b4cc" attr: "b" } + shape_list: { fg: "#44b4cc" attr: "b" } + shape_literal: "#44b4cc" + shape_match_pattern: "#ccff04" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00ffff" + shape_operator: "#ffcc00" + shape_or: { fg: "#9933cc" attr: "b" } + shape_pipe: { fg: "#9933cc" attr: "b" } + shape_range: { fg: "#ffcc00" attr: "b" } + shape_record: { fg: "#44b4cc" attr: "b" } + shape_redirection: { fg: "#9933cc" attr: "b" } + shape_signature: { fg: "#ccff04" attr: "b" } + shape_string: "#ccff04" + shape_string_interpolation: { fg: "#44b4cc" attr: "b" } + shape_table: { fg: "#44b4cc" attr: "b" } + shape_variable: "#9933cc" + + background: "#000000" + foreground: "#ffffff" + cursor: "#ffffff" +}} \ No newline at end of file diff --git a/themes/themes/vs-code-dark-plus.nu b/themes/themes/vs-code-dark-plus.nu index 3f9bf6f..1072425 100644 --- a/themes/themes/vs-code-dark-plus.nu +++ b/themes/themes/vs-code-dark-plus.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the vs_code-dark-plus theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1e1e1e" - # foreground: "#cccccc" - # cursor: "#cccccc" - - { - # color for nushell primitives - separator: "#d9fbff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00ff9a" - empty: "#44aae6" - bool: "#d9fbff" - int: "#d9fbff" - filesize: "#d9fbff" - duration: "#d9fbff" - date: "#d9fbff" - range: "#d9fbff" - float: "#d9fbff" - string: "#d9fbff" - nothing: "#d9fbff" - binary: "#d9fbff" - cellpath: "#d9fbff" - row_index: "#00ff9a" - record: "#d9fbff" - list: "#d9fbff" - block: "#d9fbff" - hints: "#598489" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff578f" - shape_bool: "#5fffff" - shape_int: "#ff578f" - shape_float: "#ff578f" - shape_range: "#e89440" - shape_internalcall: "#5fffff" - shape_external: "#3dd5e7" - shape_externalarg: "#00ff9a" - shape_literal: "#44aae6" - shape_operator: "#e5b684" - shape_signature: "#00ff9a" - shape_string: "#39e9a8" - shape_string_interpolation: "#5fffff" - shape_datetime: "#5fffff" - shape_list: "#5fffff" - shape_table: "#009afb" - shape_record: "#5fffff" - shape_block: "#009afb" - shape_filepath: "#3dd5e7" - shape_globpattern: "#5fffff" - shape_variable: "#e17599" - shape_flag: "#009afb" - shape_custom: "#39e9a8" - shape_nothing: "#5fffff" +export def main [] { return { + separator: "#c3dde1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#39e9a8" attr: "b" } + empty: "#44aae6" + bool: {|| if $in { "#5fffff" } else { "light_gray" } } + int: "#c3dde1" + filesize: {|e| + if $e == 0b { + "#c3dde1" + } else if $e < 1mb { + "#3dd5e7" + } else {{ fg: "#44aae6" }} } -} + duration: "#c3dde1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e9653b" attr: "b" } + } else if $in < 6hr { + "#e9653b" + } else if $in < 1day { + "#e5b684" + } else if $in < 3day { + "#39e9a8" + } else if $in < 1wk { + { fg: "#39e9a8" attr: "b" } + } else if $in < 6wk { + "#3dd5e7" + } else if $in < 52wk { + "#44aae6" + } else { "dark_gray" } + } + range: "#c3dde1" + float: "#c3dde1" + string: "#c3dde1" + nothing: "#c3dde1" + binary: "#c3dde1" + cellpath: "#c3dde1" + row_index: { fg: "#39e9a8" attr: "b" } + record: "#c3dde1" + list: "#c3dde1" + block: "#c3dde1" + hints: "dark_gray" + + shape_and: { fg: "#e17599" attr: "b" } + shape_binary: { fg: "#e17599" attr: "b" } + shape_block: { fg: "#44aae6" attr: "b" } + shape_bool: "#5fffff" + shape_custom: "#39e9a8" + shape_datetime: { fg: "#3dd5e7" attr: "b" } + shape_directory: "#3dd5e7" + shape_external: "#3dd5e7" + shape_externalarg: { fg: "#39e9a8" attr: "b" } + shape_filepath: "#3dd5e7" + shape_flag: { fg: "#44aae6" attr: "b" } + shape_float: { fg: "#e17599" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3dd5e7" attr: "b" } + shape_int: { fg: "#e17599" attr: "b" } + shape_internalcall: { fg: "#3dd5e7" attr: "b" } + shape_list: { fg: "#3dd5e7" attr: "b" } + shape_literal: "#44aae6" + shape_match_pattern: "#39e9a8" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5fffff" + shape_operator: "#e5b684" + shape_or: { fg: "#e17599" attr: "b" } + shape_pipe: { fg: "#e17599" attr: "b" } + shape_range: { fg: "#e5b684" attr: "b" } + shape_record: { fg: "#3dd5e7" attr: "b" } + shape_redirection: { fg: "#e17599" attr: "b" } + shape_signature: { fg: "#39e9a8" attr: "b" } + shape_string: "#39e9a8" + shape_string_interpolation: { fg: "#3dd5e7" attr: "b" } + shape_table: { fg: "#44aae6" attr: "b" } + shape_variable: "#e17599" + + background: "#1e1e1e" + foreground: "#cccccc" + cursor: "#cccccc" +}} \ No newline at end of file diff --git a/themes/themes/vulcan.nu b/themes/themes/vulcan.nu index 349a33c..9ba6acd 100644 --- a/themes/themes/vulcan.nu +++ b/themes/themes/vulcan.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the vulcan theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#041523" - # foreground: "#5b778c" - # cursor: "#5b778c" - - { - # color for nushell primitives - separator: "#214d68" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#977d7c" - empty: "#977d7c" - bool: "#214d68" - int: "#214d68" - filesize: "#214d68" - duration: "#214d68" - date: "#214d68" - range: "#214d68" - float: "#214d68" - string: "#214d68" - nothing: "#214d68" - binary: "#214d68" - cellpath: "#214d68" - row_index: "#977d7c" - record: "#214d68" - list: "#214d68" - block: "#214d68" - hints: "#7a5759" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9198a3" - shape_bool: "#977d7c" - shape_int: "#9198a3" - shape_float: "#9198a3" - shape_range: "#adb4b9" - shape_internalcall: "#977d7c" - shape_external: "#977d7c" - shape_externalarg: "#977d7c" - shape_literal: "#977d7c" - shape_operator: "#adb4b9" - shape_signature: "#977d7c" - shape_string: "#977d7c" - shape_string_interpolation: "#977d7c" - shape_datetime: "#977d7c" - shape_list: "#977d7c" - shape_table: "#977d7c" - shape_record: "#977d7c" - shape_block: "#977d7c" - shape_filepath: "#977d7c" - shape_globpattern: "#977d7c" - shape_variable: "#9198a3" - shape_flag: "#977d7c" - shape_custom: "#977d7c" - shape_nothing: "#977d7c" +export def main [] { return { + separator: "#5b778c" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#977d7c" attr: "b" } + empty: "#977d7c" + bool: {|| if $in { "#977d7c" } else { "light_gray" } } + int: "#5b778c" + filesize: {|e| + if $e == 0b { + "#5b778c" + } else if $e < 1mb { + "#977d7c" + } else {{ fg: "#977d7c" }} } -} + duration: "#5b778c" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#818591" attr: "b" } + } else if $in < 6hr { + "#818591" + } else if $in < 1day { + "#adb4b9" + } else if $in < 3day { + "#977d7c" + } else if $in < 1wk { + { fg: "#977d7c" attr: "b" } + } else if $in < 6wk { + "#977d7c" + } else if $in < 52wk { + "#977d7c" + } else { "dark_gray" } + } + range: "#5b778c" + float: "#5b778c" + string: "#5b778c" + nothing: "#5b778c" + binary: "#5b778c" + cellpath: "#5b778c" + row_index: { fg: "#977d7c" attr: "b" } + record: "#5b778c" + list: "#5b778c" + block: "#5b778c" + hints: "dark_gray" + + shape_and: { fg: "#9198a3" attr: "b" } + shape_binary: { fg: "#9198a3" attr: "b" } + shape_block: { fg: "#977d7c" attr: "b" } + shape_bool: "#977d7c" + shape_custom: "#977d7c" + shape_datetime: { fg: "#977d7c" attr: "b" } + shape_directory: "#977d7c" + shape_external: "#977d7c" + shape_externalarg: { fg: "#977d7c" attr: "b" } + shape_filepath: "#977d7c" + shape_flag: { fg: "#977d7c" attr: "b" } + shape_float: { fg: "#9198a3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#977d7c" attr: "b" } + shape_int: { fg: "#9198a3" attr: "b" } + shape_internalcall: { fg: "#977d7c" attr: "b" } + shape_list: { fg: "#977d7c" attr: "b" } + shape_literal: "#977d7c" + shape_match_pattern: "#977d7c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#977d7c" + shape_operator: "#adb4b9" + shape_or: { fg: "#9198a3" attr: "b" } + shape_pipe: { fg: "#9198a3" attr: "b" } + shape_range: { fg: "#adb4b9" attr: "b" } + shape_record: { fg: "#977d7c" attr: "b" } + shape_redirection: { fg: "#9198a3" attr: "b" } + shape_signature: { fg: "#977d7c" attr: "b" } + shape_string: "#977d7c" + shape_string_interpolation: { fg: "#977d7c" attr: "b" } + shape_table: { fg: "#977d7c" attr: "b" } + shape_variable: "#9198a3" + + background: "#041523" + foreground: "#5b778c" + cursor: "#5b778c" +}} \ No newline at end of file diff --git a/themes/themes/warm-neon.nu b/themes/themes/warm-neon.nu index 94cdd92..0d5a27b 100644 --- a/themes/themes/warm-neon.nu +++ b/themes/themes/warm-neon.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the warm_neon theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#404040" - # foreground: "#afdab6" - # cursor: "#afdab6" - - { - # color for nushell primitives - separator: "#d8c8bb" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#9cc090" - empty: "#4261c5" - bool: "#d8c8bb" - int: "#d8c8bb" - filesize: "#d8c8bb" - duration: "#d8c8bb" - date: "#d8c8bb" - range: "#d8c8bb" - float: "#d8c8bb" - string: "#d8c8bb" - nothing: "#d8c8bb" - binary: "#d8c8bb" - cellpath: "#d8c8bb" - row_index: "#9cc090" - record: "#d8c8bb" - list: "#d8c8bb" - block: "#d8c8bb" - hints: "#fefcfc" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#f674ba" - shape_bool: "#5ed1e5" - shape_int: "#f674ba" - shape_float: "#f674ba" - shape_range: "#ddda7a" - shape_internalcall: "#5ed1e5" - shape_external: "#2abbd4" - shape_externalarg: "#9cc090" - shape_literal: "#4261c5" - shape_operator: "#dae145" - shape_signature: "#9cc090" - shape_string: "#39b13a" - shape_string_interpolation: "#5ed1e5" - shape_datetime: "#5ed1e5" - shape_list: "#5ed1e5" - shape_table: "#7b91d6" - shape_record: "#5ed1e5" - shape_block: "#7b91d6" - shape_filepath: "#2abbd4" - shape_globpattern: "#5ed1e5" - shape_variable: "#f920fb" - shape_flag: "#7b91d6" - shape_custom: "#39b13a" - shape_nothing: "#5ed1e5" +export def main [] { return { + separator: "#d0b8a3" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#39b13a" attr: "b" } + empty: "#4261c5" + bool: {|| if $in { "#5ed1e5" } else { "light_gray" } } + int: "#d0b8a3" + filesize: {|e| + if $e == 0b { + "#d0b8a3" + } else if $e < 1mb { + "#2abbd4" + } else {{ fg: "#4261c5" }} } -} + duration: "#d0b8a3" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e24346" attr: "b" } + } else if $in < 6hr { + "#e24346" + } else if $in < 1day { + "#dae145" + } else if $in < 3day { + "#39b13a" + } else if $in < 1wk { + { fg: "#39b13a" attr: "b" } + } else if $in < 6wk { + "#2abbd4" + } else if $in < 52wk { + "#4261c5" + } else { "dark_gray" } + } + range: "#d0b8a3" + float: "#d0b8a3" + string: "#d0b8a3" + nothing: "#d0b8a3" + binary: "#d0b8a3" + cellpath: "#d0b8a3" + row_index: { fg: "#39b13a" attr: "b" } + record: "#d0b8a3" + list: "#d0b8a3" + block: "#d0b8a3" + hints: "dark_gray" + + shape_and: { fg: "#f920fb" attr: "b" } + shape_binary: { fg: "#f920fb" attr: "b" } + shape_block: { fg: "#4261c5" attr: "b" } + shape_bool: "#5ed1e5" + shape_custom: "#39b13a" + shape_datetime: { fg: "#2abbd4" attr: "b" } + shape_directory: "#2abbd4" + shape_external: "#2abbd4" + shape_externalarg: { fg: "#39b13a" attr: "b" } + shape_filepath: "#2abbd4" + shape_flag: { fg: "#4261c5" attr: "b" } + shape_float: { fg: "#f920fb" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#2abbd4" attr: "b" } + shape_int: { fg: "#f920fb" attr: "b" } + shape_internalcall: { fg: "#2abbd4" attr: "b" } + shape_list: { fg: "#2abbd4" attr: "b" } + shape_literal: "#4261c5" + shape_match_pattern: "#39b13a" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#5ed1e5" + shape_operator: "#dae145" + shape_or: { fg: "#f920fb" attr: "b" } + shape_pipe: { fg: "#f920fb" attr: "b" } + shape_range: { fg: "#dae145" attr: "b" } + shape_record: { fg: "#2abbd4" attr: "b" } + shape_redirection: { fg: "#f920fb" attr: "b" } + shape_signature: { fg: "#39b13a" attr: "b" } + shape_string: "#39b13a" + shape_string_interpolation: { fg: "#2abbd4" attr: "b" } + shape_table: { fg: "#4261c5" attr: "b" } + shape_variable: "#f920fb" + + background: "#404040" + foreground: "#afdab6" + cursor: "#afdab6" +}} \ No newline at end of file diff --git a/themes/themes/wez.nu b/themes/themes/wez.nu index 26203ee..c36d19f 100644 --- a/themes/themes/wez.nu +++ b/themes/themes/wez.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the wez theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#b3b3b3" - # cursor: "#b3b3b3" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#55ff55" - empty: "#5555cc" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#55ff55" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#555555" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff55ff" - shape_bool: "#55ffff" - shape_int: "#ff55ff" - shape_float: "#ff55ff" - shape_range: "#ffff55" - shape_internalcall: "#55ffff" - shape_external: "#7acaca" - shape_externalarg: "#55ff55" - shape_literal: "#5555cc" - shape_operator: "#cdcd55" - shape_signature: "#55ff55" - shape_string: "#55cc55" - shape_string_interpolation: "#55ffff" - shape_datetime: "#55ffff" - shape_list: "#55ffff" - shape_table: "#5555ff" - shape_record: "#55ffff" - shape_block: "#5555ff" - shape_filepath: "#7acaca" - shape_globpattern: "#55ffff" - shape_variable: "#cc55cc" - shape_flag: "#5555ff" - shape_custom: "#55cc55" - shape_nothing: "#55ffff" +export def main [] { return { + separator: "#cccccc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#55cc55" attr: "b" } + empty: "#5555cc" + bool: {|| if $in { "#55ffff" } else { "light_gray" } } + int: "#cccccc" + filesize: {|e| + if $e == 0b { + "#cccccc" + } else if $e < 1mb { + "#7acaca" + } else {{ fg: "#5555cc" }} } -} + duration: "#cccccc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#cc5555" attr: "b" } + } else if $in < 6hr { + "#cc5555" + } else if $in < 1day { + "#cdcd55" + } else if $in < 3day { + "#55cc55" + } else if $in < 1wk { + { fg: "#55cc55" attr: "b" } + } else if $in < 6wk { + "#7acaca" + } else if $in < 52wk { + "#5555cc" + } else { "dark_gray" } + } + range: "#cccccc" + float: "#cccccc" + string: "#cccccc" + nothing: "#cccccc" + binary: "#cccccc" + cellpath: "#cccccc" + row_index: { fg: "#55cc55" attr: "b" } + record: "#cccccc" + list: "#cccccc" + block: "#cccccc" + hints: "dark_gray" + + shape_and: { fg: "#cc55cc" attr: "b" } + shape_binary: { fg: "#cc55cc" attr: "b" } + shape_block: { fg: "#5555cc" attr: "b" } + shape_bool: "#55ffff" + shape_custom: "#55cc55" + shape_datetime: { fg: "#7acaca" attr: "b" } + shape_directory: "#7acaca" + shape_external: "#7acaca" + shape_externalarg: { fg: "#55cc55" attr: "b" } + shape_filepath: "#7acaca" + shape_flag: { fg: "#5555cc" attr: "b" } + shape_float: { fg: "#cc55cc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#7acaca" attr: "b" } + shape_int: { fg: "#cc55cc" attr: "b" } + shape_internalcall: { fg: "#7acaca" attr: "b" } + shape_list: { fg: "#7acaca" attr: "b" } + shape_literal: "#5555cc" + shape_match_pattern: "#55cc55" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#55ffff" + shape_operator: "#cdcd55" + shape_or: { fg: "#cc55cc" attr: "b" } + shape_pipe: { fg: "#cc55cc" attr: "b" } + shape_range: { fg: "#cdcd55" attr: "b" } + shape_record: { fg: "#7acaca" attr: "b" } + shape_redirection: { fg: "#cc55cc" attr: "b" } + shape_signature: { fg: "#55cc55" attr: "b" } + shape_string: "#55cc55" + shape_string_interpolation: { fg: "#7acaca" attr: "b" } + shape_table: { fg: "#5555cc" attr: "b" } + shape_variable: "#cc55cc" + + background: "#000000" + foreground: "#b3b3b3" + cursor: "#b3b3b3" +}} \ No newline at end of file diff --git a/themes/themes/wild-cherry.nu b/themes/themes/wild-cherry.nu index 1687c3b..59e357a 100644 --- a/themes/themes/wild-cherry.nu +++ b/themes/themes/wild-cherry.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the wild_cherry theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#1f1726" - # foreground: "#dafaff" - # cursor: "#dafaff" - - { - # color for nushell primitives - separator: "#e4838d" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#f4dca5" - empty: "#883cdc" - bool: "#e4838d" - int: "#e4838d" - filesize: "#e4838d" - duration: "#e4838d" - date: "#e4838d" - range: "#e4838d" - float: "#e4838d" - string: "#e4838d" - nothing: "#e4838d" - binary: "#e4838d" - cellpath: "#e4838d" - row_index: "#f4dca5" - record: "#e4838d" - list: "#e4838d" - block: "#e4838d" - hints: "#009cc9" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ae636b" - shape_bool: "#ff919d" - shape_int: "#ae636b" - shape_float: "#ae636b" - shape_range: "#eac066" - shape_internalcall: "#ff919d" - shape_external: "#c1b8b7" - shape_externalarg: "#f4dca5" - shape_literal: "#883cdc" - shape_operator: "#ffd16f" - shape_signature: "#f4dca5" - shape_string: "#2ab250" - shape_string_interpolation: "#ff919d" - shape_datetime: "#ff919d" - shape_list: "#ff919d" - shape_table: "#308cba" - shape_record: "#ff919d" - shape_block: "#308cba" - shape_filepath: "#c1b8b7" - shape_globpattern: "#ff919d" - shape_variable: "#ececec" - shape_flag: "#308cba" - shape_custom: "#2ab250" - shape_nothing: "#ff919d" +export def main [] { return { + separator: "#fff8de" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#2ab250" attr: "b" } + empty: "#883cdc" + bool: {|| if $in { "#ff919d" } else { "light_gray" } } + int: "#fff8de" + filesize: {|e| + if $e == 0b { + "#fff8de" + } else if $e < 1mb { + "#c1b8b7" + } else {{ fg: "#883cdc" }} } -} + duration: "#fff8de" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d94085" attr: "b" } + } else if $in < 6hr { + "#d94085" + } else if $in < 1day { + "#ffd16f" + } else if $in < 3day { + "#2ab250" + } else if $in < 1wk { + { fg: "#2ab250" attr: "b" } + } else if $in < 6wk { + "#c1b8b7" + } else if $in < 52wk { + "#883cdc" + } else { "dark_gray" } + } + range: "#fff8de" + float: "#fff8de" + string: "#fff8de" + nothing: "#fff8de" + binary: "#fff8de" + cellpath: "#fff8de" + row_index: { fg: "#2ab250" attr: "b" } + record: "#fff8de" + list: "#fff8de" + block: "#fff8de" + hints: "dark_gray" + + shape_and: { fg: "#ececec" attr: "b" } + shape_binary: { fg: "#ececec" attr: "b" } + shape_block: { fg: "#883cdc" attr: "b" } + shape_bool: "#ff919d" + shape_custom: "#2ab250" + shape_datetime: { fg: "#c1b8b7" attr: "b" } + shape_directory: "#c1b8b7" + shape_external: "#c1b8b7" + shape_externalarg: { fg: "#2ab250" attr: "b" } + shape_filepath: "#c1b8b7" + shape_flag: { fg: "#883cdc" attr: "b" } + shape_float: { fg: "#ececec" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#c1b8b7" attr: "b" } + shape_int: { fg: "#ececec" attr: "b" } + shape_internalcall: { fg: "#c1b8b7" attr: "b" } + shape_list: { fg: "#c1b8b7" attr: "b" } + shape_literal: "#883cdc" + shape_match_pattern: "#2ab250" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#ff919d" + shape_operator: "#ffd16f" + shape_or: { fg: "#ececec" attr: "b" } + shape_pipe: { fg: "#ececec" attr: "b" } + shape_range: { fg: "#ffd16f" attr: "b" } + shape_record: { fg: "#c1b8b7" attr: "b" } + shape_redirection: { fg: "#ececec" attr: "b" } + shape_signature: { fg: "#2ab250" attr: "b" } + shape_string: "#2ab250" + shape_string_interpolation: { fg: "#c1b8b7" attr: "b" } + shape_table: { fg: "#883cdc" attr: "b" } + shape_variable: "#ececec" + + background: "#1f1726" + foreground: "#dafaff" + cursor: "#dafaff" +}} \ No newline at end of file diff --git a/themes/themes/windows-10-light.nu b/themes/themes/windows-10-light.nu index 0a03980..106f9e7 100644 --- a/themes/themes/windows-10-light.nu +++ b/themes/themes/windows-10-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the windows_10-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#f2f2f2" - # foreground: "#767676" - # cursor: "#767676" - - { - # color for nushell primitives - separator: "#0c0c0c" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#13a10e" - empty: "#0037da" - bool: "#0c0c0c" - int: "#0c0c0c" - filesize: "#0c0c0c" - duration: "#0c0c0c" - date: "#0c0c0c" - range: "#0c0c0c" - float: "#0c0c0c" - string: "#0c0c0c" - nothing: "#0c0c0c" - binary: "#0c0c0c" - cellpath: "#0c0c0c" - row_index: "#13a10e" - record: "#0c0c0c" - list: "#0c0c0c" - block: "#0c0c0c" - hints: "#cccccc" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#881798" - shape_bool: "#3a96dd" - shape_int: "#881798" - shape_float: "#881798" - shape_range: "#c19c00" - shape_internalcall: "#3a96dd" - shape_external: "#3a96dd" - shape_externalarg: "#13a10e" - shape_literal: "#0037da" - shape_operator: "#c19c00" - shape_signature: "#13a10e" - shape_string: "#13a10e" - shape_string_interpolation: "#3a96dd" - shape_datetime: "#3a96dd" - shape_list: "#3a96dd" - shape_table: "#0037da" - shape_record: "#3a96dd" - shape_block: "#0037da" - shape_filepath: "#3a96dd" - shape_globpattern: "#3a96dd" - shape_variable: "#881798" - shape_flag: "#0037da" - shape_custom: "#13a10e" - shape_nothing: "#3a96dd" +export def main [] { return { + separator: "#767676" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#13a10e" attr: "b" } + empty: "#0037da" + bool: {|| if $in { "#3a96dd" } else { "light_gray" } } + int: "#767676" + filesize: {|e| + if $e == 0b { + "#767676" + } else if $e < 1mb { + "#3a96dd" + } else {{ fg: "#0037da" }} } -} + duration: "#767676" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#c50f1f" attr: "b" } + } else if $in < 6hr { + "#c50f1f" + } else if $in < 1day { + "#c19c00" + } else if $in < 3day { + "#13a10e" + } else if $in < 1wk { + { fg: "#13a10e" attr: "b" } + } else if $in < 6wk { + "#3a96dd" + } else if $in < 52wk { + "#0037da" + } else { "dark_gray" } + } + range: "#767676" + float: "#767676" + string: "#767676" + nothing: "#767676" + binary: "#767676" + cellpath: "#767676" + row_index: { fg: "#13a10e" attr: "b" } + record: "#767676" + list: "#767676" + block: "#767676" + hints: "dark_gray" + + shape_and: { fg: "#881798" attr: "b" } + shape_binary: { fg: "#881798" attr: "b" } + shape_block: { fg: "#0037da" attr: "b" } + shape_bool: "#3a96dd" + shape_custom: "#13a10e" + shape_datetime: { fg: "#3a96dd" attr: "b" } + shape_directory: "#3a96dd" + shape_external: "#3a96dd" + shape_externalarg: { fg: "#13a10e" attr: "b" } + shape_filepath: "#3a96dd" + shape_flag: { fg: "#0037da" attr: "b" } + shape_float: { fg: "#881798" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#3a96dd" attr: "b" } + shape_int: { fg: "#881798" attr: "b" } + shape_internalcall: { fg: "#3a96dd" attr: "b" } + shape_list: { fg: "#3a96dd" attr: "b" } + shape_literal: "#0037da" + shape_match_pattern: "#13a10e" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#3a96dd" + shape_operator: "#c19c00" + shape_or: { fg: "#881798" attr: "b" } + shape_pipe: { fg: "#881798" attr: "b" } + shape_range: { fg: "#c19c00" attr: "b" } + shape_record: { fg: "#3a96dd" attr: "b" } + shape_redirection: { fg: "#881798" attr: "b" } + shape_signature: { fg: "#13a10e" attr: "b" } + shape_string: "#13a10e" + shape_string_interpolation: { fg: "#3a96dd" attr: "b" } + shape_table: { fg: "#0037da" attr: "b" } + shape_variable: "#881798" + + background: "#f2f2f2" + foreground: "#767676" + cursor: "#767676" +}} \ No newline at end of file diff --git a/themes/themes/windows-10.nu b/themes/themes/windows-10.nu index ec6da52..5fd7172 100644 --- a/themes/themes/windows-10.nu +++ b/themes/themes/windows-10.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the windows_10 theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#0c0c0c" - # foreground: "#cccccc" - # cursor: "#cccccc" - - { - # color for nushell primitives - separator: "#f2f2f2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#16c60c" - empty: "#3b78ff" - bool: "#f2f2f2" - int: "#f2f2f2" - filesize: "#f2f2f2" - duration: "#f2f2f2" - date: "#f2f2f2" - range: "#f2f2f2" - float: "#f2f2f2" - string: "#f2f2f2" - nothing: "#f2f2f2" - binary: "#f2f2f2" - cellpath: "#f2f2f2" - row_index: "#16c60c" - record: "#f2f2f2" - list: "#f2f2f2" - block: "#f2f2f2" - hints: "#767676" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b4009e" - shape_bool: "#61d6d6" - shape_int: "#b4009e" - shape_float: "#b4009e" - shape_range: "#f9f1a5" - shape_internalcall: "#61d6d6" - shape_external: "#61d6d6" - shape_externalarg: "#16c60c" - shape_literal: "#3b78ff" - shape_operator: "#f9f1a5" - shape_signature: "#16c60c" - shape_string: "#16c60c" - shape_string_interpolation: "#61d6d6" - shape_datetime: "#61d6d6" - shape_list: "#61d6d6" - shape_table: "#3b78ff" - shape_record: "#61d6d6" - shape_block: "#3b78ff" - shape_filepath: "#61d6d6" - shape_globpattern: "#61d6d6" - shape_variable: "#b4009e" - shape_flag: "#3b78ff" - shape_custom: "#16c60c" - shape_nothing: "#61d6d6" +export def main [] { return { + separator: "#cccccc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#16c60c" attr: "b" } + empty: "#3b78ff" + bool: {|| if $in { "#61d6d6" } else { "light_gray" } } + int: "#cccccc" + filesize: {|e| + if $e == 0b { + "#cccccc" + } else if $e < 1mb { + "#61d6d6" + } else {{ fg: "#3b78ff" }} } -} + duration: "#cccccc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#e74856" attr: "b" } + } else if $in < 6hr { + "#e74856" + } else if $in < 1day { + "#f9f1a5" + } else if $in < 3day { + "#16c60c" + } else if $in < 1wk { + { fg: "#16c60c" attr: "b" } + } else if $in < 6wk { + "#61d6d6" + } else if $in < 52wk { + "#3b78ff" + } else { "dark_gray" } + } + range: "#cccccc" + float: "#cccccc" + string: "#cccccc" + nothing: "#cccccc" + binary: "#cccccc" + cellpath: "#cccccc" + row_index: { fg: "#16c60c" attr: "b" } + record: "#cccccc" + list: "#cccccc" + block: "#cccccc" + hints: "dark_gray" + + shape_and: { fg: "#b4009e" attr: "b" } + shape_binary: { fg: "#b4009e" attr: "b" } + shape_block: { fg: "#3b78ff" attr: "b" } + shape_bool: "#61d6d6" + shape_custom: "#16c60c" + shape_datetime: { fg: "#61d6d6" attr: "b" } + shape_directory: "#61d6d6" + shape_external: "#61d6d6" + shape_externalarg: { fg: "#16c60c" attr: "b" } + shape_filepath: "#61d6d6" + shape_flag: { fg: "#3b78ff" attr: "b" } + shape_float: { fg: "#b4009e" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#61d6d6" attr: "b" } + shape_int: { fg: "#b4009e" attr: "b" } + shape_internalcall: { fg: "#61d6d6" attr: "b" } + shape_list: { fg: "#61d6d6" attr: "b" } + shape_literal: "#3b78ff" + shape_match_pattern: "#16c60c" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#61d6d6" + shape_operator: "#f9f1a5" + shape_or: { fg: "#b4009e" attr: "b" } + shape_pipe: { fg: "#b4009e" attr: "b" } + shape_range: { fg: "#f9f1a5" attr: "b" } + shape_record: { fg: "#61d6d6" attr: "b" } + shape_redirection: { fg: "#b4009e" attr: "b" } + shape_signature: { fg: "#16c60c" attr: "b" } + shape_string: "#16c60c" + shape_string_interpolation: { fg: "#61d6d6" attr: "b" } + shape_table: { fg: "#3b78ff" attr: "b" } + shape_variable: "#b4009e" + + background: "#0c0c0c" + foreground: "#cccccc" + cursor: "#cccccc" +}} \ No newline at end of file diff --git a/themes/themes/windows-95-light.nu b/themes/themes/windows-95-light.nu index ab15cc6..cca83b1 100644 --- a/themes/themes/windows-95-light.nu +++ b/themes/themes/windows-95-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the windows_95-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fcfcfc" - # foreground: "#545454" - # cursor: "#545454" - - { - # color for nushell primitives - separator: "#000000" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00a800" - empty: "#0000a8" - bool: "#000000" - int: "#000000" - filesize: "#000000" - duration: "#000000" - date: "#000000" - range: "#000000" - float: "#000000" - string: "#000000" - nothing: "#000000" - binary: "#000000" - cellpath: "#000000" - row_index: "#00a800" - record: "#000000" - list: "#000000" - block: "#000000" - hints: "#a8a8a8" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#a800a8" - shape_bool: "#00a8a8" - shape_int: "#a800a8" - shape_float: "#a800a8" - shape_range: "#a85400" - shape_internalcall: "#00a8a8" - shape_external: "#00a8a8" - shape_externalarg: "#00a800" - shape_literal: "#0000a8" - shape_operator: "#a85400" - shape_signature: "#00a800" - shape_string: "#00a800" - shape_string_interpolation: "#00a8a8" - shape_datetime: "#00a8a8" - shape_list: "#00a8a8" - shape_table: "#0000a8" - shape_record: "#00a8a8" - shape_block: "#0000a8" - shape_filepath: "#00a8a8" - shape_globpattern: "#00a8a8" - shape_variable: "#a800a8" - shape_flag: "#0000a8" - shape_custom: "#00a800" - shape_nothing: "#00a8a8" +export def main [] { return { + separator: "#545454" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00a800" attr: "b" } + empty: "#0000a8" + bool: {|| if $in { "#00a8a8" } else { "light_gray" } } + int: "#545454" + filesize: {|e| + if $e == 0b { + "#545454" + } else if $e < 1mb { + "#00a8a8" + } else {{ fg: "#0000a8" }} } -} + duration: "#545454" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#a80000" attr: "b" } + } else if $in < 6hr { + "#a80000" + } else if $in < 1day { + "#a85400" + } else if $in < 3day { + "#00a800" + } else if $in < 1wk { + { fg: "#00a800" attr: "b" } + } else if $in < 6wk { + "#00a8a8" + } else if $in < 52wk { + "#0000a8" + } else { "dark_gray" } + } + range: "#545454" + float: "#545454" + string: "#545454" + nothing: "#545454" + binary: "#545454" + cellpath: "#545454" + row_index: { fg: "#00a800" attr: "b" } + record: "#545454" + list: "#545454" + block: "#545454" + hints: "dark_gray" + + shape_and: { fg: "#a800a8" attr: "b" } + shape_binary: { fg: "#a800a8" attr: "b" } + shape_block: { fg: "#0000a8" attr: "b" } + shape_bool: "#00a8a8" + shape_custom: "#00a800" + shape_datetime: { fg: "#00a8a8" attr: "b" } + shape_directory: "#00a8a8" + shape_external: "#00a8a8" + shape_externalarg: { fg: "#00a800" attr: "b" } + shape_filepath: "#00a8a8" + shape_flag: { fg: "#0000a8" attr: "b" } + shape_float: { fg: "#a800a8" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00a8a8" attr: "b" } + shape_int: { fg: "#a800a8" attr: "b" } + shape_internalcall: { fg: "#00a8a8" attr: "b" } + shape_list: { fg: "#00a8a8" attr: "b" } + shape_literal: "#0000a8" + shape_match_pattern: "#00a800" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00a8a8" + shape_operator: "#a85400" + shape_or: { fg: "#a800a8" attr: "b" } + shape_pipe: { fg: "#a800a8" attr: "b" } + shape_range: { fg: "#a85400" attr: "b" } + shape_record: { fg: "#00a8a8" attr: "b" } + shape_redirection: { fg: "#a800a8" attr: "b" } + shape_signature: { fg: "#00a800" attr: "b" } + shape_string: "#00a800" + shape_string_interpolation: { fg: "#00a8a8" attr: "b" } + shape_table: { fg: "#0000a8" attr: "b" } + shape_variable: "#a800a8" + + background: "#fcfcfc" + foreground: "#545454" + cursor: "#545454" +}} \ No newline at end of file diff --git a/themes/themes/windows-95.nu b/themes/themes/windows-95.nu index 6987a31..6b2f388 100644 --- a/themes/themes/windows-95.nu +++ b/themes/themes/windows-95.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the windows_95 theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#a8a8a8" - # cursor: "#a8a8a8" - - { - # color for nushell primitives - separator: "#fcfcfc" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#54fc54" - empty: "#5454fc" - bool: "#fcfcfc" - int: "#fcfcfc" - filesize: "#fcfcfc" - duration: "#fcfcfc" - date: "#fcfcfc" - range: "#fcfcfc" - float: "#fcfcfc" - string: "#fcfcfc" - nothing: "#fcfcfc" - binary: "#fcfcfc" - cellpath: "#fcfcfc" - row_index: "#54fc54" - record: "#fcfcfc" - list: "#fcfcfc" - block: "#fcfcfc" - hints: "#545454" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fc54fc" - shape_bool: "#54fcfc" - shape_int: "#fc54fc" - shape_float: "#fc54fc" - shape_range: "#fcfc54" - shape_internalcall: "#54fcfc" - shape_external: "#54fcfc" - shape_externalarg: "#54fc54" - shape_literal: "#5454fc" - shape_operator: "#fcfc54" - shape_signature: "#54fc54" - shape_string: "#54fc54" - shape_string_interpolation: "#54fcfc" - shape_datetime: "#54fcfc" - shape_list: "#54fcfc" - shape_table: "#5454fc" - shape_record: "#54fcfc" - shape_block: "#5454fc" - shape_filepath: "#54fcfc" - shape_globpattern: "#54fcfc" - shape_variable: "#fc54fc" - shape_flag: "#5454fc" - shape_custom: "#54fc54" - shape_nothing: "#54fcfc" +export def main [] { return { + separator: "#a8a8a8" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#54fc54" attr: "b" } + empty: "#5454fc" + bool: {|| if $in { "#54fcfc" } else { "light_gray" } } + int: "#a8a8a8" + filesize: {|e| + if $e == 0b { + "#a8a8a8" + } else if $e < 1mb { + "#54fcfc" + } else {{ fg: "#5454fc" }} } -} + duration: "#a8a8a8" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fc5454" attr: "b" } + } else if $in < 6hr { + "#fc5454" + } else if $in < 1day { + "#fcfc54" + } else if $in < 3day { + "#54fc54" + } else if $in < 1wk { + { fg: "#54fc54" attr: "b" } + } else if $in < 6wk { + "#54fcfc" + } else if $in < 52wk { + "#5454fc" + } else { "dark_gray" } + } + range: "#a8a8a8" + float: "#a8a8a8" + string: "#a8a8a8" + nothing: "#a8a8a8" + binary: "#a8a8a8" + cellpath: "#a8a8a8" + row_index: { fg: "#54fc54" attr: "b" } + record: "#a8a8a8" + list: "#a8a8a8" + block: "#a8a8a8" + hints: "dark_gray" + + shape_and: { fg: "#fc54fc" attr: "b" } + shape_binary: { fg: "#fc54fc" attr: "b" } + shape_block: { fg: "#5454fc" attr: "b" } + shape_bool: "#54fcfc" + shape_custom: "#54fc54" + shape_datetime: { fg: "#54fcfc" attr: "b" } + shape_directory: "#54fcfc" + shape_external: "#54fcfc" + shape_externalarg: { fg: "#54fc54" attr: "b" } + shape_filepath: "#54fcfc" + shape_flag: { fg: "#5454fc" attr: "b" } + shape_float: { fg: "#fc54fc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#54fcfc" attr: "b" } + shape_int: { fg: "#fc54fc" attr: "b" } + shape_internalcall: { fg: "#54fcfc" attr: "b" } + shape_list: { fg: "#54fcfc" attr: "b" } + shape_literal: "#5454fc" + shape_match_pattern: "#54fc54" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#54fcfc" + shape_operator: "#fcfc54" + shape_or: { fg: "#fc54fc" attr: "b" } + shape_pipe: { fg: "#fc54fc" attr: "b" } + shape_range: { fg: "#fcfc54" attr: "b" } + shape_record: { fg: "#54fcfc" attr: "b" } + shape_redirection: { fg: "#fc54fc" attr: "b" } + shape_signature: { fg: "#54fc54" attr: "b" } + shape_string: "#54fc54" + shape_string_interpolation: { fg: "#54fcfc" attr: "b" } + shape_table: { fg: "#5454fc" attr: "b" } + shape_variable: "#fc54fc" + + background: "#000000" + foreground: "#a8a8a8" + cursor: "#a8a8a8" +}} \ No newline at end of file diff --git a/themes/themes/windows-highcontrast-light.nu b/themes/themes/windows-highcontrast-light.nu index bc67c91..12455c7 100644 --- a/themes/themes/windows-highcontrast-light.nu +++ b/themes/themes/windows-highcontrast-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the windows_highcontrast-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#fcfcfc" - # foreground: "#545454" - # cursor: "#545454" - - { - # color for nushell primitives - separator: "#000000" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#008000" - empty: "#000080" - bool: "#000000" - int: "#000000" - filesize: "#000000" - duration: "#000000" - date: "#000000" - range: "#000000" - float: "#000000" - string: "#000000" - nothing: "#000000" - binary: "#000000" - cellpath: "#000000" - row_index: "#008000" - record: "#000000" - list: "#000000" - block: "#000000" - hints: "#c0c0c0" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#800080" - shape_bool: "#008080" - shape_int: "#800080" - shape_float: "#800080" - shape_range: "#808000" - shape_internalcall: "#008080" - shape_external: "#008080" - shape_externalarg: "#008000" - shape_literal: "#000080" - shape_operator: "#808000" - shape_signature: "#008000" - shape_string: "#008000" - shape_string_interpolation: "#008080" - shape_datetime: "#008080" - shape_list: "#008080" - shape_table: "#000080" - shape_record: "#008080" - shape_block: "#000080" - shape_filepath: "#008080" - shape_globpattern: "#008080" - shape_variable: "#800080" - shape_flag: "#000080" - shape_custom: "#008000" - shape_nothing: "#008080" +export def main [] { return { + separator: "#545454" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#008000" attr: "b" } + empty: "#000080" + bool: {|| if $in { "#008080" } else { "light_gray" } } + int: "#545454" + filesize: {|e| + if $e == 0b { + "#545454" + } else if $e < 1mb { + "#008080" + } else {{ fg: "#000080" }} } -} + duration: "#545454" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#800000" attr: "b" } + } else if $in < 6hr { + "#800000" + } else if $in < 1day { + "#808000" + } else if $in < 3day { + "#008000" + } else if $in < 1wk { + { fg: "#008000" attr: "b" } + } else if $in < 6wk { + "#008080" + } else if $in < 52wk { + "#000080" + } else { "dark_gray" } + } + range: "#545454" + float: "#545454" + string: "#545454" + nothing: "#545454" + binary: "#545454" + cellpath: "#545454" + row_index: { fg: "#008000" attr: "b" } + record: "#545454" + list: "#545454" + block: "#545454" + hints: "dark_gray" + + shape_and: { fg: "#800080" attr: "b" } + shape_binary: { fg: "#800080" attr: "b" } + shape_block: { fg: "#000080" attr: "b" } + shape_bool: "#008080" + shape_custom: "#008000" + shape_datetime: { fg: "#008080" attr: "b" } + shape_directory: "#008080" + shape_external: "#008080" + shape_externalarg: { fg: "#008000" attr: "b" } + shape_filepath: "#008080" + shape_flag: { fg: "#000080" attr: "b" } + shape_float: { fg: "#800080" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#008080" attr: "b" } + shape_int: { fg: "#800080" attr: "b" } + shape_internalcall: { fg: "#008080" attr: "b" } + shape_list: { fg: "#008080" attr: "b" } + shape_literal: "#000080" + shape_match_pattern: "#008000" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#008080" + shape_operator: "#808000" + shape_or: { fg: "#800080" attr: "b" } + shape_pipe: { fg: "#800080" attr: "b" } + shape_range: { fg: "#808000" attr: "b" } + shape_record: { fg: "#008080" attr: "b" } + shape_redirection: { fg: "#800080" attr: "b" } + shape_signature: { fg: "#008000" attr: "b" } + shape_string: "#008000" + shape_string_interpolation: { fg: "#008080" attr: "b" } + shape_table: { fg: "#000080" attr: "b" } + shape_variable: "#800080" + + background: "#fcfcfc" + foreground: "#545454" + cursor: "#545454" +}} \ No newline at end of file diff --git a/themes/themes/windows-highcontrast.nu b/themes/themes/windows-highcontrast.nu index aac96e8..f2f973a 100644 --- a/themes/themes/windows-highcontrast.nu +++ b/themes/themes/windows-highcontrast.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the windows_highcontrast theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c0c0c0" - # cursor: "#c0c0c0" - - { - # color for nushell primitives - separator: "#fcfcfc" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#54fc54" - empty: "#5454fc" - bool: "#fcfcfc" - int: "#fcfcfc" - filesize: "#fcfcfc" - duration: "#fcfcfc" - date: "#fcfcfc" - range: "#fcfcfc" - float: "#fcfcfc" - string: "#fcfcfc" - nothing: "#fcfcfc" - binary: "#fcfcfc" - cellpath: "#fcfcfc" - row_index: "#54fc54" - record: "#fcfcfc" - list: "#fcfcfc" - block: "#fcfcfc" - hints: "#545454" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#fc54fc" - shape_bool: "#54fcfc" - shape_int: "#fc54fc" - shape_float: "#fc54fc" - shape_range: "#fcfc54" - shape_internalcall: "#54fcfc" - shape_external: "#54fcfc" - shape_externalarg: "#54fc54" - shape_literal: "#5454fc" - shape_operator: "#fcfc54" - shape_signature: "#54fc54" - shape_string: "#54fc54" - shape_string_interpolation: "#54fcfc" - shape_datetime: "#54fcfc" - shape_list: "#54fcfc" - shape_table: "#5454fc" - shape_record: "#54fcfc" - shape_block: "#5454fc" - shape_filepath: "#54fcfc" - shape_globpattern: "#54fcfc" - shape_variable: "#fc54fc" - shape_flag: "#5454fc" - shape_custom: "#54fc54" - shape_nothing: "#54fcfc" +export def main [] { return { + separator: "#c0c0c0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#54fc54" attr: "b" } + empty: "#5454fc" + bool: {|| if $in { "#54fcfc" } else { "light_gray" } } + int: "#c0c0c0" + filesize: {|e| + if $e == 0b { + "#c0c0c0" + } else if $e < 1mb { + "#54fcfc" + } else {{ fg: "#5454fc" }} } -} + duration: "#c0c0c0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#fc5454" attr: "b" } + } else if $in < 6hr { + "#fc5454" + } else if $in < 1day { + "#fcfc54" + } else if $in < 3day { + "#54fc54" + } else if $in < 1wk { + { fg: "#54fc54" attr: "b" } + } else if $in < 6wk { + "#54fcfc" + } else if $in < 52wk { + "#5454fc" + } else { "dark_gray" } + } + range: "#c0c0c0" + float: "#c0c0c0" + string: "#c0c0c0" + nothing: "#c0c0c0" + binary: "#c0c0c0" + cellpath: "#c0c0c0" + row_index: { fg: "#54fc54" attr: "b" } + record: "#c0c0c0" + list: "#c0c0c0" + block: "#c0c0c0" + hints: "dark_gray" + + shape_and: { fg: "#fc54fc" attr: "b" } + shape_binary: { fg: "#fc54fc" attr: "b" } + shape_block: { fg: "#5454fc" attr: "b" } + shape_bool: "#54fcfc" + shape_custom: "#54fc54" + shape_datetime: { fg: "#54fcfc" attr: "b" } + shape_directory: "#54fcfc" + shape_external: "#54fcfc" + shape_externalarg: { fg: "#54fc54" attr: "b" } + shape_filepath: "#54fcfc" + shape_flag: { fg: "#5454fc" attr: "b" } + shape_float: { fg: "#fc54fc" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#54fcfc" attr: "b" } + shape_int: { fg: "#fc54fc" attr: "b" } + shape_internalcall: { fg: "#54fcfc" attr: "b" } + shape_list: { fg: "#54fcfc" attr: "b" } + shape_literal: "#5454fc" + shape_match_pattern: "#54fc54" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#54fcfc" + shape_operator: "#fcfc54" + shape_or: { fg: "#fc54fc" attr: "b" } + shape_pipe: { fg: "#fc54fc" attr: "b" } + shape_range: { fg: "#fcfc54" attr: "b" } + shape_record: { fg: "#54fcfc" attr: "b" } + shape_redirection: { fg: "#fc54fc" attr: "b" } + shape_signature: { fg: "#54fc54" attr: "b" } + shape_string: "#54fc54" + shape_string_interpolation: { fg: "#54fcfc" attr: "b" } + shape_table: { fg: "#5454fc" attr: "b" } + shape_variable: "#fc54fc" + + background: "#000000" + foreground: "#c0c0c0" + cursor: "#c0c0c0" +}} \ No newline at end of file diff --git a/themes/themes/windows-nt-light.nu b/themes/themes/windows-nt-light.nu index e7b875d..d83144e 100644 --- a/themes/themes/windows-nt-light.nu +++ b/themes/themes/windows-nt-light.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the windows_nt-light theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#ffffff" - # foreground: "#808080" - # cursor: "#808080" - - { - # color for nushell primitives - separator: "#000000" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#008000" - empty: "#000080" - bool: "#000000" - int: "#000000" - filesize: "#000000" - duration: "#000000" - date: "#000000" - range: "#000000" - float: "#000000" - string: "#000000" - nothing: "#000000" - binary: "#000000" - cellpath: "#000000" - row_index: "#008000" - record: "#000000" - list: "#000000" - block: "#000000" - hints: "#c0c0c0" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#800080" - shape_bool: "#008080" - shape_int: "#800080" - shape_float: "#800080" - shape_range: "#808000" - shape_internalcall: "#008080" - shape_external: "#008080" - shape_externalarg: "#008000" - shape_literal: "#000080" - shape_operator: "#808000" - shape_signature: "#008000" - shape_string: "#008000" - shape_string_interpolation: "#008080" - shape_datetime: "#008080" - shape_list: "#008080" - shape_table: "#000080" - shape_record: "#008080" - shape_block: "#000080" - shape_filepath: "#008080" - shape_globpattern: "#008080" - shape_variable: "#800080" - shape_flag: "#000080" - shape_custom: "#008000" - shape_nothing: "#008080" +export def main [] { return { + separator: "#808080" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#008000" attr: "b" } + empty: "#000080" + bool: {|| if $in { "#008080" } else { "light_gray" } } + int: "#808080" + filesize: {|e| + if $e == 0b { + "#808080" + } else if $e < 1mb { + "#008080" + } else {{ fg: "#000080" }} } -} + duration: "#808080" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#800000" attr: "b" } + } else if $in < 6hr { + "#800000" + } else if $in < 1day { + "#808000" + } else if $in < 3day { + "#008000" + } else if $in < 1wk { + { fg: "#008000" attr: "b" } + } else if $in < 6wk { + "#008080" + } else if $in < 52wk { + "#000080" + } else { "dark_gray" } + } + range: "#808080" + float: "#808080" + string: "#808080" + nothing: "#808080" + binary: "#808080" + cellpath: "#808080" + row_index: { fg: "#008000" attr: "b" } + record: "#808080" + list: "#808080" + block: "#808080" + hints: "dark_gray" + + shape_and: { fg: "#800080" attr: "b" } + shape_binary: { fg: "#800080" attr: "b" } + shape_block: { fg: "#000080" attr: "b" } + shape_bool: "#008080" + shape_custom: "#008000" + shape_datetime: { fg: "#008080" attr: "b" } + shape_directory: "#008080" + shape_external: "#008080" + shape_externalarg: { fg: "#008000" attr: "b" } + shape_filepath: "#008080" + shape_flag: { fg: "#000080" attr: "b" } + shape_float: { fg: "#800080" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#008080" attr: "b" } + shape_int: { fg: "#800080" attr: "b" } + shape_internalcall: { fg: "#008080" attr: "b" } + shape_list: { fg: "#008080" attr: "b" } + shape_literal: "#000080" + shape_match_pattern: "#008000" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#008080" + shape_operator: "#808000" + shape_or: { fg: "#800080" attr: "b" } + shape_pipe: { fg: "#800080" attr: "b" } + shape_range: { fg: "#808000" attr: "b" } + shape_record: { fg: "#008080" attr: "b" } + shape_redirection: { fg: "#800080" attr: "b" } + shape_signature: { fg: "#008000" attr: "b" } + shape_string: "#008000" + shape_string_interpolation: { fg: "#008080" attr: "b" } + shape_table: { fg: "#000080" attr: "b" } + shape_variable: "#800080" + + background: "#ffffff" + foreground: "#808080" + cursor: "#808080" +}} \ No newline at end of file diff --git a/themes/themes/windows-nt.nu b/themes/themes/windows-nt.nu index 977b3be..aa3f10c 100644 --- a/themes/themes/windows-nt.nu +++ b/themes/themes/windows-nt.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the windows_nt theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#000000" - # foreground: "#c0c0c0" - # cursor: "#c0c0c0" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#00ff00" - empty: "#0000ff" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#00ff00" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#808080" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ff00ff" - shape_bool: "#00ffff" - shape_int: "#ff00ff" - shape_float: "#ff00ff" - shape_range: "#ffff00" - shape_internalcall: "#00ffff" - shape_external: "#00ffff" - shape_externalarg: "#00ff00" - shape_literal: "#0000ff" - shape_operator: "#ffff00" - shape_signature: "#00ff00" - shape_string: "#00ff00" - shape_string_interpolation: "#00ffff" - shape_datetime: "#00ffff" - shape_list: "#00ffff" - shape_table: "#0000ff" - shape_record: "#00ffff" - shape_block: "#0000ff" - shape_filepath: "#00ffff" - shape_globpattern: "#00ffff" - shape_variable: "#ff00ff" - shape_flag: "#0000ff" - shape_custom: "#00ff00" - shape_nothing: "#00ffff" +export def main [] { return { + separator: "#c0c0c0" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#00ff00" attr: "b" } + empty: "#0000ff" + bool: {|| if $in { "#00ffff" } else { "light_gray" } } + int: "#c0c0c0" + filesize: {|e| + if $e == 0b { + "#c0c0c0" + } else if $e < 1mb { + "#00ffff" + } else {{ fg: "#0000ff" }} } -} + duration: "#c0c0c0" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff0000" attr: "b" } + } else if $in < 6hr { + "#ff0000" + } else if $in < 1day { + "#ffff00" + } else if $in < 3day { + "#00ff00" + } else if $in < 1wk { + { fg: "#00ff00" attr: "b" } + } else if $in < 6wk { + "#00ffff" + } else if $in < 52wk { + "#0000ff" + } else { "dark_gray" } + } + range: "#c0c0c0" + float: "#c0c0c0" + string: "#c0c0c0" + nothing: "#c0c0c0" + binary: "#c0c0c0" + cellpath: "#c0c0c0" + row_index: { fg: "#00ff00" attr: "b" } + record: "#c0c0c0" + list: "#c0c0c0" + block: "#c0c0c0" + hints: "dark_gray" + + shape_and: { fg: "#ff00ff" attr: "b" } + shape_binary: { fg: "#ff00ff" attr: "b" } + shape_block: { fg: "#0000ff" attr: "b" } + shape_bool: "#00ffff" + shape_custom: "#00ff00" + shape_datetime: { fg: "#00ffff" attr: "b" } + shape_directory: "#00ffff" + shape_external: "#00ffff" + shape_externalarg: { fg: "#00ff00" attr: "b" } + shape_filepath: "#00ffff" + shape_flag: { fg: "#0000ff" attr: "b" } + shape_float: { fg: "#ff00ff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00ffff" attr: "b" } + shape_int: { fg: "#ff00ff" attr: "b" } + shape_internalcall: { fg: "#00ffff" attr: "b" } + shape_list: { fg: "#00ffff" attr: "b" } + shape_literal: "#0000ff" + shape_match_pattern: "#00ff00" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00ffff" + shape_operator: "#ffff00" + shape_or: { fg: "#ff00ff" attr: "b" } + shape_pipe: { fg: "#ff00ff" attr: "b" } + shape_range: { fg: "#ffff00" attr: "b" } + shape_record: { fg: "#00ffff" attr: "b" } + shape_redirection: { fg: "#ff00ff" attr: "b" } + shape_signature: { fg: "#00ff00" attr: "b" } + shape_string: "#00ff00" + shape_string_interpolation: { fg: "#00ffff" attr: "b" } + shape_table: { fg: "#0000ff" attr: "b" } + shape_variable: "#ff00ff" + + background: "#000000" + foreground: "#c0c0c0" + cursor: "#c0c0c0" +}} \ No newline at end of file diff --git a/themes/themes/wombat.nu b/themes/themes/wombat.nu index 10be934..e959193 100644 --- a/themes/themes/wombat.nu +++ b/themes/themes/wombat.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the wombat theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#171717" - # foreground: "#dedacf" - # cursor: "#dedacf" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#ddf88f" - empty: "#5da9f6" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#ddf88f" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#313131" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#ddaaff" - shape_bool: "#b7fff9" - shape_int: "#ddaaff" - shape_float: "#ddaaff" - shape_range: "#eee5b2" - shape_internalcall: "#b7fff9" - shape_external: "#82fff7" - shape_externalarg: "#ddf88f" - shape_literal: "#5da9f6" - shape_operator: "#ebd99c" - shape_signature: "#ddf88f" - shape_string: "#b1e969" - shape_string_interpolation: "#b7fff9" - shape_datetime: "#b7fff9" - shape_list: "#b7fff9" - shape_table: "#a5c7ff" - shape_record: "#b7fff9" - shape_block: "#a5c7ff" - shape_filepath: "#82fff7" - shape_globpattern: "#b7fff9" - shape_variable: "#e86aff" - shape_flag: "#a5c7ff" - shape_custom: "#b1e969" - shape_nothing: "#b7fff9" +export def main [] { return { + separator: "#dedacf" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b1e969" attr: "b" } + empty: "#5da9f6" + bool: {|| if $in { "#b7fff9" } else { "light_gray" } } + int: "#dedacf" + filesize: {|e| + if $e == 0b { + "#dedacf" + } else if $e < 1mb { + "#82fff7" + } else {{ fg: "#5da9f6" }} } -} + duration: "#dedacf" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#ff615a" attr: "b" } + } else if $in < 6hr { + "#ff615a" + } else if $in < 1day { + "#ebd99c" + } else if $in < 3day { + "#b1e969" + } else if $in < 1wk { + { fg: "#b1e969" attr: "b" } + } else if $in < 6wk { + "#82fff7" + } else if $in < 52wk { + "#5da9f6" + } else { "dark_gray" } + } + range: "#dedacf" + float: "#dedacf" + string: "#dedacf" + nothing: "#dedacf" + binary: "#dedacf" + cellpath: "#dedacf" + row_index: { fg: "#b1e969" attr: "b" } + record: "#dedacf" + list: "#dedacf" + block: "#dedacf" + hints: "dark_gray" + + shape_and: { fg: "#e86aff" attr: "b" } + shape_binary: { fg: "#e86aff" attr: "b" } + shape_block: { fg: "#5da9f6" attr: "b" } + shape_bool: "#b7fff9" + shape_custom: "#b1e969" + shape_datetime: { fg: "#82fff7" attr: "b" } + shape_directory: "#82fff7" + shape_external: "#82fff7" + shape_externalarg: { fg: "#b1e969" attr: "b" } + shape_filepath: "#82fff7" + shape_flag: { fg: "#5da9f6" attr: "b" } + shape_float: { fg: "#e86aff" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#82fff7" attr: "b" } + shape_int: { fg: "#e86aff" attr: "b" } + shape_internalcall: { fg: "#82fff7" attr: "b" } + shape_list: { fg: "#82fff7" attr: "b" } + shape_literal: "#5da9f6" + shape_match_pattern: "#b1e969" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#b7fff9" + shape_operator: "#ebd99c" + shape_or: { fg: "#e86aff" attr: "b" } + shape_pipe: { fg: "#e86aff" attr: "b" } + shape_range: { fg: "#ebd99c" attr: "b" } + shape_record: { fg: "#82fff7" attr: "b" } + shape_redirection: { fg: "#e86aff" attr: "b" } + shape_signature: { fg: "#b1e969" attr: "b" } + shape_string: "#b1e969" + shape_string_interpolation: { fg: "#82fff7" attr: "b" } + shape_table: { fg: "#5da9f6" attr: "b" } + shape_variable: "#e86aff" + + background: "#171717" + foreground: "#dedacf" + cursor: "#dedacf" +}} \ No newline at end of file diff --git a/themes/themes/woodland.nu b/themes/themes/woodland.nu index a50682c..f3cd4e6 100644 --- a/themes/themes/woodland.nu +++ b/themes/themes/woodland.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the woodland theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#231e18" - # foreground: "#cabcb1" - # cursor: "#cabcb1" - - { - # color for nushell primitives - separator: "#e4d4c8" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b7ba53" - empty: "#88a4d3" - bool: "#e4d4c8" - int: "#e4d4c8" - filesize: "#e4d4c8" - duration: "#e4d4c8" - date: "#e4d4c8" - range: "#e4d4c8" - float: "#e4d4c8" - string: "#e4d4c8" - nothing: "#e4d4c8" - binary: "#e4d4c8" - cellpath: "#e4d4c8" - row_index: "#b7ba53" - record: "#e4d4c8" - list: "#e4d4c8" - block: "#e4d4c8" - hints: "#9d8b70" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#bb90e2" - shape_bool: "#6eb958" - shape_int: "#bb90e2" - shape_float: "#bb90e2" - shape_range: "#e0ac16" - shape_internalcall: "#6eb958" - shape_external: "#6eb958" - shape_externalarg: "#b7ba53" - shape_literal: "#88a4d3" - shape_operator: "#e0ac16" - shape_signature: "#b7ba53" - shape_string: "#b7ba53" - shape_string_interpolation: "#6eb958" - shape_datetime: "#6eb958" - shape_list: "#6eb958" - shape_table: "#88a4d3" - shape_record: "#6eb958" - shape_block: "#88a4d3" - shape_filepath: "#6eb958" - shape_globpattern: "#6eb958" - shape_variable: "#bb90e2" - shape_flag: "#88a4d3" - shape_custom: "#b7ba53" - shape_nothing: "#6eb958" +export def main [] { return { + separator: "#cabcb1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b7ba53" attr: "b" } + empty: "#88a4d3" + bool: {|| if $in { "#6eb958" } else { "light_gray" } } + int: "#cabcb1" + filesize: {|e| + if $e == 0b { + "#cabcb1" + } else if $e < 1mb { + "#6eb958" + } else {{ fg: "#88a4d3" }} } -} + duration: "#cabcb1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#d35c5c" attr: "b" } + } else if $in < 6hr { + "#d35c5c" + } else if $in < 1day { + "#e0ac16" + } else if $in < 3day { + "#b7ba53" + } else if $in < 1wk { + { fg: "#b7ba53" attr: "b" } + } else if $in < 6wk { + "#6eb958" + } else if $in < 52wk { + "#88a4d3" + } else { "dark_gray" } + } + range: "#cabcb1" + float: "#cabcb1" + string: "#cabcb1" + nothing: "#cabcb1" + binary: "#cabcb1" + cellpath: "#cabcb1" + row_index: { fg: "#b7ba53" attr: "b" } + record: "#cabcb1" + list: "#cabcb1" + block: "#cabcb1" + hints: "dark_gray" + + shape_and: { fg: "#bb90e2" attr: "b" } + shape_binary: { fg: "#bb90e2" attr: "b" } + shape_block: { fg: "#88a4d3" attr: "b" } + shape_bool: "#6eb958" + shape_custom: "#b7ba53" + shape_datetime: { fg: "#6eb958" attr: "b" } + shape_directory: "#6eb958" + shape_external: "#6eb958" + shape_externalarg: { fg: "#b7ba53" attr: "b" } + shape_filepath: "#6eb958" + shape_flag: { fg: "#88a4d3" attr: "b" } + shape_float: { fg: "#bb90e2" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#6eb958" attr: "b" } + shape_int: { fg: "#bb90e2" attr: "b" } + shape_internalcall: { fg: "#6eb958" attr: "b" } + shape_list: { fg: "#6eb958" attr: "b" } + shape_literal: "#88a4d3" + shape_match_pattern: "#b7ba53" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#6eb958" + shape_operator: "#e0ac16" + shape_or: { fg: "#bb90e2" attr: "b" } + shape_pipe: { fg: "#bb90e2" attr: "b" } + shape_range: { fg: "#e0ac16" attr: "b" } + shape_record: { fg: "#6eb958" attr: "b" } + shape_redirection: { fg: "#bb90e2" attr: "b" } + shape_signature: { fg: "#b7ba53" attr: "b" } + shape_string: "#b7ba53" + shape_string_interpolation: { fg: "#6eb958" attr: "b" } + shape_table: { fg: "#88a4d3" attr: "b" } + shape_variable: "#bb90e2" + + background: "#231e18" + foreground: "#cabcb1" + cursor: "#cabcb1" +}} \ No newline at end of file diff --git a/themes/themes/wryan.nu b/themes/themes/wryan.nu index 3c95d0b..a9682b5 100644 --- a/themes/themes/wryan.nu +++ b/themes/themes/wryan.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the wryan theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#101010" - # foreground: "#999993" - # cursor: "#999993" - - { - # color for nushell primitives - separator: "#c0c0c0" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#53a6a6" - empty: "#395573" - bool: "#c0c0c0" - int: "#c0c0c0" - filesize: "#c0c0c0" - duration: "#c0c0c0" - date: "#c0c0c0" - range: "#c0c0c0" - float: "#c0c0c0" - string: "#c0c0c0" - nothing: "#c0c0c0" - binary: "#c0c0c0" - cellpath: "#c0c0c0" - row_index: "#53a6a6" - record: "#c0c0c0" - list: "#c0c0c0" - block: "#c0c0c0" - hints: "#3d3d3d" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#7e62b3" - shape_bool: "#6096bf" - shape_int: "#7e62b3" - shape_float: "#7e62b3" - shape_range: "#9e9ecb" - shape_internalcall: "#6096bf" - shape_external: "#31658c" - shape_externalarg: "#53a6a6" - shape_literal: "#395573" - shape_operator: "#7c7c99" - shape_signature: "#53a6a6" - shape_string: "#287373" - shape_string_interpolation: "#6096bf" - shape_datetime: "#6096bf" - shape_list: "#6096bf" - shape_table: "#477ab3" - shape_record: "#6096bf" - shape_block: "#477ab3" - shape_filepath: "#31658c" - shape_globpattern: "#6096bf" - shape_variable: "#5e468c" - shape_flag: "#477ab3" - shape_custom: "#287373" - shape_nothing: "#6096bf" +export def main [] { return { + separator: "#899ca1" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#287373" attr: "b" } + empty: "#395573" + bool: {|| if $in { "#6096bf" } else { "light_gray" } } + int: "#899ca1" + filesize: {|e| + if $e == 0b { + "#899ca1" + } else if $e < 1mb { + "#31658c" + } else {{ fg: "#395573" }} } -} + duration: "#899ca1" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#8c4665" attr: "b" } + } else if $in < 6hr { + "#8c4665" + } else if $in < 1day { + "#7c7c99" + } else if $in < 3day { + "#287373" + } else if $in < 1wk { + { fg: "#287373" attr: "b" } + } else if $in < 6wk { + "#31658c" + } else if $in < 52wk { + "#395573" + } else { "dark_gray" } + } + range: "#899ca1" + float: "#899ca1" + string: "#899ca1" + nothing: "#899ca1" + binary: "#899ca1" + cellpath: "#899ca1" + row_index: { fg: "#287373" attr: "b" } + record: "#899ca1" + list: "#899ca1" + block: "#899ca1" + hints: "dark_gray" + + shape_and: { fg: "#5e468c" attr: "b" } + shape_binary: { fg: "#5e468c" attr: "b" } + shape_block: { fg: "#395573" attr: "b" } + shape_bool: "#6096bf" + shape_custom: "#287373" + shape_datetime: { fg: "#31658c" attr: "b" } + shape_directory: "#31658c" + shape_external: "#31658c" + shape_externalarg: { fg: "#287373" attr: "b" } + shape_filepath: "#31658c" + shape_flag: { fg: "#395573" attr: "b" } + shape_float: { fg: "#5e468c" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#31658c" attr: "b" } + shape_int: { fg: "#5e468c" attr: "b" } + shape_internalcall: { fg: "#31658c" attr: "b" } + shape_list: { fg: "#31658c" attr: "b" } + shape_literal: "#395573" + shape_match_pattern: "#287373" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#6096bf" + shape_operator: "#7c7c99" + shape_or: { fg: "#5e468c" attr: "b" } + shape_pipe: { fg: "#5e468c" attr: "b" } + shape_range: { fg: "#7c7c99" attr: "b" } + shape_record: { fg: "#31658c" attr: "b" } + shape_redirection: { fg: "#5e468c" attr: "b" } + shape_signature: { fg: "#287373" attr: "b" } + shape_string: "#287373" + shape_string_interpolation: { fg: "#31658c" attr: "b" } + shape_table: { fg: "#395573" attr: "b" } + shape_variable: "#5e468c" + + background: "#101010" + foreground: "#999993" + cursor: "#999993" +}} \ No newline at end of file diff --git a/themes/themes/xcode-dusk.nu b/themes/themes/xcode-dusk.nu index beea2cc..0f8a722 100644 --- a/themes/themes/xcode-dusk.nu +++ b/themes/themes/xcode-dusk.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the xcode_dusk theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#282b35" - # foreground: "#939599" - # cursor: "#939599" - - { - # color for nushell primitives - separator: "#bebfc2" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#df0002" - empty: "#790ead" - bool: "#bebfc2" - int: "#bebfc2" - filesize: "#bebfc2" - duration: "#bebfc2" - date: "#bebfc2" - range: "#bebfc2" - float: "#bebfc2" - string: "#bebfc2" - nothing: "#bebfc2" - binary: "#bebfc2" - cellpath: "#bebfc2" - row_index: "#df0002" - record: "#bebfc2" - list: "#bebfc2" - block: "#bebfc2" - hints: "#686a71" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#b21889" - shape_bool: "#00a0be" - shape_int: "#b21889" - shape_float: "#b21889" - shape_range: "#438288" - shape_internalcall: "#00a0be" - shape_external: "#00a0be" - shape_externalarg: "#df0002" - shape_literal: "#790ead" - shape_operator: "#438288" - shape_signature: "#df0002" - shape_string: "#df0002" - shape_string_interpolation: "#00a0be" - shape_datetime: "#00a0be" - shape_list: "#00a0be" - shape_table: "#790ead" - shape_record: "#00a0be" - shape_block: "#790ead" - shape_filepath: "#00a0be" - shape_globpattern: "#00a0be" - shape_variable: "#b21889" - shape_flag: "#790ead" - shape_custom: "#df0002" - shape_nothing: "#00a0be" +export def main [] { return { + separator: "#939599" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#df0002" attr: "b" } + empty: "#790ead" + bool: {|| if $in { "#00a0be" } else { "light_gray" } } + int: "#939599" + filesize: {|e| + if $e == 0b { + "#939599" + } else if $e < 1mb { + "#00a0be" + } else {{ fg: "#790ead" }} } -} + duration: "#939599" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#b21889" attr: "b" } + } else if $in < 6hr { + "#b21889" + } else if $in < 1day { + "#438288" + } else if $in < 3day { + "#df0002" + } else if $in < 1wk { + { fg: "#df0002" attr: "b" } + } else if $in < 6wk { + "#00a0be" + } else if $in < 52wk { + "#790ead" + } else { "dark_gray" } + } + range: "#939599" + float: "#939599" + string: "#939599" + nothing: "#939599" + binary: "#939599" + cellpath: "#939599" + row_index: { fg: "#df0002" attr: "b" } + record: "#939599" + list: "#939599" + block: "#939599" + hints: "dark_gray" + + shape_and: { fg: "#b21889" attr: "b" } + shape_binary: { fg: "#b21889" attr: "b" } + shape_block: { fg: "#790ead" attr: "b" } + shape_bool: "#00a0be" + shape_custom: "#df0002" + shape_datetime: { fg: "#00a0be" attr: "b" } + shape_directory: "#00a0be" + shape_external: "#00a0be" + shape_externalarg: { fg: "#df0002" attr: "b" } + shape_filepath: "#00a0be" + shape_flag: { fg: "#790ead" attr: "b" } + shape_float: { fg: "#b21889" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#00a0be" attr: "b" } + shape_int: { fg: "#b21889" attr: "b" } + shape_internalcall: { fg: "#00a0be" attr: "b" } + shape_list: { fg: "#00a0be" attr: "b" } + shape_literal: "#790ead" + shape_match_pattern: "#df0002" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#00a0be" + shape_operator: "#438288" + shape_or: { fg: "#b21889" attr: "b" } + shape_pipe: { fg: "#b21889" attr: "b" } + shape_range: { fg: "#438288" attr: "b" } + shape_record: { fg: "#00a0be" attr: "b" } + shape_redirection: { fg: "#b21889" attr: "b" } + shape_signature: { fg: "#df0002" attr: "b" } + shape_string: "#df0002" + shape_string_interpolation: { fg: "#00a0be" attr: "b" } + shape_table: { fg: "#790ead" attr: "b" } + shape_variable: "#b21889" + + background: "#282b35" + foreground: "#939599" + cursor: "#939599" +}} \ No newline at end of file diff --git a/themes/themes/yachiyo.nu b/themes/themes/yachiyo.nu index 0d119d4..1037eb0 100644 --- a/themes/themes/yachiyo.nu +++ b/themes/themes/yachiyo.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the yachiyo theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#44515d" - # foreground: "#ffb692" - # cursor: "#ffb692" - - { - # color for nushell primitives - separator: "#a0be99" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#b9a9d7" - empty: "#ada883" - bool: "#a0be99" - int: "#a0be99" - filesize: "#a0be99" - duration: "#a0be99" - date: "#a0be99" - range: "#a0be99" - float: "#a0be99" - string: "#a0be99" - nothing: "#a0be99" - binary: "#a0be99" - cellpath: "#a0be99" - row_index: "#b9a9d7" - record: "#a0be99" - list: "#a0be99" - block: "#a0be99" - hints: "#ff509c" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#9298e7" - shape_bool: "#ff9c9c" - shape_int: "#9298e7" - shape_float: "#9298e7" - shape_range: "#d4b34e" - shape_internalcall: "#ff9c9c" - shape_external: "#ff9c9c" - shape_externalarg: "#b9a9d7" - shape_literal: "#ada883" - shape_operator: "#d4b34e" - shape_signature: "#b9a9d7" - shape_string: "#b9a9d7" - shape_string_interpolation: "#ff9c9c" - shape_datetime: "#ff9c9c" - shape_list: "#ff9c9c" - shape_table: "#ada883" - shape_record: "#ff9c9c" - shape_block: "#ada883" - shape_filepath: "#ff9c9c" - shape_globpattern: "#ff9c9c" - shape_variable: "#9298e7" - shape_flag: "#ada883" - shape_custom: "#b9a9d7" - shape_nothing: "#ff9c9c" +export def main [] { return { + separator: "#a0be99" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#b9a9d7" attr: "b" } + empty: "#ada883" + bool: {|| if $in { "#ff9c9c" } else { "light_gray" } } + int: "#a0be99" + filesize: {|e| + if $e == 0b { + "#a0be99" + } else if $e < 1mb { + "#ff9c9c" + } else {{ fg: "#ada883" }} } -} + duration: "#a0be99" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#86b79b" attr: "b" } + } else if $in < 6hr { + "#86b79b" + } else if $in < 1day { + "#d4b34e" + } else if $in < 3day { + "#b9a9d7" + } else if $in < 1wk { + { fg: "#b9a9d7" attr: "b" } + } else if $in < 6wk { + "#ff9c9c" + } else if $in < 52wk { + "#ada883" + } else { "dark_gray" } + } + range: "#a0be99" + float: "#a0be99" + string: "#a0be99" + nothing: "#a0be99" + binary: "#a0be99" + cellpath: "#a0be99" + row_index: { fg: "#b9a9d7" attr: "b" } + record: "#a0be99" + list: "#a0be99" + block: "#a0be99" + hints: "dark_gray" + + shape_and: { fg: "#9298e7" attr: "b" } + shape_binary: { fg: "#9298e7" attr: "b" } + shape_block: { fg: "#ada883" attr: "b" } + shape_bool: "#ff9c9c" + shape_custom: "#b9a9d7" + shape_datetime: { fg: "#ff9c9c" attr: "b" } + shape_directory: "#ff9c9c" + shape_external: "#ff9c9c" + shape_externalarg: { fg: "#b9a9d7" attr: "b" } + shape_filepath: "#ff9c9c" + shape_flag: { fg: "#ada883" attr: "b" } + shape_float: { fg: "#9298e7" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#ff9c9c" attr: "b" } + shape_int: { fg: "#9298e7" attr: "b" } + shape_internalcall: { fg: "#ff9c9c" attr: "b" } + shape_list: { fg: "#ff9c9c" attr: "b" } + shape_literal: "#ada883" + shape_match_pattern: "#b9a9d7" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#ff9c9c" + shape_operator: "#d4b34e" + shape_or: { fg: "#9298e7" attr: "b" } + shape_pipe: { fg: "#9298e7" attr: "b" } + shape_range: { fg: "#d4b34e" attr: "b" } + shape_record: { fg: "#ff9c9c" attr: "b" } + shape_redirection: { fg: "#9298e7" attr: "b" } + shape_signature: { fg: "#b9a9d7" attr: "b" } + shape_string: "#b9a9d7" + shape_string_interpolation: { fg: "#ff9c9c" attr: "b" } + shape_table: { fg: "#ada883" attr: "b" } + shape_variable: "#9298e7" + + background: "#44515d" + foreground: "#ffb692" + cursor: "#ffb692" +}} \ No newline at end of file diff --git a/themes/themes/zenburn.nu b/themes/themes/zenburn.nu index 5ae4038..72cbd50 100644 --- a/themes/themes/zenburn.nu +++ b/themes/themes/zenburn.nu @@ -1,61 +1,81 @@ -export def main [] { - # extra desired values for the zenburn theme - # which do not fit into any nushell theme - # these colors should be handledd by the terminal - # emulator itself - # - # background: "#383838" - # foreground: "#dcdccc" - # cursor: "#dcdccc" - - { - # color for nushell primitives - separator: "#ffffff" - leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off - header: "#5f7f5f" - empty: "#7cb8bb" - bool: "#ffffff" - int: "#ffffff" - filesize: "#ffffff" - duration: "#ffffff" - date: "#ffffff" - range: "#ffffff" - float: "#ffffff" - string: "#ffffff" - nothing: "#ffffff" - binary: "#ffffff" - cellpath: "#ffffff" - row_index: "#5f7f5f" - record: "#ffffff" - list: "#ffffff" - block: "#ffffff" - hints: "#6f6f6f" - - # shapes are used to change the cli syntax highlighting - shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} - shape_binary: "#dc8cc3" - shape_bool: "#93e0e3" - shape_int: "#dc8cc3" - shape_float: "#dc8cc3" - shape_range: "#e0cf9f" - shape_internalcall: "#93e0e3" - shape_external: "#93e0e3" - shape_externalarg: "#5f7f5f" - shape_literal: "#7cb8bb" - shape_operator: "#e0cf9f" - shape_signature: "#5f7f5f" - shape_string: "#5f7f5f" - shape_string_interpolation: "#93e0e3" - shape_datetime: "#93e0e3" - shape_list: "#93e0e3" - shape_table: "#7cb8bb" - shape_record: "#93e0e3" - shape_block: "#7cb8bb" - shape_filepath: "#93e0e3" - shape_globpattern: "#93e0e3" - shape_variable: "#dc8cc3" - shape_flag: "#7cb8bb" - shape_custom: "#5f7f5f" - shape_nothing: "#93e0e3" +export def main [] { return { + separator: "#dcdccc" + leading_trailing_space_bg: { attr: "n" } + header: { fg: "#5f7f5f" attr: "b" } + empty: "#7cb8bb" + bool: {|| if $in { "#93e0e3" } else { "light_gray" } } + int: "#dcdccc" + filesize: {|e| + if $e == 0b { + "#dcdccc" + } else if $e < 1mb { + "#93e0e3" + } else {{ fg: "#7cb8bb" }} } -} + duration: "#dcdccc" + date: {|| (date now) - $in | + if $in < 1hr { + { fg: "#dca3a3" attr: "b" } + } else if $in < 6hr { + "#dca3a3" + } else if $in < 1day { + "#e0cf9f" + } else if $in < 3day { + "#5f7f5f" + } else if $in < 1wk { + { fg: "#5f7f5f" attr: "b" } + } else if $in < 6wk { + "#93e0e3" + } else if $in < 52wk { + "#7cb8bb" + } else { "dark_gray" } + } + range: "#dcdccc" + float: "#dcdccc" + string: "#dcdccc" + nothing: "#dcdccc" + binary: "#dcdccc" + cellpath: "#dcdccc" + row_index: { fg: "#5f7f5f" attr: "b" } + record: "#dcdccc" + list: "#dcdccc" + block: "#dcdccc" + hints: "dark_gray" + + shape_and: { fg: "#dc8cc3" attr: "b" } + shape_binary: { fg: "#dc8cc3" attr: "b" } + shape_block: { fg: "#7cb8bb" attr: "b" } + shape_bool: "#93e0e3" + shape_custom: "#5f7f5f" + shape_datetime: { fg: "#93e0e3" attr: "b" } + shape_directory: "#93e0e3" + shape_external: "#93e0e3" + shape_externalarg: { fg: "#5f7f5f" attr: "b" } + shape_filepath: "#93e0e3" + shape_flag: { fg: "#7cb8bb" attr: "b" } + shape_float: { fg: "#dc8cc3" attr: "b" } + shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: "b" } + shape_globpattern: { fg: "#93e0e3" attr: "b" } + shape_int: { fg: "#dc8cc3" attr: "b" } + shape_internalcall: { fg: "#93e0e3" attr: "b" } + shape_list: { fg: "#93e0e3" attr: "b" } + shape_literal: "#7cb8bb" + shape_match_pattern: "#5f7f5f" + shape_matching_brackets: { attr: "u" } + shape_nothing: "#93e0e3" + shape_operator: "#e0cf9f" + shape_or: { fg: "#dc8cc3" attr: "b" } + shape_pipe: { fg: "#dc8cc3" attr: "b" } + shape_range: { fg: "#e0cf9f" attr: "b" } + shape_record: { fg: "#93e0e3" attr: "b" } + shape_redirection: { fg: "#dc8cc3" attr: "b" } + shape_signature: { fg: "#5f7f5f" attr: "b" } + shape_string: "#5f7f5f" + shape_string_interpolation: { fg: "#93e0e3" attr: "b" } + shape_table: { fg: "#7cb8bb" attr: "b" } + shape_variable: "#dc8cc3" + + background: "#383838" + foreground: "#dcdccc" + cursor: "#dcdccc" +}} \ No newline at end of file