chore: tweak fomantic config (#8583)

Disable many unneeded variants in fomantic's config. Reduces the amount of CSS is generated.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8583
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
This commit is contained in:
Gusted 2025-07-21 22:34:54 +02:00 committed by Gusted
commit ccc33dd2df
3 changed files with 21 additions and 849 deletions

View file

@ -14,9 +14,14 @@
@variationButtonAnimated: false;
@variationButtonAnimatedFade: false;
@variationButtonAttached: false;
@variationButtonCircular: false;
@variationButtonFloated: false;
@variationButtonInverted: false;
@variationButtonToggle: false;
@variationButtonSocial: false;
@variationButtonTertiary: false;
@variationButtonOr: false;
@variationButtonSizes: mini, tiny, small;
@variationCalendarInverted: false;
@variationCardInverted: false;
@variationCheckboxInverted: false;
@ -24,14 +29,18 @@
@variationDimmerInverted: false;
@variationDividerInverted: false;
@variationDropdownInverted: false;
@variationDropdownScrollhint: false;
@variationDropdownSimple: false;
@variationFeedInverted: false;
@variationFlyoutInverted: false;
@variationFormInverted: false;
@variationFormTransparent: false;
@variationFormSizes: false;
@variationGridDoubling: false;
@variationGridInverted: false;
@variationHeaderInverted: false;
@variationIconInverted: false;
@variationInputAction: false;
@variationInputInverted: false;
@variationItemInverted: false;
@variationLabelCorner: false;
@ -40,14 +49,25 @@
@variationLabelRibbon: false;
@variationLabelTag: false;
@variationListInverted: false;
@variationMenuText: false;
@variationMenuFitted: false;
@variationMenuFixed: false;
@variationMenuInverted: false;
@variationMessageInverted: false;
@variationModalBasic: false;
@variationModalInverted: false;
@variationModalLegacy: false;
@variationModalOverlay: false;
@variationModalSizes: mini, tiny, small;
@variationNagInverted: false;
@variationPlaceholderInverted: false;
@variationPopupInverted: false;
@variationPopupTooltip: false;
@variationProgressInverted: false;
@variationSearchAligned: false;
@variationSearchCategory: false;
@variationSearchShort: false;
@variationSearchLong: false;
@variationSegmentInverted: false;
@variationSegmentPiled: false;
@variationSegmentStacked: false;