<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://fcitx-im.org/index.php?action=history&amp;feed=atom&amp;title=Create_a_new_Fcitx_Theme</id>
	<title>Create a new Fcitx Theme - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://fcitx-im.org/index.php?action=history&amp;feed=atom&amp;title=Create_a_new_Fcitx_Theme"/>
	<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=Create_a_new_Fcitx_Theme&amp;action=history"/>
	<updated>2026-05-03T12:32:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://fcitx-im.org/index.php?title=Create_a_new_Fcitx_Theme&amp;diff=45169&amp;oldid=prev</id>
		<title>Weng Xuetian: Created page with &quot;&lt;languages /&gt; &lt;translate&gt;  This page tends to describe how to create a new theme for Fcitx 5 Special:myLanguage/Theme Customization#Classic User interface|Classic User Inter...&quot;</title>
		<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=Create_a_new_Fcitx_Theme&amp;diff=45169&amp;oldid=prev"/>
		<updated>2021-11-15T06:30:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;languages /&amp;gt; &amp;lt;translate&amp;gt;  This page tends to describe how to create a new theme for Fcitx 5 Special:myLanguage/Theme Customization#Classic User interface|Classic User Inter...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages /&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This page tends to describe how to create a new theme for Fcitx 5 [[Special:myLanguage/Theme Customization#Classic User interface|Classic User Interface]].&lt;br /&gt;
&lt;br /&gt;
= Required files =&lt;br /&gt;
Files should be placed under &amp;lt;code&amp;gt;XDG_DATA_DIR/share/fcitx5/themes/[some directory]/&amp;lt;/code&amp;gt;. A good user level place is usually &amp;lt;code&amp;gt;~/.local/share/fcitx5/themes/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It need to contain a file &amp;lt;code&amp;gt;theme.conf&amp;lt;/code&amp;gt;. You may simply copy &amp;lt;code&amp;gt;theme.conf&amp;lt;/code&amp;gt; from default theme.&lt;br /&gt;
&lt;br /&gt;
You need to manually modify the name in a desktop-style field. Other than that, all other fields are accessible via [[Special:myLanguage/Configtool (Fcitx 5)|Configtool]].&lt;br /&gt;
&lt;br /&gt;
= Understand the rendering process =&lt;br /&gt;
== The elements in the input popup window ==&lt;br /&gt;
There are 3 single line text, Auxiliary Text Up, Preedit, Auxiliary Text Down, and a list of candidates in the window.&lt;br /&gt;
&lt;br /&gt;
Input popup has two different layout model, vertical and horizontal as shown in the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Horizontal layout&lt;br /&gt;
|-&lt;br /&gt;
| Auxiliary Text Up&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; | Preedit&lt;br /&gt;
|-&lt;br /&gt;
| Auxiliary Text Down || Candidate 1 || Candidate 2 || ... || Candidate n&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Vertical layout&lt;br /&gt;
|-&lt;br /&gt;
| Auxiliary Text Up || Preedit&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | Auxiliary Text Down&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | Candidate 1&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | Candidate 2&lt;br /&gt;
|- &lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | ... &lt;br /&gt;
|- &lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | Candidate n&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The context with in the table are laid out side by side. You may think of them wrapped by a text box, with text margin around the text.&lt;br /&gt;
&lt;br /&gt;
The whole context with in the popup are wrapped as a big box, with context margin around the text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Some idea about creating a theme with irregular shape =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Weng Xuetian</name></author>
	</entry>
</feed>