Skip to content

Commit

Permalink
style: 标题颜色所有模式默认#000000 (#179)
Browse files Browse the repository at this point in the history
* revert: "style: default text color of the form in the view mode is gray"

This reverts commit 5033cac.

* style: default title color of the form in the view mode is #000000
  • Loading branch information
mengshang918 committed Apr 1, 2022
1 parent 3199e29 commit d1727bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,3 @@

&--content
width 100%

&-view
color rgba(0, 0, 0, 0.45)
7 changes: 2 additions & 5 deletions packages/drip-form/src/render/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @Author: jiangxiaowei
* @Date: 2021-07-30 16:35:48
* @Last Modified by: jiangxiaowei
* @Last Modified time: 2022-03-31 11:01:34
* @Last Modified time: 2022-04-01 11:36:25
*/
import React from 'react'
import type { RenderFnProps } from './type'
Expand Down Expand Up @@ -173,10 +173,7 @@ const Render = ({
verticalAlign: 'center',
requiredFields: false,
fontSize: 12,
color:
(uiProp.formMode || formMode) === 'view'
? 'rgba(0,0,0,0.45)'
: '#000000',
color: '#000000',
},
globalTitleUi,
properties[item]?.title || {}
Expand Down

0 comments on commit d1727bc

Please sign in to comment.