File tree Expand file tree Collapse file tree
editor-packages/editor-preferences Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ const Container = styled.div`
3131 h3,
3232 h4,
3333 h5,
34- h6 {
34+ h6,
35+ p {
3536 color: white;
3637 h1 {
3738 font-size: 21px;
Original file line number Diff line number Diff line change 1+ import React , { useEffect } from "react" ;
2+ import { PageContentLayout } from "../layouts" ;
3+ import type { Preference , PreferencePageProps } from "../core" ;
4+ import { PreferenceItem } from "../components/preference-item" ;
5+
6+ const preference_debug_mode : Preference = {
7+ identifier : "editor.debug-mode" ,
8+ title : "Debug Mode" ,
9+ properties : {
10+ "editor.debug-mode.enabled" : {
11+ type : "boolean" ,
12+ description : "Enable debug mode" ,
13+ default : false ,
14+ } ,
15+ } ,
16+ } ;
17+
18+ export default function AdvancedPreferencesPage ( {
19+ state,
20+ dispatch,
21+ } : PreferencePageProps ) {
22+ return (
23+ < >
24+ < PageContentLayout >
25+ < h1 > Advanced</ h1 >
26+ < main >
27+ < section >
28+ < PreferenceItem { ...preference_debug_mode } />
29+ </ section >
30+ </ main >
31+ </ PageContentLayout >
32+ </ >
33+ ) ;
34+ }
You can’t perform that action at this time.
0 commit comments