Skip to content

Commit 3a28f33

Browse files
committed
feat(ui): add italic sub-labels to customization options
1 parent e21a2ff commit 3a28f33

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

src/app/generator/customization-options.tsx

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ const CustomizationOptions: React.FC<CustomizationOptionsProps> = ({ options, on
3333
</div>
3434
{/* Use Icons */}
3535
<div className="flex items-center justify-between">
36-
<Label htmlFor="use-icons">Use Icons</Label>
36+
<div className="flex flex-col">
37+
<Label htmlFor="use-icons">Use Icons</Label>
38+
<span className="text-xs text-muted-foreground italic">BOTH VIEW</span>
39+
</div>
3740
<Switch
3841
id="use-icons"
3942
checked={options.useIcons}
@@ -42,7 +45,10 @@ const CustomizationOptions: React.FC<CustomizationOptionsProps> = ({ options, on
4245
</div>
4346
{/* Show Line Numbers */}
4447
<div className="flex items-center justify-between">
45-
<Label htmlFor="show-line-numbers">Show Line Numbers</Label>
48+
<div className="flex flex-col">
49+
<Label htmlFor="show-line-numbers">Show Line Numbers</Label>
50+
<span className="text-xs text-muted-foreground italic">ASCII VIEW ONLY</span>
51+
</div>
4652
<Switch
4753
id="show-line-numbers"
4854
checked={options.showLineNumbers}
@@ -51,7 +57,10 @@ const CustomizationOptions: React.FC<CustomizationOptionsProps> = ({ options, on
5157
</div>
5258
{/* Show Descriptions */}
5359
<div className="flex items-center justify-between">
54-
<Label htmlFor="show-descriptions">Show Descriptions</Label>
60+
<div className="flex flex-col">
61+
<Label htmlFor="show-descriptions">Show Descriptions</Label>
62+
<span className="text-xs text-muted-foreground italic">ASCII VIEW ONLY</span>
63+
</div>
5564
<Switch
5665
id="show-descriptions"
5766
checked={options.showDescriptions}
@@ -60,7 +69,10 @@ const CustomizationOptions: React.FC<CustomizationOptionsProps> = ({ options, on
6069
</div>
6170
{/* Root Directory */}
6271
<div className="flex items-center justify-between">
63-
<Label htmlFor="show-root-directory">Root Directory</Label>
72+
<div className="flex flex-col">
73+
<Label htmlFor="show-root-directory">Root Directory</Label>
74+
<span className="text-xs text-muted-foreground italic">ASCII VIEW ONLY</span>
75+
</div>
6476
<Switch
6577
id="show-root-directory"
6678
checked={options.showRootDirectory}
@@ -69,7 +81,10 @@ const CustomizationOptions: React.FC<CustomizationOptionsProps> = ({ options, on
6981
</div>
7082
{/* Trailing Slash */}
7183
<div className="flex items-center justify-between">
72-
<Label htmlFor="show-trailing-slash">Trailing Slash</Label>
84+
<div className="flex flex-col">
85+
<Label htmlFor="show-trailing-slash">Trailing Slash</Label>
86+
<span className="text-xs text-muted-foreground italic">ASCII VIEW ONLY</span>
87+
</div>
7388
<Switch
7489
id="show-trailing-slash"
7590
checked={options.showTrailingSlash}

0 commit comments

Comments
 (0)