Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Commit

Permalink
Prepare version 2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosdion committed Jan 24, 2022
1 parent 8353d32 commit 89f9444
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 24 deletions.
7 changes: 2 additions & 5 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
DarkMagic 2.0.3
================================================================================
+ Media Manager sidebar background color adjustment.
# [HIGH] Sometimes the CSS might not load at all

DarkMagic 2.0.2
================================================================================
+ Support for Joomla 4.1
+ About box in the plugin's configuration page
+ Style the TinyMCE chrome, optionally also the content area.
+ Styling for new module and new task pages
+ Media Manager sidebar background color adjustment.
~ Improved display of plugin options
# [HIGH] Sometimes the CSS might not load at all

DarkMagic 2.0.1
================================================================================
Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DarkMagic

DarkMagic - Turn off the lights in your Joomla! 4 administrator template
DarkMagic - Dark Mode for Joomla 4's default templates

Copyright (C) 2020-2021 Nicholas K. Dionysopoulos

Expand All @@ -27,9 +27,9 @@ I primarily wrote this for my own, personal use. I do publish occasional pre-bui

## Caveats

Dark Mode themes are only applied when you are using the Atum template in the backend. If you have customized the template you may need to override the Dark Mode CSS files provided by this plugin to take into account your modifications.
Dark Mode themes are only applied when you are using the Atum template in the backend or Cassiopeia in the frontend. It does not apply to child templates or templates forked from Atum and Cassiopeia. If you have customized the template you may need to override the Dark Mode CSS files provided by this plugin to take into account your modifications.

This plugin does not make Dark Mode possible, it only makes it easier. You can always recompile Joomla's CSS to support dark mode or have a permanently dark mode template. After all, that's what I do here. This plugin is easier in the sense that you don't have to “hack core” to let Joomla use the dark CSS, therefore your changes won't be overwritten the next time you update Joomla. Moreover, if yuo change your mind you can just disable thi s plugin instead of trying to restore Joomla's original CSS. That's signifficantly easier!
This plugin does not make Dark Mode possible, it only makes it easier. You can always recompile Joomla's CSS to support dark mode or have a permanently dark mode template. After all, that's what I do here. This plugin is easier in the sense that you don't have to do media overrides. Moreover, if you change your mind you can disable the plugin instead of undoing media overrides.

Dark Mode has a lower contrast than the normal, light mode. If you're using Dark Mode you'll need to keep your screen brightness / backlight at a higher setting than if you're using light mode at night. This is deliberate, not a bug. If you are looking for something with a black background and white foreground what you're looking for is called "high contrast" or "inverse color" mode, not dark mode. This plugin _does not_ do high contrast / inverse color mode.

Expand Down Expand Up @@ -61,8 +61,10 @@ If you want to go through the build process I use you will need to have the foll

* A command line environment. Using Bash under Linux / Mac OS X works best.
* A PHP CLI binary in your path
* Phing installed account-wide on your machine
* Command line Git executables
* The sass (Sass / SCSS compiler) executable in your path
* The Composer executable in your path
* Phing installed account-wide on your machine and its executable in your path
* Command line Git executables in your path

You will also need the following path structure inside a folder on your system

Expand Down
15 changes: 9 additions & 6 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
## DarkMagic for Joomla 4

This nifty plugin automatically applies a dark mode to the default Joomla 4 administrative template (Atum).

It can optionally be applied in the frontend if you are using the Cassiopeia template.
This plugin implements Dark Mode for Joomla 4's default administrator (Atum) and frontend (Cassiopeia) templates.

### Requirements

* Joomla 4.0.
* Joomla 4.0 or 4.1.
* PHP 7.2, 7.3, 7.4, 8.0 or 8.1.
* Atum (backend) or Cassiopeia (frontend) template.
* A web browser with Dark Mode support.
Expand All @@ -15,5 +13,10 @@ It can optionally be applied in the frontend if you are using the Cassiopeia tem

### Changelog

* Updated for Joomla 4 stable
* Fully native Joomla 4 plugin
* `+` Support for Joomla 4.1
* `+` About box in the plugin's configuration page
* `+` Style the TinyMCE chrome, optionally also the content area.
* `+` Styling for new module and new task pages
* `+` Media Manager sidebar background color adjustment.
* `~` Improved display of plugin options
* `# [HIGH]` Sometimes the CSS might not load at all
1 change: 0 additions & 1 deletion TODO.txt

This file was deleted.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "project",
"description": "DarkMagic - Turn off the lights in your Joomla! 4 administrator template",
"require": {
"php": ">=7.2.0",
"php": "^7.2.0||^8.0.0",
"ext-simplexml": "*"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions plugins/system/darkmagic/darkmagic.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

<extension version="4.0.0" type="plugin" group="system" method="upgrade">
<name>PLG_SYSTEM_DARKMAGIC</name>
<version>2.0.1</version>
<creationDate>2021-12-21</creationDate>
<version>2.0.2</version>
<creationDate>2022-01-24</creationDate>
<author>Nicholas K. Dionysopoulos</author>
<authorEmail>no-reply@akeebabackup.com</authorEmail>
<authorUrl>https://www.dionysopoulos.me</authorUrl>
Expand Down
38 changes: 34 additions & 4 deletions update/plg_darkmagic_updates.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
<!-- Dark Magic update provisioning XML stream -->
<updates>
<update>
<version>2.0.2</version>
<tags>
<tag>stable</tag>
</tags>

<downloads>
<downloadurl type="full" format="zip">https://github.com/nikosdion/darkmagic/releases/download/2.0.2/plg_system_darkmagic-2.0.2.zip</downloadurl>
</downloads>
<infourl title="Dark Magic Release Notes">https://github.com/nikosdion/darkmagic/releases/download/2.0.2</infourl>

<targetplatform name="joomla" version="4.[01]"/>

<php_minimum>7.2.0</php_minimum>

<ars-phpcompat version="7.2"/>
<ars-phpcompat version="7.3"/>
<ars-phpcompat version="7.4"/>
<ars-phpcompat version="8.0"/>
<ars-phpcompat version="8.1"/>

<name>DarkMagic plugin</name>
<description>DarkMagic - Dark Mode for Joomla 4's default templates</description>
<element>plg_system_darkmagic</element>
<type>plugin</type>
<maintainer>Nicholas K. Dionysopoulos</maintainer>
<maintainerurl>https://www.dionysopoulos.me</maintainerurl>
<section>Updates</section>
<client>administrator</client>
</update>
<update>
<version>2.0.1</version>
<tags>
Expand All @@ -13,7 +43,7 @@

<targetplatform name="joomla" version="4.[01]"/>

<php_minimum>7.1.0</php_minimum>
<php_minimum>7.2.0</php_minimum>

<ars-phpcompat version="7.2"/>
<ars-phpcompat version="7.3"/>
Expand All @@ -28,7 +58,7 @@
<maintainer>Nicholas K. Dionysopoulos</maintainer>
<maintainerurl>https://www.dionysopoulos.me</maintainerurl>
<section>Updates</section>
<client>0</client>
<client>administrator</client>
</update>
<update>
<version>2.0.0</version>
Expand All @@ -43,7 +73,7 @@

<targetplatform name="joomla" version="4.[01]"/>

<php_minimum>7.1.0</php_minimum>
<php_minimum>7.2.0</php_minimum>

<ars-phpcompat version="7.2"/>
<ars-phpcompat version="7.3"/>
Expand All @@ -56,6 +86,6 @@
<maintainer>Nicholas K. Dionysopoulos</maintainer>
<maintainerurl>https://www.dionysopoulos.me</maintainerurl>
<section>Updates</section>
<client>0</client>
<client>administrator</client>
</update>
</updates>

0 comments on commit 89f9444

Please sign in to comment.