Skip to content

[Enhancement] Force Rounded Borders on Windows #10

Open

Description

@http-samc

Hi, loving the project. One thing that helps make the presentation more aesthetic (in addition to the frameless aspect) is rounded corners. Needless to say, OSX already does this automatically, but for Windows users, it would help a lot.

I don't use JS in my workflow very often, but it seems that setting the transparent flag to true in the browser initialization and appending some sort of border-radius styling onto the body of the page should do the trick.

If you want, I can make the PR, though I haven't written JS in a few years so it might take longer than it should (feel free to do it yourself if you know the details).

There's a good chance I could be doing something wrong too, regardless, here's where I got the idea.

Activity

  1. antfu commented on Jun 19, 2021

    @antfu
    Owner

    Yes, we could. As the transparent window in electron has come hard caveats, I'd prefer to have it under and cli options. PR welcome, thanks

  2. added
    enhancement
    on Jun 19, 2021
  3. alexanderniebuhr commented on Aug 29, 2021

    @alexanderniebuhr
    Contributor

    questionable if we can check for windows version, in electron os package?
    Win 11 has native rounded borders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpr welcome

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions