Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ dkms.conf
.graptos-save-*.tmp
.graptos-latex-build/
build/
.zig-cache/
git_check.sh

# Github actions
.github/
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
APP_NAME := graptos
APP_ID := io.github.graptos.Editor
VERSION := 0.23.61
VERSION := 0.23.66
PREFIX ?= /usr/local
CC ?= cc
BUILD_DIR := build
Expand Down Expand Up @@ -151,6 +151,9 @@ install: $(BUILD_DIR)/$(APP_NAME)
install -m644 data/logos/*.png $(DESTDIR)$(DATADIR)/logos/
install -d $(DESTDIR)$(DATADIR)/themes
install -m644 data/themes/*.ini $(DESTDIR)$(DATADIR)/themes/
@if ls data/themes/*.css >/dev/null 2>&1; then \
install -m644 data/themes/*.css $(DESTDIR)$(DATADIR)/themes/; \
fi
install -d $(DESTDIR)$(DATADIR)/fonts/Inconsolata
cp -R data/fonts/Inconsolata/. $(DESTDIR)$(DATADIR)/fonts/Inconsolata/
install -d $(DESTDIR)$(DATADIR)/project-templates
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pub const packages = struct {};
pub const root_deps: []const struct { []const u8, []const u8 } = &.{};
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
107 changes: 107 additions & 0 deletions data/themes/apprentice.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
/* Graptoς CSS theme generated from apprentice.ini. */
/* GRAPTOS THEME BEGIN */
@define-color graptos_editor_bg #262626;
@define-color graptos_editor_fg #bcbcbc;
@define-color graptos_editor_gutter_bg #1c1c1c;
@define-color graptos_editor_gutter_fg #6c6c6c;
@define-color graptos_editor_current_line_bg #303030;
@define-color graptos_editor_selection_bg #444444;
@define-color graptos_editor_selection_fg #ffffff;
@define-color graptos_editor_cursor #bcbcbc;
@define-color graptos_sidebar_bg #1c1c1c;
@define-color graptos_tabbar_bg #1c1c1c;
@define-color graptos_tabbar_fg #bcbcbc;
@define-color graptos_tabbar_border #00000000;
@define-color graptos_tab_active_bg #262626;
@define-color graptos_tab_active_fg #ffffff;
@define-color graptos_tab_active_border #5f5f87;
@define-color graptos_tab_tiled_indicator #5f5f87;
@define-color graptos_topbar_bg #1c1c1c;
@define-color graptos_topbar_fg #bcbcbc;
@define-color graptos_bottombar_bg #1c1c1c;
@define-color graptos_bottombar_fg #bcbcbc;
@define-color graptos_status_error #af5f5f;
@define-color graptos_button_bg #303030;
@define-color graptos_button_fg #bcbcbc;
@define-color graptos_button_hover_bg #444444;
@define-color graptos_button_active_bg #5f5f87;
@define-color graptos_input_bg #1c1c1c;
@define-color graptos_input_fg #bcbcbc;
@define-color graptos_input_border #444444;
@define-color graptos_project_tree_fg #bcbcbc;
@define-color graptos_project_tree_selected_bg #444444;
@define-color graptos_project_tree_selected_fg #ffffff;
@define-color graptos_git_status_modified #87875f;
@define-color graptos_git_status_added #5f875f;
@define-color graptos_git_status_deleted #af5f5f;
@define-color graptos_git_status_renamed #5f87af;
@define-color graptos_git_status_conflict #5f5f87;
@define-color graptos_git_status_untracked #5f8787;
@define-color graptos_git_status_staged #5f5f87;
@define-color graptos_scroll_preview_bg #1c1c1c;
@define-color graptos_scroll_preview_fg #6c6c6c;
@define-color graptos_popover_bg #262626;
@define-color graptos_popover_border #00000000;
@define-color graptos_tooltip_bg #262626;
@define-color graptos_tooltip_fg #bcbcbc;
@define-color graptos_tooltip_border #00000000;
@define-color graptos_ref_popover_bg #262626;
@define-color graptos_ref_popover_fg #bcbcbc;
@define-color graptos_ref_popover_heading #5f5f87;
@define-color graptos_ref_popover_title #5f87af;
@define-color graptos_ref_popover_kind #87875f;
@define-color graptos_ref_popover_snippet #bcbcbc;
@define-color graptos_ref_popover_hover_bg #444444;
@define-color graptos_ref_popover_hover_fg #ffffff;
@define-color graptos_completion_popover_bg #262626;
@define-color graptos_completion_popover_fg #bcbcbc;
@define-color graptos_completion_popover_detail #87875f;
@define-color graptos_completion_selection_bg #5f5f87;
@define-color graptos_completion_selection_fg #ffffff;
@define-color graptos_dialog_bg #262626;
@define-color graptos_dialog_fg #bcbcbc;
@define-color graptos_dialog_border #00000000;
@define-color graptos_dialog_title #ffffff;
@define-color graptos_dialog_body #bcbcbc;
@define-color graptos_dialog_muted #87875f;
@define-color graptos_dialog_output #bcbcbc;
@define-color graptos_git_output_bg #1c1c1c;
@define-color graptos_dialog_action #5f87af;
@define-color graptos_dialog_destructive_action #af5f5f;
@define-color graptos_dialog_input_fg #bcbcbc;
@define-color graptos_dialog_input_bg #1c1c1c;
@define-color graptos_search_match_bg #5f5f87;
@define-color graptos_search_match_fg #ffffff;
@define-color graptos_diagnostic_warning_bg #3a321f;
@define-color graptos_diagnostic_warning_fg #87875f;
@define-color graptos_codex_preview_bg #262626;
@define-color graptos_codex_preview_fg #bcbcbc;
@define-color graptos_codex_prompt_bg #1c1c1c;
/* @graptos-ui-font: Inconsolata */
/* @graptos-editor-font: */
/* @graptos-preview-font: */
/* @graptos-terminal-font: */
/* @graptos-code-font: monospace */

.graptos-root { background: @graptos_editor_bg; color: @graptos_editor_fg; }
.graptos-editor, .graptos-editor text, textview.graptos-editor, textview.graptos-editor text, sourceview.graptos-editor, sourceview.graptos-editor text { background: @graptos_editor_bg; color: @graptos_editor_fg; caret-color: @graptos_editor_cursor; }
sourceview.graptos-editor gutter, sourceview.graptos-editor gutter * { background: @graptos_editor_gutter_bg; color: @graptos_editor_gutter_fg; }
sourceview.graptos-editor text selection { background: @graptos_editor_selection_bg; color: @graptos_editor_selection_fg; }
.graptos-top { background: @graptos_topbar_bg; color: @graptos_topbar_fg; }
.graptos-bottom, .graptos-search-panel, .graptos-tool-panel { background: @graptos_bottombar_bg; color: @graptos_bottombar_fg; }
.graptos-project-pane, .graptos-project-tree, .graptos-project-tree row { background: @graptos_sidebar_bg; color: @graptos_project_tree_fg; }
.graptos-root notebook > header, .graptos-root notebook > header.top > tabs > tab { background: @graptos_tabbar_bg; color: @graptos_tabbar_fg; border-left-color: @graptos_tabbar_border; border-right-color: @graptos_tabbar_border; border-top-color: @graptos_tabbar_border; border-bottom-color: @graptos_tabbar_border; }
.graptos-root notebook > header.top { border-color: @graptos_tabbar_border; border-bottom-color: @graptos_tab_active_border; }
.graptos-root notebook > header.top > tabs > tab:checked { background: @graptos_tab_active_bg; color: @graptos_tab_active_fg; border-left-color: @graptos_tabbar_border; border-right-color: @graptos_tabbar_border; border-top-color: @graptos_tabbar_border; border-bottom-color: @graptos_tab_active_border; }
.graptos-tab-tiled { box-shadow: inset 0 -2px @graptos_tab_tiled_indicator; }
.graptos-root button { background: @graptos_button_bg; color: @graptos_button_fg; }
.graptos-root button:hover { background: @graptos_button_hover_bg; }
.graptos-root button:checked, .graptos-root button:active { background: @graptos_button_active_bg; }
.graptos-root entry, .graptos-root entry text, .graptos-root spinbutton, .graptos-root spinbutton text { background: @graptos_input_bg; color: @graptos_input_fg; border-color: @graptos_input_border; }
popover.graptos-context-popover, popover.graptos-tools-popover, popover.graptos-completion-popover, popover.graptos-hover-popover { background: @graptos_popover_bg; border-color: @graptos_popover_border; }
.graptos-completion-list row:selected, .graptos-completion-list row:hover { background: @graptos_completion_selection_bg; color: @graptos_completion_selection_fg; }
.graptos-search-match { background: @graptos_search_match_bg; color: @graptos_search_match_fg; }
.graptos-diagnostic-warning { background: @graptos_diagnostic_warning_bg; color: @graptos_diagnostic_warning_fg; }
.graptos-codex-approval { background: @graptos_diagnostic_warning_bg; border-color: @graptos_diagnostic_warning_fg; }
.graptos-codex-review { background: @graptos_search_match_bg; border-color: @graptos_search_match_fg; }
/* GRAPTOS THEME END */
107 changes: 107 additions & 0 deletions data/themes/dracula.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
/* Graptoς CSS theme generated from dracula.ini. */
/* GRAPTOS THEME BEGIN */
@define-color graptos_editor_bg #282a36;
@define-color graptos_editor_fg #f8f8f2;
@define-color graptos_editor_gutter_bg #21222c;
@define-color graptos_editor_gutter_fg #6272a4;
@define-color graptos_editor_current_line_bg #44475a;
@define-color graptos_editor_selection_bg #44475a;
@define-color graptos_editor_selection_fg #f8f8f2;
@define-color graptos_editor_cursor #f8f8f2;
@define-color graptos_sidebar_bg #21222c;
@define-color graptos_tabbar_bg #21222c;
@define-color graptos_tabbar_fg #bd93f9;
@define-color graptos_tabbar_border #00000000;
@define-color graptos_tab_active_bg #282a36;
@define-color graptos_tab_active_fg #f8f8f2;
@define-color graptos_tab_active_border #bd93f9;
@define-color graptos_tab_tiled_indicator #bd93f9;
@define-color graptos_topbar_bg #21222c;
@define-color graptos_topbar_fg #f8f8f2;
@define-color graptos_bottombar_bg #21222c;
@define-color graptos_bottombar_fg #f8f8f2;
@define-color graptos_status_error #ff5555;
@define-color graptos_button_bg #44475a;
@define-color graptos_button_fg #f8f8f2;
@define-color graptos_button_hover_bg #6272a4;
@define-color graptos_button_active_bg #bd93f9;
@define-color graptos_input_bg #282a36;
@define-color graptos_input_fg #f8f8f2;
@define-color graptos_input_border #6272a4;
@define-color graptos_project_tree_fg #f8f8f2;
@define-color graptos_project_tree_selected_bg #44475a;
@define-color graptos_project_tree_selected_fg #f8f8f2;
@define-color graptos_git_status_modified #f1fa8c;
@define-color graptos_git_status_added #50fa7b;
@define-color graptos_git_status_deleted #ff5555;
@define-color graptos_git_status_renamed #8be9fd;
@define-color graptos_git_status_conflict #ff79c6;
@define-color graptos_git_status_untracked #8be9fd;
@define-color graptos_git_status_staged #bd93f9;
@define-color graptos_scroll_preview_bg #21222c;
@define-color graptos_scroll_preview_fg #6272a4;
@define-color graptos_popover_bg #282a36;
@define-color graptos_popover_border #00000000;
@define-color graptos_tooltip_bg #282a36;
@define-color graptos_tooltip_fg #f8f8f2;
@define-color graptos_tooltip_border #00000000;
@define-color graptos_ref_popover_bg #282a36;
@define-color graptos_ref_popover_fg #f8f8f2;
@define-color graptos_ref_popover_heading #bd93f9;
@define-color graptos_ref_popover_title #8be9fd;
@define-color graptos_ref_popover_kind #ff79c6;
@define-color graptos_ref_popover_snippet #f8f8f2;
@define-color graptos_ref_popover_hover_bg #44475a;
@define-color graptos_ref_popover_hover_fg #f8f8f2;
@define-color graptos_completion_popover_bg #282a36;
@define-color graptos_completion_popover_fg #f8f8f2;
@define-color graptos_completion_popover_detail #6272a4;
@define-color graptos_completion_selection_bg #bd93f9;
@define-color graptos_completion_selection_fg #282a36;
@define-color graptos_dialog_bg #282a36;
@define-color graptos_dialog_fg #f8f8f2;
@define-color graptos_dialog_border #00000000;
@define-color graptos_dialog_title #f8f8f2;
@define-color graptos_dialog_body #f8f8f2;
@define-color graptos_dialog_muted #6272a4;
@define-color graptos_dialog_output #f8f8f2;
@define-color graptos_git_output_bg #21222c;
@define-color graptos_dialog_action #8be9fd;
@define-color graptos_dialog_destructive_action #ff5555;
@define-color graptos_dialog_input_fg #f8f8f2;
@define-color graptos_dialog_input_bg #21222c;
@define-color graptos_search_match_bg #6272a4;
@define-color graptos_search_match_fg #f8f8f2;
@define-color graptos_diagnostic_warning_bg #5f4b24;
@define-color graptos_diagnostic_warning_fg #f1fa8c;
@define-color graptos_codex_preview_bg #282a36;
@define-color graptos_codex_preview_fg #f8f8f2;
@define-color graptos_codex_prompt_bg #21222c;
/* @graptos-ui-font: Inconsolata */
/* @graptos-editor-font: */
/* @graptos-preview-font: */
/* @graptos-terminal-font: */
/* @graptos-code-font: monospace */

.graptos-root { background: @graptos_editor_bg; color: @graptos_editor_fg; }
.graptos-editor, .graptos-editor text, textview.graptos-editor, textview.graptos-editor text, sourceview.graptos-editor, sourceview.graptos-editor text { background: @graptos_editor_bg; color: @graptos_editor_fg; caret-color: @graptos_editor_cursor; }
sourceview.graptos-editor gutter, sourceview.graptos-editor gutter * { background: @graptos_editor_gutter_bg; color: @graptos_editor_gutter_fg; }
sourceview.graptos-editor text selection { background: @graptos_editor_selection_bg; color: @graptos_editor_selection_fg; }
.graptos-top { background: @graptos_topbar_bg; color: @graptos_topbar_fg; }
.graptos-bottom, .graptos-search-panel, .graptos-tool-panel { background: @graptos_bottombar_bg; color: @graptos_bottombar_fg; }
.graptos-project-pane, .graptos-project-tree, .graptos-project-tree row { background: @graptos_sidebar_bg; color: @graptos_project_tree_fg; }
.graptos-root notebook > header, .graptos-root notebook > header.top > tabs > tab { background: @graptos_tabbar_bg; color: @graptos_tabbar_fg; border-left-color: @graptos_tabbar_border; border-right-color: @graptos_tabbar_border; border-top-color: @graptos_tabbar_border; border-bottom-color: @graptos_tabbar_border; }
.graptos-root notebook > header.top { border-color: @graptos_tabbar_border; border-bottom-color: @graptos_tab_active_border; }
.graptos-root notebook > header.top > tabs > tab:checked { background: @graptos_tab_active_bg; color: @graptos_tab_active_fg; border-left-color: @graptos_tabbar_border; border-right-color: @graptos_tabbar_border; border-top-color: @graptos_tabbar_border; border-bottom-color: @graptos_tab_active_border; }
.graptos-tab-tiled { box-shadow: inset 0 -2px @graptos_tab_tiled_indicator; }
.graptos-root button { background: @graptos_button_bg; color: @graptos_button_fg; }
.graptos-root button:hover { background: @graptos_button_hover_bg; }
.graptos-root button:checked, .graptos-root button:active { background: @graptos_button_active_bg; }
.graptos-root entry, .graptos-root entry text, .graptos-root spinbutton, .graptos-root spinbutton text { background: @graptos_input_bg; color: @graptos_input_fg; border-color: @graptos_input_border; }
popover.graptos-context-popover, popover.graptos-tools-popover, popover.graptos-completion-popover, popover.graptos-hover-popover { background: @graptos_popover_bg; border-color: @graptos_popover_border; }
.graptos-completion-list row:selected, .graptos-completion-list row:hover { background: @graptos_completion_selection_bg; color: @graptos_completion_selection_fg; }
.graptos-search-match { background: @graptos_search_match_bg; color: @graptos_search_match_fg; }
.graptos-diagnostic-warning { background: @graptos_diagnostic_warning_bg; color: @graptos_diagnostic_warning_fg; }
.graptos-codex-approval { background: @graptos_diagnostic_warning_bg; border-color: @graptos_diagnostic_warning_fg; }
.graptos-codex-review { background: @graptos_search_match_bg; border-color: @graptos_search_match_fg; }
/* GRAPTOS THEME END */
Loading