Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template for custom themes? #1695

Open
1 task done
wu7zh opened this issue Oct 13, 2024 · 1 comment
Open
1 task done

Template for custom themes? #1695

wu7zh opened this issue Oct 13, 2024 · 1 comment
Labels
confirmed-bug Issues with confirmed bugs

Comments

@wu7zh
Copy link

wu7zh commented Oct 13, 2024

This issue is unique.

  • I have used the search tool and did not find an issue describing my idea.

Your idea.

I am currently trying to come up with a Catppuccin theme for Onlyoffice DesktopEditors.
Sadly the available options for the theme file are only documented for the web version

Could you supply a similar documentation for DesktopEditors? Or give a hint were the missing values can be found?
My current .json looks like this:
{ "name": "Catppuccin-Mocha-jens", "l10n": { "fr": "Catppuccin-Mocha-jens", "de": "Catppuccin-Mocha-jens" }, "id" : "catppuccin-mocha-jens", "type" : "dark", "colors" : { "toolbar-header-document" : "#1e1e2e", "toolbar-header-spreadsheet" : "#1e1e2e", "toolbar-header-presentation" : "#1e1e2e", "toolbar-header-pdf" : "#1e1e2e", "text-toolbar-header-on-background-document" : "#89b4fa", "text-toolbar-header-on-background-spreadsheet" : "#a6e3a1", "text-toolbar-header-on-background-presentation" : "#eba0ac", "text-toolbar-header-on-background-pdf" : "#f38ba8", "background-normal" : "#1e1e2e", "background-toolbar" : "#313244", "background-toolbar-additional" : "#313244", "background-primary-dialog-button" : "#9399b2", "background-accent-button" : "#89b4fa", "background-tab-underline" : "#a6adc8", "background-notification-popover" : "#f9e2af", "background-notification-badge" : "#f9e2af", "background-scrim" : "rgba(0, 0, 0, 0.2)", "background-loader" : "#9399b2", "background-alt-key-hint" : "#f9e2af", "background-contrast-popover" : "#bac2de", "background-fill-button" : "#f9e2af", "shadow-contrast-popover" : "rgba(0, 0, 0, 0.3)", "highlight-button-hover" : "#45475a", "highlight-button-pressed" : "#585b70", "highlight-button-pressed-hover" : "#6c7086", "highlight-primary-dialog-button-hover" : "#7f849c", "highlight-accent-button-hover" : "#74c7ec", "highlight-accent-button-pressed" : "#84d7fc", "highlight-header-button-hover" : "rgba(255, 255, 255, 0.15)", "highlight-header-button-pressed" : "rgba(255, 255, 255, 0.25)", "highlight-toolbar-tab-underline" : "#7f849c", "highlight-text-select" : "#b4befe", "highlight-fill-button-hover" : "#e9d29f", "highlight-fill-button-pressed" : "#d9c28f", "border-toolbar" : "#7f849c", "border-toolbar-active-panel-top" : "#7f849c", "border-divider" : "#7f849c", "border-regular-control" : "#7f849c", "border-toolbar-button-hover" : "#45475a", "border-preview-hover" : "#7f849c", "border-preview-select" : "#7f849c", "border-control-focus" : "#9399b2", "border-color-shading" : "rgba(0, 0, 0, 0.15)", "border-error" : "#f38ba8", "border-contrast-popover" : "#bac2de", "border-button-pressed-focus" : "#7f849c", "text-normal" : "#cdd6f4", "text-normal-pressed" : "#cdd6f4", "text-secondary" : "#bac2de", "text-tertiary" : "#a6adc8", "text-link" : "#445799", "text-link-hover" : "#445799", "text-link-active" : "#445799", "text-link-visited" : "#445799", "text-inverse" : "#cdd6f4", "text-toolbar-header" : "#cdd6f4", "text-contrast-background" : "#1e1e2e", "text-alt-key-hint" : "#1e1e2e", "icon-normal" : "#cdd6f4", "icon-normal-pressed" : "#cdd6f4", "icon-inverse" : "#cdd6f4", "icon-toolbar-header" : "#1e1e2e", "icon-notification-badge" : "#f9e2af", "icon-contrast-popover" : "#f9e2af", "icon-success" : "#a6e3a1", "canvas-background" : "#181825", "canvas-content-background" : "#fff", "canvas-page-border" : "#585b70", "canvas-ruler-background" : "#45475a", "canvas-ruler-border" : "#7f849c", "canvas-ruler-margins-background" : "#1e1e2e", "canvas-ruler-mark" : "#9399b2", "canvas-ruler-handle-border" : "#bac2de", "canvas-ruler-handle-border-disabled" : "#a6adc8", "canvas-high-contrast" : "#bac2de", "canvas-high-contrast-disabled" : "#a6adc8", "canvas-cell-border" : "rgba(0, 0, 0, 0.1)", "canvas-cell-title-text" : "#cdd6f4", "canvas-cell-title-background" : "#1e1e2e", "canvas-cell-title-background-hover" : "#45475a", "canvas-cell-title-background-selected" : "#585b70", "canvas-cell-title-border" : "#7f849c", "canvas-cell-title-border-hover" : "#9399b2", "canvas-cell-title-border-selected" : "#9399b2", "canvas-scroll-thumb" : "#313244", "canvas-scroll-thumb-hover" : "#45475a", "canvas-scroll-thumb-pressed" : "#585b70", "canvas-scroll-thumb-border" : "#6c7086", "canvas-scroll-thumb-border-hover" : "#6c7086", "canvas-scroll-thumb-border-pressed" : "#6c7086", "canvas-scroll-arrow" : "#6c7086", "canvas-scroll-arrow-hover" : "#6c7086", "canvas-scroll-arrow-pressed" : "#6c7086", "canvas-scroll-thumb-target" : "#6c7086", "canvas-scroll-thumb-target-hover" : "#6c7086", "canvas-scroll-thumb-target-pressed" : "#6c7086", "canvas-sheet-view-cell-background" : "#73bf91", "canvas-sheet-view-cell-background-hover" : "#97e3b6", "canvas-sheet-view-cell-background-pressed" : "#aaffcc", "canvas-sheet-view-cell-title-label" : "#121212", "canvas-freeze-line-1px" : "#818181", "canvas-freeze-line-2px" : "#aaaaaa", "canvas-select-all-icon" : "#6c7086" } }

Most theming works, but for example the title tab bar and the text of most buttons is missing, and there is no way to find the corresponding keys for the theme .json.
Thanks!

@matveevms
Copy link
Member

Hello, @wu7zh
I created ticket as issue 71756 in our issues tracker.
Thank you for the enhancement.

@Rita-Bubnova Rita-Bubnova added the confirmed-bug Issues with confirmed bugs label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed-bug Issues with confirmed bugs
Projects
None yet
Development

No branches or pull requests

4 participants
@wu7zh @Rita-Bubnova @matveevms and others