Răsfoiți Sursa

chore: format code

GitHub Action 3 luni în urmă
părinte
comite
16f8f20b31

+ 1 - 1
packages/plugin/package.json

@@ -24,4 +24,4 @@
     "typescript": "catalog:",
     "@typescript/native-preview": "catalog:"
   }
-}
+}

+ 1 - 1
packages/sdk/js/package.json

@@ -26,4 +26,4 @@
   "publishConfig": {
     "directory": "dist"
   }
-}
+}

+ 4 - 4
packages/ui/src/styles/theme.css

@@ -314,7 +314,7 @@
     /* OC-1-Dark */
     color-scheme: dark;
     --background-base: var(--smoke-dark-1);
-    --background-weak: #1B1818;
+    --background-weak: #1b1818;
     --background-strong: #151313;
     --background-stronger: #191515;
     --surface-base: var(--smoke-dark-alpha-2);
@@ -409,7 +409,7 @@
     --text-on-brand-weak: var(--smoke-dark-alpha-9);
     --text-on-brand-weaker: var(--smoke-dark-alpha-8);
     --text-on-brand-strong: var(--smoke-dark-alpha-12);
-    --button-secondary-base: #231F1F;
+    --button-secondary-base: #231f1f;
     --button-secondary-hover: #2a2727;
     --border-base: var(--smoke-dark-alpha-7);
     --border-hover: var(--smoke-dark-alpha-8);
@@ -513,8 +513,8 @@
     --syntax-operator: var(--text-weak);
     --syntax-variable: var(--text-strong);
     --syntax-property: #00ceb9;
-    --syntax-type: #ECF58C;
-    --syntax-constant: #93E9F6;
+    --syntax-type: #ecf58c;
+    --syntax-constant: #93e9f6;
     --syntax-punctuation: var(--text-weaker);
     --syntax-object: #ff9ae2;
     --syntax-success: var(--apple-dark-10);

+ 23 - 22
packages/web/src/content/docs/index.mdx

@@ -41,36 +41,37 @@ You can also install it with the following commands:
 
 - **Using Node.js**
 
-      <Tabs>
+        <Tabs>
 
-    <TabItem label="npm">
-    ```bash 
-    npm install -g opencode-ai 
-    ```
-
-        </TabItem>
-
-      <TabItem label="Bun">
+      <TabItem label="npm">
       ```bash
-      bun install -g opencode-ai
+      npm install -g opencode-ai
       ```
 
-        </TabItem>
+          </TabItem>
 
-      <TabItem label="pnpm">
-      ```bash
-      pnpm install -g opencode-ai
-      ```
+        <TabItem label="Bun">
+        ```bash
+        bun install -g opencode-ai
+        ```
 
-        </TabItem>
+          </TabItem>
 
-      <TabItem label="Yarn">
-      ```bash
-      yarn global add opencode-ai
-      ```
+        <TabItem label="pnpm">
+        ```bash
+        pnpm install -g opencode-ai
+        ```
+
+          </TabItem>
+
+        <TabItem label="Yarn">
+        ```bash
+        yarn global add opencode-ai
+        ```
+
+      </TabItem>
 
-    </TabItem>
-</Tabs>
+  </Tabs>
 
 - **Using Homebrew on macOS and Linux**