Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@forcemeter
Copy link
Contributor

What

format 支持 8位 HEX,参考 https://drafts.csswg.org/css-color/

Why

目前的移动端,及css 都支持8位 Hex,用于标识透明度,方便多端统一。

How

{
    "type": "form",
    "api": "/api/mock2/form/saveForm",
    "body": [
        {
            "type": "input-color",
            "name": "color",
            "label": "带透明度调节的色盘, 8 digits HEX",
            "value": "#73E3EC88",
            "format": "hexa"
        }
    ]
}

@forcemeter forcemeter changed the title 颜色选择器 Hex 支持 8-digits 透明度,增加 hexa format FEAT:颜色选择器 Hex 支持 8-digits 透明度,增加 hexa format Aug 1, 2024
@forcemeter forcemeter changed the title FEAT:颜色选择器 Hex 支持 8-digits 透明度,增加 hexa format feat: 颜色选择器 Hex 支持 8-digits 透明度,增加 hexa format Aug 1, 2024
@2betop
Copy link
Member

2betop commented Aug 5, 2024

thx

@2betop 2betop merged commit bee950f into baidu:master Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants