From 456d33756da4fba208e78eed2a2f5c3b8cb90612 Mon Sep 17 00:00:00 2001 From: Jake Fulmine Date: Sun, 13 Aug 2023 17:59:10 +0200 Subject: [PATCH] feat(dashboard): add markdown headers and lists --- dashboard/package.json | 2 +- dashboard/styles/generic.scss | 15 +++++++++++++++ dashboard/yarn.lock | 4 ++-- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/dashboard/package.json b/dashboard/package.json index 784b2328..1160f37f 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -26,7 +26,7 @@ "bootstrap": "^5.1.3", "bootstrap-dark-5": "^1.1.3", "core-js-pure": "^3.23.4", - "discord-markdown": "https://github.com/repository/discord-markdown#b9608feef6856c9baa68f96c932a25c1d2bc55c2", + "discord-markdown": "https://github.com/Draconizations/discord-markdown#fe852ba7bf2f56744a632207a314d749aa12dd65", "gh-pages": "^3.2.3", "highlight.js": "^11.7.0", "import": "^0.0.6", diff --git a/dashboard/styles/generic.scss b/dashboard/styles/generic.scss index de3be6b2..f2344623 100644 --- a/dashboard/styles/generic.scss +++ b/dashboard/styles/generic.scss @@ -203,4 +203,19 @@ img.emoji { clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; +} + +.card-body h1 { + font-size: 1.5em; + font-weight: bold; +} + +.card-body h2 { + font-size: 1.25em; + font-weight: bold; +} + +.card-body h3 { + font-size: 1.125em; + font-weight: bold; } \ No newline at end of file diff --git a/dashboard/yarn.lock b/dashboard/yarn.lock index c59dc3be..167753f6 100644 --- a/dashboard/yarn.lock +++ b/dashboard/yarn.lock @@ -346,9 +346,9 @@ detect-indent@^6.0.0: resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== -"discord-markdown@https://github.com/repository/discord-markdown#b9608feef6856c9baa68f96c932a25c1d2bc55c2": +"discord-markdown@https://github.com/Draconizations/discord-markdown#fe852ba7bf2f56744a632207a314d749aa12dd65": version "2.5.1" - resolved "https://github.com/repository/discord-markdown#b9608feef6856c9baa68f96c932a25c1d2bc55c2" + resolved "https://github.com/Draconizations/discord-markdown#fe852ba7bf2f56744a632207a314d749aa12dd65" dependencies: base-64 "^1.0.0" simple-markdown "^0.7.3"