theme

package module
v0.0.0-...-59d1915 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 1 Imported by: 5

README

theme - Theme Definitions for ge Text Editor

theme is a package that provides color and mark character definitions for the ge text editor.

Features

  • Defines color themes for the ge text editor.
  • Includes definitions for mark characters used in the editor.

Installation

To use theme in your Go project, you can simply import it as follows:

import "github.com/ge-editor/theme"

Then, you can use the color and mark character definitions provided by theme in your project.

Contributing

Contributions to theme are welcome! If you find any issues or have suggestions for improvement, please feel free to open an issue or create a pull request on the GitHub repository.

License

This package is licensed under the MIT License. See the LICENSE file for details.

Documentation

Index

Constants

View Source
const (
	MarkTab       = '»'
	MarkLinefeed  = '¬'
	LF_WIDTH      = 1
	MarkEOF       = '~'
	MarkEOF_WIDTH = 1
	MarkContinue  = '⁃'
)

Variables

View Source
var ColorControlCode = ColorDefault.Foreground(tcell.ColorRed)
View Source
var ColorDefault = tcell.StyleDefault.Foreground(tcell.ColorLightGrey) // Might be good for Modeline

Normal var ColorDefault = tcell.StyleDefault.Foreground(tcell.ColorNavajoWhite) var ColorDefault = tcell.StyleDefault.Foreground(tcell.ColorLightSeaGreen)

View Source
var ColorFind = ColorDefault.Foreground(tcell.ColorRed)
View Source
var ColorMarkContinue = ColorDefault.Foreground(tcell.ColorDarkSlateGray)
View Source
var ColorMarkEOF = ColorDefault.Foreground(tcell.ColorBlueViolet)
View Source
var ColorMarkLinefeed = ColorDefault.Foreground(tcell.ColorDarkSlateGray)
View Source
var ColorModeLineActive = ColorDefault.Reverse(true)

Modeline

View Source
var ColorModelineInactive = tcell.StyleDefault.Foreground(tcell.ColorLightSlateGray).Reverse(true) // Might be good for Modeline

var ColorModeLineActive = tcell.StyleDefault.Foreground(tcell.ColorLightGrey).Reverse(true) // Might be good for Modeline

View Source
var ColorPopupmenuBackground = ColorDefault.Foreground(tcell.ColorBlack).Background(tcell.ColorLightSlateGrey)

var ColorPopupmenuBackground = ColorDefault.Foreground(tcell.ColorBlack).Background(tcell.ColorAntiqueWhite)

View Source
var ColorPopupmenuForeground = ColorDefault.Foreground(tcell.ColorAntiqueWhite).Background(tcell.ColorDarkCyan)

Popupmenu Normal

View Source
var ColorRightbar = tcell.StyleDefault.Foreground(tcell.ColorDarkSlateGray).Reverse(true) // Might be good for Modeline

var ColorRightbar = tcell.StyleDefault.Foreground(tcell.ColorLightSlateGray).Reverse(true) // Might be good for Modeline

View Source
var ColorSearchFound = ColorDefault.Background(tcell.ColorDarkGreen)
View Source
var ColorSearchFoundOnCursor = ColorDefault.Background(tcell.ColorOrangeRed)
View Source
var ColorSpace = ColorDefault.Background(tcell.ColorDarkSlateGrey)

var ColorSpace = ColorDefault.Background(tcell.ColorDarkOliveGreen)

View Source
var ColorSpecialChar = ColorDefault.Foreground(tcell.ColorLightSlateGray)

var ColorSpecialChar = ColorDefault.Foreground(tcell.ColorDarkSlateGray)

View Source
var ColorTab = ColorDefault.Foreground(tcell.ColorDarkSlateGray)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL