Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
159 changes: 0 additions & 159 deletions .astro/types.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/LeetCodeDifficulty.astro
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const getDifficultyCssClass: (difficulty: string) => string = (
<Tag
{...tagProps}
class:list={[
'px-2 py-1',
'px-4 py-2',
getDifficultyCssClass(difficulty),
tag === 'a' ? 'link' : '',
props.class,
Expand Down
2 changes: 1 addition & 1 deletion src/content/leetcode-solutions/0231-power-of-two.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ For `i > 0`, we have:
<pre>
n - 1 = <code>2<sup>i</sup><sub>10</sub> - 1</code> ≥ 0
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
|__i__| |__i__|
|___i___| |__i__|
</pre>

```
Expand Down
2 changes: 1 addition & 1 deletion src/pages/[slug].astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import { CollectionEntry, getCollection } from 'astro:content'
import { type CollectionEntry, getCollection } from 'astro:content'

import Disqus from '@/components/Disqus.astro'
import PostLayout from '@/layouts/PostLayout.astro'
Expand Down
10 changes: 5 additions & 5 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ module.exports = {
typography: theme => ({
DEFAULT: {
css: {
color: theme('textColor.style.primary'),
'--tw-prose-headings': theme('textColor.style.primary'),
'--tw-prose-bold': theme('textColor.style.primary'),
'--tw-prose-quotes': theme('textColor.style.primary'),
color: 'rgb(var(--textColor-style-primary))',
'--tw-prose-headings': 'rgb(var(--textColor-style-primary))',
'--tw-prose-bold': 'rgb(var(--textColor-style-primary))',
'--tw-prose-quotes': 'rgb(var(--textColor-style-primary))',
'--tw-prose-pre-bg': '#0d1117',
code: {
backgroundColor: theme('backgroundColor.style.primary'),
backgroundColor: 'rgb(var(--backgroundColor-style-primary))',
padding: '5px',
borderRadius: '3px',
},
Expand Down