PINE LIBRARY

theme_presets

Aggiornato
Style Made Easy with 175 Reversable light/dark themes
Built on to of my theme engine, so any tools built with one
will work with the other.


getTheme(_input)
  Get a theme by name. (see lib for copy/paste list)
  Parameters:
    _input: string Name of Theme to use.


apathy()
  Theme preset -> "Apathy"
  Returns: Theme object

apprentice()
  Theme preset -> "Apprentice"
  Returns: Theme object

ashes()
  Theme preset -> "Ashes"
  Returns: Theme object

atelier_cave()
  Theme preset -> "Atelier Cave"
  Returns: Theme object

atelier_dune()
  Theme preset -> "Atelier Dune"
  Returns: Theme object

atelier_estuary()
  Theme preset -> "Atelier Estuary"
  Returns: Theme object

atelier_forest()
  Theme preset -> "Atelier Forest"
  Returns: Theme object

atelier_heath()
  Theme preset -> "Atelier Heath"
  Returns: Theme object

atelier_lakeside()
  Theme preset -> "Atelier Lakeside"
  Returns: Theme object

atelier_plateau()
  Theme preset -> "Atelier Plateau"
  Returns: Theme object

atelier_savanna()
  Theme preset -> "Atelier Savanna"
  Returns: Theme object

atelier_seaside()
  Theme preset -> "Atelier Seaside"
  Returns: Theme object

atelier_sulphurpool()
  Theme preset -> "Atelier Sulphurpool"
  Returns: Theme object

atlas()
  Theme preset -> "Atlas"
  Returns: Theme object

ayu()
  Theme preset -> "Ayu"
  Returns: Theme object

ayu_mirage()
  Theme preset -> "Ayu Mirage"
  Returns: Theme object

bespin()
  Theme preset -> "Bespin"
  Returns: Theme object

black_metal()
  Theme preset -> "Black Metal"
  Returns: Theme object

black_metal_bathory()
  Theme preset -> "Black Metal (bathory)"
  Returns: Theme object

black_metal_burzum()
  Theme preset -> "Black Metal (burzum)"
  Returns: Theme object

black_metal_funeral()
  Theme preset -> "Black Metal (dark Funeral)"
  Returns: Theme object

black_metal_gorgoroth()
  Theme preset -> "Black Metal (gorgoroth)"
  Returns: Theme object

black_metal_immortal()
  Theme preset -> "Black Metal (immortal)"
  Returns: Theme object

black_metal_khold()
  Theme preset -> "Black Metal (khold)"
  Returns: Theme object

black_metal_marduk()
  Theme preset -> "Black Metal (marduk)"
  Returns: Theme object

black_metal_mayhem()
  Theme preset -> "Black Metal (mayhem)"
  Returns: Theme object

black_metal_nile()
  Theme preset -> "Black Metal (nile)"
  Returns: Theme object

black_metal_venom()
  Theme preset -> "Black Metal (venom)"
  Returns: Theme object

blue_forest()
  Theme preset -> "Blue Forest"
  Returns: Theme object

blueish()
  Theme preset -> "Blueish"
  Returns: Theme object

brewer()
  Theme preset -> "Brewer"
  Returns: Theme object

bright()
  Theme preset -> "Bright"
  Returns: Theme object

brogrammer()
  Theme preset -> "Brogrammer"
  Returns: Theme object

brush_trees()
  Theme preset -> "Brush Trees"
  Returns: Theme object

catppuccin()
  Theme preset -> "Catppuccin"
  Returns: Theme object

chalk()
  Theme preset -> "Chalk"
  Returns: Theme object

circus()
  Theme preset -> "Circus"
  Returns: Theme object

classic()
  Theme preset -> "Classic"
  Returns: Theme object

clrs()
  Theme preset -> "Colors"
  Returns: Theme object

codeschool()
  Theme preset -> "Codeschool"
  Returns: Theme object

cupcake()
  Theme preset -> "Cupcake"
  Returns: Theme object

cupertino()
  Theme preset -> "Cupertino"
  Returns: Theme object

da_one_black()
  Theme preset -> "Da One Black"
  Returns: Theme object

da_one_gray()
  Theme preset -> "Da One Gray"
  Returns: Theme object

da_one_ocean()
  Theme preset -> "Da One Ocean"
  Returns: Theme object

da_one_paper()
  Theme preset -> "Da One Paper"
  Returns: Theme object

da_one_sea()
  Theme preset -> "Da One Sea"
  Returns: Theme object

da_one_white()
  Theme preset -> "Da One White"
  Returns: Theme object

danqing()
  Theme preset -> "Danqing"
  Returns: Theme object

darcula()
  Theme preset -> "Darcula"
  Returns: Theme object

dark_violet()
  Theme preset -> "Dark Violet"
  Returns: Theme object

darkmoss()
  Theme preset -> "Darkmoss"
  Returns: Theme object

darktooth()
  Theme preset -> "Darktooth"
  Returns: Theme object

decaf()
  Theme preset -> "Decaf"
  Returns: Theme object

dirtysea()
  Theme preset -> "Dirtysea"
  Returns: Theme object

dracula()
  Theme preset -> "Dracula"
  Returns: Theme object

edge()
  Theme preset -> "Edge"
  Returns: Theme object

eighties()
  Theme preset -> "Eighties"
  Returns: Theme object

embers()
  Theme preset -> "Embers"
  Returns: Theme object

emil()
  Theme preset -> "Emil"
  Returns: Theme object

equilibrium()
  Theme preset -> "Equilibrium"
  Returns: Theme object

equilibrium_gray()
  Theme preset -> "Equilibrium Gray"
  Returns: Theme object

espresso()
  Theme preset -> "Espresso"
  Returns: Theme object

eva()
  Theme preset -> "Eva"
  Returns: Theme object

everforest()
  Theme preset -> "Everforest"
  Returns: Theme object

flat()
  Theme preset -> "Flat"
  Returns: Theme object

framer()
  Theme preset -> "Framer"
  Returns: Theme object

fruit_soda()
  Theme preset -> "Fruit Soda"
  Returns: Theme object

gigavolt()
  Theme preset -> "Gigavolt"
  Returns: Theme object

github()
  Theme preset -> "Github"
  Returns: Theme object

google()
  Theme preset -> "Google"
  Returns: Theme object

gotham()
  Theme preset -> "Gotham"
  Returns: Theme object

grayscale()
  Theme preset -> "Grayscale"
  Returns: Theme object

green_screen()
  Theme preset -> "Green Screen"
  Returns: Theme object

gruber()
  Theme preset -> "Gruber"
  Returns: Theme object

gruvbox_hard()
  Theme preset -> "Gruvbox Dark, Hard"
  Returns: Theme object

gruvbox_medium()
  Theme preset -> "Gruvbox Dark, Medium"
  Returns: Theme object

gruvbox_pale()
  Theme preset -> "Gruvbox Dark, Pale"
  Returns: Theme object

gruvbox_soft()
  Theme preset -> "Gruvbox Dark, Soft"
  Returns: Theme object

gruvbox_material_hard()
  Theme preset -> "Gruvbox Material Dark, Hard"
  Returns: Theme object

gruvbox_material_medium()
  Theme preset -> "Gruvbox Material Dark, Medium"
  Returns: Theme object

gruvbox_material_soft()
  Theme preset -> "Gruvbox Material Dark, Soft"
  Returns: Theme object

hardcore()
  Theme preset -> "Hardcore"
  Returns: Theme object

harmonic16()
  Theme preset -> "Harmonic16"
  Returns: Theme object

heetch()
  Theme preset -> "Heetch"
  Returns: Theme object

helios()
  Theme preset -> "Helios"
  Returns: Theme object

hopscotch()
  Theme preset -> "Hopscotch"
  Returns: Theme object

horizon()
  Theme preset -> "Horizon"
  Returns: Theme object

horizon_terminal()
  Theme preset -> "Horizon Terminal"
  Returns: Theme object

humanoid()
  Theme preset -> "Humanoid"
  Returns: Theme object

ia()
  Theme preset -> "Ia"
  Returns: Theme object

icy()
  Theme preset -> "Icy"
  Returns: Theme object

ir_black()
  Theme preset -> "Ir Black"
  Returns: Theme object

isotope()
  Theme preset -> "Isotope"
  Returns: Theme object

kanagawa()
  Theme preset -> "Kanagawa"
  Returns: Theme object

katy()
  Theme preset -> "Katy"
  Returns: Theme object

kimber()
  Theme preset -> "Kimber"
  Returns: Theme object

lime()
  Theme preset -> "Lime"
  Returns: Theme object

london_tube()
  Theme preset -> "London Tube"
  Returns: Theme object

macintosh()
  Theme preset -> "Macintosh"
  Returns: Theme object

marrakesh()
  Theme preset -> "Marrakesh"
  Returns: Theme object

materia()
  Theme preset -> "Materia"
  Returns: Theme object

material()
  Theme preset -> "Material"
  Returns: Theme object

materialdarker()
  Theme preset -> "Material Darker"
  Returns: Theme object

material_palenight()
  Theme preset -> "Material Palenight"
  Returns: Theme object

material_vivid()
  Theme preset -> "Material Vivid"
  Returns: Theme object

mellow_purple()
  Theme preset -> "Mellow Purple"
  Returns: Theme object

mocha()
  Theme preset -> "Mocha"
  Returns: Theme object

monokai()
  Theme preset -> "Monokai"
  Returns: Theme object

Nebula()
  Theme preset -> "Nebula"
  Returns: Theme object

nord()
  Theme preset -> "Nord"
  Returns: Theme object

nova()
  Theme preset -> "Nova"
  Returns: Theme object

ocean()
  Theme preset -> "Ocean"
  Returns: Theme object

oceanicnext()
  Theme preset -> "Oceanicnext"
  Returns: Theme object

onedark()
  Theme preset -> "Onedark"
  Returns: Theme object

outrun()
  Theme preset -> "Outrun"
  Returns: Theme object

pandora()
  Theme preset -> "Pandora"
  Returns: Theme object

papercolor()
  Theme preset -> "Papercolor"
  Returns: Theme object

paraiso()
  Theme preset -> "Paraiso"
  Returns: Theme object

pasque()
  Theme preset -> "Pasque"
  Returns: Theme object

phd()
  Theme preset -> "Phd"
  Returns: Theme object

pico()
  Theme preset -> "Pico"
  Returns: Theme object

pinky()
  Theme preset -> "Pinky"
  Returns: Theme object

pop()
  Theme preset -> "Pop"
  Returns: Theme object

porple()
  Theme preset -> "Porple"
  Returns: Theme object

primer()
  Theme preset -> "Primer"
  Returns: Theme object

purpledream()
  Theme preset -> "Purpledream"
  Returns: Theme object

qualia()
  Theme preset -> "Qualia"
  Returns: Theme object

railscasts()
  Theme preset -> "Railscasts"
  Returns: Theme object

rebecca()
  Theme preset -> "Rebecca"
  Returns: Theme object

rose_pine()
  Theme preset -> "Rosé Pine"
  Returns: Theme object

rose_pine_dawn()
  Theme preset -> "Rosé Pine Dawn"
  Returns: Theme object

rose_pine_moon()
  Theme preset -> "Rosé Pine Moon"
  Returns: Theme object

sagelight()
  Theme preset -> "Sagelight"
  Returns: Theme object

sakura()
  Theme preset -> "Sakura"
  Returns: Theme object

sandcastle()
  Theme preset -> "Sandcastle"
  Returns: Theme object

seti_ui()
  Theme preset -> "Seti Ui"
  Returns: Theme object

shades_of_purple()
  Theme preset -> "Shades Of Purple"
  Returns: Theme object

shadesmear()
  Theme preset -> "Shadesmear"
  Returns: Theme object

shapeshifter()
  Theme preset -> "Shapeshifter"
  Returns: Theme object

silk()
  Theme preset -> "Silk"
  Returns: Theme object

snazzy()
  Theme preset -> "Snazzy"
  Returns: Theme object

solar_flare()
  Theme preset -> "Solar Flare"
  Returns: Theme object

solarized()
  Theme preset -> "Solarized"
  Returns: Theme object

spaceduck()
  Theme preset -> "Spaceduck"
  Returns: Theme object

spacemacs()
  Theme preset -> "Spacemacs"
  Returns: Theme object

stella()
  Theme preset -> "Stella"
  Returns: Theme object

still_alive()
  Theme preset -> "Still Alive"
  Returns: Theme object

summercamp()
  Theme preset -> "Summercamp"
  Returns: Theme object

summerfruit()
  Theme preset -> "Summerfruit"
  Returns: Theme object

synth_midnight_terminal()
  Theme preset -> "Synth Midnight Terminal"
  Returns: Theme object

tango()
  Theme preset -> "Tango"
  Returns: Theme object

tender()
  Theme preset -> "Tender"
  Returns: Theme object

tokyo_city()
  Theme preset -> "Tokyo City"
  Returns: Theme object

tokyo_city_terminal()
  Theme preset -> "Tokyo City Terminal"
  Returns: Theme object

tokyo_night()
  Theme preset -> "Tokyo Night"
  Returns: Theme object

tokyo_night_storm()
  Theme preset -> "Tokyo Night Storm"
  Returns: Theme object

tokyo_night_terminal()
  Theme preset -> "Tokyo Night Terminal"
  Returns: Theme object

tokyo_night_terminal_storm()
  Theme preset -> "Tokyo Night Terminal Storm"
  Returns: Theme object

tokyodark()
  Theme preset -> "Tokyodark"
  Returns: Theme object

tokyodark_terminal()
  Theme preset -> "Tokyodark Terminal"
  Returns: Theme object

tomorrow()
  Theme preset -> "Tomorrow"
  Returns: Theme object

tomorrow_night()
  Theme preset -> "Tomorrow Night"
  Returns: Theme object

tomorrow_night_eighties()
  Theme preset -> "Tomorrow Night Eighties"
  Returns: Theme object

twilight()
  Theme preset -> "Twilight"
  Returns: Theme object

unikitty()
  Theme preset -> "Unikitty"
  Returns: Theme object

unikitty_reversible()
  Theme preset -> "Unikitty Reversible"
  Returns: Theme object

uwunicorn()
  Theme preset -> "Uwunicorn"
  Returns: Theme object

vice()
  Theme preset -> "Vice"
  Returns: Theme object

vulcan()
  Theme preset -> "Vulcan"
  Returns: Theme object

windows_10()
  Theme preset -> "Windows 10"
  Returns: Theme object

windows_95()
  Theme preset -> "Windows 95"
  Returns: Theme object

windows_high_contrast()
  Theme preset -> "Windows High Contrast"
  Returns: Theme object

windows_nt()
  Theme preset -> "Windows Nt"
  Returns: Theme object

woodland()
  Theme preset -> "Woodland"
  Returns: Theme object

xcode_dusk()
  Theme preset -> "Xcode Dusk"
  Returns: Theme object

Note di rilascio
v2

added shortcut for string names

theme_presets.theme_name.________


Added:
theme_name
  Named Constants
  Fields:
    APATHY
    APPRENTICE
    ASHES
    ATELIER_CAVE
    ATELIER_DUNE
    ATELIER_ESTUARY
    ATELIER_FOREST
    ATELIER_HEATH
    ATELIER_LAKESIDE
    ATELIER_PLATEAU
    ATELIER_SAVANNA
    ATELIER_SEASIDE
    ATELIER_SULPHURPOOL
    ATLAS
    AYU
    AYU_MIRAGE
    BESPIN
    BLACK_METAL
    BLACK_METAL_BATHORY
    BLACK_METAL_BURZUM
    BLACK_METAL_FUNERAL
    BLACK_METAL_GORGOROTH
    BLACK_METAL_IMMORTAL
    BLACK_METAL_KHOLD
    BLACK_METAL_MARDUK
    BLACK_METAL_MAYHEM
    BLACK_METAL_NILE
    BLACK_METAL_VENOM
    BLUE_FOREST
    BLUEISH
    BREWER
    BRIGHT
    BROGRAMMER
    BRUSH_TREES
    CATPPUCCIN
    CHALK
    CIRCUS
    CLASSIC
    CLRS
    CODESCHOOL
    CUPCAKE
    CUPERTINO
    DA_ONE_BLACK
    DA_ONE_GRAY
    DA_ONE_OCEAN
    DA_ONE_PAPER
    DA_ONE_SEA
    DA_ONE_WHITE
    DANQING
    DARCULA
    DARK_VIOLET
    DARKMOSS
    DARKTOOTH
    DECAF
    DIRTYSEA
    DRACULA
    EDGE
    EIGHTIES
    EMBERS
    EMIL
    EQUILIBRIUM
    EQUILIBRIUM_GRAY
    ESPRESSO
    EVA
    EVERFOREST
    FLAT
    FRAMER
    FRUIT_SODA
    GIGAVOLT
    GITHUB
    GOOGLE
    GOTHAM
    GRAYSCALE
    GREEN_SCREEN
    GRUBER
    GRUVBOX_HARD
    GRUVBOX_MEDIUM
    GRUVBOX_PALE
    GRUVBOX_SOFT
    GRUVBOX_MATERIAL_HARD
    GRUVBOX_MATERIAL_MEDIUM
    GRUVBOX_MATERIAL_SOFT
    HARDCORE
    HARMONIC16
    HEETCH
    HELIOS
    HOPSCOTCH
    HORIZON
    HORIZON_TERMINAL
    HUMANOID
    IA
    ICY
    IR_BLACK
    ISOTOPE
    KANAGAWA
    KATY
    KIMBER
    LIME
    LONDON_TUBE
    MACINTOSH
    MARRAKESH
    MATERIA
    MATERIAL
    MATERIALDARKER
    MATERIAL_PALENIGHT
    MATERIAL_VIVID
    MELLOW_PURPLE
    MOCHA
    MONOKAI
    NEBULA
    NORD
    NOVA
    OCEAN
    OCEANICNEXT
    ONEDARK
    OUTRUN
    PANDORA
    PAPERCOLOR
    PARAISO
    PASQUE
    PHD
    PICO
    PINKY
    POP
    PORPLE
    PRIMER
    PURPLEDREAM
    QUALIA
    RAILSCASTS
    REBECCA
    ROSE_PINE
    ROSE_PINE_DAWN
    ROSE_PINE_MOON
    SAGELIGHT
    SAKURA
    SANDCASTLE
    SETI_UI
    SHADES_OF_PURPLE
    SHADESMEAR
    SHAPESHIFTER
    SILK
    SNAZZY
    SOLAR_FLARE
    SOLARIZED
    SPACEDUCK
    SPACEMACS
    STELLA
    STILL_ALIVE
    SUMMERCAMP
    SUMMERFRUIT
    SYNTH_MIDNIGHT_TERMINAL
    TANGO
    TENDER
    TOKYO_CITY
    TOKYO_CITY_TERMINAL
    TOKYO_NIGHT
    TOKYO_NIGHT_STORM
    TOKYO_NIGHT_TERMINAL
    TOKYO_NIGHT_TERMINAL_STORM
    TOKYODARK
    TOKYODARK_TERMINAL
    TOMORROW
    TOMORROW_NIGHT
    TOMORROW_NIGHT_EIGHTIES
    TWILIGHT
    UNIKITTY
    UNIKITTY_REVERSIBLE
    UWUNICORN
    VICE
    VULCAN
    WINDOWS_10
    WINDOWS_95
    WINDOWS_HIGH_CONTRAST
    WINDOWS_NT
    WOODLAND
    XCODE_DUSK
Note di rilascio
v3

Added:
getnames()
  Grab all theme names in an array



CLEARED OUT:




Removed:
apathy()
  Theme preset -> "Apathy"

apprentice()
  Theme preset -> "Apprentice"

ashes()
  Theme preset -> "Ashes"

atelier_cave()
  Theme preset -> "Atelier Cave"



..... etc ....



unikitty_reversible()
  Theme preset -> "Unikitty Reversible"

uwunicorn()
  Theme preset -> "Uwunicorn"

vice()
  Theme preset -> "Vice"

vulcan()
  Theme preset -> "Vulcan"

windows_10()
  Theme preset -> "Windows 10"

windows_95()
  Theme preset -> "Windows 95"

windows_high_contrast()
  Theme preset -> "Windows High Contrast"

windows_nt()
  Theme preset -> "Windows Nt"

woodland()
  Theme preset -> "Woodland"

xcode_dusk()
  Theme preset -> "Xcode Dusk"
colorsdisplaypresetsschemetheme

Libreria Pine

In pieno spirito TradingView, l'autore ha pubblicato questo codice Pine come libreria open-source in modo che altri programmatori Pine della nostra comunità possano riutilizzarlo. Un saluto all'autore! È possibile utilizzare questa libreria privatamente o in altre pubblicazioni open-source, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento.

Declinazione di responsabilità