diff --git a/src/index.css b/src/index.css --- a/src/index.css +++ b/src/index.css @@ -3620,3 +3620,50 @@ } } +.untangled-comment-highlight { + position: relative; + background-color: rgb(254 240 138 / 0.15) !important; + border-radius: 0; +} + +.untangled-comment-highlight::before { + content: ''; + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 3px; + background-color: #eab308; + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; + z-index: 1; +} + +/* Align solid bar with the vertical replies thread line */ +.-ml-4.untangled-comment-highlight::before, +.-ml-4 > .untangled-comment-highlight::before { + left: calc(1rem - 2px); + border-radius: 0; +} + +.-ml-4.untangled-comment-highlight, +.-ml-4 > .untangled-comment-highlight { + background-color: transparent !important; + background-image: linear-gradient(to right, transparent calc(1rem - 2px), rgb(254 240 138 / 0.15) calc(1rem - 2px)) !important; +} + +@media (prefers-color-scheme: dark) { + .untangled-comment-highlight { + background-color: rgb(161 98 7 / 0.1) !important; + } + .untangled-comment-highlight::before { + background-color: #ca8a04; + } + .-ml-4.untangled-comment-highlight, + .-ml-4 > .untangled-comment-highlight { + background-color: transparent !important; + background-image: linear-gradient(to right, transparent calc(1rem - 2px), rgb(161 98 7 / 0.1) calc(1rem - 2px)) !important; + } +} + + diff --git a/src/components/repo.tsx b/src/components/repo.tsx --- a/src/components/repo.tsx +++ b/src/components/repo.tsx @@ -2092,3 +2092,33 @@ ); }; +export const RepoCardSkeleton: Component<{ compact?: boolean; noBorder?: boolean }> = (props) => { + return ( +
{userIdent()}
-{pronouns()}
+{pronouns()}
+{description()}
+{description()}
+