Skip to content

Commit

Permalink
chore: update cartoon template
Browse files Browse the repository at this point in the history
  • Loading branch information
byodian committed Dec 1, 2024
1 parent 2ae42ea commit 6ea320e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
"lint-staged": "^15.2.10",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
"typescript": "^5",
"vercel": "39.1.1"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
Expand Down
15 changes: 7 additions & 8 deletions src/theme/templates/cartoon-template/cartoon-template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,12 @@ export const cartoonTemplate: ArticleModuleTemplate = {
'&::before': {
content: '""',
position: 'absolute',
width: '48px',
height: '48px',
top: '-20px',
left: 0,
backgroundSize: '24px 24px, 18px 18px',
backgroundImage: 'url(/images/cartoon-star-yellow.svg), url(/images/cartoon-star-yellow.svg)',
backgroundPosition: 'left center, right 8px top 5px',
width: '24px',
height: '24px',
top: '-10px',
left: '10px',
backgroundSize: '24px 24px',
backgroundImage: 'url(/images/cartoon-star-yellow.svg)',
backgroundRepeat: 'no-repeat',
},

Expand All @@ -76,7 +75,7 @@ export const cartoonTemplate: ArticleModuleTemplate = {
position: 'absolute',
width: '24px',
height: '24px',
right: 0,
right: '20px',
bottom: 0,
backgroundImage: 'url(/images/cartoon-star-yellow.svg)',
backgroundRepeat: 'no-repeat',
Expand Down

0 comments on commit 6ea320e

Please sign in to comment.