Remove fomantic dimmer module (#30723)

Tested extensively using modal which is the only dependant.
This commit is contained in:
silverwind 2024-04-29 16:49:50 +02:00 committed by GitHub
parent e80466f734
commit a21ca9b5a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 62 additions and 1116 deletions

View file

@ -5,6 +5,7 @@ import {initAriaFormFieldPatch} from './fomantic/form.js';
import {initAriaDropdownPatch} from './fomantic/dropdown.js';
import {initAriaModalPatch} from './fomantic/modal.js';
import {initFomanticTransition} from './fomantic/transition.js';
import {initFomanticDimmer} from './fomantic/dimmer.js';
import {svg} from '../svg.js';
export const fomanticMobileScreen = window.matchMedia('only screen and (max-width: 767.98px)');
@ -24,6 +25,7 @@ export function initGiteaFomantic() {
};
initFomanticTransition();
initFomanticDimmer();
initFomanticApiPatch();
// Use the patches to improve accessibility, these patches are designed to be as independent as possible, make it easy to modify or remove in the future.