wayBetter for X 1.0.2

This commit is contained in:
CRTkafa 2026-10-02 02:54:04 +07:00
parent 7e2515aa42
commit 467aea2e28
212 changed files with 10208 additions and 2345 deletions

View file

@ -18,11 +18,12 @@ export function accountHue(handle: string): number {
const CSS = `
[${CHIP_ATTR}] { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; box-sizing: border-box;
padding: 2px 9px 2px 7px; border-radius: 9999px; white-space: nowrap; color: rgb(113, 118, 123);
padding: 2px 9px 2px 7px; border-radius: 9999px; white-space: nowrap; color: var(--wb-muted, rgb(113, 118, 123));
border: 1px solid hsl(var(--bt-compose-hue) 70% 50% / .4); background: hsl(var(--bt-compose-hue) 70% 50% / .1); }
[${CHIP_ATTR}] > i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--bt-compose-hue) 70% 50%); }
[${CHIP_ATTR}] > span { overflow: hidden; text-overflow: ellipsis; }
[${CHIP_ATTR}] b { font-weight: 700; color: hsl(var(--bt-compose-hue) 70% 50%); }
/* The handle in the theme's text color (a 50%-lightness hue read 1.6:1 on light themes); the account's hue stays in the dot and the edge. */
[${CHIP_ATTR}] b { font-weight: 700; color: var(--wb-text, hsl(var(--bt-compose-hue) 70% 50%)); }
`;
export const postingAs: FeatureModule<PluginApi> = {