Update dependencies, refactor authentication, and enhance UI components
- Upgraded @reduxjs/toolkit to version 2.9.0 and added new dependencies including @techniker-me/pcast-api and moment. - Refactored authentication logic and added middleware for improved request handling. - Introduced new UI components such as buttons, loaders, and forms, along with a theme system following SOLID principles. - Updated routing to include protected routes and improved the login form with better error handling. - Removed unused CSS and organized the project structure for better maintainability.
This commit is contained in:
15
src/components/forms/label/style.ts
Normal file
15
src/components/forms/label/style.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Copyright 2024 Phenix Real Time Solutions, Inc. Confidential and Proprietary. All Rights Reserved.
|
||||
*/
|
||||
import * as styled from 'styled-components';
|
||||
import Theme from 'theme';
|
||||
|
||||
const {spacing, colors, typography} = Theme;
|
||||
|
||||
export const Label = styled.default.label<{color?: string}>`
|
||||
font-size: ${typography.fontSizeS};
|
||||
color: ${({color}) => (color || colors.gray900)};
|
||||
font-weight: bold;
|
||||
margin: ${spacing.xxSmall} 0;
|
||||
display: block;
|
||||
`;
|
||||
Reference in New Issue
Block a user