mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
fix: cssinjs should be hashed defaultly (#55880)
* chore: default hashed * chore: fix layout
This commit is contained in:
@@ -264,7 +264,6 @@ const GlobalLayout: React.FC = () => {
|
||||
...dynamicToken,
|
||||
// colorBgContainer: 'rgba(255,0,0,0.1)',
|
||||
},
|
||||
hashed: false,
|
||||
zeroRuntime: process.env.NODE_ENV === 'production',
|
||||
},
|
||||
nextComponentsClassNames,
|
||||
|
||||
@@ -240,7 +240,7 @@ const genMentionsStyle: GenerateStyle<MentionsToken> = (token) => {
|
||||
},
|
||||
|
||||
// ========================== Suffix ==========================
|
||||
'&-suffix': {
|
||||
[`${componentCls}-suffix`]: {
|
||||
display: 'inline-flex',
|
||||
alignItems: 'center',
|
||||
flex: 'none',
|
||||
|
||||
@@ -11,7 +11,7 @@ export { default as defaultTheme } from './themes/default/theme';
|
||||
export const defaultConfig = {
|
||||
token: defaultSeedToken,
|
||||
override: { override: defaultSeedToken },
|
||||
hashed: false,
|
||||
hashed: true,
|
||||
};
|
||||
|
||||
export type ComponentsToken = {
|
||||
|
||||
@@ -110,8 +110,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ant-design/colors": "^8.0.0",
|
||||
"@ant-design/cssinjs": "^2.0.0",
|
||||
"@ant-design/cssinjs-utils": "^2.0.1",
|
||||
"@ant-design/cssinjs": "^2.0.1",
|
||||
"@ant-design/cssinjs-utils": "^2.0.2",
|
||||
"@ant-design/fast-color": "^3.0.0",
|
||||
"@ant-design/icons": "^6.1.0",
|
||||
"@ant-design/react-slick": "~1.1.2",
|
||||
|
||||
Reference in New Issue
Block a user