package quickterface
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Quick-to-program app interfaces in OCaml for terminal and web
Install
dune-project
Dependency
Authors
Maintainers
Sources
quickterface-0.1.0.tbz
sha256=8261e3819564fb5d05f1f313e62b73382152591d7a4349ae5b1b08a4fc2469f3
sha512=e739a971bb0e696ab716c168419c59a3d195922d2d1e4963106a845e3442ffa085b05106f36cceeec9b806bf7d6ef2c31e98db04911fbf73c5ac0ce626449d0f
doc/src/quickterface.terminal_app/theme.ml.html
Source file theme.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35open! Core open Notty.A let title_background = bg black let title_text = title_background ++ fg lightgreen ++ st bold ++ st underline let log_item_border = fg lightblack let text_output_default_color = fg white let text_output_from_options { Quickterface.Output_text_options.color } = match color with | `Default -> text_output_default_color | `Custom color -> fg (let r, g, b = Quickterface.Color.to_rgb color in rgb_888 ~r ~g ~b) let math_output_from_options = text_output_from_options let text_input_editable = fg white ++ st italic ++ st bold let text_input_frozen = fg white ++ st italic let integer_input_editable = text_input_editable let single_selection_input_option_not_selected = fg white ++ st italic let single_selection_input_option_selected = single_selection_input_option_not_selected ++ bg yellow ++ st bold let multi_selection_input_option_not_hovered = single_selection_input_option_not_selected let multi_selection_input_option_hovered = single_selection_input_option_selected let loading_bar_title = fg white ++ st bold let loading_bar_text = fg white let loading_bar_bar_cells = fg white ++ bg lightblue let loading_bar_bar_edges = loading_bar_bar_cells
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>