mirror of
https://github.com/aljazceru/njump.git
synced 2026-01-31 11:44:34 +01:00
Review design for mentioned notes
This commit is contained in:
@@ -27,10 +27,13 @@ module.exports = {
|
||||
/* for markdown html content */
|
||||
DEFAULT: {
|
||||
css: {
|
||||
'--tw-prose-invert-body': theme('colors.neutral[100]'),
|
||||
'--tw-prose-invert-quotes': theme('colors.neutral[100]'),
|
||||
'--tw-prose-headings': theme('colors.strongpink'),
|
||||
'--tw-prose-invert-headings': theme('colors.strongpink'),
|
||||
'--tw-prose-links': theme('colors.gray[700]'),
|
||||
'--tw-prose-invert-links': theme('colors.neutral[50]')
|
||||
'--tw-prose-invert-links': theme('colors.neutral[50]'),
|
||||
maxWidth: '100%',
|
||||
a: {
|
||||
'font-weight': 300,
|
||||
},
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
></div>
|
||||
|
||||
<article
|
||||
class="prose-cite:text-sm prose prose mb-6 leading-5 dark:prose-invert prose-headings:font-light prose-p:m-0 prose-p:mb-2 prose-blockquote:mx-0 prose-blockquote:my-8 prose-blockquote:border-l-05rem prose-blockquote:border-solid prose-blockquote:border-l-gray-100 prose-blockquote:py-2 prose-blockquote:pl-4 prose-blockquote:pr-0 prose-ol:m-0 prose-ol:p-0 prose-ol:pl-4 prose-ul:m-0 prose-ul:p-0 prose-ul:pl-4 prose-li:mb-2 dark:prose-blockquote:border-l-zinc-800 sm:prose-a:text-justify"
|
||||
class="prose-cite:text-sm prose prose mb-6 leading-5 dark:prose-invert prose-headings:font-light prose-p:m-0 prose-p:mb-2 prose-blockquote:mx-0 prose-blockquote:my-8 prose-blockquote:mb-2 prose-blockquote:mt-2 prose-blockquote:border-l-05rem prose-blockquote:border-solid prose-blockquote:border-l-neutral-200 prose-blockquote:py-2 prose-blockquote:pl-4 prose-blockquote:pr-0 prose-blockquote:pt-0 prose-blockquote:font-light prose-blockquote:not-italic prose-ol:m-0 prose-ol:p-0 prose-ol:pl-4 prose-ul:m-0 prose-ul:p-0 prose-ul:pl-4 prose-li:mb-2 dark:prose-blockquote:border-l-neutral-700 sm:prose-a:text-justify"
|
||||
>
|
||||
{{ if (not (eq "" .Subject))}}
|
||||
<h1 class="text-2xl">{{.Subject}}</h1>
|
||||
|
||||
2
utils.go
2
utils.go
@@ -317,7 +317,7 @@ func renderQuotesAsHTML(ctx context.Context, input string, usingTelegramInstantV
|
||||
}
|
||||
|
||||
content := fmt.Sprintf(
|
||||
`<blockquote class="pl-4 pr-0 pt-0 pb-2 border-l-05rem border-l-strongpink border-solid"><div class="-ml-4 bg-gray-100 dark:bg-zinc-800 mr-0 mt-0 mb-4 pl-4 pr-2 py-2">quoting %s </div> %s </blockquote>`, match, event.Content)
|
||||
`<blockquote class="border-l-05rem border-l-strongpink border-solid"><div class="-ml-4 bg-gradient-to-r from-gray-100 dark:from-zinc-800 to-transparent mr-0 mt-0 mb-4 pl-4 pr-2 py-2">quoting %s </div> %s </blockquote>`, match, event.Content)
|
||||
return basicFormatting(content, false, usingTelegramInstantView)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user