diff --git a/frontend/index.html b/frontend/index.html index 4d57bd9..0c14857 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -7,7 +7,7 @@ FarmaClic - + diff --git a/frontend/public/logo-square-192.png b/frontend/public/logo-square-192.png deleted file mode 100644 index d709899..0000000 Binary files a/frontend/public/logo-square-192.png and /dev/null differ diff --git a/frontend/public/logo-square-512.png b/frontend/public/logo-square-512.png deleted file mode 100644 index 2f76355..0000000 Binary files a/frontend/public/logo-square-512.png and /dev/null differ diff --git a/frontend/src/components/BottomNav.css b/frontend/src/components/BottomNav.css index decdf5b..c9b7ba0 100644 --- a/frontend/src/components/BottomNav.css +++ b/frontend/src/components/BottomNav.css @@ -132,6 +132,12 @@ stroke-width: 2.5; } +.bottom-nav-item:hover { + color: var(--primary); + background: transparent; + font-weight: 700; +} + .nav-elevated.active .nav-label { color: var(--tertiary); -} \ No newline at end of file +} diff --git a/frontend/src/views/SearchView.css b/frontend/src/views/SearchView.css index b2a734a..25d21dd 100644 --- a/frontend/src/views/SearchView.css +++ b/frontend/src/views/SearchView.css @@ -44,31 +44,41 @@ transform: scale(0.96); } -.suggestion-btn--primary { - background: var(--primary); - color: var(--on-primary); +.suggestion-btn:hover { + background: #83afd6; + font-weight: 700; } -.suggestion-btn--secondary { - background: var(--secondary); - color: var(--on-secondary); +.suggestion-btn--neutral-1 { + background: #ffffff; + color: #1e293b; + border: 1px solid #e2e8f0; } -.suggestion-btn--tertiary { - background: var(--tertiary-container); - color: var(--on-tertiary); +.suggestion-btn--neutral-2 { + background: #f0f7ff; + color: #1e293b; + border: 1px solid #dbeafe; } -.suggestion-btn--tint { - background: var(--surface-tint); - color: var(--on-primary); +.suggestion-btn--neutral-3 { + background: #e0f0ff; + color: #1e293b; + border: 1px solid #bfdbfe; +} + +.suggestion-btn--neutral-4 { + background: #d4ebff; + color: #1e293b; + border: 1px solid #93c5fd; } .suggestion-icon { width: 2.5rem; height: 2.5rem; border-radius: var(--radius); - background: rgba(255, 255, 255, 0.2); + background: rgba(59, 130, 246, 0.08); + color: #3b82f6; display: flex; align-items: center; justify-content: center; diff --git a/frontend/src/views/SearchView.jsx b/frontend/src/views/SearchView.jsx index ff05c77..e559fc2 100644 --- a/frontend/src/views/SearchView.jsx +++ b/frontend/src/views/SearchView.jsx @@ -7,10 +7,10 @@ import { haversineKm, getUserPosition } from '../utils/geo'; import './SearchView.css'; const suggestions = [ - { name: 'Paracetamol', icon: 'medication', color: 'primary' }, - { name: 'Ibuprofeno', icon: 'pill', color: 'secondary' }, - { name: 'Aspirina', icon: 'vaccines', color: 'tertiary' }, - { name: 'Omeprazol', icon: 'emergency_home', color: 'tint' }, + { name: 'Paracetamol', icon: 'medication', color: 'neutral-1' }, + { name: 'Ibuprofeno', icon: 'pill', color: 'neutral-2' }, + { name: 'Aspirina', icon: 'vaccines', color: 'neutral-3' }, + { name: 'Omeprazol', icon: 'emergency_home', color: 'neutral-4' }, ]; function SearchView({ currentUser, onLoginRequest }) { diff --git a/frontend/vite.config.js b/frontend/vite.config.js index ae68f38..c7891ea 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -25,9 +25,7 @@ export default defineConfig({ display: 'standalone', start_url: '/', icons: [ - { src: '/logo-square-192.png', sizes: '192x192', type: 'image/png', purpose: 'any' }, - { src: '/logo-square-512.png', sizes: '512x512', type: 'image/png', purpose: 'any' }, - { src: '/logo.png', sizes: '512x279', type: 'image/png', purpose: 'any' }, + { src: '/farmaclic_logo.png', sizes: '512x512', type: 'image/png', purpose: 'any maskable' }, ], }, }),