Add corner radii to available settings
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.
- Let the user set config file
- Provide more options than the appearance settings with a slider
Doubling the top-left and bottom-right radii on the setting
Slightly round.
This is interesting and would provide a lot more customization to the desktop.
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.