@@ -14,6 +14,7 @@ import vscode from '../images/vscode.svg';
14
14
import { PageWithSubMenu } from "../components/PageWithSubMenu" ;
15
15
import settingsMenu from "./settings-menu" ;
16
16
import AlertBox from "../components/AlertBox" ;
17
+ import Tooltip from "../components/Tooltip" ;
17
18
18
19
type Theme = 'light' | 'dark' | 'system' ;
19
20
@@ -54,13 +55,21 @@ export default function Preferences() {
54
55
</ AlertBox >
55
56
< div className = "mt-4 space-x-4 flex" >
56
57
< SelectableCard className = "w-36 h-40" title = "VS Code" selected = { defaultIde === 'code' } onClick = { ( ) => actuallySetDefaultIde ( 'code' ) } >
57
- < div className = "flex-grow flex justify-center items-center " >
58
- < img className = "w-16 filter-grayscale" src = { vscode } />
58
+ < div className = "flex justify-center mt-3 " >
59
+ < img className = "w-16 filter-grayscale self-center " src = { vscode } />
59
60
</ div >
60
61
</ SelectableCard >
62
+ < Tooltip content = { 'Early access version, still subject to testing.' } >
63
+ < SelectableCard className = "w-36 h-40" title = "VS Code" selected = { defaultIde === 'code-latest' } onClick = { ( ) => actuallySetDefaultIde ( 'code-latest' ) } >
64
+ < div className = "flex justify-center mt-3" >
65
+ < img className = "w-16 filter-grayscale self-center" src = { vscode } />
66
+ </ div >
67
+ < span className = "mt-2 ml-2 self-center rounded-xl py-0.5 px-2 text-sm bg-orange-100 text-orange-700 dark:bg-orange-600 dark:text-orange-100 font-semibold" > LATEST</ span >
68
+ </ SelectableCard >
69
+ </ Tooltip >
61
70
< SelectableCard className = "w-36 h-40" title = "Theia" selected = { defaultIde === 'theia' } onClick = { ( ) => actuallySetDefaultIde ( 'theia' ) } >
62
- < div className = "flex-grow flex justify-center items-center " >
63
- < img className = "w-16 dark:filter-invert" src = { theia } />
71
+ < div className = "flex justify-center mt-3 " >
72
+ < img className = "w-16 h-16 dark:filter-invert self-center " src = { theia } />
64
73
</ div >
65
74
</ SelectableCard >
66
75
</ div >
0 commit comments