Commit f6308aa
♻️ refactor(styles): extract fadeIn animation to animations.ts
Extracts the `fadeIn` animation keyframes into a shared `src/styles/animations.ts` file to reduce duplication in `SyntaxHighlighter` and `SyntaxMarkdown`.
Files updated:
- src/styles/animations.ts (new)
- src/Highlighter/SyntaxHighlighter/style.ts
- src/Markdown/SyntaxMarkdown/style.ts
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 0a0ea88 commit f6308aa
File tree
3 files changed
+14
-18
lines changed- src
- Highlighter/SyntaxHighlighter
- Markdown/SyntaxMarkdown
- styles
3 files changed
+14
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 4 | + | |
12 | 5 | | |
13 | 6 | | |
14 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 3 | + | |
11 | 4 | | |
12 | 5 | | |
13 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments