- 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.
15 lines
453 B
TypeScript
15 lines
453 B
TypeScript
/**
|
|
* 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;
|
|
`; |