Sha256: 8e418994dff38e1311cd16017c48a947636ea62e6f509e6d54be4c737ac6ed54
Contents?: true
Size: 1.7 KB
Versions: 2
Compression:
Stored size: 1.7 KB
Contents
# frozen_string_literal: true module RubyJard class ColorSchemes class OneHalfLightColorScheme < ColorScheme # Shameless copy from https://github.com/sonph/onehalf/blob/master/vim/colors/onehalflight.vim GRAY1 = '#eaeaea' GRAY2 = '#d4d4d4' GRAY3 = '#a0a1a7' GRAY4 = '#a0a1a7' GRAY5 = '#383a42' WHITE = '#fafafa' RED = '#e45649' GREEN = '#50a14f' YELLOW = '#c18401' BLUE = '#0184bc' PURPLE = '#a626a4' CYAN = '#0997b3' BACKGROUND = WHITE STYLES = { background: [GRAY5, BACKGROUND], border: [GRAY3, BACKGROUND], title: [WHITE, GREEN], title_highlighted: [WHITE, YELLOW], title_secondary: [GRAY5, GRAY2], title_background: [GRAY3, BACKGROUND], text_primary: [GRAY5, BACKGROUND], text_dim: [GRAY4, BACKGROUND], text_highlighted: [BLUE, BACKGROUND], text_special: [RED, BACKGROUND], text_selected: [GREEN, BACKGROUND], keyword: [PURPLE, BACKGROUND], method: [BLUE, BACKGROUND], comment: [GRAY4, BACKGROUND], literal: [YELLOW, BACKGROUND], string: [GREEN, BACKGROUND], local_variable: [RED, BACKGROUND], instance_variable: [RED, BACKGROUND], constant: [YELLOW, BACKGROUND], normal_token: [GRAY5, BACKGROUND], object: [YELLOW, BACKGROUND] }.freeze end end end RubyJard::ColorSchemes.add_color_scheme('one-half-light', RubyJard::ColorSchemes::OneHalfLightColorScheme)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby_jard-0.3.1 | lib/ruby_jard/color_schemes/one_half_light_color_scheme.rb |
ruby_jard-0.3.0 | lib/ruby_jard/color_schemes/one_half_light_color_scheme.rb |