Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace logo image with SVG #3803

Closed
hSaria opened this issue Dec 29, 2019 · 0 comments · Fixed by #3804
Closed

Replace logo image with SVG #3803

hSaria opened this issue Dec 29, 2019 · 0 comments · Fixed by #3804
Labels
status: accepted This issue has been accepted for implementation

Comments

@hSaria
Copy link
Contributor

hSaria commented Dec 29, 2019

Proposed Changes

Replace the existing netbox_logo.png with an SVG.

New:
image

It looks freakin' glorious at a larger size; check out README.md in the pull request.

Old:
image

Justification

  • Easier to maintain/change in the future
  • Scales to size
  • Simple (I only had to use circles and rectangles)
  • Smaller (50% of old)

I've created two variants, one with the title and one without it.

I couldn't tell which font is in the old logo so I used what most-closely matched it.

netbox_logo.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1100 320">
  <style>
    .title {
      font-weight: bold;
      font-size: 200px;
      font-family: "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
      letter-spacing: 4px;
    }
  </style>
  <g fill="#9cc8f8" stroke="#9cc8f8">
    <circle cx="37" cy="284" r="23"/>
    <circle cx="101" cy="37" r="23"/>
    <circle cx="101" cy="220" r="23"/>
    <circle cx="284" cy="220" r="23"/>
    <rect x="93" y="37" width="16" height="180"/>
    <rect x="101" y="212" width="180" height="16"/>
    <rect x="93" y="212" width="16" height="90" transform="rotate(45 101 220)"/>
  </g>
  <g fill="#1685fc" stroke="#1685fc">
    <circle cx="284" cy="37" r="23"/>
    <circle cx="37" cy="101" r="23"/>
    <circle cx="220" cy="101" r="23"/>
    <circle cx="220" cy="284" r="23"/>
    <rect x="37" y="93" width="180" height="16"/>
    <rect x="212" y="101" width="16" height="180"/>
    <rect x="212" y="93" width="16" height="90" transform="rotate(225 220 101)"/>
    <text x="380" y="150" alignment-baseline="middle" class="title">netbox</text>
  </g>
</svg>
netbox_icon.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 320">
  <g fill="#9cc8f8" stroke="#9cc8f8">
    <circle cx="37" cy="284" r="23"/>
    <circle cx="101" cy="37" r="23"/>
    <circle cx="101" cy="220" r="23"/>
    <circle cx="284" cy="220" r="23"/>
    <rect x="93" y="37" width="16" height="180"/>
    <rect x="101" y="212" width="180" height="16"/>
    <rect x="93" y="212" width="16" height="90" transform="rotate(45 101 220)"/>
  </g>
  <g fill="#1685fc" stroke="#1685fc">
    <circle cx="284" cy="37" r="23"/>
    <circle cx="37" cy="101" r="23"/>
    <circle cx="220" cy="101" r="23"/>
    <circle cx="220" cy="284" r="23"/>
    <rect x="37" y="93" width="180" height="16"/>
    <rect x="212" y="101" width="16" height="180"/>
    <rect x="212" y="93" width="16" height="90" transform="rotate(225 220 101)"/>
  </g>
</svg>
@hSaria hSaria mentioned this issue Dec 29, 2019
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: ui labels Dec 30, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants