Skip to content

Commit 37d4c5a

Browse files
committed
feat: insert cmd & docs start
1 parent 89b1372 commit 37d4c5a

9 files changed

Lines changed: 173 additions & 53 deletions

File tree

docs/README.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

docs/astro.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,23 @@ export default defineConfig({
1414
href: "https://github.com/team-fireworks/rocket",
1515
},
1616
],
17+
customCss: [
18+
"./src/assets/rocket.css",
19+
"@fontsource-variable/inconsolata",
20+
"@fontsource/source-sans-pro/200.css",
21+
"@fontsource/source-sans-pro/300.css",
22+
"@fontsource/source-sans-pro/400.css",
23+
"@fontsource/source-sans-pro/600.css",
24+
"@fontsource/source-sans-pro/700.css",
25+
"@fontsource/source-sans-pro/900.css",
26+
],
1727
sidebar: [
1828
{
1929
label: "Guides",
2030
items: [
2131
// Each item here is one entry in the navigation menu.
2232
{ label: "Example Guide", slug: "guides/example" },
33+
{ label: "Temp Guide", slug: "temp" },
2334
],
2435
},
2536
{

docs/bun.lock

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
},
1212
"dependencies": {
1313
"@astrojs/starlight": "^0.37.2",
14+
"@fontsource-variable/inconsolata": "^5.2.8",
15+
"@fontsource/source-sans-pro": "^5.2.5",
1416
"astro": "^5.6.1",
1517
"sharp": "^0.34.2"
1618
}

docs/src/assets/houston.webp

-96.2 KB
Binary file not shown.

docs/src/assets/logo.svg

Lines changed: 4 additions & 0 deletions
Loading

docs/src/assets/rocket.css

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
:root {
2+
--sl-font: "Source Sans Pro", sans-serif;
3+
4+
--sl-color-accent-low: #460b05;
5+
--sl-color-accent: #c60e00;
6+
--sl-color-accent-high: #feb3a6;
7+
--sl-color-white: #ffffff;
8+
--sl-color-gray-1: #f3ecea;
9+
--sl-color-gray-2: #c8c0be;
10+
--sl-color-gray-3: #978784;
11+
--sl-color-gray-4: #635451;
12+
--sl-color-gray-5: #423432;
13+
--sl-color-gray-6: #302321;
14+
--sl-color-black: #1d1715;
15+
}
16+
17+
:root[data-theme="light"] {
18+
--sl-color-accent-low: #ffc8be;
19+
--sl-color-accent: #c90e00;
20+
--sl-color-accent-high: #640300;
21+
--sl-color-white: #1d1715;
22+
--sl-color-gray-1: #302321;
23+
--sl-color-gray-2: #423432;
24+
--sl-color-gray-3: #635451;
25+
--sl-color-gray-4: #978784;
26+
--sl-color-gray-5: #c8c0be;
27+
--sl-color-gray-6: #f3ecea;
28+
--sl-color-gray-7: #f9f5f5;
29+
--sl-color-black: #ffffff;
30+
}
31+
32+
body {
33+
background: linear-gradient(
34+
var(--sl-color-accent-low),
35+
color-mix(in lab, var(--sl-color-accent), var(--sl-color-accent-low))
36+
);
37+
}
38+
39+
.hero {
40+
display: flex;
41+
flex-direction: column-reverse;
42+
43+
& h1:nth-child(1) {
44+
font-weight: 700;
45+
}
46+
47+
& .copy {
48+
text-align: center;
49+
align-items: center;
50+
justify-content: center;
51+
52+
& .tagline {
53+
max-width: 75ch;
54+
line-height: 120%;
55+
}
56+
}
57+
58+
& .actions {
59+
text-align: center;
60+
align-items: center;
61+
justify-content: center;
62+
gap: 0.5rem 1rem;
63+
}
64+
65+
& img {
66+
width: min(100%, 10rem);
67+
}
68+
}
69+
70+
.sl-link-button {
71+
flex-direction: row-reverse;
72+
padding: 0.875rem 0.875rem;
73+
border: none;
74+
border-radius: 0.5rem;
75+
76+
&.primary {
77+
background-color: var(--sl-color-gray-1);
78+
79+
&:hover {
80+
background-color: var(--sl-color-gray-2);
81+
}
82+
}
83+
84+
&.secondary {
85+
background-color: rgb(from var(--sl-color-gray-1) r g b / 20%);
86+
87+
&:hover {
88+
background-color: rgb(from var(--sl-color-gray-1) r g b / 15%);
89+
}
90+
}
91+
92+
transition: background-color 100ms ease-out;
93+
}
94+
95+
.sidebar-pane {
96+
border-color: rgb(from var(--sl-color-gray-1) r g b / 15%);
97+
}
98+
99+
.header {
100+
border: none;
101+
background: linear-gradient(
102+
var(--sl-color-accent-low),
103+
color-mix(
104+
in lab,
105+
var(--sl-color-accent-low),
106+
rgb(from var(--sl-color-accent-low) r g b / 0%)
107+
)
108+
);
109+
}
110+
111+
.right-sidebar {
112+
border-color: rgb(from var(--sl-color-gray-1) r g b / 15%);
113+
}
114+
115+
.main-pane {
116+
& .content-panel:nth-child(2) {
117+
border-color: rgb(from var(--sl-color-gray-1) r g b / 15%);
118+
}
119+
}
120+
121+
.pagination-links a {
122+
border-color: rgb(from var(--sl-color-gray-1) r g b / 15%);
123+
transition: border-color 100ms ease-out;
124+
125+
&:hover {
126+
border-color: rgb(from var(--sl-color-gray-1) r g b / 30%);
127+
}
128+
}

docs/src/content/docs/index.mdx

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
---
22
title: Rocket
3+
template: splash
4+
hero:
5+
title: Supercharge Roblox Studio
6+
tagline: Rocket is a Roblox Studio plugin to supercharge your workflows with powerful productivity commands, all packaged with an extendable command launcher.
7+
image:
8+
file: /src/assets/logo.svg
9+
actions:
10+
- text: Download Rocket
11+
icon: download
12+
link: /temp
13+
- text: Learn More
14+
variant: secondary
15+
icon: open-book
16+
link: /temp
17+
- text: Source Code
18+
variant: secondary
19+
icon: github
20+
link: https://github.com/team-fireworks/rocket
321
---
4-
5-
<h1>
6-
tba
7-
</h1>

docs/src/content/docs/temp.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: Example Reference
3+
description: A reference page in my new Starlight docs site.
4+
---

0 commit comments

Comments
 (0)