mirror of
				https://github.com/lingble/twenty.git
				synced 2025-11-03 22:27:57 +00:00 
			
		
		
		
	[UI] Remove theme constants from twenty-front and use the ones exported from twenty-ui. (#5558)
Some parts of the Frontend used theme constants exported from `modules/ui` while other parts used theme constants exported from `twenty-ui`. This PR centralizes theme constants by removing them from `modules/ui` completely.
This commit is contained in:
		@@ -3,9 +3,9 @@ import { css, useTheme } from '@emotion/react';
 | 
			
		||||
import styled from '@emotion/styled';
 | 
			
		||||
import { motion } from 'framer-motion';
 | 
			
		||||
import { useRecoilValue } from 'recoil';
 | 
			
		||||
import { MOBILE_VIEWPORT } from 'twenty-ui';
 | 
			
		||||
 | 
			
		||||
import { isNavigationDrawerOpenState } from '@/ui/navigation/states/isNavigationDrawerOpenState';
 | 
			
		||||
import { MOBILE_VIEWPORT } from '@/ui/theme/constants/MobileViewport';
 | 
			
		||||
import { useIsMobile } from '@/ui/utilities/responsive/hooks/useIsMobile';
 | 
			
		||||
 | 
			
		||||
import { DESKTOP_NAV_DRAWER_WIDTHS } from '../constants/DesktopNavDrawerWidths';
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user