Skip to content

[Proposal] Use tailwind style CSS class names for legacy helpers #23011

Closed
@wxiaoguang

Description

@wxiaoguang

Feature Description

Before, the helper classes are called df, ac, sb, which are very difficult to understand.

Now, Gitea has its own prefix gt-, so it's time to improve the legacy CSS class names. It would be very easy to do a search & replace since these names all have prefixes.

Reference: https://tailwind.build/classes

Example:

gt-db => gt-block
gt-df => gt-flex
gt-h-100 => gt-h-full
...

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/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