ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details
This commit is contained in:
github-actions 2024-07-07 05:53:18 +00:00
parent 442c272cab
commit 6a79df2fd5

View file

@ -38,10 +38,8 @@
--box-shadow-border: var( --border-color-base ) 0 0 0 1px inset;
// Based on https://web.dev/building-a-color-scheme/#rad-shadow
// TODO: Refactor this to support filter drop-shadow
--box-shadow-card:
0 2.8px 2.2px -4px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .03) )',0 6.7px 5.3px -4px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .01) )',0 12.5px 10px -4px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .02) )',0 22.3px 17.9px -4px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .02) )',0 41.8px 33.4px -4px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .03) )',0 100px 80px -4px ~'hsla( var(--surface-shadow), var(--shadow-strength) )';
--box-shadow-dialog:
0 2.8px 2.2px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .03) )',0 6.7px 5.3px ~'hsla (var(--surface-shadow), calc(var(--shadow-strength) + .01) )',0 12.5px 10px ~'hsla( (--surface-shadow), calc(var(--shadow-strength) + .02) )',0 22.3px 17.9px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .02) )',0 41.8px 33.4px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .03) )',0 100px 80px ~'hsla( var(--surface-shadow), var(--shadow-strength) )';
--box-shadow-card: 0 2.8px 2.2px -4px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .03) )', 0 6.7px 5.3px -4px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .01) )', 0 12.5px 10px -4px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .02) )', 0 22.3px 17.9px -4px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .02) )', 0 41.8px 33.4px -4px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .03) )', 0 100px 80px -4px ~'hsla( var(--surface-shadow), var(--shadow-strength) )';
--box-shadow-dialog: 0 2.8px 2.2px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .03) )', 0 6.7px 5.3px ~'hsla (var(--surface-shadow), calc(var(--shadow-strength) + .01) )', 0 12.5px 10px ~'hsla( (--surface-shadow), calc(var(--shadow-strength) + .02) )', 0 22.3px 17.9px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .02) )', 0 41.8px 33.4px ~'hsla( var(--surface-shadow), calc(var(--shadow-strength) + .03) )', 0 100px 80px ~'hsla( var(--surface-shadow), var(--shadow-strength) )';
/* Font */
// Used as base unit to caluclate font-size
--font-size-base: 1rem;