From c398e877025073c97781df8e5e096b936d39f236 Mon Sep 17 00:00:00 2001 From: Sergey Bedritsky Date: Wed, 23 Jun 2021 13:38:05 +0300 Subject: [PATCH 1/8] ProseEm --- src/defaultTheme/components/atoms/prose/ProseEm.vue | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/defaultTheme/components/atoms/prose/ProseEm.vue b/src/defaultTheme/components/atoms/prose/ProseEm.vue index 27fbec3c9..c751b9dd8 100644 --- a/src/defaultTheme/components/atoms/prose/ProseEm.vue +++ b/src/defaultTheme/components/atoms/prose/ProseEm.vue @@ -6,15 +6,6 @@ From bda376575903995e919b0d38b9bf8dc7fe276d63 Mon Sep 17 00:00:00 2001 From: Sergey Bedritsky Date: Wed, 23 Jun 2021 14:08:04 +0300 Subject: [PATCH 2/8] ProseH1 --- .../components/atoms/prose/ProseH1.vue | 15 +++------------ src/defaultTheme/windi.config.ts | 2 +- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/src/defaultTheme/components/atoms/prose/ProseH1.vue b/src/defaultTheme/components/atoms/prose/ProseH1.vue index 95d9d35d6..afaa126ea 100644 --- a/src/defaultTheme/components/atoms/prose/ProseH1.vue +++ b/src/defaultTheme/components/atoms/prose/ProseH1.vue @@ -5,21 +5,12 @@ diff --git a/src/defaultTheme/windi.config.ts b/src/defaultTheme/windi.config.ts index 88035e69a..a759fba5f 100644 --- a/src/defaultTheme/windi.config.ts +++ b/src/defaultTheme/windi.config.ts @@ -39,7 +39,7 @@ export default defineConfig({ fontSize: { inherit: 'inherit', root: '16px', // Safari fix to disable font size scaling - lg: ['1.125rem', '1.5rem'] // NOT WORKING + lg: ['4.125rem', '1.5rem'] // NOT WORKING }, fontFamily: { sans: 'Inter, ' + defaultTheme.fontFamily.sans From ad1e69dbc6daa960740f366b56df9d6f0114c65b Mon Sep 17 00:00:00 2001 From: Sergey Bedritsky Date: Wed, 23 Jun 2021 14:20:43 +0300 Subject: [PATCH 3/8] ProseH2 --- .../components/atoms/prose/ProseH2.vue | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/defaultTheme/components/atoms/prose/ProseH2.vue b/src/defaultTheme/components/atoms/prose/ProseH2.vue index a69b01d56..51ac8bdbb 100644 --- a/src/defaultTheme/components/atoms/prose/ProseH2.vue +++ b/src/defaultTheme/components/atoms/prose/ProseH2.vue @@ -5,21 +5,12 @@ From 8583f76e0d7399c0b8b2c7808bedbb9e9bc2add4 Mon Sep 17 00:00:00 2001 From: Sergey Bedritsky Date: Wed, 23 Jun 2021 14:31:03 +0300 Subject: [PATCH 4/8] ProseH3 --- .../components/atoms/prose/ProseH3.vue | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/defaultTheme/components/atoms/prose/ProseH3.vue b/src/defaultTheme/components/atoms/prose/ProseH3.vue index 54f9f67fb..d95372dad 100644 --- a/src/defaultTheme/components/atoms/prose/ProseH3.vue +++ b/src/defaultTheme/components/atoms/prose/ProseH3.vue @@ -5,21 +5,12 @@ From adc8b0dfdb38a70d601978bc41950a5a75087c54 Mon Sep 17 00:00:00 2001 From: Sergey Bedritsky Date: Wed, 23 Jun 2021 14:32:05 +0300 Subject: [PATCH 5/8] ProseH4 --- .../components/atoms/prose/ProseH4.vue | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/defaultTheme/components/atoms/prose/ProseH4.vue b/src/defaultTheme/components/atoms/prose/ProseH4.vue index 493bb68be..12d2b41fd 100644 --- a/src/defaultTheme/components/atoms/prose/ProseH4.vue +++ b/src/defaultTheme/components/atoms/prose/ProseH4.vue @@ -5,21 +5,12 @@ From 19ba92219796fb6dedce46a1fa3167b233ff6b6c Mon Sep 17 00:00:00 2001 From: Sergey Bedritsky Date: Wed, 23 Jun 2021 16:24:50 +0300 Subject: [PATCH 6/8] ProseHr --- src/defaultTheme/components/atoms/prose/ProseHr.vue | 10 ++-------- src/defaultTheme/settings.ts | 1 + src/defaultTheme/windi.config.ts | 2 +- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/defaultTheme/components/atoms/prose/ProseHr.vue b/src/defaultTheme/components/atoms/prose/ProseHr.vue index a010e124f..2b52b883c 100644 --- a/src/defaultTheme/components/atoms/prose/ProseHr.vue +++ b/src/defaultTheme/components/atoms/prose/ProseHr.vue @@ -4,16 +4,10 @@ diff --git a/src/defaultTheme/settings.ts b/src/defaultTheme/settings.ts index b2830ecc8..bd0321065 100644 --- a/src/defaultTheme/settings.ts +++ b/src/defaultTheme/settings.ts @@ -65,6 +65,7 @@ const defaultThemeSettings = { 'd-prose-code-filename-bg': 'bg-gray-100 dark:bg-gray-800', 'd-prose-code-filename-text': 'text-gray-600 dark:text-gray-400', 'd-prose-code-inline-in-heading-border-hover': 'border-gray-500 dark:border-gray-200', + 'd-prose-hr-border': 'border-t border-gray-100 dark:border-gray-800', // Icons 'd-text-icon': 'd-secondary-text hover:d-secondary-text-hover', 'd-icon': 'd-text-icon focus:outline-none', diff --git a/src/defaultTheme/windi.config.ts b/src/defaultTheme/windi.config.ts index a759fba5f..88035e69a 100644 --- a/src/defaultTheme/windi.config.ts +++ b/src/defaultTheme/windi.config.ts @@ -39,7 +39,7 @@ export default defineConfig({ fontSize: { inherit: 'inherit', root: '16px', // Safari fix to disable font size scaling - lg: ['4.125rem', '1.5rem'] // NOT WORKING + lg: ['1.125rem', '1.5rem'] // NOT WORKING }, fontFamily: { sans: 'Inter, ' + defaultTheme.fontFamily.sans From d4c17b97d96db506757ac3e355bc99b9fd5ca602 Mon Sep 17 00:00:00 2001 From: Sergey Bedritsky Date: Wed, 23 Jun 2021 16:32:37 +0300 Subject: [PATCH 7/8] ProseImg --- src/defaultTheme/components/atoms/prose/ProseImg.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/defaultTheme/components/atoms/prose/ProseImg.vue b/src/defaultTheme/components/atoms/prose/ProseImg.vue index d2f4fa2df..5fb50e68d 100644 --- a/src/defaultTheme/components/atoms/prose/ProseImg.vue +++ b/src/defaultTheme/components/atoms/prose/ProseImg.vue @@ -27,7 +27,6 @@ export default { From 91581f097d6d98a76216cd95181ab2b657e3e80b Mon Sep 17 00:00:00 2001 From: Sergey Bedritsky Date: Wed, 23 Jun 2021 18:13:49 +0300 Subject: [PATCH 8/8] ProseLi --- .../components/atoms/prose/ProseLi.vue | 60 ++++--------------- src/defaultTheme/settings.ts | 1 + 2 files changed, 11 insertions(+), 50 deletions(-) diff --git a/src/defaultTheme/components/atoms/prose/ProseLi.vue b/src/defaultTheme/components/atoms/prose/ProseLi.vue index 9a41f260d..50078184f 100644 --- a/src/defaultTheme/components/atoms/prose/ProseLi.vue +++ b/src/defaultTheme/components/atoms/prose/ProseLi.vue @@ -3,69 +3,29 @@ diff --git a/src/defaultTheme/settings.ts b/src/defaultTheme/settings.ts index bd0321065..04eda327d 100644 --- a/src/defaultTheme/settings.ts +++ b/src/defaultTheme/settings.ts @@ -66,6 +66,7 @@ const defaultThemeSettings = { 'd-prose-code-filename-text': 'text-gray-600 dark:text-gray-400', 'd-prose-code-inline-in-heading-border-hover': 'border-gray-500 dark:border-gray-200', 'd-prose-hr-border': 'border-t border-gray-100 dark:border-gray-800', + 'd-prose-ul-li-bullet': 'd-secondary-bg', // Icons 'd-text-icon': 'd-secondary-text hover:d-secondary-text-hover', 'd-icon': 'd-text-icon focus:outline-none',