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

[TG] update Ten's visual identity #1796

Merged
merged 2 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tools/walletextension/frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const nextConfig = {
output: "export",
// distDir should be "../api/static" in production but .next in development
distDir: process.env.NODE_ENV === "development" ? ".next" : "../api/static",
images: {
unoptimized: true,
},
};

module.exports = nextConfig;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tools/walletextension/frontend/public/favicon.ico
Binary file not shown.
16 changes: 15 additions & 1 deletion tools/walletextension/frontend/src/components/layouts/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,27 @@ import { HamburgerMenuIcon } from "@radix-ui/react-icons";
import { useState } from "react";
import { Button } from "../ui/button";
import HealthIndicator from "../health-indicator";
import Image from "next/image";

export default function Header() {
return (
<div className="border-b">
<div className="flex h-16 justify-between items-center px-4">
<Link href="/">
<h1 className="text-40">TEN.</h1>
<Image
src="/assets/images/black_logotype.png"
alt="Logo"
width={150}
height={40}
className="cursor-pointer dark:hidden"
/>
<Image
src="/assets/images/white_logotype.png"
alt="Logo"
width={150}
height={40}
className="cursor-pointer hidden dark:block"
/>
</Link>
<div className="hidden md:flex items-center space-x-4">
<MainNav className="mx-6" />
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
@font-face {
font-family: "DMSans";
src: url("DMSans-BlackItalic.ttf") format("truetype");
font-weight: 900;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: "DMSans";
src: url("DMSans-Bold.ttf") format("truetype");
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "DMSans";
src: url("DMSans-Light.ttf") format("truetype");
font-weight: 300;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "DMSans";
src: url("DMSans-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "DMSans";
src: url("DMSans-Medium.ttf") format("truetype");
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "DMSans";
src: url("DMSans-SemiBold.ttf") format("truetype");
font-weight: 600;
font-style: normal;
font-display: swap;
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
@font-face {
font-family: "Quicksand";
src: url("Quicksand-Bold.ttf") format("truetype");
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Quicksand";
src: url("Quicksand-Light.ttf") format("truetype");
font-weight: 300;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Quicksand";
src: url("Quicksand-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Quicksand";
src: url("Quicksand-Medium.ttf") format("truetype");
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Quicksand";
src: url("Quicksand-SemiBold.ttf") format("truetype");
font-weight: 600;
font-style: normal;
font-display: swap;
}
45 changes: 12 additions & 33 deletions tools/walletextension/frontend/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,22 @@
@tailwind components;
@tailwind utilities;

@layer base {
@font-face {
font-family: "CloudSoft";
font-weight: 400;
src: url("./fonts/CloudSoft-Light_300.otf") format("opentype");
}
@import "./fonts/DMSans/stylesheet.css";
@import "./fonts/Quicksand/stylesheet.css";

@font-face {
font-family: "CloudSoft";
font-weight: 500;
src: url("./fonts/CloudSoft-Bold_700.otf") format("opentype");
@layer base {
* {
@apply border-border;
}

@font-face {
font-family: "CloudSoft";
font-weight: 700;
src: url("./fonts/CloudSoft-Bold_700.otf") format("opentype");
html {
font-family: "DMSans", sans-serif;
}

html {
font-family: "CloudSoft", sans-serif;
body {
@apply bg-background text-foreground;
font-feature-settings: "rlig" 1, "calt" 1;
font-family: "DMSans", sans-serif;
}

h1,
Expand All @@ -32,6 +27,7 @@
h5,
h6 {
font-weight: 500;
font-family: "Quicksand", sans-serif;
}

:root {
Expand Down Expand Up @@ -120,23 +116,6 @@
}

@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
font-feature-settings: "rlig" 1, "calt" 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 500;
}

/* styles for docs */
.prose ul {
list-style: disc;
Expand Down
Loading