Skip to content

Replace Less #15565

Closed
Closed
@silverwind

Description

@silverwind

Less is a rather dead project which does not support recent CSS features as seen in #15520. I suggest moving to either SCSS or plain CSS.

Thoughts on SCSS:

  • Supports pretty much everything and more that Less does
  • Is 4 times more populare then Less
  • Might be slower to compile with their Dart implementation
  • Like less, it encourages the bad practice of deeply nesting selectors, resulting in unnecessarily big CSS output

Thoughts on CSS:

  • Instant build, no compilation required
  • Obviously supports all CSS features out of the box
  • Does not support nesting which can be both a blessing (lightweight output) and a curse (impractical sometimes)
  • Best tooling support

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions