Skip to content

Adding logo. Different in light and dark mode#293

Merged
MaanavD merged 1 commit into
mainfrom
adding_logo
Oct 28, 2025
Merged

Adding logo. Different in light and dark mode#293
MaanavD merged 1 commit into
mainfrom
adding_logo

Conversation

@MaanavD
Copy link
Copy Markdown
Collaborator

@MaanavD MaanavD commented Oct 25, 2025

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
foundry-local Ready Ready Preview Comment Oct 25, 2025 11:31pm

@MaanavD MaanavD merged commit e0fbb03 into main Oct 28, 2025
15 checks passed
@MaanavD MaanavD deleted the adding_logo branch October 28, 2025 20:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds new logo variations for the Foundry Local branding and integrates them across the site. The changes update the visual identity from Azure placeholders to custom Foundry Local logos with support for different theme contexts.

  • Adds three new SVG logo variants (color, filled, and stroke)
  • Introduces logoMark configuration option for compact contexts
  • Updates logo usage in the hero section and sidebar with proper theme support

Reviewed Changes

Copilot reviewed 4 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
www/static/logos/foundry-local-logo-stroke.svg New stroke-only logo variant for compact/monochrome contexts
www/static/logos/foundry-local-logo-fill.svg New filled white logo variant for dark theme usage
www/static/logos/foundry-local-logo-color.svg New color gradient logo variant for light theme usage
www/src/lib/types/config.ts Adds logoMark field to SiteConfig interface for compact logo variant
www/src/lib/config.ts Updates logo paths from Azure placeholders to new Foundry Local logos
www/src/lib/components/home/hero.svelte Adds logo display with theme-aware variants and adjusts animation timings
www/src/lib/components/app-sidebar.svelte Replaces icon with compact logo variant in sidebar header

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

import * as Sidebar from '$lib/components/ui/sidebar/index.js';
import { siteConfig } from '$lib/config';
import GalleryVerticalEnd from 'lucide-svelte/icons/gallery-vertical-end';
import type { ComponentProps } from 'svelte';
Copy link

Copilot AI Oct 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The ComponentProps import should be moved above the component imports to maintain the conventional import ordering: types first, then external libraries, then internal modules, then components.

Copilot uses AI. Check for mistakes.
<img
src={compactLogo}
alt="Foundry Local logo"
class="h-5 w-5"
Copy link

Copilot AI Oct 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fixed dimensions h-5 w-5 may distort the logo if its aspect ratio is not 1:1. The stroke logo appears to have a square viewBox (279x279), but using object-fit or allowing flexible width while constraining only height would be more robust. Consider using class=\"h-5 w-auto\" instead.

Suggested change
class="h-5 w-5"
class="h-5 w-auto"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants