Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

resolves #2047, fix summary text in chikorita template, when in sidebar

Amruth Pillai611044068257
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 5e50a67a0..59c8b14be 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,15 +1,9 @@
{
+ "css.validate": false,
+ "vitest.disableWorkspaceWarning": true,
"typescript.tsdk": "node_modules/typescript/lib",
"tailwindCSS.experimental.classRegex": [
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
["cn\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
- ],
- "yaml.schemas": {
- "https://json.schemastore.org/github-workflow.json": ".github/workflows/*.yml",
- "https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json": [
- "tools/compose/*"
- ]
- },
- "i18n-ally.localesPaths": ["apps/client/src/locales"],
- "vitest.disableWorkspaceWarning": true
+ ]
}
diff --git a/apps/artboard/src/templates/chikorita.tsx b/apps/artboard/src/templates/chikorita.tsx
index 06584feca..1cf4b83cb 100644
--- a/apps/artboard/src/templates/chikorita.tsx
+++ b/apps/artboard/src/templates/chikorita.tsx
@@ -128,7 +128,8 @@ const Link = ({ url, icon, iconOnRight, label, className }: LinkProps) => {
return (
<div className="flex items-center gap-x-1.5">
- {!iconOnRight && (icon ?? <i className="ph ph-bold ph-link text-primary" />)}
+ {!iconOnRight &&
+ (icon ?? <i className="ph ph-bold ph-link text-primary group-[.sidebar]:text-white" />)}
<a
href={url.href}
target="_blank"
@@ -137,7 +138,8 @@ const Link = ({ url, icon, iconOnRight, label, className }: LinkProps) => {
>
{label ?? (url.label || url.href)}
</a>
- {iconOnRight && (icon ?? <i className="ph ph-bold ph-link text-primary" />)}
+ {iconOnRight &&
+ (icon ?? <i className="ph ph-bold ph-link text-primary group-[.sidebar]:text-white" />)}
</div>
);
};
@@ -208,7 +210,10 @@ const Section = <T,>({
</div>
{summary !== undefined && !isEmptyString(summary) && (
- <div dangerouslySetInnerHTML={{ __html: summary }} className="wysiwyg" />
+ <div
+ dangerouslySetInnerHTML={{ __html: summary }}
+ className="wysiwyg group-[.sidebar]:prose-invert"
+ />
)}
{level !== undefined && level > 0 && <Rating level={level} />}