Skip to content

rebrand first pass #786

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

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion docs/dev-guides-home.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Dev Guides Home
slug: /dev-guides-home
---

import DevChia from '@site/static/img/home_pages/dev_on_chia.png';
import DevChia from '@site/static/img/home_pages/chia_dev.png';
import ChialispIntro from '@site/static/img/home_pages/chialisp_intro.png';
import SmartCoins from '@site/static/img/home_pages/smart_coins.png';
import Signatures from '@site/static/img/home_pages/signatures.png';
Expand Down
13 changes: 9 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const katex = require('rehype-katex');
baseUrl: '/',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
favicon: '/svg/chia-leaf-green.svg',
favicon: '/svg/chia-leaf.svg',
organizationName: 'Chia-Network',
projectName: 'chia-docs',
trailingSlash: true,
Expand Down Expand Up @@ -40,12 +40,12 @@ const katex = require('rehype-katex');
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
image: '/img/og-chia.png',
image: '/img/chia-logo-yellow.png',
navbar: {
title: 'Chia Docs',
logo: {
alt: 'Chia Logo',
src: '/svg/chia-leaf-green.svg',
alt: 'Chia Icon',
src: '/svg/chia-leaf.svg',
},
items: [
{
Expand Down Expand Up @@ -154,6 +154,11 @@ const katex = require('rehype-katex');
theme: require('./src/theme/prism-light-theme-chialisp'),
additionalLanguages: ['powershell', 'lisp'],
},
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true,
},
}),
themes: [
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Dev Guides Home
slug: /dev-guides-home
---

import DevChia from '@site/static/img/home_pages/dev_on_chia.png';
import DevChia from '@site/static/img/home_pages/chia_dev.png';
import ChialispIntro from '@site/static/img/home_pages/chialisp_intro.png';
import SmartCoins from '@site/static/img/home_pages/smart_coins.png';
import Signatures from '@site/static/img/home_pages/signatures.png';
Expand All @@ -29,7 +29,7 @@ import SimulatorGuide from '@site/static/img/home_pages/simulator_guide.png';
import WalletConnect from '@site/static/img/home_pages/wallet_connect.png';

import GreatChia from '@site/static/img/home_pages/chia_great.png';
import AppDev from '@site/static/img/home_pages/dev_on_chia.png';
import AppDev from '@site/static/img/home_pages/chia_dev.png';
import ToolsSetup from '@site/static/img/home_pages/env_setup.png';
import ProgrammingClsp from '@site/static/img/home_pages/clsp_programming.png';
import CoinLifecycle from '@site/static/img/home_pages/coin_lifecycle.png';
Expand Down
20 changes: 12 additions & 8 deletions src/components/HomepageFeatures.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
width: 50px;
}

.featureSvg {
fill: #42506C;
}

html[data-theme='dark'] .featureSvg {
fill: #E5FE75;
}

.button {
font-size: 14px;
font-weight: 700;
Expand All @@ -19,7 +27,7 @@
border-radius: 4px;
letter-spacing: 0.03em;
color: #fff;
background-color: #53c371;
background-color: #42506C;
box-sizing: border-box;
height: 32px;
line-height: 32px;
Expand Down Expand Up @@ -64,12 +72,12 @@ form {
}

.emailInput:focus {
border-color: #53c371;
border-color: #42506C;
outline: none;
}

h3 {
color: #53c371;
color: #42506C;
}

label {
Expand All @@ -79,10 +87,6 @@ label {
font-weight: bold;
}

#mc_embed_signup.h3 {
color: #5ece71;
}

.mceResponses {
float: left;
top: -1.4em;
Expand All @@ -108,7 +112,7 @@ div.response {
}

#mce-success-response {
color: #5ece71;
color: #42506C;
display: none;
}

Expand Down
128 changes: 126 additions & 2 deletions src/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #5ece71;
--ifm-color-primary-dark: #297e40;
--ifm-color-primary: #42506C;
--ifm-color-primary-dark: #2C323C;
--ifm-color-primary-darker: #1c552b;
--ifm-color-primary-darkest: #073112;
--ifm-color-primary-light: #44b161;
Expand All @@ -10,6 +12,114 @@
--ifm-code-font-size: 95%;
}

/* Fonts */
/* Apply Poppins Bold to all H1 elements */
h1 {
font-family: 'Poppins', sans-serif;
font-weight: bold;
color: #42506C;
}

/* Apply Poppins Medium to subhead elements */
.subhead {
font-family: 'Poppins', sans-serif;
font-weight: 500;
color: #42506C;
}

/* Apply Poppins Semibold to all H2 and H3 elements */
h2, h3 {
font-family: 'Poppins', sans-serif;
font-weight: 600;
color: #42506C;
}

/* Apply Poppins Medium to all H4 elements */
h4 {
font-family: 'Poppins', sans-serif;
font-weight: 500;
color: #42506C;
}

/* Apply Inter Regular to the body and paragraph elements */
body, p {
font-family: 'Inter', sans-serif;
font-weight: 400;
color: #2C323C;
}

/* Make body and paragraph links bold (light theme) */
body a:not(.navbar__link, .menu__link, .table-of-contents__link, .footer__link-item),
p a:not(.navbar__link, .menu__link, .table-of-contents__link, .footer__link-item) {
font-weight: bold;
}

/* Dark */
/* Make body and paragraph links bold (dark theme) */
@media (prefers-color-scheme: dark) {
html[data-theme='dark'] body a:not(.navbar__link, .menu__link, .table-of-contents__link, .footer__link-item),
html[data-theme='dark'] p a:not(.navbar__link, .menu__link, .table-of-contents__link, .footer__link-item) {
font-weight: bold;
}

/* Main headings */
html[data-theme='dark'] h3,
html[data-theme='dark'] .menu__link,
html[data-theme='dark'] .navbar__link,
html[data-theme='dark'] .dropdown__link,
html[data-theme='dark'] .table-of-contents__link {
color: #FFF;
}

/* Active links */
html[data-theme='dark'] a,
html[data-theme='dark'] #mc_embed_signup h3, /* Mailchimp */
html[data-theme='dark'] .menu__link--active,
html[data-theme='dark'] .navbar__link--active,
html[data-theme='dark'] .dropdown__link--active,
html[data-theme='dark'] .tabs-container .tabs__item--active,
html[data-theme='dark'] .pagination-nav__label,
html[data-theme='dark'] .table-of-contents__link--active,
html[data-theme='dark'] .theme-edit-this-page,
html[data-theme='dark'] .breadcrumbs .breadcrumbs__link {
color: #E5FE75;
}

/* Hovered links */
html[data-theme='dark'] a:hover,
html[data-theme='dark'] .menu__link:hover,
html[data-theme='dark'] .navbar__link:hover,
html[data-theme='dark'] .dropdown__link:hover,
html[data-theme='dark'] .tabs-container .tabs__item:hover,
html[data-theme='dark'] .pagination-nav__label:hover,
html[data-theme='dark'] .table-of-contents__link:hover,
html[data-theme='dark'] .theme-edit-this-this-page:hover,
html[data-theme='dark'] .breadcrumbs .breadcrumbs__link:hover {
color: #A8BEF1;
}

/* Body Text */
html[data-theme='dark'] body,
html[data-theme='dark'] p {
color: #FFF;
}
}

.footer a {
color: #E5FE75;
}

.footer a:hover {
color: #A8BEF1;
}

a:hover,
.navbar__link:hover,
.dropdown__link:hover,
.toc-highlight:hover {
color: #A8BEF1;
}

.docusaurus-highlight-code-line {
background-color: rgba(0, 0, 0, 0.1);
display: block;
Expand All @@ -27,6 +137,20 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
}
}

.hero.hero--primary.heroBanner_qdFl {
color: #42506C;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

.hero.hero--primary .button.button--secondary {
color: #42506C;
background-color: #E5FE75;
border: 1px;
border-color: #42506C;
}

.feature-item {
margin-bottom: 50px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import styles from './index.module.css';
function HomepageHeader() {
const { siteConfig } = useDocusaurusContext();
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<header className={clsx('hero hero--primary', styles.heroBanner)} style={{backgroundImage: `url('/img/hero-background.png')`}}>
<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
Expand Down
Binary file modified static/files/Precursor-ChiaGreenPaper.pdf
Binary file not shown.
Binary file modified static/files/securing-smart-coin-slides.pdf
Binary file not shown.
Binary file modified static/img/academy/InnerPuzzles.png
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 static/img/academy/Intro2Chialisp.png
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 static/img/academy/Intro2Farming.png
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 static/img/academy/Signatures.png
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 static/img/academy/SmartCoins.png
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 static/img/academy/cat.png
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 static/img/academy/challenges-plot-filters.png
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 static/img/academy/coin-set.png
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 static/img/academy/consensus.png
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 static/img/academy/did.png
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 static/img/academy/farming-overview.png
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 static/img/academy/forming-blocks.png
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 static/img/academy/nft.png
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 static/img/academy/pools.png
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 static/img/academy/primitives.png
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 static/img/academy/security.png
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 static/img/academy/timelords.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/chia-logo-yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/img/chia.ico
Binary file not shown.
Binary file added static/img/hero-background.png
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 static/img/home_pages/advanced_install.png
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 static/img/home_pages/announcements_oracles.png
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 static/img/home_pages/app_structure.png
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 static/img/home_pages/architecture.png
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 static/img/home_pages/cats.png
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 static/img/home_pages/cats_offers_nfts.png
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 static/img/home_pages/chia_dev.png
Binary file modified static/img/home_pages/chia_great.png
Binary file modified static/img/home_pages/chia_intro.png
Binary file modified static/img/home_pages/chia_keys.png
Binary file modified static/img/home_pages/chialisp_intro.png
Binary file modified static/img/home_pages/chialisp_typescript.png
Binary file modified static/img/home_pages/clawbacks.png
Binary file modified static/img/home_pages/cli_reference.png
Binary file modified static/img/home_pages/clsp_programming.png
Binary file modified static/img/home_pages/coin_lifecycle.png
Binary file modified static/img/home_pages/coinset_model.png
Binary file modified static/img/home_pages/consensus.png
Binary file modified static/img/home_pages/crash_course.png
Binary file modified static/img/home_pages/custody_tool.png
Binary file modified static/img/home_pages/custom_puzzle_lock.png
Binary file modified static/img/home_pages/daos.png
Binary file modified static/img/home_pages/datalayer.png
Binary file removed static/img/home_pages/dev_on_chia.png
Diff not rendered.
Binary file modified static/img/home_pages/env_setup.png
Binary file modified static/img/home_pages/farming.png
Binary file modified static/img/home_pages/farming_guide.png
Binary file modified static/img/home_pages/farming_intro.png
Binary file modified static/img/home_pages/green_paper.png
Binary file modified static/img/home_pages/inner_puzzles.png
Binary file modified static/img/home_pages/is_it_working.png
Binary file modified static/img/home_pages/logging_reference.png
Binary file modified static/img/home_pages/mi_cat.png
Binary file modified static/img/home_pages/nfts.png
Binary file modified static/img/home_pages/node_syncing.png
Binary file modified static/img/home_pages/offers.png
Binary file modified static/img/home_pages/plotting.png
Binary file modified static/img/home_pages/primitives.png
Binary file modified static/img/home_pages/protocol.png
Binary file modified static/img/home_pages/reference_client.png
Binary file modified static/img/home_pages/resources.png
Binary file modified static/img/home_pages/rpc_coin_spends.png
Binary file modified static/img/home_pages/rpc_reference.png
Binary file modified static/img/home_pages/sec_args_sigs.png
Binary file removed static/img/home_pages/secure_smart_coin.jpg
Diff not rendered.
Binary file modified static/img/home_pages/seeder_guide.png
Binary file modified static/img/home_pages/si_cat.png
Binary file modified static/img/home_pages/signatures.png
Binary file modified static/img/home_pages/simulator_guide.png
Binary file modified static/img/home_pages/singleton_contracts.png
Binary file modified static/img/home_pages/smart_coins.png
Binary file removed static/img/home_pages/smart_contract.jpg
Diff not rendered.
Binary file modified static/img/home_pages/state.png
Binary file modified static/img/home_pages/state_coins_announce.png
Binary file modified static/img/home_pages/testnets.png
Binary file modified static/img/home_pages/tutorials.png
Binary file modified static/img/home_pages/using_gui.png
Binary file modified static/img/home_pages/vcs.png
Binary file modified static/img/home_pages/wallet_connect.png
Binary file modified static/img/home_pages/wallet_guide.png
Binary file removed static/img/og-chia.png
Diff not rendered.
2 changes: 1 addition & 1 deletion static/svg/academy-logo.svg
1 change: 0 additions & 1 deletion static/svg/chia-docs-icon.svg
1 change: 0 additions & 1 deletion static/svg/chia-logo.svg
2 changes: 0 additions & 2 deletions static/svg/chiadevs-icon.svg
2 changes: 0 additions & 2 deletions static/svg/chialisp-icon.svg
2 changes: 1 addition & 1 deletion static/svg/discord-icon.svg
1 change: 0 additions & 1 deletion static/svg/email-icon.svg
2 changes: 0 additions & 2 deletions static/svg/grant-icon.svg
1 change: 0 additions & 1 deletion static/svg/technical-faq-icon.svg
Loading