class Rouge::Themes::Github
def self.dark!
def self.dark! mode :light # indicate that there is a light variant mode! :dark end
def self.light!
def self.light! mode :dark # indicate that there is a dark variant mode! :light end
def self.make_dark!
def self.make_dark! palette :comment => P_GRAY_3[@mode] palette :constant => P_BLUE_2[@mode] palette :entity => P_PURPLE_2[@mode] palette :heading => P_BLUE_5[@mode] palette :keyword => P_RED_3[@mode] palette :string => P_BLUE_1[@mode] palette :tag => P_GREEN_1[@mode] palette :variable => P_ORANGE_2[@mode] palette :fgDefault => P_GRAY_1[@mode] palette :bgDefault => P_GRAY_8[@mode] palette :fgInserted => P_GREEN_0[@mode] palette :bgInserted => P_GREEN_8[@mode] palette :fgDeleted => P_RED_0[@mode] palette :bgDeleted => P_RED_8[@mode] palette :fgError => P_GRAY_0[@mode] palette :bgError => P_RED_7[@mode] end
def self.make_light!
def self.make_light! palette :comment => P_GRAY_5[@mode] palette :constant => P_BLUE_6[@mode] palette :entity => P_PURPLE_5[@mode] palette :heading => P_BLUE_6[@mode] palette :keyword => P_RED_5[@mode] palette :string => P_BLUE_8[@mode] palette :tag => P_GREEN_6[@mode] palette :variable => P_ORANGE_6[@mode] palette :fgDefault => P_GRAY_9[@mode] palette :bgDefault => P_GRAY_0[@mode] palette :fgInserted => P_GREEN_6[@mode] palette :bgInserted => P_GREEN_0[@mode] palette :fgDeleted => P_RED_7[@mode] palette :bgDeleted => P_RED_0[@mode] palette :fgError => P_GRAY_0[@mode] palette :bgError => P_RED_7[@mode] end