mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
docs: fix Grid demo color (#38633)
https://github.com/ant-design/ant-design/issues/38463#issuecomment-1318293831
This commit is contained in:
parent
ac143ffb4d
commit
e486979b30
@ -9,7 +9,7 @@ const GlobalStyles = () => {
|
||||
|
||||
const { antCls, iconCls } = token;
|
||||
|
||||
const demoGridColor = '#0092ff';
|
||||
const demoGridColor = token.colorPrimary;
|
||||
|
||||
return (
|
||||
<>
|
||||
@ -556,7 +556,7 @@ const GlobalStyles = () => {
|
||||
background: ${demoGridColor};
|
||||
|
||||
&:nth-child(2n + 1) {
|
||||
background: ${new TinyColor(demoGridColor).setAlpha(0.75).toHexString()};
|
||||
background: ${new TinyColor(demoGridColor).setAlpha(0.75).toHex8String()};
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user