Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
Introduce non-padded logos, colors, theming, tailwind-support, styled…
Browse files Browse the repository at this point in the history
…-component support, css, json & more
  • Loading branch information
lucemans committed Jul 26, 2023
1 parent eb7f0ea commit d3871ca
Show file tree
Hide file tree
Showing 59 changed files with 1,162 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ Welcome to the ENS Media Kit. Here you can find logos, icons, and other media as

You can download the latest version of the media kit [from the releases tab](https://github.com/ensdomains/media-kit/releases/latest). These files are automatically generated and are the best way to ensure you are using the latest version of the media kit.

## 📂 File Structure

Here are some quick hyperlinks for the impatient:

- [Logos](./media/logos) ([Protocol](./media/logos/primary), [Light](./media/logos/light), [Dark](./media/logos/dark), [Ecosystem](./media/logos/ecosystem/), [DAO](./media/logos/dao), [Token](./media/logos/dao))
- [Colors](./media/colors) ([TailwindCSS](./media/colors/tailwind.config.js), [Styled-Components](./media/colors/README.md), [Plain CSS](./media/colors/colors.css), [Json](./media/colors/colors.json))
- [Brand Guidelines](./media/brand_guidelines) ([PDF](./media/Brand%20Guidelines.pdf), [SVG](./media/brand_guidelines/))
- [Logos with Padding](./media/_legacy)

## 📖 Brand Guidelines

Before using any please read the [ENS Brand Guidelines](./media/Brand%20Guidelines.pdf) to ensure you are using them correctly. If you have any questions, please [Open an issue](https://github.com/ensdomains/media-kit/issues/new) and let us know, or send an email to [[email protected]](mailto:[email protected]).
Expand Down
2 changes: 1 addition & 1 deletion media/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🖼️ ENS Media Kit

Welcome to the ENS Media Kit. Here you can find logos, icons, and other media assets for ENS.
Welcome to the ENS Media Kit. Here you can find logos, colors, icons, and other media assets for ENS.

Before using any please read the [ENS Brand Guidelines](./Brand%20Guidelines.pdf) to ensure you are using them correctly.

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
22 changes: 22 additions & 0 deletions media/brand_guidelines/Brand Guidelines-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
85 changes: 85 additions & 0 deletions media/brand_guidelines/Brand Guidelines-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
173 changes: 173 additions & 0 deletions media/brand_guidelines/Brand Guidelines-3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
130 changes: 130 additions & 0 deletions media/brand_guidelines/Brand Guidelines-4.svg

Large diffs are not rendered by default.

96 changes: 96 additions & 0 deletions media/brand_guidelines/Brand Guidelines-5.svg

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions media/brand_guidelines/Brand Guidelines-6.svg

Large diffs are not rendered by default.

103 changes: 103 additions & 0 deletions media/brand_guidelines/Brand Guidelines-7.svg

Large diffs are not rendered by default.

175 changes: 175 additions & 0 deletions media/brand_guidelines/Brand Guidelines-8.svg

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions media/brand_guidelines/Brand Guidelines-9.svg

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions media/colors/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Colors

## The Colors

## Plain CSS

When using plain CSS, css variables have been made available in [colors.css](./colors.css), you can use these by simply importing the file and using the variables like so

```css
.mydiv {
background-color: var(--ens-grey1);
color: var(--ens-blue);
}
```

## Styled-Components

For styled-components it is recommended to use the [ensdomains/thorin] global-styles.
You can import these like so

```tsx
import { ThorinGlobalStyles } from '@ensdomains/thorin';
import { baseTheme, lightTheme, darkTheme } from '@ensdomains/thorin';
```

## TailwindCSS

For tailwindcss it is recommended to use the provided [tailwind.config.js](./tailwind.config.js) file.
Simply drop it in your project and you should be good to go!

```
.bg-ens-blue
.bg-ens-gradient-blue
```
19 changes: 19 additions & 0 deletions media/colors/colors.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
:root {
--ens-blue: #5298FF;
--ens-blue2: rgba(82, 152, 255, 0.6);
--ens-blue3: rgba(82, 152, 255, 0.25);
--ens-green: #49B393;
--ens-indigo: #5854D6;
--ens-orange: #FF9500;
--ens-pink: #FF2D55;
--ens-purple: #AF52DE;
--ens-red: #D55555;
--ens-teal: #5AC8FA;
--ens-yellow: #E8B811;
--ens-grey1: #F6F6F6;
--ens-grey2: #9B9BA7;
--ens-grey3: #454545;
--ens-gradient-blue: linear-gradient(330.4deg, #44BCF0 4.54%, #7298F8 59.2%, #A099FF 148.85%);
--ens-gradient-purple: linear-gradient(323.31deg, #DE82FF -15.56%, #7F6AFF 108.43%);
--ens-gradient-green: linear-gradient(323.31deg, #73A6F2 -15.56%, #42C2AB 108.43%);
}
19 changes: 19 additions & 0 deletions media/colors/colors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"blue": "#5298FF",
"blue2": "rgba(82, 152, 255, 0.6)",
"blue3": "rgba(82, 152, 255, 0.25)",
"green": "#49B393",
"indigo": "#5854D6",
"orange": "#FF9500",
"pink": "#FF2D55",
"purple": "#AF52DE",
"red": "#D55555",
"teal": "#5AC8FA",
"yellow": "#E8B811",
"grey1": "#F6F6F6",
"grey2": "#9B9BA7",
"grey3": "#454545",
"gradient-blue": "linear-gradient(330.4deg, #44BCF0 4.54%, #7298F8 59.2%, #A099FF 148.85%)",
"gradient-purple": "linear-gradient(323.31deg, #DE82FF -15.56%, #7F6AFF 108.43%)",
"gradient-green": "linear-gradient(323.31deg, #73A6F2 -15.56%, #42C2AB 108.43%)"
}
32 changes: 32 additions & 0 deletions media/colors/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
module.exports = {
theme: {
extend: {
colors: {
ens: {
blue: "#5298FF",
blue2: "rgba(82, 152, 255, 0.6)",
blue3: "rgba(82, 152, 255, 0.25)",
green: "#49B393",
indigo: "#5854D6",
orange: "#FF9500",
pink: "#FF2D55",
purple: "#AF52DE",
red: "#D55555",
teal: "#5AC8FA",
yellow: "#E8B811",
grey1: "#F6F6F6",
grey2: "#9B9BA7",
grey3: "#454545",
"gradient-blue":
"linear-gradient(330.4deg, #44BCF0 4.54%, #7298F8 59.2%, #A099FF 148.85%)",
"gradient-purple":
"linear-gradient(323.31deg, #DE82FF -15.56%, #7F6AFF 108.43%)",
"gradient-green": "linear-gradient(323.31deg, #73A6F2 -15.56%, #42C2AB 108.43%)"
},
},
borderRadius: {
ens: "16px",
},
},
},
};
Binary file added media/logos/dao/ens_logo_dao.png
29 changes: 29 additions & 0 deletions media/logos/dao/ens_logo_dao.svg
Binary file added media/logos/dao/ens_mark_dao.png
14 changes: 14 additions & 0 deletions media/logos/dao/ens_mark_dao.svg
Binary file added media/logos/dao/token.png
10 changes: 10 additions & 0 deletions media/logos/dao/token.svg
Binary file added media/logos/dark/ens_logo_dark.png
13 changes: 13 additions & 0 deletions media/logos/dark/ens_logo_dark.svg
Binary file added media/logos/dark/ens_mark_dark.png
10 changes: 10 additions & 0 deletions media/logos/dark/ens_mark_dark.svg
Binary file added media/logos/ecosystem/ens_logo_ecosystem.png
Loading

0 comments on commit d3871ca

Please sign in to comment.