From aec9b02c8539c9c2aa535984cc676386b121d703 Mon Sep 17 00:00:00 2001 From: Brent Roose Date: Wed, 15 May 2024 08:15:45 +0200 Subject: [PATCH] QA --- composer.json | 3 ++- src/Themes/Css/ellison.css | 23 +++++++++++++++++++++++ tests/targets/test.md | 2 +- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 src/Themes/Css/ellison.css diff --git a/composer.json b/composer.json index acb3038..9a51b59 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,8 @@ "assertchris/ellison": "^1.0.2" }, "suggest": { - "assertchris/ellison": "Allows you to analyse sentence complexity" + "assertchris/ellison": "Allows you to analyse sentence complexity", + "league/commonmark": "Adds markdown support" }, "scripts": { "phpunit": "vendor/bin/phpunit --display-warnings --display-skipped --display-deprecations --display-errors --display-notices", diff --git a/src/Themes/Css/ellison.css b/src/Themes/Css/ellison.css new file mode 100644 index 0000000..cbdf4ad --- /dev/null +++ b/src/Themes/Css/ellison.css @@ -0,0 +1,23 @@ +.hl-moderate-sentence { + background-color: #fef9c3; +} + +.hl-complex-sentence { + background-color: #fee2e2; +} + +.hl-adverb-phrase { + background-color: #e0f2fe; +} + +.hl-passive-phrase { + background-color: #dcfce7; +} + +.hl-complex-phrase { + background-color: #f3e8ff; +} + +.hl-qualified-phrase { + background-color: #f1f5f9; +} diff --git a/tests/targets/test.md b/tests/targets/test.md index a631870..0287ccf 100644 --- a/tests/targets/test.md +++ b/tests/targets/test.md @@ -1,3 +1,3 @@ -```blade +```ellison {{-- Blade comment --}} ``` \ No newline at end of file