Skip to content

Commit

Permalink
Merge branch 'branding'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gugustinette committed Sep 1, 2024
2 parents c5ba98a + 84601ce commit e53eaa5
Show file tree
Hide file tree
Showing 8 changed files with 215 additions and 181 deletions.
307 changes: 159 additions & 148 deletions docs/.vitepress/config.ts

Large diffs are not rendered by default.

73 changes: 48 additions & 25 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -1,44 +1,67 @@
:root {
--fibbo-primary: #B978ED;
--fibbo-yellow: #F5EA70;
--fibbo-black: #0A0901;
--fibbo-black-300: #1A151E;
--fibbo-secondary: #FFFBE4;
--fibbo-secondary-300: #f4eecc;

/* Font */
--vp-c-text-1: var(--fibbo-black);

/* Brand Primary Color */
--vp-c-brand-1: #6e15db;
--vp-c-brand-2: #6e15db;
--vp-c-brand-1: var(--fibbo-primary);
--vp-c-brand-2: var(--fibbo-primary);

--vp-button-brand-bg: #6e15db;
/* Primary Button */
--vp-button-brand-bg: var(--fibbo-primary);
--vp-button-brand-hover-bg: var(--fibbo-primary);
--vp-button-brand-active-bg: var(--fibbo-primary);
--vp-button-brand-text: var(--vp-c-white);
--vp-button-brand-hover-text: var(--vp-c-white);
--vp-button-brand-active-text: var(--vp-c-white);

/* Backgrounds */
--vp-c-bg-alt: #faf8fc;
--vp-c-bg-soft: #faf8fc;
--vp-c-bg: var(--fibbo-secondary);
--vp-c-bg-alt: var(--fibbo-secondary-300);
--vp-c-bg-soft: var(--fibbo-secondary-300);

/* Sidebar */
--vp-sidebar-bg-color: #faf8fc;
--vp-sidebar-bg-color: var(--fibbo-secondary);

/* Black */
--vp-c-black: #0E0317;
}

/* Gray */
--vp-c-gray-3: #faf8fc;
.VPButton.medium.alt {
color: var(--fibbo-secondary);
background: var(--fibbo-black-300);
}
.VPButton.medium.alt:hover {
color: var(--fibbo-secondary);
background: var(--fibbo-black-300);
}
.VPImage.logo {
height: 90%;
}

.dark {
/* Brand Primary Color */
--vp-c-brand-1: #700de9;
--vp-c-brand-2: #700de9;
--vp-c-brand-1: var(--fibbo-primary);
--vp-c-brand-2: var(--fibbo-primary);

--vp-button-brand-bg: #700de9;
/* Font */
--vp-c-text-1: var(--fibbo-secondary);

/* Backgrounds */
--vp-c-bg: #120220;
--vp-c-bg-alt: #1b1231;
--vp-c-bg-elv: #120220;
--vp-c-bg-soft: #1b1231;
--vp-c-bg: var(--fibbo-black);
--vp-c-bg-alt: var(--fibbo-black-300);
--vp-c-bg-elv: var(--fibbo-black-300);
--vp-c-bg-soft: var(--fibbo-black-300);

/* Sidebar */
--vp-sidebar-bg-color: #120220;

/* Gray */
--vp-c-gray-3: #1b1231;

/* Primary Button */
--vp-button-brand-hover-bg: #5105ae;
--vp-sidebar-bg-color: var(--fibbo-black);

/* Hero Background Image */
--vp-home-hero-image-background-image: linear-gradient(-45deg, #700de96a 40%, #8f00dc1a 50%);
--vp-home-hero-image-filter: blur(44px);
/* White */
--vp-c-white: var(--fibbo-secondary);
}
2 changes: 1 addition & 1 deletion docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ npm install
npm run dev
```

## Manual installation (WIP)
## Manual installation <Badge type="warning" text="work in progress" />
2 changes: 1 addition & 1 deletion docs/guide/core/lights.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Lights
# Lights <Badge type="warning" text="work in progress" />

As lights are still not supported natively in Fibbo, you should use the underlying libraries to create and manage lights in your scene.

Expand Down
12 changes: 6 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
layout: home

hero:
name: "Fibbo"
name: "fibbo"
text: "Creating games should be easy"
image:
src: /fibbo-logo.png
src: /logo.png
alt: Fibbo Logo
actions:
- theme: brand
text: Quick start
link: /getting-started/installation
- theme: alt
text: Components
link: /components/introduction
text: Fundamentals
link: /guide/fundamentals

features:
- title: No configuration needed ⚙️
details: Everything is set up for you out of the box.
- title: Typescript support 🦺
details: Full typescript support.
- title: Minimal code 🚀
details: Write less code and create more.
- title: 2D and 3D support 🎮
details: Create 2D and 3D games with the same API.
---
Binary file added docs/public/logo-full-dark.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 docs/public/logo-full-light.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 docs/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e53eaa5

Please sign in to comment.