VividLifePowerShell.psm1
|
# Generated by vivid-life-powershell — do not hand-edit. # Edit src/module-template.mjs and rebuild. $script:VividLifeThemes = @{ 'Midnight-Red' = @{ Default = @(245, 245, 245) Command = @(239, 68, 68) Keyword = @(216, 180, 254) Parameter = @(190, 242, 100) String = @(132, 204, 22) Number = @(249, 115, 22) Variable = @(249, 115, 22) Type = @(234, 179, 8) Member = @(147, 197, 253) Operator = @(216, 180, 254) Comment = @(153, 153, 153) InlinePrediction = @(153, 153, 153) ContinuationPrompt = @(153, 153, 153) Error = @(252, 165, 165) Selection = @(245, 245, 245) SelectionBg = @(69, 20, 20) Emphasis = @(245, 245, 245) EmphasisBg = @(62, 37, 14) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(51, 20, 20) FgSubtle = @(153, 153, 153) Accent = @(239, 68, 68) Constant = @(249, 115, 22) Info = @(147, 197, 253) Danger = @(252, 165, 165) Warning = @(253, 224, 71) Success = @(190, 242, 100) } 'Midnight-Orange' = @{ Default = @(245, 245, 245) Command = @(249, 115, 22) Keyword = @(216, 180, 254) Parameter = @(190, 242, 100) String = @(132, 204, 22) Number = @(249, 115, 22) Variable = @(249, 115, 22) Type = @(234, 179, 8) Member = @(147, 197, 253) Operator = @(216, 180, 254) Comment = @(153, 153, 153) InlinePrediction = @(153, 153, 153) ContinuationPrompt = @(153, 153, 153) Error = @(252, 165, 165) Selection = @(245, 245, 245) SelectionBg = @(67, 28, 14) Emphasis = @(245, 245, 245) EmphasisBg = @(62, 37, 14) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(53, 29, 12) FgSubtle = @(153, 153, 153) Accent = @(249, 115, 22) Constant = @(249, 115, 22) Info = @(147, 197, 253) Danger = @(252, 165, 165) Warning = @(253, 224, 71) Success = @(190, 242, 100) } 'Midnight-Yellow' = @{ Default = @(245, 245, 245) Command = @(234, 179, 8) Keyword = @(216, 180, 254) Parameter = @(190, 242, 100) String = @(132, 204, 22) Number = @(249, 115, 22) Variable = @(249, 115, 22) Type = @(234, 179, 8) Member = @(147, 197, 253) Operator = @(216, 180, 254) Comment = @(153, 153, 153) InlinePrediction = @(153, 153, 153) ContinuationPrompt = @(153, 153, 153) Error = @(252, 165, 165) Selection = @(245, 245, 245) SelectionBg = @(62, 37, 14) Emphasis = @(245, 245, 245) EmphasisBg = @(62, 37, 14) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(50, 40, 10) FgSubtle = @(153, 153, 153) Accent = @(234, 179, 8) Constant = @(249, 115, 22) Info = @(147, 197, 253) Danger = @(252, 165, 165) Warning = @(253, 224, 71) Success = @(190, 242, 100) } 'Midnight-Green' = @{ Default = @(245, 245, 245) Command = @(132, 204, 22) Keyword = @(216, 180, 254) Parameter = @(190, 242, 100) String = @(132, 204, 22) Number = @(249, 115, 22) Variable = @(249, 115, 22) Type = @(234, 179, 8) Member = @(147, 197, 253) Operator = @(216, 180, 254) Comment = @(153, 153, 153) InlinePrediction = @(153, 153, 153) ContinuationPrompt = @(153, 153, 153) Error = @(252, 165, 165) Selection = @(245, 245, 245) SelectionBg = @(32, 47, 15) Emphasis = @(245, 245, 245) EmphasisBg = @(62, 37, 14) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(32, 45, 12) FgSubtle = @(153, 153, 153) Accent = @(132, 204, 22) Constant = @(249, 115, 22) Info = @(147, 197, 253) Danger = @(252, 165, 165) Warning = @(253, 224, 71) Success = @(190, 242, 100) } 'Midnight-Blue' = @{ Default = @(245, 245, 245) Command = @(147, 197, 253) Keyword = @(216, 180, 254) Parameter = @(190, 242, 100) String = @(132, 204, 22) Number = @(249, 115, 22) Variable = @(249, 115, 22) Type = @(234, 179, 8) Member = @(147, 197, 253) Operator = @(216, 180, 254) Comment = @(153, 153, 153) InlinePrediction = @(153, 153, 153) ContinuationPrompt = @(153, 153, 153) Error = @(252, 165, 165) Selection = @(245, 245, 245) SelectionBg = @(20, 34, 74) Emphasis = @(245, 245, 245) EmphasisBg = @(62, 37, 14) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(35, 44, 54) FgSubtle = @(153, 153, 153) Accent = @(147, 197, 253) Constant = @(249, 115, 22) Info = @(147, 197, 253) Danger = @(252, 165, 165) Warning = @(253, 224, 71) Success = @(190, 242, 100) } 'Midnight-Purple' = @{ Default = @(245, 245, 245) Command = @(216, 180, 254) Keyword = @(216, 180, 254) Parameter = @(190, 242, 100) String = @(132, 204, 22) Number = @(249, 115, 22) Variable = @(249, 115, 22) Type = @(234, 179, 8) Member = @(147, 197, 253) Operator = @(216, 180, 254) Comment = @(153, 153, 153) InlinePrediction = @(153, 153, 153) ContinuationPrompt = @(153, 153, 153) Error = @(252, 165, 165) Selection = @(245, 245, 245) SelectionBg = @(49, 19, 73) Emphasis = @(245, 245, 245) EmphasisBg = @(62, 37, 14) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(47, 41, 54) FgSubtle = @(153, 153, 153) Accent = @(216, 180, 254) Constant = @(249, 115, 22) Info = @(147, 197, 253) Danger = @(252, 165, 165) Warning = @(253, 224, 71) Success = @(190, 242, 100) } 'Twilight-Red' = @{ Default = @(245, 245, 245) Command = @(252, 165, 165) Keyword = @(216, 180, 254) Parameter = @(190, 242, 100) String = @(132, 204, 22) Number = @(253, 186, 116) Variable = @(253, 186, 116) Type = @(234, 179, 8) Member = @(147, 197, 253) Operator = @(216, 180, 254) Comment = @(184, 184, 184) InlinePrediction = @(184, 184, 184) ContinuationPrompt = @(184, 184, 184) Error = @(254, 226, 226) Selection = @(245, 245, 245) SelectionBg = @(108, 35, 35) Emphasis = @(245, 245, 245) EmphasisBg = @(98, 60, 26) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(87, 72, 72) FgSubtle = @(184, 184, 184) Accent = @(252, 165, 165) Constant = @(253, 186, 116) Info = @(219, 234, 254) Danger = @(254, 226, 226) Warning = @(254, 249, 195) Success = @(190, 242, 100) } 'Twilight-Orange' = @{ Default = @(245, 245, 245) Command = @(253, 186, 116) Keyword = @(216, 180, 254) Parameter = @(190, 242, 100) String = @(132, 204, 22) Number = @(253, 186, 116) Variable = @(253, 186, 116) Type = @(234, 179, 8) Member = @(147, 197, 253) Operator = @(216, 180, 254) Comment = @(184, 184, 184) InlinePrediction = @(184, 184, 184) ContinuationPrompt = @(184, 184, 184) Error = @(254, 226, 226) Selection = @(245, 245, 245) SelectionBg = @(106, 47, 26) Emphasis = @(245, 245, 245) EmphasisBg = @(98, 60, 26) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(87, 75, 63) FgSubtle = @(184, 184, 184) Accent = @(253, 186, 116) Constant = @(253, 186, 116) Info = @(219, 234, 254) Danger = @(254, 226, 226) Warning = @(254, 249, 195) Success = @(190, 242, 100) } 'Twilight-Yellow' = @{ Default = @(245, 245, 245) Command = @(234, 179, 8) Keyword = @(216, 180, 254) Parameter = @(190, 242, 100) String = @(132, 204, 22) Number = @(253, 186, 116) Variable = @(253, 186, 116) Type = @(234, 179, 8) Member = @(147, 197, 253) Operator = @(216, 180, 254) Comment = @(184, 184, 184) InlinePrediction = @(184, 184, 184) ContinuationPrompt = @(184, 184, 184) Error = @(254, 226, 226) Selection = @(245, 245, 245) SelectionBg = @(98, 60, 26) Emphasis = @(245, 245, 245) EmphasisBg = @(98, 60, 26) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(84, 74, 43) FgSubtle = @(184, 184, 184) Accent = @(234, 179, 8) Constant = @(253, 186, 116) Info = @(219, 234, 254) Danger = @(254, 226, 226) Warning = @(254, 249, 195) Success = @(190, 242, 100) } 'Twilight-Green' = @{ Default = @(245, 245, 245) Command = @(132, 204, 22) Keyword = @(216, 180, 254) Parameter = @(190, 242, 100) String = @(132, 204, 22) Number = @(253, 186, 116) Variable = @(253, 186, 116) Type = @(234, 179, 8) Member = @(147, 197, 253) Operator = @(216, 180, 254) Comment = @(184, 184, 184) InlinePrediction = @(184, 184, 184) ContinuationPrompt = @(184, 184, 184) Error = @(254, 226, 226) Selection = @(245, 245, 245) SelectionBg = @(53, 75, 28) Emphasis = @(245, 245, 245) EmphasisBg = @(98, 60, 26) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(66, 79, 46) FgSubtle = @(184, 184, 184) Accent = @(132, 204, 22) Constant = @(253, 186, 116) Info = @(219, 234, 254) Danger = @(254, 226, 226) Warning = @(254, 249, 195) Success = @(190, 242, 100) } 'Twilight-Blue' = @{ Default = @(245, 245, 245) Command = @(147, 197, 253) Keyword = @(216, 180, 254) Parameter = @(190, 242, 100) String = @(132, 204, 22) Number = @(253, 186, 116) Variable = @(253, 186, 116) Type = @(234, 179, 8) Member = @(147, 197, 253) Operator = @(216, 180, 254) Comment = @(184, 184, 184) InlinePrediction = @(184, 184, 184) ContinuationPrompt = @(184, 184, 184) Error = @(254, 226, 226) Selection = @(245, 245, 245) SelectionBg = @(35, 56, 116) Emphasis = @(245, 245, 245) EmphasisBg = @(98, 60, 26) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(68, 77, 87) FgSubtle = @(184, 184, 184) Accent = @(147, 197, 253) Constant = @(253, 186, 116) Info = @(219, 234, 254) Danger = @(254, 226, 226) Warning = @(254, 249, 195) Success = @(190, 242, 100) } 'Twilight-Purple' = @{ Default = @(245, 245, 245) Command = @(216, 180, 254) Keyword = @(216, 180, 254) Parameter = @(190, 242, 100) String = @(132, 204, 22) Number = @(253, 186, 116) Variable = @(253, 186, 116) Type = @(234, 179, 8) Member = @(147, 197, 253) Operator = @(216, 180, 254) Comment = @(184, 184, 184) InlinePrediction = @(184, 184, 184) ContinuationPrompt = @(184, 184, 184) Error = @(254, 226, 226) Selection = @(245, 245, 245) SelectionBg = @(79, 34, 114) Emphasis = @(245, 245, 245) EmphasisBg = @(98, 60, 26) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(81, 74, 88) FgSubtle = @(184, 184, 184) Accent = @(216, 180, 254) Constant = @(253, 186, 116) Info = @(219, 234, 254) Danger = @(254, 226, 226) Warning = @(254, 249, 195) Success = @(190, 242, 100) } 'Dawn-Red' = @{ Default = @(23, 23, 23) Command = @(153, 27, 27) Keyword = @(126, 34, 206) Parameter = @(63, 98, 18) String = @(54, 83, 20) Number = @(154, 52, 18) Variable = @(154, 52, 18) Type = @(113, 63, 18) Member = @(29, 78, 216) Operator = @(126, 34, 206) Comment = @(82, 82, 82) InlinePrediction = @(82, 82, 82) ContinuationPrompt = @(82, 82, 82) Error = @(127, 29, 29) Selection = @(23, 23, 23) SelectionBg = @(254, 226, 226) Emphasis = @(23, 23, 23) EmphasisBg = @(243, 221, 106) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(201, 179, 179) FgSubtle = @(82, 82, 82) Accent = @(153, 27, 27) Constant = @(154, 52, 18) Info = @(30, 58, 138) Danger = @(127, 29, 29) Warning = @(113, 63, 18) Success = @(54, 83, 20) } 'Dawn-Orange' = @{ Default = @(23, 23, 23) Command = @(124, 45, 18) Keyword = @(126, 34, 206) Parameter = @(63, 98, 18) String = @(54, 83, 20) Number = @(154, 52, 18) Variable = @(154, 52, 18) Type = @(113, 63, 18) Member = @(29, 78, 216) Operator = @(126, 34, 206) Comment = @(82, 82, 82) InlinePrediction = @(82, 82, 82) ContinuationPrompt = @(82, 82, 82) Error = @(127, 29, 29) Selection = @(23, 23, 23) SelectionBg = @(255, 237, 213) Emphasis = @(23, 23, 23) EmphasisBg = @(243, 221, 106) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(196, 182, 177) FgSubtle = @(82, 82, 82) Accent = @(124, 45, 18) Constant = @(154, 52, 18) Info = @(30, 58, 138) Danger = @(127, 29, 29) Warning = @(113, 63, 18) Success = @(54, 83, 20) } 'Dawn-Yellow' = @{ Default = @(23, 23, 23) Command = @(133, 77, 14) Keyword = @(126, 34, 206) Parameter = @(63, 98, 18) String = @(54, 83, 20) Number = @(154, 52, 18) Variable = @(154, 52, 18) Type = @(113, 63, 18) Member = @(29, 78, 216) Operator = @(126, 34, 206) Comment = @(82, 82, 82) InlinePrediction = @(82, 82, 82) ContinuationPrompt = @(82, 82, 82) Error = @(127, 29, 29) Selection = @(23, 23, 23) SelectionBg = @(254, 249, 195) Emphasis = @(23, 23, 23) EmphasisBg = @(243, 221, 106) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(198, 188, 176) FgSubtle = @(82, 82, 82) Accent = @(133, 77, 14) Constant = @(154, 52, 18) Info = @(30, 58, 138) Danger = @(127, 29, 29) Warning = @(113, 63, 18) Success = @(54, 83, 20) } 'Dawn-Green' = @{ Default = @(23, 23, 23) Command = @(63, 98, 18) Keyword = @(126, 34, 206) Parameter = @(63, 98, 18) String = @(54, 83, 20) Number = @(154, 52, 18) Variable = @(154, 52, 18) Type = @(113, 63, 18) Member = @(29, 78, 216) Operator = @(126, 34, 206) Comment = @(82, 82, 82) InlinePrediction = @(82, 82, 82) ContinuationPrompt = @(82, 82, 82) Error = @(127, 29, 29) Selection = @(23, 23, 23) SelectionBg = @(236, 252, 203) Emphasis = @(23, 23, 23) EmphasisBg = @(243, 221, 106) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(185, 191, 177) FgSubtle = @(82, 82, 82) Accent = @(63, 98, 18) Constant = @(154, 52, 18) Info = @(30, 58, 138) Danger = @(127, 29, 29) Warning = @(113, 63, 18) Success = @(54, 83, 20) } 'Dawn-Blue' = @{ Default = @(23, 23, 23) Command = @(29, 78, 216) Keyword = @(126, 34, 206) Parameter = @(63, 98, 18) String = @(54, 83, 20) Number = @(154, 52, 18) Variable = @(154, 52, 18) Type = @(113, 63, 18) Member = @(29, 78, 216) Operator = @(126, 34, 206) Comment = @(82, 82, 82) InlinePrediction = @(82, 82, 82) ContinuationPrompt = @(82, 82, 82) Error = @(127, 29, 29) Selection = @(23, 23, 23) SelectionBg = @(219, 234, 254) Emphasis = @(23, 23, 23) EmphasisBg = @(243, 221, 106) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(179, 188, 213) FgSubtle = @(82, 82, 82) Accent = @(29, 78, 216) Constant = @(154, 52, 18) Info = @(30, 58, 138) Danger = @(127, 29, 29) Warning = @(113, 63, 18) Success = @(54, 83, 20) } 'Dawn-Purple' = @{ Default = @(23, 23, 23) Command = @(126, 34, 206) Keyword = @(126, 34, 206) Parameter = @(63, 98, 18) String = @(54, 83, 20) Number = @(154, 52, 18) Variable = @(154, 52, 18) Type = @(113, 63, 18) Member = @(29, 78, 216) Operator = @(126, 34, 206) Comment = @(82, 82, 82) InlinePrediction = @(82, 82, 82) ContinuationPrompt = @(82, 82, 82) Error = @(127, 29, 29) Selection = @(23, 23, 23) SelectionBg = @(243, 232, 255) Emphasis = @(23, 23, 23) EmphasisBg = @(243, 221, 106) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(197, 180, 211) FgSubtle = @(82, 82, 82) Accent = @(126, 34, 206) Constant = @(154, 52, 18) Info = @(30, 58, 138) Danger = @(127, 29, 29) Warning = @(113, 63, 18) Success = @(54, 83, 20) } 'Noon-Red' = @{ Default = @(23, 23, 23) Command = @(185, 28, 28) Keyword = @(126, 34, 206) Parameter = @(63, 98, 18) String = @(54, 83, 20) Number = @(124, 45, 18) Variable = @(124, 45, 18) Type = @(133, 77, 14) Member = @(29, 78, 216) Operator = @(126, 34, 206) Comment = @(82, 82, 82) InlinePrediction = @(82, 82, 82) ContinuationPrompt = @(82, 82, 82) Error = @(127, 29, 29) Selection = @(23, 23, 23) SelectionBg = @(254, 215, 215) Emphasis = @(23, 23, 23) EmphasisBg = @(253, 230, 108) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(242, 214, 214) FgSubtle = @(82, 82, 82) Accent = @(185, 28, 28) Constant = @(124, 45, 18) Info = @(30, 58, 138) Danger = @(127, 29, 29) Warning = @(113, 63, 18) Success = @(54, 83, 20) } 'Noon-Orange' = @{ Default = @(23, 23, 23) Command = @(194, 65, 12) Keyword = @(126, 34, 206) Parameter = @(63, 98, 18) String = @(54, 83, 20) Number = @(124, 45, 18) Variable = @(124, 45, 18) Type = @(133, 77, 14) Member = @(29, 78, 216) Operator = @(126, 34, 206) Comment = @(82, 82, 82) InlinePrediction = @(82, 82, 82) ContinuationPrompt = @(82, 82, 82) Error = @(127, 29, 29) Selection = @(23, 23, 23) SelectionBg = @(254, 224, 192) Emphasis = @(23, 23, 23) EmphasisBg = @(253, 230, 108) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(244, 221, 211) FgSubtle = @(82, 82, 82) Accent = @(194, 65, 12) Constant = @(124, 45, 18) Info = @(30, 58, 138) Danger = @(127, 29, 29) Warning = @(113, 63, 18) Success = @(54, 83, 20) } 'Noon-Yellow' = @{ Default = @(23, 23, 23) Command = @(133, 77, 14) Keyword = @(126, 34, 206) Parameter = @(63, 98, 18) String = @(54, 83, 20) Number = @(124, 45, 18) Variable = @(124, 45, 18) Type = @(133, 77, 14) Member = @(29, 78, 216) Operator = @(126, 34, 206) Comment = @(82, 82, 82) InlinePrediction = @(82, 82, 82) ContinuationPrompt = @(82, 82, 82) Error = @(127, 29, 29) Selection = @(23, 23, 23) SelectionBg = @(254, 241, 172) Emphasis = @(23, 23, 23) EmphasisBg = @(253, 230, 108) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(233, 223, 212) FgSubtle = @(82, 82, 82) Accent = @(133, 77, 14) Constant = @(124, 45, 18) Info = @(30, 58, 138) Danger = @(127, 29, 29) Warning = @(113, 63, 18) Success = @(54, 83, 20) } 'Noon-Green' = @{ Default = @(23, 23, 23) Command = @(63, 98, 18) Keyword = @(126, 34, 206) Parameter = @(63, 98, 18) String = @(54, 83, 20) Number = @(124, 45, 18) Variable = @(124, 45, 18) Type = @(133, 77, 14) Member = @(29, 78, 216) Operator = @(126, 34, 206) Comment = @(82, 82, 82) InlinePrediction = @(82, 82, 82) ContinuationPrompt = @(82, 82, 82) Error = @(127, 29, 29) Selection = @(23, 23, 23) SelectionBg = @(226, 249, 185) Emphasis = @(23, 23, 23) EmphasisBg = @(253, 230, 108) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(220, 227, 212) FgSubtle = @(82, 82, 82) Accent = @(63, 98, 18) Constant = @(124, 45, 18) Info = @(30, 58, 138) Danger = @(127, 29, 29) Warning = @(113, 63, 18) Success = @(54, 83, 20) } 'Noon-Blue' = @{ Default = @(23, 23, 23) Command = @(29, 78, 216) Keyword = @(126, 34, 206) Parameter = @(63, 98, 18) String = @(54, 83, 20) Number = @(124, 45, 18) Variable = @(124, 45, 18) Type = @(133, 77, 14) Member = @(29, 78, 216) Operator = @(126, 34, 206) Comment = @(82, 82, 82) InlinePrediction = @(82, 82, 82) ContinuationPrompt = @(82, 82, 82) Error = @(127, 29, 29) Selection = @(23, 23, 23) SelectionBg = @(206, 229, 254) Emphasis = @(23, 23, 23) EmphasisBg = @(253, 230, 108) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(214, 223, 248) FgSubtle = @(82, 82, 82) Accent = @(29, 78, 216) Constant = @(124, 45, 18) Info = @(30, 58, 138) Danger = @(127, 29, 29) Warning = @(113, 63, 18) Success = @(54, 83, 20) } 'Noon-Purple' = @{ Default = @(23, 23, 23) Command = @(126, 34, 206) Keyword = @(126, 34, 206) Parameter = @(63, 98, 18) String = @(54, 83, 20) Number = @(124, 45, 18) Variable = @(124, 45, 18) Type = @(133, 77, 14) Member = @(29, 78, 216) Operator = @(126, 34, 206) Comment = @(82, 82, 82) InlinePrediction = @(82, 82, 82) ContinuationPrompt = @(82, 82, 82) Error = @(127, 29, 29) Selection = @(23, 23, 23) SelectionBg = @(237, 221, 255) Emphasis = @(23, 23, 23) EmphasisBg = @(253, 230, 108) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(232, 215, 246) FgSubtle = @(82, 82, 82) Accent = @(126, 34, 206) Constant = @(124, 45, 18) Info = @(30, 58, 138) Danger = @(127, 29, 29) Warning = @(113, 63, 18) Success = @(54, 83, 20) } } function script:ConvertTo-VividLifeForeground([int[]]$Triple) { $PSStyle.Foreground.FromRgb($Triple[0], $Triple[1], $Triple[2]) } function script:ConvertTo-VividLifeBackground([int[]]$Triple) { $PSStyle.Background.FromRgb($Triple[0], $Triple[1], $Triple[2]) } function script:Set-VividLifeProperty([scriptblock]$Assign) { try { & $Assign } catch { } } function script:Set-VividLifeColors([hashtable]$Theme) { if (-not $PSStyle) { Write-Warning 'Vivid Life Theme requires PowerShell 7.2+ ($PSStyle). Skipping theme.' return } if (Get-Module -ListAvailable -Name PSReadLine) { Set-PSReadLineOption -Colors @{ Default = (ConvertTo-VividLifeForeground $Theme['Default']) Command = (ConvertTo-VividLifeForeground $Theme['Command']) Keyword = (ConvertTo-VividLifeForeground $Theme['Keyword']) Parameter = (ConvertTo-VividLifeForeground $Theme['Parameter']) String = (ConvertTo-VividLifeForeground $Theme['String']) Number = (ConvertTo-VividLifeForeground $Theme['Number']) Variable = (ConvertTo-VividLifeForeground $Theme['Variable']) Type = (ConvertTo-VividLifeForeground $Theme['Type']) Member = (ConvertTo-VividLifeForeground $Theme['Member']) Operator = (ConvertTo-VividLifeForeground $Theme['Operator']) Comment = (ConvertTo-VividLifeForeground $Theme['Comment']) InlinePrediction = (ConvertTo-VividLifeForeground $Theme['InlinePrediction']) ContinuationPrompt = (ConvertTo-VividLifeForeground $Theme['ContinuationPrompt']) Error = (ConvertTo-VividLifeForeground $Theme['Error']) Selection = "$(ConvertTo-VividLifeForeground $Theme['Selection'])$(ConvertTo-VividLifeBackground $Theme['SelectionBg'])" Emphasis = "$(ConvertTo-VividLifeForeground $Theme['Emphasis'])$(ConvertTo-VividLifeBackground $Theme['EmphasisBg'])" } try { Set-PSReadLineOption -Colors @{ ListPrediction = (ConvertTo-VividLifeForeground $Theme['ListPrediction']) ListPredictionSelected = "$(ConvertTo-VividLifeForeground $Theme['ListPredictionSelected'])$(ConvertTo-VividLifeBackground $Theme['ListPredictionSelectedBg'])" } } catch { } } Set-VividLifeProperty { $PSStyle.Formatting.FormatAccent = (ConvertTo-VividLifeForeground $Theme['Accent']) } Set-VividLifeProperty { $PSStyle.Formatting.TableHeader = $PSStyle.Bold + (ConvertTo-VividLifeForeground $Theme['Accent']) } Set-VividLifeProperty { $PSStyle.Formatting.CustomTableHeaderLabel = $PSStyle.Bold + (ConvertTo-VividLifeForeground $Theme['Accent']) } Set-VividLifeProperty { $PSStyle.Formatting.Error = (ConvertTo-VividLifeForeground $Theme['Danger']) } Set-VividLifeProperty { $PSStyle.Formatting.ErrorAccent = $PSStyle.Bold + (ConvertTo-VividLifeForeground $Theme['Danger']) } Set-VividLifeProperty { $PSStyle.Formatting.Warning = (ConvertTo-VividLifeForeground $Theme['Warning']) } Set-VividLifeProperty { $PSStyle.Formatting.Verbose = (ConvertTo-VividLifeForeground $Theme['Info']) } Set-VividLifeProperty { $PSStyle.Formatting.Debug = (ConvertTo-VividLifeForeground $Theme['FgSubtle']) } Set-VividLifeProperty { $PSStyle.FileInfo.Directory = $PSStyle.Bold + (ConvertTo-VividLifeForeground $Theme['Accent']) } Set-VividLifeProperty { $PSStyle.FileInfo.SymbolicLink = (ConvertTo-VividLifeForeground $Theme['Constant']) } Set-VividLifeProperty { $PSStyle.FileInfo.Executable = (ConvertTo-VividLifeForeground $Theme['Success']) } } function Set-VividLifeTheme { <# .SYNOPSIS Applies a Vivid Life Theme color scheme to PSReadLine and $PSStyle. .DESCRIPTION Sets PSReadLine syntax-highlighting colors and, on PowerShell 7.2+, $PSStyle.Formatting / $PSStyle.FileInfo colors for the given flavor and variant. Run it from your $PROFILE to apply on every session. .PARAMETER Flavor One of Midnight, Twilight, Dawn, Noon. Defaults to Midnight. .PARAMETER Variant One of Red, Orange, Yellow, Green, Blue, Purple. Defaults to Purple. .EXAMPLE Set-VividLifeTheme Applies the default Midnight/Purple theme. .EXAMPLE Set-VividLifeTheme -Flavor Dawn -Variant Blue #> [CmdletBinding()] param( [ValidateSet('Midnight', 'Twilight', 'Dawn', 'Noon')] [string]$Flavor = 'Midnight', [ValidateSet('Red', 'Orange', 'Yellow', 'Green', 'Blue', 'Purple')] [string]$Variant = 'Purple' ) $key = "$Flavor-$Variant" $theme = $script:VividLifeThemes[$key] if (-not $theme) { throw "Unknown Vivid Life theme: $key" } Set-VividLifeColors -Theme $theme } Export-ModuleMember -Function Set-VividLifeTheme |