dist: Release v1.0.0

This commit is contained in:
Hannes 2021-07-19 14:09:25 +02:00
parent 37e873bdd0
commit fc9c739912
No known key found for this signature in database
GPG key ID: 371029119C5F0D51
3 changed files with 21 additions and 2 deletions

View file

@ -8,3 +8,22 @@ Extends Extension:TemplateStyles by the following new matchers:
* `ruby-align`
* `scroll-margin-*`, `scroll-padding-*`
* `pointer-events`
## Installation
Download the zip file from the [latest release](https://github.com/octfx/mediawiki-extensions-TemplateStylesExtender/releases/latest) page.
Extract the folder to `extensions/TemplateStylesExtender`.
Add the following to `LocalSettings.php`:
```
wfLoadExtension( 'TemplateStyles' )
wfLoadExtension('TemplateStylesExtender')
```
## Configuration
`$wgTemplateStylesExtenderEnablePrefersColorScheme`
Default: `true`
Enables or disables `@media (prefers-color-scheme)` queries.
`$wgTemplateStylesExtenderEnableCssVars`
Default: `true`
Enables or disables css variable support.

View file

@ -1,6 +1,6 @@
{
"name": "mediawiki/template-styles-extender",
"version": "0.0.1",
"version": "1.0.0",
"type": "mediawiki-extension",
"description": "Extends TemplateStyles with new CSS properties",
"homepage": "http://www.mediawiki.org/wiki/Extension:TemplateStylesExtender",

View file

@ -1,6 +1,6 @@
{
"name": "TemplateStylesExtender",
"version": "0.0.1",
"version": "1.0.0",
"author": [
"Octfx"
],