-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontrast-test.txt
More file actions
59 lines (40 loc) · 1.35 KB
/
contrast-test.txt
File metadata and controls
59 lines (40 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
=== Test Plugin ===
Contributors: testuser
Tags: example, test
Requires at least: 5.0
Tested up to: 6.4
Stable tag: 1.0.0
License: GPLv2 or later
This is a test plugin to demonstrate theme contrast improvements.
== Description ==
This section demonstrates various elements that should have good contrast in both light and dark themes:
**Bold text** and *italic text* should be clearly readable.
Here's some `inline code` that should be easily visible with proper background contrast.
Links like https://example.com should have good contrast ratios.
Here's a code block:
```php
<?php
function my_plugin_function() {
$variable = 'This code should be easy to read';
return $variable;
}
?>
```
> This is a blockquote that should also have proper contrast.
== Installation ==
1. Upload the plugin files to your WordPress site
2. Activate the plugin through the 'Plugins' screen
3. Configure using `wp-config.php` constants:
```php
define('MY_PLUGIN_SETTING', true);
```
== Frequently Asked Questions ==
= Is the contrast good in dark themes? =
Yes! The blue colors and code blocks have been optimized for better readability.
= What about inline code? =
`Inline code` should now have better contrast and visibility.
== Changelog ==
= 1.0.0 =
* Initial release with improved theme support
* Better contrast for `code elements`
* Enhanced readability in dark themes