Skip to content

Commit e66ae31

Browse files
yutingzhao1991tingzhao.ytz
andauthored
feat: new theme win95 (#1346)
Co-authored-by: tingzhao.ytz <[email protected]>
1 parent 5ab4f3c commit e66ae31

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

docs/guide/demos/tokens.ts

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Web3ThemeConfig } from '@ant-design/web3';
22
import { theme } from 'antd';
33

4-
export type ThemeValue = 'default' | 'violet' | 'dark' | 'green' | 'pink' | 'retro';
4+
export type ThemeValue = 'default' | 'violet' | 'dark' | 'green' | 'pink' | 'retro' | 'win95';
55

66
export const customToken: Web3ThemeConfig = {
77
token: {
@@ -99,6 +99,37 @@ export const themeList: ThemeSetting[] = [
9999
algorithm: theme.darkAlgorithm,
100100
},
101101
},
102+
{
103+
color: '#008080',
104+
value: 'win95',
105+
name: 'Windows 95',
106+
buttonType: 'default',
107+
token: {
108+
token: {
109+
colorPrimary: '#008080',
110+
colorLink: '#0000FF',
111+
colorBgContainer: '#C0C0C0',
112+
borderRadius: 0,
113+
},
114+
components: {
115+
Button: {
116+
defaultBg: '#C0C0C0',
117+
defaultBorderColor: '#FFFFFF #808080 #808080 #FFFFFF',
118+
defaultHoverBg: '#C0C0C0',
119+
defaultShadow: 'inset -1px -1px #0a0a0a,inset 1px 1px #fff',
120+
},
121+
Modal: {
122+
contentBg: '#C0C0C0',
123+
boxShadow: 'inset -1px -1px #0a0a0a,inset 1px 1px #fff',
124+
},
125+
},
126+
web3Components: {
127+
ConnectModal: {
128+
hoverWalletBg: '#DFDFDF',
129+
},
130+
},
131+
},
132+
},
102133
{
103134
color: '#796d6f',
104135
value: 'retro',

0 commit comments

Comments
 (0)