feat: support custom layout

This commit is contained in:
hstyi
2025-07-02 12:15:28 +08:00
committed by GitHub
parent ab6b6a2127
commit 9916edbd13
18 changed files with 629 additions and 218 deletions

View File

@@ -51,6 +51,9 @@ termora.setting=Settings
termora.settings.appearance=General
termora.settings.appearance.theme=Theme
termora.settings.appearance.layout=Layout
termora.settings.appearance.layout.screen=Screen
termora.settings.appearance.layout.fence=Split
termora.settings.appearance.language=Language
termora.settings.appearance.i-want-to-translate=I want to translate
termora.settings.appearance.follow-system=Sync with OS

View File

@@ -54,6 +54,9 @@ termora.settings.restart.manually=请手动重启软件
termora.settings.appearance=常规
termora.settings.appearance.theme=主题
termora.settings.appearance.layout=布局
termora.settings.appearance.layout.screen=全屏
termora.settings.appearance.layout.fence=分割
termora.settings.appearance.language=语言
termora.settings.appearance.i-want-to-translate=我想要翻译
termora.settings.appearance.follow-system=跟随系统

View File

@@ -53,6 +53,9 @@ termora.settings.restart.manually=請手動重新啟動軟體
termora.settings.appearance=一般
termora.settings.appearance.theme=主题
termora.settings.appearance.layout=佈局
termora.settings.appearance.layout.screen=全螢幕
termora.settings.appearance.layout.fence=分割
termora.settings.appearance.language=語言
termora.settings.appearance.i-want-to-translate=我想要翻譯
termora.settings.appearance.follow-system=跟隨系統

View File

@@ -0,0 +1,5 @@
<!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 4C1 2.89543 1.89543 2 3 2H13C14.1046 2 15 2.89543 15 4V12C15 13.1046 14.1046 14 13 14H3C1.89543 14 1 13.1046 1 12V4ZM3 3H5V13H3C2.44772 13 2 12.5523 2 12V4C2 3.44772 2.44772 3 3 3ZM6 3V13H13C13.5523 13 14 12.5523 14 12V4C14 3.44772 13.5523 3 13 3H6Z" fill="#6C707E"/>
<path d="M2 4C2 3.44772 2.44772 3 3 3H5V13H3C2.44772 13 2 12.5523 2 12V4Z" />
</svg>

After

Width:  |  Height:  |  Size: 628 B

View File

@@ -0,0 +1,12 @@
<!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_5436_53300)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 4C1 2.89543 1.89543 2 3 2H13C14.1046 2 15 2.89543 15 4V12C15 13.1046 14.1046 14 13 14H3C1.89543 14 1 13.1046 1 12V4ZM3 3H5V13H3C2.44772 13 2 12.5523 2 12V4C2 3.44772 2.44772 3 3 3ZM6 3V13H13C13.5523 13 14 12.5523 14 12V4C14 3.44772 13.5523 3 13 3H6Z" fill="#CED0D6"/>
<path d="M2 4C2 3.44772 2.44772 3 3 3H5V13H3C2.44772 13 2 12.5523 2 12V4Z" />
</g>
<defs>
<clipPath id="clip0_5436_53300">
<rect width="16" height="16" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 776 B