Skip to content

Commit 7b53f87

Browse files
tyler-daneclaude
andcommitted
refactor(web): remove dead reminder CSS utilities
The reminder feature was deleted (#1875); its c-reminder-* utilities and keyframes in index.css had no remaining consumers. Remove 7 utilities and 4 keyframes (~138 lines). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent d578f9d commit 7b53f87

1 file changed

Lines changed: 0 additions & 138 deletions

File tree

packages/web/src/index.css

Lines changed: 0 additions & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -977,144 +977,6 @@
977977
}
978978
}
979979

980-
@keyframes c-reminder-underline-draw {
981-
from {
982-
stroke-dashoffset: 1000;
983-
opacity: 0.7;
984-
}
985-
to {
986-
stroke-dashoffset: 0;
987-
opacity: 1;
988-
}
989-
}
990-
991-
@keyframes c-reminder-fade-in {
992-
from {
993-
opacity: 0;
994-
transform: translateY(10px);
995-
}
996-
to {
997-
opacity: 1;
998-
transform: translateY(0);
999-
}
1000-
}
1001-
1002-
@keyframes c-reminder-gradient-wave {
1003-
0%,
1004-
100% {
1005-
background-position: 0% 50%;
1006-
}
1007-
50% {
1008-
background-position: 100% 50%;
1009-
}
1010-
}
1011-
1012-
@keyframes c-reminder-shadow {
1013-
0%,
1014-
100% {
1015-
filter: drop-shadow(0 0 2px var(--compass-color-bg-primary));
1016-
}
1017-
50% {
1018-
filter: drop-shadow(0 0 4px var(--compass-color-bg-secondary));
1019-
}
1020-
}
1021-
1022-
@utility c-reminder-container {
1023-
@apply z-1 mx-auto flex h-full w-full items-center justify-center;
1024-
}
1025-
1026-
@utility c-reminder-wrapper {
1027-
@apply relative inline-block pb-4.5;
1028-
}
1029-
1030-
@utility c-reminder-char-counter {
1031-
@apply absolute right-0 bottom-[-2px] left-0 w-full text-center text-xs opacity-80;
1032-
color: var(--compass-color-text-light-inactive);
1033-
&[data-near-limit="true"] {
1034-
color: var(--compass-color-status-warning);
1035-
}
1036-
}
1037-
1038-
@utility c-reminder-placeholder {
1039-
@apply relative cursor-pointer px-2.5 text-center text-[28px] italic;
1040-
color: var(--compass-color-text-light-inactive);
1041-
font-family: "Caveat", cursive;
1042-
animation: c-reminder-fade-in 0.5s ease-out;
1043-
&:hover {
1044-
color: var(--compass-color-text-light);
1045-
transition: color 0.3s ease;
1046-
}
1047-
}
1048-
1049-
@utility c-reminder-text {
1050-
@apply relative min-w-[200px] max-w-[500px] cursor-pointer px-2.5 text-center font-semibold whitespace-pre-wrap break-words;
1051-
color: transparent;
1052-
background: linear-gradient(
1053-
90deg,
1054-
var(--compass-color-gradient-accent-light-start),
1055-
var(--compass-color-gradient-accent-light-end)
1056-
);
1057-
background-size: 200% 200%;
1058-
background-clip: text;
1059-
-webkit-background-clip: text;
1060-
-webkit-text-fill-color: transparent;
1061-
font-family: "Caveat", cursive;
1062-
font-size: 28px;
1063-
line-height: 1.3;
1064-
filter: drop-shadow(0 0 2px var(--compass-color-bg-primary));
1065-
animation:
1066-
c-reminder-fade-in 0.5s ease-out,
1067-
c-reminder-gradient-wave 15s ease infinite;
1068-
&[data-length="medium"] {
1069-
font-size: 24px;
1070-
}
1071-
&[data-length="long"] {
1072-
font-size: 22px;
1073-
}
1074-
&[data-editing="true"] {
1075-
max-height: 80px;
1076-
cursor: text;
1077-
overflow: hidden;
1078-
outline: none;
1079-
}
1080-
&[data-editing="false"] {
1081-
max-height: 80px;
1082-
overflow-y: auto;
1083-
}
1084-
@media (prefers-reduced-motion: no-preference) {
1085-
animation:
1086-
c-reminder-shadow 5s ease-in-out infinite,
1087-
c-reminder-fade-in 0.5s ease-out,
1088-
c-reminder-gradient-wave 15s ease infinite;
1089-
}
1090-
}
1091-
1092-
@utility c-reminder-underline {
1093-
@apply pointer-events-none absolute bottom-0 left-[-5px] h-5 opacity-0;
1094-
width: calc(100% + 10px);
1095-
&[data-visible="true"] {
1096-
opacity: 1;
1097-
}
1098-
& path {
1099-
fill: none;
1100-
stroke-width: 3;
1101-
stroke-linecap: round;
1102-
stroke-linejoin: round;
1103-
stroke-dasharray: 1000;
1104-
stroke-dashoffset: 1000;
1105-
}
1106-
&[data-visible="true"] path {
1107-
animation: c-reminder-underline-draw 0.8s ease-out forwards;
1108-
}
1109-
}
1110-
1111-
@utility c-reminder-placeholder-underline {
1112-
@apply c-reminder-underline;
1113-
& path {
1114-
stroke-width: 2.5;
1115-
}
1116-
}
1117-
1118980
@utility c-calendar-all-day-columns {
1119981
@apply absolute top-0 grid h-full;
1120982
left: var(--calendar-grid-margin-left);

0 commit comments

Comments
 (0)