Skip to content

Commit f843411

Browse files
committed
chore: update
1 parent db1deea commit f843411

1 file changed

Lines changed: 0 additions & 36 deletions

File tree

app/components/projects/RepoCard.vue

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,12 @@ function updateTilt(event: PointerEvent) {
3737
3838
card.style.setProperty('--tilt-x', `${(0.5 - y) * 7}deg`)
3939
card.style.setProperty('--tilt-y', `${(x - 0.5) * 9}deg`)
40-
card.style.setProperty('--pointer-x', `${x * 100}%`)
41-
card.style.setProperty('--pointer-y', `${y * 100}%`)
4240
}
4341
4442
function resetTilt(event: PointerEvent) {
4543
const card = event.currentTarget as HTMLElement
4644
card.style.setProperty('--tilt-x', '0deg')
4745
card.style.setProperty('--tilt-y', '0deg')
48-
card.style.setProperty('--pointer-x', '50%')
49-
card.style.setProperty('--pointer-y', '50%')
5046
}
5147
</script>
5248

@@ -79,9 +75,6 @@ function resetTilt(event: PointerEvent) {
7975

8076
<div v-else class="project-card__repo-cover" :style="repoCoverStyle" aria-hidden="true">
8177
<strong class="font-londrina">{{ repoCoverWord }}</strong>
82-
<!-- <div class="project-card__repo-mark">
83-
<i i-hugeicons:repository />
84-
</div> -->
8578
</div>
8679
</div>
8780

@@ -135,19 +128,14 @@ function resetTilt(event: PointerEvent) {
135128
--project-card-border: color-mix(in srgb, currentColor 18%, transparent);
136129
--project-card-border-active: color-mix(in srgb, currentColor 34%, transparent);
137130
--project-card-shadow: rgb(47 47 39 / 12%);
138-
--project-preview-background: color-mix(in srgb, currentColor 9%, var(--project-page));
139131
--project-preview-shade: rgb(17 17 15 / 15%);
140132
--project-preview-wash: rgb(233 233 229 / 2%);
141133
--project-domain-background: rgb(233 233 229 / 90%);
142-
--project-domain-border: rgb(17 17 15 / 18%);
143134
--project-domain-color: #11110f;
144-
--project-spotlight: rgb(255 255 255 / 42%);
145135
--project-preview-filter: grayscale(0.72) saturate(0.58) contrast(0.96);
146136
--project-preview-filter-hover: grayscale(0.28) saturate(0.76) contrast(0.98);
147137
--tilt-x: 0deg;
148138
--tilt-y: 0deg;
149-
--pointer-x: 50%;
150-
--pointer-y: 50%;
151139
position: relative;
152140
min-width: 0;
153141
perspective: 70rem;
@@ -158,13 +146,10 @@ function resetTilt(event: PointerEvent) {
158146
:global(.dark) .project-card {
159147
--project-page: #11110f;
160148
--project-card-shadow: rgb(0 0 0 / 30%);
161-
--project-preview-background: color-mix(in srgb, currentColor 5%, var(--project-page));
162149
--project-preview-shade: rgb(17 17 15 / 72%);
163150
--project-preview-wash: rgb(17 17 15 / 68%);
164151
--project-domain-background: rgb(17 17 15 / 88%);
165-
--project-domain-border: rgb(233 233 229 / 17%);
166152
--project-domain-color: #e9e9e5;
167-
--project-spotlight: rgb(233 233 229 / 9%);
168153
--project-preview-filter: grayscale(0.9) saturate(0.38) brightness(0.48) contrast(1.04);
169154
--project-preview-filter-hover: grayscale(0.58) saturate(0.58) brightness(0.62) contrast(1.02);
170155
}
@@ -197,7 +182,6 @@ function resetTilt(event: PointerEvent) {
197182
position: relative;
198183
aspect-ratio: 16 / 10;
199184
overflow: hidden;
200-
/* background: var(--project-preview-background); */
201185
transform: translateZ(0.4rem);
202186
transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
203187
}
@@ -338,26 +322,6 @@ function resetTilt(event: PointerEvent) {
338322
transform: translateX(0.18rem);
339323
}
340324
341-
.project-card__repo-mark {
342-
display: flex;
343-
align-items: center;
344-
justify-content: space-between;
345-
}
346-
347-
.project-card__repo-mark span {
348-
width: clamp(3rem, 28%, 5.5rem);
349-
height: 0.18rem;
350-
background: var(--repo-accent);
351-
box-shadow: 0 0 1.1rem color-mix(in srgb, var(--repo-accent) 42%, transparent);
352-
}
353-
354-
.project-card__repo-mark i {
355-
width: 1.35rem;
356-
height: 1.35rem;
357-
color: color-mix(in srgb, var(--repo-accent) 66%, currentColor);
358-
opacity: 0.74;
359-
}
360-
361325
:global(.dark) .project-card__repo-cover {
362326
color: color-mix(in srgb, var(--repo-accent) 76%, #e9e9e5);
363327
background:

0 commit comments

Comments
 (0)