Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Corner radii #2

Open
leb-kuchen opened this issue May 4, 2024 · 3 comments
Open

Feature Request: Corner radii #2

leb-kuchen opened this issue May 4, 2024 · 3 comments

Comments

@leb-kuchen
Copy link
Contributor

leb-kuchen commented May 4, 2024

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
@leb-kuchen
Copy link
Contributor Author

leb-kuchen commented May 4, 2024

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

@edfloreshz
Copy link
Owner

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

@M00NJ
Copy link

M00NJ commented May 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants