diff --git a/pkg/appview/src/css/main.css b/pkg/appview/src/css/main.css index 6d60b11..2bd6b13 100644 --- a/pkg/appview/src/css/main.css +++ b/pkg/appview/src/css/main.css @@ -244,6 +244,25 @@ 0 8px 24px -6px oklch(0% 0 0 / 0.12); } +/* ======================================== + MOCKUP-CODE GUTTER PREFIX CONTRAST + Override DaisyUI's `opacity: .5` on the `$`/`#` prefix + ======================================== */ +/* That .5 multiplies against whatever opacity the line's own text color + carries. On bg-base-300 it measured 3.20:1 in light and 4.19:1 in dark for + a plain `$`, and compounded to 2.15:1 on a line already dimmed to /70 — + all under the 4.5:1 this text size needs. An absolute muted color keeps the + gutter quiet without stacking. + + Must stay UNLAYERED: daisyUI ships this selector in `@layer daisyui`, which + is declared after `@layer components`, so a rule in components loses on + layer order no matter how specific it is. Unlayered styles outrank every + layer. */ +.mockup-code pre[data-prefix]::before { + opacity: 1; + color: color-mix(in oklch, var(--color-base-content) 70%, transparent); +} + /* ======================================== NAVBAR GHOST BUTTON HOVER Override DaisyUI's neutral hover for nav icons @@ -497,6 +516,7 @@ /* ---------------------------------------- COMMAND / CODE DISPLAY ---------------------------------------- */ + .cmd { @apply flex items-center gap-2 relative w-fit max-w-full; @apply bg-base-300 rounded-md; diff --git a/pkg/appview/templates/components/hero.html b/pkg/appview/templates/components/hero.html index 76eb245..0bf618f 100644 --- a/pkg/appview/templates/components/hero.html +++ b/pkg/appview/templates/components/hero.html @@ -13,7 +13,7 @@
docker login {{ .RegistryURL }}
docker push {{ .RegistryURL }}/you/app
- same docker, decentralized
+ same docker, decentralized
Ensure the credential helper is in your PATH:
Check if installed
+ Check if installed
which docker-credential-atcr
- Add to PATH if needed
+ Add to PATH if needed
export PATH="/usr/local/bin:$PATH"