@@ -33,24 +33,26 @@ export function App(props: {}, cx: ComponentContext) {
3333 use ( browser . settings . theme ) . listen ( applyTheme ) ;
3434
3535 const theme = {
36- colors : {
37- frame : [ 81 , 111 , 163 ] ,
38- toolbar : [ 145 , 168 , 208 ] ,
39- ntp_background : [ 131 , 156 , 200 ] ,
40- tab_text : [ 27 , 43 , 70 ] ,
41- bookmark_text : [ 27 , 43 , 70 ] ,
42- tab_background_text : [ 255 , 255 , 255 ] ,
43- ntp_text : [ 27 , 43 , 70 ] ,
44- } ,
45- tints : {
46- buttons : [ 0.6 , 1 , 0.2 ] ,
47- frame_incognito : [ 0.6 , 0.5 , 0.25 ] ,
48- } ,
36+ toolbar : "rgb(45, 41, 59)" ,
37+ toolbar_text : "rgb(236, 191, 189)" ,
38+ frame : "rgb(30, 30, 40)" ,
39+ tab_background_text : "rgb(215, 218, 224)" ,
40+ toolbar_field : "rgb(30, 30, 40)" ,
41+ toolbar_field_text : "rgb(236, 191, 189)" ,
42+ tab_line : "rgb(236, 191, 189)" ,
43+ popup : "rgb(30, 30, 40)" ,
44+ popup_text : "rgb(236, 191, 189)" ,
45+ icons : "rgb(198, 170, 232)" ,
46+ ntp_background : "rgb(21, 18, 28)" ,
47+ ntp_text : "rgb(164, 185, 239)" ,
48+ popup_border : "rgb(236, 191, 189)" ,
49+ toolbar_top_separator : "rgb(30, 30, 40)" ,
50+ tab_loading : "rgb(236, 191, 189)" ,
4951 } ;
5052
5153 cx . mount = ( ) => {
52- for ( const [ key , value ] of Object . entries ( theme . colors ) ) {
53- cx . root . style . setProperty ( `--${ key } ` , `rgb( ${ value . join ( "," ) } )` ) ;
54+ for ( const [ key , value ] of Object . entries ( theme ) ) {
55+ cx . root . style . setProperty ( `--${ key } ` , value ) ;
5456 }
5557 } ;
5658
0 commit comments