返回 Skill 列表
extension
分类: 开发与工程无需 API Key

css-colors

关于如何为CSS规则添加新颜色的说明

person作者: jakexiaohubgithub

When adding new colors for CSS rules, follow these guidelines to ensure consistency and maintainability:

  • If possible use Material UI color palette which is derived from MUI theme in frontend/src/theme/theme.ts
  • Do not use direct color codes in component code but instead refer to the theme colors
  • If a new color is needed, add it to the theme file's customColors section