module Theme

Overview

A multi-line capable syntax fragment.

origin inset

v v line of text\n another line of text\n another line of text\n another line of text\n another line of text\n last line of text

Direct including types

Defined in:

aspis/document.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(editor : Cohn) #

[View source]

Instance Method Detail

abstract def beam_color : SF::Color #

Returns the color that should be used for beams, e.g. on the left-hand side of block cursors.


[View source]
abstract def bg : SF::Color #

Returns the background color that should be used for the editor.


[View source]
abstract def cursor_color : SF::Color #

Returns the color that should be used for cursors.


[View source]
abstract def keyword : Theme::Scope #

[View source]
abstract def source : Theme::Scope #

[View source]
abstract def span_bg : SF::Color #

Returns the color that should be used for selection rectangles.


[View source]