feat(ui): migrar a tokens + primitivos del design system
Dashboard ahora usa: - fn_tokens::apply_dark_theme() al primer frame (colors + spacing + radius + rounding consistentes con @fn_library / Mantine). - page_header_begin/end para el header (en vez de Text + Separator + Button manual). Subtítulo con conteos de entidades. - empty_state en las 4 tablas cuando están vacías — mensaje amable con acción sugerida en lugar de tabla vacía silenciosa. Nuevas deps de compilación (.cpp fuentes añadidas al CMakeLists): tokens.cpp, badge.cpp, empty_state.cpp, page_header.cpp. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -29,6 +29,11 @@ add_imgui_app(registry_dashboard
|
||||
${CMAKE_SOURCE_DIR}/functions/core/dashboard_grid.cpp
|
||||
${CMAKE_SOURCE_DIR}/functions/core/fps_overlay.cpp
|
||||
${CMAKE_SOURCE_DIR}/functions/core/fullscreen_window.cpp
|
||||
# Design tokens + primitives (fase 1 y 2 del plan del dashboard)
|
||||
${CMAKE_SOURCE_DIR}/functions/core/tokens.cpp
|
||||
${CMAKE_SOURCE_DIR}/functions/core/badge.cpp
|
||||
${CMAKE_SOURCE_DIR}/functions/core/empty_state.cpp
|
||||
${CMAKE_SOURCE_DIR}/functions/core/page_header.cpp
|
||||
)
|
||||
|
||||
target_include_directories(registry_dashboard PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user