File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed
Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change 11import type { Web3ThemeConfig } from '@ant-design/web3' ;
22import { 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
66export 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' ,
You can’t perform that action at this time.
0 commit comments