Skip to content

Commit 9d7ebf0

Browse files
V48 (impl-only): Dial logo hover straighten to 13.5°
Reduce CSS cancel under the −17.5° design tilt so hover no longer over-rotates past upright on quantum chrome and BTD.
1 parent 0193cd5 commit 9d7ebf0

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

apps/uapi/components/bitcode/branding/BitcodeLogoMark/bitcode-logo-mark.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ export const BITCODE_LOGO_VIEW_BOX = '-8 -5 52 59';
1515

1616
/**
1717
* Matches `bitcode-logo.svg` group transform (design tilt −17.5°).
18-
* Hover straighten on quantum chrome / BTD tracker applies +17° CSS (0.5° shy
18+
* Hover straighten on quantum chrome / BTD tracker applies +13.5° CSS (4° shy
1919
* of full cancel) so the mark reads upright without slight over-rotate.
2020
*/
2121
export const BITCODE_LOGO_DESIGN_TILT_DEG = -17.5;
22-
export const BITCODE_LOGO_HOVER_STRAIGHTEN_DEG = 17; // cancels tilt, −0.5° vs full
22+
export const BITCODE_LOGO_HOVER_STRAIGHTEN_DEG = 13.5; // cancels tilt, −4° vs full
2323
export const BITCODE_LOGO_TRANSFORM = `rotate(${BITCODE_LOGO_DESIGN_TILT_DEG} 18 24.5)`;
2424

2525
/** Intrinsic width from `bitcode-logo.svg` width attribute. */

apps/uapi/components/bitcode/btd/BtdTracker/BtdTracker.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ export function BTDTracker({
402402
transition={{ duration: 0.3, ease: 'easeInOut' }}
403403
>
404404
<div
405-
// Mark SSOT is tilted −17.5°. Hover +17° CSS (~upright, 0.5° under full cancel).
406-
className="tracker-logo relative h-4 w-4 origin-center transition-transform duration-300 ease-out group-hover:rotate-[17deg] group-hover:drop-shadow-[0_0_8px_rgba(103,254,183,0.8)]"
405+
// Mark SSOT is tilted −17.5°. Hover +13.5° CSS (~upright, 4° under full cancel).
406+
className="tracker-logo relative h-4 w-4 origin-center transition-transform duration-300 ease-out group-hover:rotate-[13.5deg] group-hover:drop-shadow-[0_0_8px_rgba(103,254,183,0.8)]"
407407
style={{ backfaceVisibility: 'hidden' }}
408408
>
409409
<Logo height="h-4" width="w-4" fill={isHovered ? '#67feb7' : '#67feb780'} />

apps/uapi/components/bitcode/layout/BitcodeQuantumChromeButton/BitcodeQuantumChromeButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ export default function BitcodeQuantumChromeButton({
144144

145145
<span className="relative z-10 inline-flex items-center gap-2.5">
146146
<span
147-
// Mark SSOT is tilted −17.5°. Hover +17° CSS (~upright, 0.5° under full cancel).
148-
className="relative inline-flex h-3.5 w-3.5 origin-center transition-transform duration-300 ease-out group-hover:rotate-[17deg] group-hover:drop-shadow-[0_0_8px_rgba(103,254,183,0.85)] group-disabled:rotate-0"
147+
// Mark SSOT is tilted −17.5°. Hover +13.5° CSS (~upright, 4° under full cancel).
148+
className="relative inline-flex h-3.5 w-3.5 origin-center transition-transform duration-300 ease-out group-hover:rotate-[13.5deg] group-hover:drop-shadow-[0_0_8px_rgba(103,254,183,0.85)] group-disabled:rotate-0"
149149
>
150150
<Logo
151151
height="h-3.5"

0 commit comments

Comments
 (0)