Skip to content

Commit 84028c7

Browse files
committed
color changes & c
1 parent 8406369 commit 84028c7

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

demo/@/components/custom/animation-controls/CubicBezierControls.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
<CardContent
1313
@mouseenter="
1414
() => {
15-
cubicBezierAnim.pause();
15+
// cubicBezierAnim.pause();
1616
}
1717
"
1818
@mouseleave="
1919
(e) => {
20-
cubicBezierAnim.pause();
20+
// cubicBezierAnim.pause();
2121
}
2222
"
2323
>
@@ -62,7 +62,7 @@
6262
class="hover:scale-105 cursor-pointer w-6 h-6"
6363
@click="
6464
() => {
65-
cubicBezierAnim.pause();
65+
// cubicBezierAnim.pause();
6666
}
6767
"
6868
>
@@ -260,7 +260,7 @@ const cubicBezierAnim = new CSSKeyframesAnimation({
260260
onMounted(() => {
261261
updateTimingFunction();
262262
263-
cubicBezierAnim.play();
263+
// cubicBezierAnim.play();
264264
});
265265
</script>
266266

@@ -271,7 +271,7 @@ onMounted(() => {
271271
--stroke-width: 0.1;
272272
273273
--circle-color: hsl(var(--foreground));
274-
--path-color: rgb(153, 50, 243);
274+
--path-color: hsl(var(--ppmycota-primary));
275275
276276
circle {
277277
r: calc(var(--stroke-width) / 2);
@@ -286,7 +286,7 @@ onMounted(() => {
286286
cursor: not-allowed;
287287
}
288288
g path {
289-
stroke: rgb(137, 20, 239);
289+
stroke: var(--path-color);
290290
stroke-width: var(--stroke-width);
291291
fill: none;
292292
}

demo/@/styles/utils.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;700&display=swap");
22
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap");
33

4+
:root {
5+
--ppmycota-primary: 248, 88%, 71%;
6+
}
7+
48
* {
59
font-family: "Fira Code", monospace;
610
box-sizing: border-box;
@@ -141,13 +145,15 @@
141145
// filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(122deg) brightness(102%)
142146
// contrast(107%);
143147
// filter: invert(100%) sepia(100%) saturate(1%) hue-rotate(3deg) brightness(106%) contrast(101%)
144-
filter: invert(55%) sepia(80%) saturate(1496%) hue-rotate(220deg) brightness(95%) contrast(103%);
148+
filter: invert(55%) sepia(80%) saturate(1496%) hue-rotate(220deg) brightness(95%)
149+
contrast(103%);
145150
}
146151

147152
.ppmycota-logo-sm {
148153
background-image: url("@assets/ppmycota-logo-3.svg") !important;
149154
background-size: contain;
150155

151156
// filter: brightness(0.5) sepia(1) hue-rotate(-70deg) saturate(5);
152-
filter: invert(55%) sepia(80%) saturate(1496%) hue-rotate(220deg) brightness(95%) contrast(103%);
157+
filter: invert(55%) sepia(80%) saturate(1496%) hue-rotate(220deg) brightness(95%)
158+
contrast(103%);
153159
}

0 commit comments

Comments
 (0)