Skip to content

Commit c8c1564

Browse files
committed
Expand "Component Settings" documentation: add new sections for button radius, notifications, and search customization with updated visuals.
1 parent 50d6006 commit c8c1564

14 files changed

Lines changed: 103 additions & 9 deletions

docs/configuration/component-settings.md

Lines changed: 103 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ These settings provide you with a wide range of customization options for variou
2121

2222
{% include figure.html content="/screens/settingsv3/uiComponents.png" caption="UI Components" %}
2323

24+
Some features are only available for premium users.
25+
{:class='card-panel warn'}
26+
27+
## Look And Feel
28+
2429
### Material Design Style
2530

2631
This feature is available in the free plan.
@@ -75,10 +80,9 @@ This option replaces the color of various borders and separators with the backgr
7580
</div>
7681
----
7782

78-
### Uppercase buttons
83+
## Components
7984

80-
This feature is available in the free plan.
81-
{:class='card-panel warn'}
85+
### Uppercase buttons
8286

8387
This setting changes the button text to uppercase, giving it a look reminiscent of Material Design guidelines.
8488

@@ -90,20 +94,110 @@ This setting changes the button text to uppercase, giving it a look reminiscent
9094

9195
</div>
9296

97+
----
98+
99+
### Outline buttons
100+
101+
This setting gives buttons an alternate look, sporting a transparent background, and the border and text having the color of the
102+
current accent color, making them looking like "outlined buttons".
103+
104+
{% include figure.html content="/screens/ui/outlined.png" caption="Outlined Buttons" %}
105+
106+
----
107+
108+
### Custom Button Radius
109+
110+
By default, the buttons have a different radius depending on the _Material Design Style_ selected:
111+
- Material 1: 0px
112+
- Material 2: 8px
113+
- Material 3: 20px
114+
115+
However, if these defaults don't suit your tastes, you can use these settings to change the radius of the buttons.
116+
117+
<div class="masonry" markdown="0">
118+
119+
{% include figure.html content="/screens/ui/rectangularButtons.png" caption="Rectangular Buttons" %}
120+
121+
{% include figure.html content="/screens/ui/roundButtons.png" caption="Pill Buttons" %}
122+
123+
</div>
124+
125+
### Custom Action Buttons Radius
126+
127+
Like the _Custom Button Radius_, this setting allows you to change the radius of the action buttons, which are the buttons found in the toolbars and some popups. In this case, the default value is always 20px, giving it a full circle shape.
128+
129+
<div class="masonry" markdown="0">
130+
131+
{% include figure.html content="/screens/ui/rectangularActionButtons.png" caption="Rectangular Action Buttons" %}
132+
133+
{% include figure.html content="/screens/ui/roundActionButtons.png" caption="Circled Action Buttons" %}
134+
135+
</div>
93136

94137
-----
95138

96-
### Outline buttons
139+
### Round Notifications
97140

98-
This feature is only available for premium users.
141+
This setting allows you to make the notifications round.
142+
143+
<div class="masonry" markdown="0">
144+
145+
{% include figure.html content="/screens/ui/roundNotifications.png" caption="Round Notifications" %}
146+
147+
{% include figure.html content="/screens/ui/rectNotifications.png" caption="Regular Notifications" %}
148+
149+
</div>
150+
151+
----
152+
153+
### Inverted Completion Color
154+
155+
This setting gives you the choice to change the color of the selected line in the autocompletion popup. When selected, it uses the *Contrast Color* instead of the *Selection Color*.
156+
157+
<div class="masonry" markdown="0">
158+
159+
{% include figure.html content="/screens/ui/normalSelection.png" caption="Normal Selection" %}
160+
161+
{% include figure.html content="/screens/ui/invertedSelection.png" caption="Inverted Selection" %}
162+
163+
</div>
164+
165+
----
166+
167+
## Search Everywhere
168+
169+
### Customize Search Everywhere
170+
171+
This section allows you to customize many aspects of the Search Everywhere popup, such as the padding, or the font size.
172+
173+
This feature is available for premium users.
99174
{:class='card-panel warn'}
100175

101-
This setting gives buttons an alternate look, sporting a transparent background and the border and text having the color of the
102-
current accent color, making them looking like "outlined buttons".
176+
#### Custom Input Padding
103177

104-
{% include figure.html content="/screens/outlinedButtons.png" caption="Outlined Buttons" %}
178+
This setting allows you to customize the size of the search input field. The more padding, the bigger the input will become. The default value is 12px.
105179

106-
-----
180+
<div class="masonry" markdown="0">
181+
182+
{% include figure.html content="/screens/ui/smallestSearch.png" caption="Smallest Search Field" %}
183+
184+
{% include figure.html content="/screens/ui/largestSearch.png" caption="Largest Search Field" %}
185+
186+
</div>
187+
188+
#### Font Size Delta
189+
190+
In addition, this setting gives the ability to increase or decrease the font size of the search field.
191+
192+
<div class="masonry" markdown="0">
193+
194+
{% include figure.html content="/screens/ui/smallestFont.png" caption="Smallest Font Size" %}
195+
196+
{% include figure.html content="/screens/ui/largestFont.png" caption="Largest Font Size" %}
197+
198+
</div>
199+
200+
----
107201

108202
### Transparent scrollbars and accent scrollbars
109203

52.2 KB
Loading

img/screens/ui/largestFontSize.png

212 KB
Loading

img/screens/ui/largestSearch.png

88.6 KB
Loading

img/screens/ui/normalSelection.png

36.5 KB
Loading

img/screens/ui/outlined.png

8.17 KB
Loading
18.3 KB
Loading
1.95 KB
Loading
5.01 KB
Loading
2.48 KB
Loading

0 commit comments

Comments
 (0)