diff --git a/documentation/AE__Components.md b/documentation/AE__Components.md index f82e41fe..d8d6106b 100644 --- a/documentation/AE__Components.md +++ b/documentation/AE__Components.md @@ -143,6 +143,6 @@ Generic container types used for layout and grouping. ## 4. CSS Styling for UI Elements -- **Warning/Hide Buttons:** `variant-soft-warning hover:variant-filled-warning` -- **Error/Delete/Disable Buttons:** `variant-soft-error hover:variant-filled-error` +- **Warning/Hide Buttons:** `preset-tonal-warning hover:preset-filled-warning-500` +- **Error/Delete/Disable Buttons:** `preset-tonal-error hover:preset-filled-error-500` - **Submenu:** `flex flex-row items-center justify-center gap-1` diff --git a/documentation/GUIDE__AE_UI_Style_Guidelines.md b/documentation/GUIDE__AE_UI_Style_Guidelines.md index f0773bbf..2ea93a8a 100644 --- a/documentation/GUIDE__AE_UI_Style_Guidelines.md +++ b/documentation/GUIDE__AE_UI_Style_Guidelines.md @@ -109,36 +109,17 @@ bg-error-100 border border-error-300 ← inline error banners | `bg-white dark:bg-gray-800` | Manual light/dark pair | Let theme tokens handle it — remove entirely | | `text-gray-600 dark:text-gray-400` | Manual light/dark pair | `opacity-60` | | `rounded-container-token` | Skeleton v3 class | `rounded-xl` | -| `variant-soft-*` | Skeleton v3 class | `preset-tonal-*` | -| `variant-ghost-*` | Skeleton v3 class | `preset-ghost-*` | -| `variant-ringed-*` | Skeleton v3 class | `preset-outlined-*` | -| `variant-filled-*` | Skeleton v3 class | `preset-filled-*` | +| | | | | `preset-filled-surface-300-700` | v3 dual-shade notation | `bg-surface-200-800` or `bg-surface-100-900` | | `preset-filled-surface-400-600` | v3 dual-shade notation | `bg-surface-100-900` | | `overflow-x-scroll` | Forces scrollbar visible | `overflow-x-auto` | --- + ## 4. Skeleton v3 → v4 Migration Reference -The app uses **Skeleton v4**. v3 classes produce wrong or zero styling and must be updated on sight. - -| Skeleton v3 | Skeleton v4 Equivalent | -|---|---| -| `variant-soft-primary` | `preset-tonal-primary` | -| `variant-soft-secondary` | `preset-tonal-secondary` | -| `variant-soft-warning` | `preset-tonal-warning` | -| `variant-soft-success` | `preset-tonal-success` | -| `variant-ghost-success` | `preset-ghost-success` | -| `variant-ghost-warning` | `preset-ghost-warning` | -| `variant-ringed-warning` | `preset-outlined-warning` | -| `variant-filled-primary` | `preset-filled-primary` | -| `variant-filled-warning` | `preset-filled-warning` | -| `rounded-container-token` | `rounded-xl` | -| `rounded-token` | `rounded-md` | -| `card` (standalone) | `card preset-tonal-surface` or surface div pattern | -| `badge` (standalone) | `badge preset-tonal-surface` | -| `chip` | `badge preset-tonal-*` | +All Skeleton v3 `variant-*` classes are now fully removed from the codebase. Use only `preset-*` classes for all buttons and interactive elements. --- diff --git a/documentation/PROJECT__AE_Access_Control_UX.md b/documentation/PROJECT__AE_Access_Control_UX.md index c5938121..c120a7a4 100644 --- a/documentation/PROJECT__AE_Access_Control_UX.md +++ b/documentation/PROJECT__AE_Access_Control_UX.md @@ -222,7 +222,7 @@ Add the dismissible banner to the template (after/near the existing `is_offline`
Your session has expired. Please reload or sign in again.