Skip to content

Commit

Permalink
Merge pull request #6 from Swaggy-Swagger/feat/logo
Browse files Browse the repository at this point in the history
[feat]: Change Swaggy Swagger Logo
  • Loading branch information
westofsky authored Oct 27, 2024
2 parents 0dc564f + ee97d49 commit f2c5c3f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
10 changes: 10 additions & 0 deletions src/standalone/plugins/top-bar/assets/swaggy_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions src/standalone/plugins/top-bar/components/Logo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
* @prettier
*/
import React from "react"
import SwaggerUILogo from "../assets/logo_small.svg"

const Logo = () => <SwaggerUILogo height="40" />
import SwaggerNewLogo from "../assets/swaggy_logo.svg"
const Logo = () => <SwaggerNewLogo height="40" />

export default Logo
4 changes: 4 additions & 0 deletions src/style/_swaggy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,8 @@ font-size: 10px;
.sidebar{
display: none;
}
}

.swagger-ui .topbar .download-url-wrapper .download-url-button{
color : white;
}
7 changes: 3 additions & 4 deletions src/style/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ $mango-tango: #e97500 !default;


// Swaggy-Swagger Theme

$color-primary: #84EA2C !default;
$color-primary: #2B6764 !default;
$color-secondary: #877455 !default;
$color-info: #4990e2 !default;
$color-warning: #E68EA1 !default;
Expand Down Expand Up @@ -221,10 +220,10 @@ $topbar-link-font-color: $color-primary !default;
$topbar-download-url-wrapper-element-border-color: $color-primary !default;

$topbar-download-url-button-background-color: $color-primary !default;
$topbar-download-url-button-font-color: $agate-gray !default;
$topbar-download-url-button-font-color: white !default;

// Type

$text-body-default-font-color: $bright-gray !default;
$text-code-default-font-color: $bright-gray !default;
$text-headline-default-font-color: $bright-gray !default;
$text-headline-default-font-color: $bright-gray !default;

0 comments on commit f2c5c3f

Please sign in to comment.