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 = @(77, 34, 34) Emphasis = @(245, 245, 245) EmphasisBg = @(68, 43, 21) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(62, 31, 31) 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 = @(80, 46, 23) Emphasis = @(245, 245, 245) EmphasisBg = @(68, 43, 21) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(64, 40, 23) 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 = @(76, 62, 19) Emphasis = @(245, 245, 245) EmphasisBg = @(68, 43, 21) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(61, 51, 20) 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 = @(50, 68, 23) Emphasis = @(245, 245, 245) EmphasisBg = @(68, 43, 21) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(43, 56, 23) 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 = @(54, 67, 81) Emphasis = @(245, 245, 245) EmphasisBg = @(68, 43, 21) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(45, 54, 64) 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 = @(71, 62, 81) Emphasis = @(245, 245, 245) EmphasisBg = @(68, 43, 21) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(58, 51, 65) 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 = @(111, 89, 89) Emphasis = @(245, 245, 245) EmphasisBg = @(101, 63, 30) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(98, 82, 82) 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 = @(111, 95, 77) Emphasis = @(245, 245, 245) EmphasisBg = @(101, 63, 30) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(98, 86, 73) 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 = @(107, 93, 50) Emphasis = @(245, 245, 245) EmphasisBg = @(101, 63, 30) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(95, 85, 54) 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 = @(81, 99, 54) Emphasis = @(245, 245, 245) EmphasisBg = @(101, 63, 30) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(76, 89, 56) 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 = @(85, 97, 111) Emphasis = @(245, 245, 245) EmphasisBg = @(101, 63, 30) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(79, 88, 98) 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 = @(102, 93, 112) Emphasis = @(245, 245, 245) EmphasisBg = @(101, 63, 30) ListPrediction = @(245, 245, 245) ListPredictionSelected = @(245, 245, 245) ListPredictionSelectedBg = @(91, 85, 98) 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 = @(248, 209, 209) Emphasis = @(23, 23, 23) EmphasisBg = @(251, 228, 106) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(234, 206, 206) 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 = @(249, 218, 187) Emphasis = @(23, 23, 23) EmphasisBg = @(251, 228, 106) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(236, 213, 203) 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 = @(249, 236, 167) Emphasis = @(23, 23, 23) EmphasisBg = @(251, 228, 106) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(225, 215, 203) 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 = @(220, 244, 180) Emphasis = @(23, 23, 23) EmphasisBg = @(251, 228, 106) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(212, 219, 204) 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 = @(201, 223, 249) Emphasis = @(23, 23, 23) EmphasisBg = @(251, 228, 106) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(206, 215, 240) 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 = @(232, 216, 249) Emphasis = @(23, 23, 23) EmphasisBg = @(251, 228, 106) ListPrediction = @(23, 23, 23) ListPredictionSelected = @(23, 23, 23) ListPredictionSelectedBg = @(224, 207, 238) 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 |