-- vis-minimal-jellybeans-soft -- Dark neutral background, warm off-white, and muted, low-brightness accents local bg_dark = '#131313' -- Dark off-black background instead of harsh pure black local black1 = '#303030' local black2 = '#585858' local offwhite0 = '#b9b9b9' -- Softened off-white base (reduces glare) local offwhite1 = '#b0b0b0' local offwhite2 = '#888888' local clear0 = '#00000000' -- Darkened, lower-contrast Jellybeans accents local jelly_yellow_muted = '#d9b36a' -- Subdued warm yellow (Methods / Functions) local jelly_blue_muted = '#75a0bc' -- Muted ice blue (Types / Classes) local lexers = vis.lexers -- Default Softened Base lexers.STYLE_DEFAULT = 'back:'..clear0..',fore:'..offwhite0 lexers.STYLE_NOTHING = 'back:'..bg_dark lexers.STYLE_COMMENT = 'fore:'..black2 lexers.STYLE_ERROR = 'fore:'..offwhite0 lexers.STYLE_WHITESPACE = '' lexers.STYLE_EMBEDDED = 'back:'..black1 -- The ONLY Colored Highlights (Deepened / Softened) lexers.STYLE_FUNCTION = 'fore:'..jelly_yellow_muted lexers.STYLE_TYPE = 'fore:'..jelly_blue_muted lexers.STYLE_CLASS = 'fore:'..jelly_blue_muted -- Neutral / Off-White Text lexers.STYLE_VARIABLE = 'fore:'..offwhite0 lexers.STYLE_IDENTIFIER = 'fore:'..offwhite0 lexers.STYLE_KEYWORD = 'fore:'..offwhite2 lexers.STYLE_CONSTANT = 'fore:'..offwhite0 lexers.STYLE_DEFINITION = 'fore:'..offwhite0 lexers.STYLE_LABEL = 'fore:'..offwhite0 lexers.STYLE_NUMBER = 'fore:'..offwhite1 lexers.STYLE_OPERATOR = 'fore:'..offwhite0 lexers.STYLE_REGEX = 'fore:'..offwhite1 lexers.STYLE_STRING = 'fore:'..offwhite1 lexers.STYLE_PREPROCESSOR= 'fore:'..offwhite0 lexers.STYLE_TAG = 'fore:'..offwhite0 -- Editor Interface UI lexers.STYLE_LINENUMBER = 'fore:'..black2 lexers.STYLE_LINENUMBER_CURSOR = 'fore:'..offwhite1 lexers.STYLE_CURSOR = 'back:'..offwhite2 lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:'..bg_dark lexers.STYLE_CURSOR_LINE = 'underlined' lexers.STYLE_COLOR_COLUMN = 'back:'..black1 lexers.STYLE_SELECTION = 'back:'..black1 lexers.STYLE_STATUS = 'reverse' lexers.STYLE_STATUS_FOCUSED = 'back:'..black1..',fore:'..offwhite1 lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT lexers.STYLE_INFO = 'fore:default,back:default' lexers.STYLE_EOF = ''