From 6dd40633a15ec82c5fa2f2c4ea17e22c2ba67084 Mon Sep 17 00:00:00 2001 From: David Hill <1879069+iamdavidhill@users.noreply.github.com> Date: Thu, 12 Nov 2026 17:03:17 -0600 Subject: [PATCH] docs(site): brand colors copy and agent style rules (#63621) --- services/site/src/i18n/content/ar.ts | 2 +- services/site/src/i18n/content/br.ts | 2 +- services/site/src/i18n/content/da.ts | 2 +- services/site/src/i18n/content/de.ts | 2 +- services/site/src/i18n/content/es.ts | 2 +- services/site/src/i18n/content/fr.ts | 2 +- services/site/src/i18n/content/it.ts | 2 +- services/site/src/i18n/content/ja.ts | 2 +- services/site/src/i18n/content/ko.ts | 2 +- services/site/src/i18n/content/no.ts | 2 +- services/site/src/i18n/content/pl.ts | 2 +- services/site/src/i18n/content/ru.ts | 2 +- services/site/src/i18n/content/th.ts | 2 +- services/site/src/i18n/content/tr.ts | 2 +- services/site/src/i18n/content/uk.ts | 2 +- services/site/src/i18n/content/zh.ts | 2 +- services/site/src/i18n/content/zht.ts | 2 +- services/site/src/i18n/stamps/ar.json | 2 +- services/site/src/i18n/stamps/br.json | 2 +- services/site/src/i18n/stamps/da.json | 2 +- services/site/src/i18n/stamps/de.json | 2 +- services/site/src/i18n/stamps/es.json | 2 +- services/site/src/i18n/stamps/fr.json | 2 +- services/site/src/i18n/stamps/it.json | 2 +- services/site/src/i18n/stamps/ja.json | 2 +- services/site/src/i18n/stamps/ko.json | 2 +- services/site/src/i18n/stamps/no.json | 2 +- services/site/src/i18n/stamps/pl.json | 2 +- services/site/src/i18n/stamps/ru.json | 2 +- services/site/src/i18n/stamps/th.json | 2 +- services/site/src/i18n/stamps/tr.json | 2 +- services/site/src/i18n/stamps/uk.json | 2 +- services/site/src/i18n/stamps/zh.json | 2 +- services/site/src/i18n/stamps/zht.json | 2 +- services/site/src/lib/brand-content.ts | 63 ++++++++++++++++++++++++-- 35 files changed, 93 insertions(+), 38 deletions(-) diff --git a/services/site/src/i18n/content/ar.ts b/services/site/src/i18n/content/ar.ts index babc385b48e..3fdc119c86d 100644 --- a/services/site/src/i18n/content/ar.ts +++ b/services/site/src/i18n/content/ar.ts @@ -256,7 +256,7 @@ export const content = { }, colors: { title: "الألوان", - body: "يستخدم الشعار والشعار النصي حبرًا واحدًا بثلاث درجات من العتامة، مع حبر أفتح للخلفيات الداكنة. القيم أدناه هي ذلك الحبر فوق الأبيض أو #0B0B0B، كما تعرضه الملفات القياسية. انقر قيمة لنسخها.", + body: "يستخدم الشعار والشعار النصي حبرًا واحدًا بثلاث درجات من العتامة، مع حبر أفتح للخلفيات الداكنة. القيم أدناه هي الألوان الموجودة في الملفات القياسية. استخدمها للشعار والشعار النصي فقط، وليس لنصوص أو خلفيات أخرى. انقر قيمة لنسخها.", palettes: { light: { name: "فاتح", diff --git a/services/site/src/i18n/content/br.ts b/services/site/src/i18n/content/br.ts index ad6ad67c9fb..384dfcb7158 100644 --- a/services/site/src/i18n/content/br.ts +++ b/services/site/src/i18n/content/br.ts @@ -508,7 +508,7 @@ export const content = { }, colors: { title: "Cores", - body: "O logo e o logotipo usam uma tinta em três opacidades, com uma tinta mais clara para fundos escuros. Os valores abaixo são essa tinta sobre branco ou #0B0B0B, como os arquivos padrão a mostram. Clique em um valor para copiá-lo.", + body: "O logo e o logotipo usam uma tinta em três opacidades, com uma tinta mais clara para fundos escuros. Os valores abaixo são as cores nos arquivos padrão. Use-as apenas no logo e no logotipo, não em outros textos ou fundos. Clique em um valor para copiá-lo.", palettes: { light: { name: "Claro", diff --git a/services/site/src/i18n/content/da.ts b/services/site/src/i18n/content/da.ts index 7f8a8d00128..f7c41946e83 100644 --- a/services/site/src/i18n/content/da.ts +++ b/services/site/src/i18n/content/da.ts @@ -324,7 +324,7 @@ export const content = { }, colors: { title: "Farver", - body: "Logoet og ordmærket bruger én farve i tre opaciteter, med en lysere farve til mørke baggrunde. Værdierne nedenfor er farven på hvid eller #0B0B0B, som standardfilerne viser den. Klik på en værdi for at kopiere den.", + body: "Logoet og ordmærket bruger én farve i tre opaciteter, med en lysere farve til mørke baggrunde. Værdierne nedenfor er farverne i standardfilerne. Brug dem kun til logoet og ordmærket, ikke til anden tekst eller baggrunde. Klik på en værdi for at kopiere den.", palettes: { light: { name: "Lyst", diff --git a/services/site/src/i18n/content/de.ts b/services/site/src/i18n/content/de.ts index 2e0c05f7fe8..4e2cbdb14e6 100644 --- a/services/site/src/i18n/content/de.ts +++ b/services/site/src/i18n/content/de.ts @@ -351,7 +351,7 @@ export const content = { }, colors: { title: "Farben", - body: "Logo und Wortmarke nutzen eine Farbe in drei Deckkräften, mit einer helleren Farbe für dunkle Hintergründe. Die Werte unten zeigen diese Farbe auf Weiß oder #0B0B0B, wie in den Standarddateien. Klick auf einen Wert, um ihn zu kopieren.", + body: "Logo und Wortmarke nutzen eine Farbe in drei Deckkräften, mit einer helleren Farbe für dunkle Hintergründe. Die Werte unten sind die Farben in den Standarddateien. Verwende sie nur für Logo und Wortmarke, nicht für anderen Text oder Hintergründe. Klick auf einen Wert, um ihn zu kopieren.", palettes: { light: { name: "Hell", diff --git a/services/site/src/i18n/content/es.ts b/services/site/src/i18n/content/es.ts index ace5fa1995f..74cd6b95cc6 100644 --- a/services/site/src/i18n/content/es.ts +++ b/services/site/src/i18n/content/es.ts @@ -466,7 +466,7 @@ export const content = { }, colors: { title: "Colores", - body: "El logo y el logotipo usan una sola tinta con tres opacidades, y una tinta más clara para fondos oscuros. Los valores de abajo son esa tinta sobre blanco o sobre #0B0B0B, como en los archivos estándar. Haz clic en un valor para copiarlo.", + body: "El logo y el logotipo usan una sola tinta con tres opacidades, y una tinta más clara para fondos oscuros. Los valores de abajo son los colores de los archivos estándar. Úsalos solo para el logo y el logotipo, no para otros textos ni fondos. Haz clic en un valor para copiarlo.", palettes: { light: { name: "Claro", diff --git a/services/site/src/i18n/content/fr.ts b/services/site/src/i18n/content/fr.ts index d3c49b4fe21..099f9602c0a 100644 --- a/services/site/src/i18n/content/fr.ts +++ b/services/site/src/i18n/content/fr.ts @@ -466,7 +466,7 @@ export const content = { }, colors: { title: "Couleurs", - body: "Le logo et le logotype utilisent une seule encre à trois opacités, avec une encre plus claire pour les fonds sombres. Les valeurs ci-dessous sont cette encre sur du blanc ou du #0B0B0B, comme dans les fichiers standards. Cliquez sur une valeur pour la copier.", + body: "Le logo et le logotype utilisent une seule encre à trois opacités, avec une encre plus claire pour les fonds sombres. Les valeurs ci-dessous sont les couleurs des fichiers standards. Utilisez-les uniquement pour le logo et le logotype, pas pour d’autres textes ou arrière-plans. Cliquez sur une valeur pour la copier.", palettes: { light: { name: "Clair", diff --git a/services/site/src/i18n/content/it.ts b/services/site/src/i18n/content/it.ts index afebbf3883a..cfdf4f4376e 100644 --- a/services/site/src/i18n/content/it.ts +++ b/services/site/src/i18n/content/it.ts @@ -466,7 +466,7 @@ export const content = { }, colors: { title: "Colori", - body: "Il logo e il logotipo usano un solo inchiostro a tre opacità, con un inchiostro più chiaro per gli sfondi scuri. I valori sotto sono quell'inchiostro su bianco o su #0B0B0B, come nei file standard. Fai clic su un valore per copiarlo.", + body: "Il logo e il logotipo usano un solo inchiostro a tre opacità, con un inchiostro più chiaro per gli sfondi scuri. I valori sotto sono i colori nei file standard. Usali solo per il logo e il logotipo, non per altri testi o sfondi. Fai clic su un valore per copiarlo.", palettes: { light: { name: "Chiaro", diff --git a/services/site/src/i18n/content/ja.ts b/services/site/src/i18n/content/ja.ts index a8891778494..93ad1f5854d 100644 --- a/services/site/src/i18n/content/ja.ts +++ b/services/site/src/i18n/content/ja.ts @@ -331,7 +331,7 @@ export const content = { }, colors: { title: "カラー", - body: "ロゴとワードマークは1つのインクを3段階の不透明度で使い、暗い背景にはより明るいインクを使います。下の値は、標準ファイルと同じく、白または#0B0B0Bの上にそのインクを重ねた色です。値をクリックするとコピーできます。", + body: "ロゴとワードマークは1つのインクを3段階の不透明度で使い、暗い背景にはより明るいインクを使います。下の値は標準ファイルの色です。これらはロゴとワードマークだけに使用し、ほかのテキストや背景には使用しないでください。値をクリックするとコピーできます。", palettes: { light: { name: "ライト", diff --git a/services/site/src/i18n/content/ko.ts b/services/site/src/i18n/content/ko.ts index e060283994e..43aeb55f7d5 100644 --- a/services/site/src/i18n/content/ko.ts +++ b/services/site/src/i18n/content/ko.ts @@ -290,7 +290,7 @@ export const content = { }, colors: { title: "색상", - body: "로고와 워드마크는 한 가지 잉크를 세 가지 불투명도로 쓰며, 어두운 배경에는 더 밝은 잉크를 씁니다. 아래 값은 표준 파일과 같이 그 잉크를 흰색 또는 #0B0B0B 위에 올린 결과입니다. 값을 클릭하면 복사됩니다.", + body: "로고와 워드마크는 한 가지 잉크를 세 가지 불투명도로 쓰며, 어두운 배경에는 더 밝은 잉크를 씁니다. 아래 값은 표준 파일의 색상입니다. 이 색상은 로고와 워드마크에만 사용하고 다른 텍스트나 배경에는 사용하지 마세요. 값을 클릭하면 복사됩니다.", palettes: { light: { name: "라이트", diff --git a/services/site/src/i18n/content/no.ts b/services/site/src/i18n/content/no.ts index 54d84ac4246..89e941ae3f0 100644 --- a/services/site/src/i18n/content/no.ts +++ b/services/site/src/i18n/content/no.ts @@ -324,7 +324,7 @@ export const content = { }, colors: { title: "Farger", - body: "Logoen og ordmerket bruker én farge i tre opasiteter, med en lysere farge for mørke bakgrunner. Verdiene under er fargen over hvitt eller #0B0B0B, slik standardfilene viser den. Klikk på en verdi for å kopiere den.", + body: "Logoen og ordmerket bruker én farge i tre opasiteter, med en lysere farge for mørke bakgrunner. Verdiene under er fargene i standardfilene. Bruk dem bare til logoen og ordmerket, ikke til annen tekst eller bakgrunner. Klikk på en verdi for å kopiere den.", palettes: { light: { name: "Lys", diff --git a/services/site/src/i18n/content/pl.ts b/services/site/src/i18n/content/pl.ts index f9c2b2bf5bc..d06a0d060ee 100644 --- a/services/site/src/i18n/content/pl.ts +++ b/services/site/src/i18n/content/pl.ts @@ -508,7 +508,7 @@ export const content = { }, colors: { title: "Kolory", - body: "Logo i logotyp używają jednego koloru w trzech stopniach krycia, z jaśniejszym kolorem na ciemne tła. Wartości poniżej to ten kolor na bieli lub #0B0B0B, tak jak pokazują go standardowe pliki. Kliknij wartość, aby ją skopiować.", + body: "Logo i logotyp używają jednego koloru w trzech stopniach krycia, z jaśniejszym kolorem na ciemne tła. Wartości poniżej to kolory użyte w standardowych plikach. Używaj ich wyłącznie w logo i logotypie, nie w innych tekstach ani tłach. Kliknij wartość, aby ją skopiować.", palettes: { light: { name: "Jasna", diff --git a/services/site/src/i18n/content/ru.ts b/services/site/src/i18n/content/ru.ts index 4ed88d9cd0a..4db61dfbdbd 100644 --- a/services/site/src/i18n/content/ru.ts +++ b/services/site/src/i18n/content/ru.ts @@ -322,7 +322,7 @@ export const content = { }, colors: { title: "Цвета", - body: "Логотип и вордмарк используют одну краску в трёх степенях прозрачности и более светлую краску для тёмного фона. Значения ниже показывают эту краску поверх белого или #0B0B0B, как в стандартных файлах. Нажмите на значение, чтобы скопировать его.", + body: "Логотип и вордмарк используют одну краску в трёх степенях прозрачности и более светлую краску для тёмного фона. Значения ниже — это цвета в стандартных файлах. Используйте их только для логотипа и вордмарка, но не для другого текста или фонов. Нажмите на значение, чтобы скопировать его.", palettes: { light: { name: "Светлая", diff --git a/services/site/src/i18n/content/th.ts b/services/site/src/i18n/content/th.ts index c5a63140b91..2ce24ce1b74 100644 --- a/services/site/src/i18n/content/th.ts +++ b/services/site/src/i18n/content/th.ts @@ -288,7 +288,7 @@ export const content = { }, colors: { title: "สี", - body: "โลโก้และตัวอักษรแบรนด์ใช้หมึกสีเดียวที่ความทึบสามระดับ และใช้หมึกที่สว่างกว่าบนพื้นหลังมืด ค่าด้านล่างคือหมึกนั้นบนพื้นขาวหรือ #0B0B0B ตามที่ไฟล์มาตรฐานแสดง คลิกค่าเพื่อคัดลอก", + body: "โลโก้และตัวอักษรแบรนด์ใช้หมึกสีเดียวที่ความทึบสามระดับ และใช้หมึกที่สว่างกว่าบนพื้นหลังมืด ค่าด้านล่างคือสีในไฟล์มาตรฐาน ใช้สีเหล่านี้กับโลโก้และตัวอักษรแบรนด์เท่านั้น ห้ามใช้กับข้อความหรือพื้นหลังอื่น คลิกค่าเพื่อคัดลอก", palettes: { light: { name: "สว่าง", diff --git a/services/site/src/i18n/content/tr.ts b/services/site/src/i18n/content/tr.ts index 1c57d78cf0d..c8111e5db4e 100644 --- a/services/site/src/i18n/content/tr.ts +++ b/services/site/src/i18n/content/tr.ts @@ -508,7 +508,7 @@ export const content = { }, colors: { title: "Renkler", - body: "Logo ve yazı logosu tek bir mürekkebi üç opaklıkta kullanır, koyu arka planlar için daha açık bir mürekkep vardır. Aşağıdaki değerler, standart dosyalardaki gibi bu mürekkebin beyaz ya da #0B0B0B üzerindeki hâlidir. Kopyalamak için bir değere tıklayın.", + body: "Logo ve yazı logosu tek bir mürekkebi üç opaklıkta kullanır, koyu arka planlar için daha açık bir mürekkep vardır. Aşağıdaki değerler standart dosyalardaki renklerdir. Bunları yalnızca logo ve yazı logosu için kullanın; diğer metinlerde veya arka planlarda kullanmayın. Kopyalamak için bir değere tıklayın.", palettes: { light: { name: "Açık", diff --git a/services/site/src/i18n/content/uk.ts b/services/site/src/i18n/content/uk.ts index b6e783d0426..4ed4211dc74 100644 --- a/services/site/src/i18n/content/uk.ts +++ b/services/site/src/i18n/content/uk.ts @@ -328,7 +328,7 @@ export const content = { }, colors: { title: "Кольори", - body: "Логотип і вордмарк використовують одну фарбу в трьох рівнях прозорості та світлішу фарбу для темного фону. Значення нижче показують цю фарбу поверх білого або #0B0B0B, як у стандартних файлах. Натисніть на значення, щоб скопіювати його.", + body: "Логотип і вордмарк використовують одну фарбу в трьох рівнях прозорості та світлішу фарбу для темного фону. Значення нижче — це кольори в стандартних файлах. Використовуйте їх лише для логотипа й вордмарка, а не для іншого тексту чи тла. Натисніть на значення, щоб скопіювати його.", palettes: { light: { name: "Світла", diff --git a/services/site/src/i18n/content/zh.ts b/services/site/src/i18n/content/zh.ts index 0480f549cac..2d5715ea318 100644 --- a/services/site/src/i18n/content/zh.ts +++ b/services/site/src/i18n/content/zh.ts @@ -246,7 +246,7 @@ export const content = { }, colors: { title: "颜色", - body: "Logo 和文字标识使用同一种墨色的三种不透明度,深色背景则使用更浅的墨色。下方数值是该墨色叠加在白色或 #0B0B0B 上的效果,与标准文件一致。点击数值即可复制。", + body: "Logo 和文字标识使用同一种墨色的三种不透明度,深色背景则使用更浅的墨色。下方数值是标准文件中的颜色。它们仅用于 Logo 和文字标识,请勿用于其他文本或背景。点击数值即可复制。", palettes: { light: { name: "浅色", diff --git a/services/site/src/i18n/content/zht.ts b/services/site/src/i18n/content/zht.ts index 1f374b7fb5f..871e7265ba9 100644 --- a/services/site/src/i18n/content/zht.ts +++ b/services/site/src/i18n/content/zht.ts @@ -250,7 +250,7 @@ export const content = { }, colors: { title: "色彩", - body: "Logo 和字標使用同一種墨色的三種不透明度,深色背景則使用較淺的墨色。下方數值是該墨色疊在白色或 #0B0B0B 上的效果,與標準檔案一致。點一下數值即可複製。", + body: "Logo 和字標使用同一種墨色的三種不透明度,深色背景則使用較淺的墨色。下方數值是標準檔案中的色彩。這些色彩僅用於 Logo 和字標,請勿用於其他文字或背景。點一下數值即可複製。", palettes: { light: { name: "淺色", diff --git a/services/site/src/i18n/stamps/ar.json b/services/site/src/i18n/stamps/ar.json index 6df337e7cfb..34928a5e4f7 100644 --- a/services/site/src/i18n/stamps/ar.json +++ b/services/site/src/i18n/stamps/ar.json @@ -106,7 +106,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/br.json b/services/site/src/i18n/stamps/br.json index 881cbe41856..bada213c515 100644 --- a/services/site/src/i18n/stamps/br.json +++ b/services/site/src/i18n/stamps/br.json @@ -105,7 +105,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/da.json b/services/site/src/i18n/stamps/da.json index 5261a77d1fd..ee80e7d6019 100644 --- a/services/site/src/i18n/stamps/da.json +++ b/services/site/src/i18n/stamps/da.json @@ -104,7 +104,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/de.json b/services/site/src/i18n/stamps/de.json index 604eba47223..0ec36c64f97 100644 --- a/services/site/src/i18n/stamps/de.json +++ b/services/site/src/i18n/stamps/de.json @@ -104,7 +104,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/es.json b/services/site/src/i18n/stamps/es.json index cedbaa34ff3..6b9922a23a1 100644 --- a/services/site/src/i18n/stamps/es.json +++ b/services/site/src/i18n/stamps/es.json @@ -105,7 +105,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/fr.json b/services/site/src/i18n/stamps/fr.json index 1ec63754db9..b29734c61f5 100644 --- a/services/site/src/i18n/stamps/fr.json +++ b/services/site/src/i18n/stamps/fr.json @@ -105,7 +105,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/it.json b/services/site/src/i18n/stamps/it.json index 9b1ef2d893f..963faf7d7eb 100644 --- a/services/site/src/i18n/stamps/it.json +++ b/services/site/src/i18n/stamps/it.json @@ -105,7 +105,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/ja.json b/services/site/src/i18n/stamps/ja.json index c2e2dff4fcd..775d6c8a2dd 100644 --- a/services/site/src/i18n/stamps/ja.json +++ b/services/site/src/i18n/stamps/ja.json @@ -105,7 +105,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/ko.json b/services/site/src/i18n/stamps/ko.json index 2ac6cf9e270..d92d5b6f700 100644 --- a/services/site/src/i18n/stamps/ko.json +++ b/services/site/src/i18n/stamps/ko.json @@ -104,7 +104,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/no.json b/services/site/src/i18n/stamps/no.json index 604eba47223..0ec36c64f97 100644 --- a/services/site/src/i18n/stamps/no.json +++ b/services/site/src/i18n/stamps/no.json @@ -104,7 +104,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/pl.json b/services/site/src/i18n/stamps/pl.json index 881cbe41856..bada213c515 100644 --- a/services/site/src/i18n/stamps/pl.json +++ b/services/site/src/i18n/stamps/pl.json @@ -105,7 +105,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/ru.json b/services/site/src/i18n/stamps/ru.json index 15de8b283bd..c802d4ad928 100644 --- a/services/site/src/i18n/stamps/ru.json +++ b/services/site/src/i18n/stamps/ru.json @@ -106,7 +106,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/th.json b/services/site/src/i18n/stamps/th.json index c2e2dff4fcd..775d6c8a2dd 100644 --- a/services/site/src/i18n/stamps/th.json +++ b/services/site/src/i18n/stamps/th.json @@ -105,7 +105,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/tr.json b/services/site/src/i18n/stamps/tr.json index 881cbe41856..bada213c515 100644 --- a/services/site/src/i18n/stamps/tr.json +++ b/services/site/src/i18n/stamps/tr.json @@ -105,7 +105,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/uk.json b/services/site/src/i18n/stamps/uk.json index 15de8b283bd..c802d4ad928 100644 --- a/services/site/src/i18n/stamps/uk.json +++ b/services/site/src/i18n/stamps/uk.json @@ -106,7 +106,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/zh.json b/services/site/src/i18n/stamps/zh.json index 2ac6cf9e270..d92d5b6f700 100644 --- a/services/site/src/i18n/stamps/zh.json +++ b/services/site/src/i18n/stamps/zh.json @@ -104,7 +104,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/i18n/stamps/zht.json b/services/site/src/i18n/stamps/zht.json index 2ac6cf9e270..d92d5b6f700 100644 --- a/services/site/src/i18n/stamps/zht.json +++ b/services/site/src/i18n/stamps/zht.json @@ -104,7 +104,7 @@ "content:apps.opentui.category": "254rc2nuqb46h", "content:apps.opentunnel.body": "c6esw4cffzow", "content:apps.opentunnel.category": "reck53wxvuoq", - "content:brand.colors.body": "9w1zcbohwuv7", + "content:brand.colors.body": "37a75ylckpxzd", "content:brand.colors.palettes.dark.name": "ua09gnie61c2", "content:brand.colors.palettes.dark.swatches.ink-28.ink": "5yioiitu600e", "content:brand.colors.palettes.dark.swatches.ink-28.name": "wqxvzn9usi2u", diff --git a/services/site/src/lib/brand-content.ts b/services/site/src/lib/brand-content.ts index a3dd89b26c8..034266528e0 100644 --- a/services/site/src/lib/brand-content.ts +++ b/services/site/src/lib/brand-content.ts @@ -35,7 +35,6 @@ const wordmarkSolidDarkSvg = "/brand/files/opencode-wordmark-solid-dark.svg" const avatarDark1024Png = "/brand/files/opencode-avatar-dark-1024.png" const avatarLight1024Png = "/brand/files/opencode-avatar-light-1024.png" - /** The brand page copy, shared by the page and its Markdown version. */ export function brandContent(t: Translate) { return { @@ -140,9 +139,10 @@ export function brandContent(t: Translate) { }, colors: { title: "Colors", - body: "The logo and the wordmark use one ink at three opacities, with a lighter ink for dark backgrounds. The values below are that ink over white or #0B0B0B, as the standard files show it. Click a value to copy it.", - // The logo greys from the brand SVGs: the ink at full, 70% and 20% opacity (72% and 28% in dark), - // composited over white or #0B0B0B (brand-colours.json from the logo files). + body: "The logo and the wordmark use one ink at three opacities, with a lighter ink for dark backgrounds. The values below are the colors in the standard files. Use them for the logo and the wordmark only, not for other text or backgrounds. Click a value to copy it.", + // The fills of the standard (not transparent) logo files: the ink at full, 70% and 20% opacity (72% and 28% in dark). + // Light 20% and dark 28% and 72% are also steps of the interface grey scale (site.css), which + // agents get from brandAgentStyle; the logo greys stay for the logo only. palettes: [ { name: "Light", @@ -532,5 +532,60 @@ export function brandMarkdown(context: MarkdownContext) { content.integrations.naming.rule, `## ${content.trademarks.title}`, `${content.trademarks.body} ${content.trademarks.contact.before}${link(content.trademarks.contact.email, `mailto:${content.trademarks.contact.email}`)}${content.trademarks.contact.after}`, + brandAgentStyle, ) } + +// For agents only: the "Rules for agent" copy and /brand.md end with it, and the page doesn't show it. +// The values are the shared interface scale in site.css (--grey-1 to --grey-11), kept in step by +// script/check-greys.ts, and the type tokens there (--fs-*). Change them together. +const brandAgentStyle = `## Making it look like OpenCode + +For agents that make a page, a slide, a document or an interface that should look like OpenCode. Partners who only use the logo can skip it. + +### Color + +Use one grey scale. Each step has one job, the same in light and dark. Use no other greys, and no warm or tinted greys. + +| Step | Job | Light | Dark | +| --- | --- | --- | --- | +| 1 | Page background | \`#FBFBFB\` | \`#0C0C0C\` | +| 2 | Cards, code blocks, panels, popovers | \`#FFFFFF\` | \`#161616\` | +| 3 | Subtle fill: inline code, search fields, bands | \`#F5F5F5\` | \`#1A1A1A\` | +| 4 | Hover fill, chips, selected tab | \`#EEEEEE\` | \`#242424\` | +| 5 | Borders and dividers | \`#E0E0E0\` | \`#2E2E2E\` | +| 6 | Strong borders and decoration | \`#D2D2D2\` | \`#4B4B4B\` | +| 7 | Icons and marks that carry meaning, disabled text | \`#888888\` | \`#6A6A6A\` | +| 8 | Muted text: captions, labels, meta | \`#6B6B6B\` | \`#8F8F8F\` | +| 9 | Body text | \`#5C5C5C\` | \`#AEAEAE\` | +| 10 | Emphasis text | \`#3A3A3A\` | \`#DBDBDB\` | +| 11 | Headings, strong text, the primary button | \`#161616\` | \`#FAFAFA\` | + +- The dark background is \`#0C0C0C\` and the light background is \`#FBFBFB\`. Do not use pure black or pure white for a page. +- Cards and panels are lighter than the page in both themes. +- Text is at least 4.5:1 against its background, and icons and controls at least 3:1. Each step meets this when you use it for its job. On a hover fill (step 4), use step 8 or darker for text. +- Use steps 5 and 6 only for lines and decoration, never for text. +- The only accent is the link blue, \`#3B5CF6\` in light and \`#6B8FFF\` in dark. Use it for links, focus rings and selected or open states, not for decoration or large fills. +- The primary button is ink: step 11 with step 1 text. Text on the link blue is white. +- The logo colors above are for the logo and the wordmark only. +- No gradients, glows or drop shadows on text, and only soft, close shadows on raised surfaces. + +### Type + +- Use OpenTUI Mono for headings, titles, navigation, labels and code, and Inter for body and reading text. Use no other fonts. +- Set headings in OpenTUI Mono at regular weight (400). Do not use bold for headings. +- Write labels and eyebrows in OpenTUI Mono, uppercase, at 12 to 14px, with a little letter spacing. +- Set body text in Inter at regular weight, 15 to 17px, with a line height of about 1.5. Keep lines to about 70 characters. +- Nothing is smaller than 12px. On phones, text that carries meaning is at least 14px. + +### Shape + +- Use square corners. Round only avatars and dots (fully round), pills and app icons. +- Use one stroke weight for icons: 1.5px at 16px. +- Keep layouts on a grid, with plenty of space and hairline dividers (step 5) instead of boxes where you can. + +### Writing + +- Write OpenCode as one word with a capital O and C. Call it an "open source coding agent". +- Write statements, not rhetorical questions, and use no colons in headings, buttons or captions. +- Write short, plain sentences.`