diff --git a/src/assets/img/sparc-logo/sparc-alt-logo-black.svg b/src/assets/img/sparc-logo/sparc-alt-logo-black.svg new file mode 100644 index 00000000..86f6f37e --- /dev/null +++ b/src/assets/img/sparc-logo/sparc-alt-logo-black.svg @@ -0,0 +1 @@ +sparc-alt-logo-black \ No newline at end of file diff --git a/src/assets/img/sparc-logo/sparc-alt-logo-primary.svg b/src/assets/img/sparc-logo/sparc-alt-logo-primary.svg new file mode 100644 index 00000000..7683257a --- /dev/null +++ b/src/assets/img/sparc-logo/sparc-alt-logo-primary.svg @@ -0,0 +1 @@ +sparc-alt-logo-primary \ No newline at end of file diff --git a/src/assets/img/sparc-logo/sparc-alt-logo-white.svg b/src/assets/img/sparc-logo/sparc-alt-logo-white.svg new file mode 100644 index 00000000..44fed28a --- /dev/null +++ b/src/assets/img/sparc-logo/sparc-alt-logo-white.svg @@ -0,0 +1 @@ +sparc-alt-logo-white \ No newline at end of file diff --git a/src/assets/img/sparc-logo/sparc-logo-black.svg b/src/assets/img/sparc-logo/sparc-logo-black.svg new file mode 100644 index 00000000..63cc34cd --- /dev/null +++ b/src/assets/img/sparc-logo/sparc-logo-black.svg @@ -0,0 +1 @@ +sparc-logo-black \ No newline at end of file diff --git a/src/assets/img/sparc-logo/sparc-logo-primary.svg b/src/assets/img/sparc-logo/sparc-logo-primary.svg new file mode 100644 index 00000000..5102d4cd --- /dev/null +++ b/src/assets/img/sparc-logo/sparc-logo-primary.svg @@ -0,0 +1 @@ +sparc-logo-primary \ No newline at end of file diff --git a/src/assets/img/sparc-logo/sparc-logo-white.svg b/src/assets/img/sparc-logo/sparc-logo-white.svg new file mode 100644 index 00000000..dd382581 --- /dev/null +++ b/src/assets/img/sparc-logo/sparc-logo-white.svg @@ -0,0 +1 @@ +sparc-logo-white \ No newline at end of file diff --git a/src/components/SparcLogo/SparcLogo.vue b/src/components/SparcLogo/SparcLogo.vue new file mode 100644 index 00000000..592937a6 --- /dev/null +++ b/src/components/SparcLogo/SparcLogo.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/src/stories/logo/demo-styles.scss b/src/stories/logo/demo-styles.scss new file mode 100644 index 00000000..b74dede0 --- /dev/null +++ b/src/stories/logo/demo-styles.scss @@ -0,0 +1,63 @@ +@import '../../assets/_variables.scss'; +.logo-demo-styles { + margin-top: 4rem; + .logo-primary { + padding: 0 6rem; + } + .logo-white, + .logo-black { + align-items: center; + box-sizing: border-box; + display: flex; + justify-content: center;; + height: 18.75rem; + padding: 6.875rem 4.0625rem; + &.logo-white { + background: #000; + } + &.logo-black { + background: $background; + } + } + .logo-usage-wrap { + @media (min-width: 48em) { + display: flex; + flex-wrap: wrap; + justify-content: center; + } + } + + .demo-logo-usage { + align-items: center; + box-sizing: border-box; + display: flex; + height: 17rem; + justify-content: center; + margin: 1rem 0; + padding: 2.5rem; + position: relative; + width: 17rem; + @media (min-width: 48em) { + margin: 1rem; + } + &.cross:before { + background: linear-gradient(45deg, transparent 49.8%, #979797 49.9%, #979797 50.1%, transparent 50.2%), linear-gradient(-45deg, transparent 49.8%, #979797 49.9%, #979797 50.1%, transparent 50.2%); + content: ''; + height: 100%; + left: 0; + position: absolute; + top: 0; + transform: scale(1.05); + width: 100%; + } + &.logo-1 { + background: $purple; + } + &.logo-2 { + background: $darkBlue; + } + &.logo-3 { + background: $background; + } + } +} diff --git a/src/stories/logo/logo.stories.js b/src/stories/logo/logo.stories.js new file mode 100644 index 00000000..f9042069 --- /dev/null +++ b/src/stories/logo/logo.stories.js @@ -0,0 +1,101 @@ +import SparcLogo from '@/components/SparcLogo/SparcLogo.vue' + +import './demo-styles.scss'; + +export default { + title: 'Components/Logo', + includeStories: [] +} + +export const Logo = () => ({ + components: { SparcLogo }, + template: ` +
+
+
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+ ` +}) +export const Secondary = () => ({ + components: { SparcLogo }, + template: ` +
+
+
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ` +}) diff --git a/src/stories/logo/logo.stories.mdx b/src/stories/logo/logo.stories.mdx new file mode 100644 index 00000000..3ca3301e --- /dev/null +++ b/src/stories/logo/logo.stories.mdx @@ -0,0 +1,24 @@ +import { Meta, Story } from '@storybook/addon-docs/blocks'; +import * as stories from './logo.stories.js'; + + + +# Logo + +## Primary Logo + +The SPARC logo is the signature we use across all our communications. The logo should be instantly recognizable so consistency is important—please don’t edit, change, distort, recolor, or reconfigure it. + +Please use our primary logo most of the time, especially when using it to refer to the SPARC program as a whole. Our wave glyph color may change in special circumstances, but keep the letters in white or black. + +The wave may be used by itself in certain situations, such as augmenting designs of marketing/brand work (see Powerpoint template for examples), but for the most part should never be used on its own. + +{stories.Logo()} + +## Secondary Logo + +Our alternate logo can be used to further separate the SPARC brand from surrounding imagery and other logos, but should be avoided in places where we need to apply the logo in small contexts to balance the overall design of the page. + +The minimum size acceptable for visibility is 100 px (1.04 inch) for the width, and 44 px (0.458 inch) for the height. + +{stories.Secondary()}