tweaks icon indicating copy to clipboard operation
tweaks copied to clipboard

Add corner radii to available settings

Open YkdWaWEzVmphR1Z1 opened this issue 1 year ago • 3 comments

The appearance settings has 3 options for corner radii. These are the generated config files in CosmicTheme{Dark,Light} respectively. There is a builder, but for corner radii these values are the same. Also these values are for top-left, top-right, bottom-right and bottom-left

(
    radius_0: (0.0, 0.0, 0.0, 0.0),
    radius_xs: (4.0, 4.0, 4.0, 4.0),
    radius_s: (8.0, 8.0, 8.0, 8.0),
    radius_m: (16.0, 16.0, 16.0, 16.0),
    radius_l: (32.0, 32.0, 32.0, 32.0),
    radius_xl: (160.0, 160.0, 160.0, 160.0),
)
(
    radius_0: (0.0, 0.0, 0.0, 0.0),
    radius_xs: (2.0, 2.0, 2.0, 2.0),
    radius_s: (8.0, 8.0, 8.0, 8.0),
    radius_m: (8.0, 8.0, 8.0, 8.0),
    radius_l: (8.0, 8.0, 8.0, 8.0),
    radius_xl: (8.0, 8.0, 8.0, 8.0),
)
(
    radius_0: (0.0, 0.0, 0.0, 0.0),
    radius_xs: (2.0, 2.0, 2.0, 2.0),
    radius_s: (2.0, 2.0, 2.0, 2.0),
    radius_m: (2.0, 2.0, 2.0, 2.0),
    radius_l: (2.0, 2.0, 2.0, 2.0),
    radius_xl: (2.0, 2.0, 2.0, 2.0),
)

So what options should we provide? I think of 2 options.

  1. Let the user set config file
  2. Provide more options than the appearance settings with a slider

YkdWaWEzVmphR1Z1 avatar May 04 '24 13:05 YkdWaWEzVmphR1Z1

screenshot-2024-05-04-13-03-33 Doubling the top-left and bottom-right radii on the setting Slightly round.

YkdWaWEzVmphR1Z1 avatar May 04 '24 13:05 YkdWaWEzVmphR1Z1

This is interesting and would provide a lot more customization to the desktop.

edfloreshz avatar May 04 '24 17:05 edfloreshz

I don't know how feasible this is, but being able to set different corner radii for certain components would be a great advanced tweaking option. For example I'm not a fan of the pill shaped sidebar items. But setting the style to slightly round changes the shape of the switches as well, which should stay pill shaped imo, since it's usually default shape for switches.

M00NJ avatar May 19 '24 12:05 M00NJ