Skip to content

Commit 2d6d787

Browse files
authored
Merge pull request #497 from ansidev/patchfix/20240226
Patchfix - 20240226
2 parents dc0af64 + a8294fb commit 2d6d787

File tree

5 files changed

+8
-167
lines changed

5 files changed

+8
-167
lines changed

.astro/types.d.ts

Lines changed: 0 additions & 159 deletions
This file was deleted.

src/components/LeetCodeDifficulty.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const getDifficultyCssClass: (difficulty: string) => string = (
3434
<Tag
3535
{...tagProps}
3636
class:list={[
37-
'px-2 py-1',
37+
'px-4 py-2',
3838
getDifficultyCssClass(difficulty),
3939
tag === 'a' ? 'link' : '',
4040
props.class,

src/content/leetcode-solutions/0231-power-of-two.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ For `i > 0`, we have:
103103
<pre>
104104
n - 1 = <code>2<sup>i</sup><sub>10</sub> - 1</code> ≥ 0
105105
n & (n-1) = <code>2<sup>i</sup><sub>10</sub></code> & <code>2<sup>i</sup><sub>10</sub> - 1</code> = <code>100...00<sub>2</sub></code> & <code>011...11<sub>2</sub></code> = 0
106-
|__i__| |__i__|
106+
|___i___| |__i__|
107107
</pre>
108108

109109
```

src/pages/[slug].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { CollectionEntry, getCollection } from 'astro:content'
2+
import { type CollectionEntry, getCollection } from 'astro:content'
33
44
import Disqus from '@/components/Disqus.astro'
55
import PostLayout from '@/layouts/PostLayout.astro'

tailwind.config.cjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ module.exports = {
1717
typography: theme => ({
1818
DEFAULT: {
1919
css: {
20-
color: theme('textColor.style.primary'),
21-
'--tw-prose-headings': theme('textColor.style.primary'),
22-
'--tw-prose-bold': theme('textColor.style.primary'),
23-
'--tw-prose-quotes': theme('textColor.style.primary'),
20+
color: 'rgb(var(--textColor-style-primary))',
21+
'--tw-prose-headings': 'rgb(var(--textColor-style-primary))',
22+
'--tw-prose-bold': 'rgb(var(--textColor-style-primary))',
23+
'--tw-prose-quotes': 'rgb(var(--textColor-style-primary))',
2424
'--tw-prose-pre-bg': '#0d1117',
2525
code: {
26-
backgroundColor: theme('backgroundColor.style.primary'),
26+
backgroundColor: 'rgb(var(--backgroundColor-style-primary))',
2727
padding: '5px',
2828
borderRadius: '3px',
2929
},

0 commit comments

Comments
 (0)