class Cruml::Renders::Config

Overview

Stores the diagram configuration.

Defined in:

renders/config.cr

Class Method Summary

Class Method Detail

def self.abstract_color : String #

Gets the color for abstract classes.


[View source]
def self.class_color : String #

Gets the color for classes.


[View source]
def self.class_def_colors : String #

Generates the class definitions for the diagram.


[View source]
def self.color_theme_from_yaml(type : String) : String | Nil #

Retrieve the color from the YAML file.


[View source]
def self.interface_color : String #

Gets the color for interfaces.


[View source]
def self.module_color : String #

Gets the color for modules.


[View source]
def self.no_color=(no_color : Bool) #

Whether to disable colors in the diagram.


[View source]
def self.no_color? : Bool #

Whether to disable colors in the diagram.


[View source]
def self.text_color : String #

Gets the text color.


[View source]
def self.theme : Symbol #

The theme of the diagram (:light or :dark).


[View source]
def self.theme=(theme : Symbol) #

The theme of the diagram (:light or :dark).


[View source]
def self.theme_color : String #

Gets the theme color.


[View source]
def self.verbose=(verbose : Bool) #

Enable the verbose mode


[View source]
def self.verbose? : Bool #

Enable the verbose mode


[View source]