Skip to content

Commit e0ee2ab

Browse files
author
guqiankun.gqk
committed
chore: 移除部分全局样式
1 parent eb1d9a4 commit e0ee2ab

3 files changed

Lines changed: 16 additions & 21 deletions

File tree

packages/acr/src/styles.module.less

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
@import '~@alipay/geek-theme/palette/dark.less';
1313
@import '~@alipay/geek-theme/palette/light.less';
1414

15-
:global {
16-
@import './normalize.less';
17-
}
1815

1916
@import '~@opensumi/ide-components/lib/style/mixins.less';
2017

packages/alex/src/api/createEditor.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import { BoxPanel, SplitPanel } from '@opensumi/ide-core-browser/lib/components'
1919

2020
import '@opensumi/ide-core-browser/lib/style/entry.less';
2121
import '@opensumi/ide-core-browser/lib/style/codicons/codicon-animations.css';
22-
import './normalize.less';
2322

2423
import { IPluginConfig } from '@alipay/alex-plugin';
2524
import { deletionLogPath } from '@alipay/alex-browserfs/lib/backend/OverlayFS';

packages/alex/src/api/normalize.less

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ html {
2626
// /* 防止mac上的回退手势 */
2727
// overscroll-behavior-x: none;
2828

29-
input::placeholder,
30-
textarea::placeholder {
31-
color: var(--input-placeholder-foreground);
32-
}
29+
// input::placeholder,
30+
// textarea::placeholder {
31+
// color: var(--input-placeholder-foreground);
32+
// }
3333

3434
// 全局设置滚动条样式
3535
// ::-webkit-scrollbar {
@@ -58,20 +58,19 @@ html {
5858
// background: transparent;
5959
// }
6060

61-
a {
62-
color: var(--textLink-foreground);
63-
64-
&:hover,
65-
&:active,
66-
&:focus {
67-
color: var(--textLink-activeForeground);
68-
}
69-
}
61+
// a {
62+
// color: var(--textLink-foreground);
63+
// &:hover,
64+
// &:active,
65+
// &:focus {
66+
// color: var(--textLink-activeForeground);
67+
// }
68+
// }
7069

71-
blockquote {
72-
background-color: var(--textBlockQuote-background);
73-
border-color: var(--textBlockQuote-border);
74-
}
70+
// blockquote {
71+
// background-color: var(--textBlockQuote-background);
72+
// border-color: var(--textBlockQuote-border);
73+
// }
7574

7675
// code {
7776
// background-color: var(--textCodeBlock-background);

0 commit comments

Comments
 (0)