@@ -79,6 +79,48 @@ describe("theme icon resolver", () => {
7979 }
8080 } ) ;
8181
82+ it ( "keeps mobile dock icons aligned within each built-in theme" , ( ) => {
83+ for ( const themeId of [
84+ "mint-dark" ,
85+ "mint-light" ,
86+ "graphite-dark" ,
87+ "graphite-light" ,
88+ "nord-dark" ,
89+ "nord-light" ,
90+ "hc-dark" ,
91+ "hc-light" ,
92+ ] as const ) {
93+ const agentTone = getIconPresentation ( themeId , "mobile.dock.agent" ) . tone ;
94+ const filesTone = getIconPresentation ( themeId , "mobile.dock.files" ) . tone ;
95+ const terminalTone = getIconPresentation ( themeId , "mobile.dock.terminal" ) . tone ;
96+
97+ expect ( agentTone ) . toBe ( filesTone ) ;
98+ expect ( filesTone ) . toBe ( terminalTone ) ;
99+ }
100+ } ) ;
101+
102+ it ( "keeps settings navigation icons aligned within each built-in theme" , ( ) => {
103+ for ( const themeId of [
104+ "mint-dark" ,
105+ "mint-light" ,
106+ "graphite-dark" ,
107+ "graphite-light" ,
108+ "nord-dark" ,
109+ "nord-light" ,
110+ "hc-dark" ,
111+ "hc-light" ,
112+ ] as const ) {
113+ const tones = new Set ( [
114+ getIconPresentation ( themeId , "nav.settings.general" ) . tone ,
115+ getIconPresentation ( themeId , "nav.settings.providers" ) . tone ,
116+ getIconPresentation ( themeId , "nav.settings.appearance" ) . tone ,
117+ getIconPresentation ( themeId , "nav.settings.shortcuts" ) . tone ,
118+ ] ) ;
119+
120+ expect ( tones . size ) . toBe ( 1 ) ;
121+ }
122+ } ) ;
123+
82124 it ( "applies richer common icon tones for mint themes" , ( ) => {
83125 for ( const themeId of [ "mint-dark" , "mint-light" ] as const ) {
84126 expect ( getIconPresentation ( themeId , "nav.agent" ) ) . toEqual (
@@ -88,7 +130,7 @@ describe("theme icon resolver", () => {
88130 expect . objectContaining ( { tone : "accent" } )
89131 ) ;
90132 expect ( getIconPresentation ( themeId , "mobile.dock.agent" ) ) . toEqual (
91- expect . objectContaining ( { tone : "accent " } )
133+ expect . objectContaining ( { tone : "info " } )
92134 ) ;
93135 expect ( getIconPresentation ( themeId , "mobile.dock.files" ) ) . toEqual (
94136 expect . objectContaining ( { tone : "info" } )
@@ -138,7 +180,7 @@ describe("theme icon resolver", () => {
138180 expect . objectContaining ( { tone : "accent" } )
139181 ) ;
140182 expect ( getIconPresentation ( themeId , "mobile.dock.agent" ) ) . toEqual (
141- expect . objectContaining ( { tone : "accent " } )
183+ expect . objectContaining ( { tone : "secondary " } )
142184 ) ;
143185 expect ( getIconPresentation ( themeId , "mobile.dock.files" ) ) . toEqual (
144186 expect . objectContaining ( { tone : "secondary" } )
@@ -188,7 +230,7 @@ describe("theme icon resolver", () => {
188230 expect . objectContaining ( { tone : "accent" } )
189231 ) ;
190232 expect ( getIconPresentation ( themeId , "mobile.dock.agent" ) ) . toEqual (
191- expect . objectContaining ( { tone : "accent " } )
233+ expect . objectContaining ( { tone : "info " } )
192234 ) ;
193235 expect ( getIconPresentation ( themeId , "mobile.dock.files" ) ) . toEqual (
194236 expect . objectContaining ( { tone : "info" } )
@@ -227,7 +269,7 @@ describe("theme icon resolver", () => {
227269 expect . objectContaining ( { tone : "secondary" } )
228270 ) ;
229271 expect ( getIconPresentation ( themeId , "nav.settings.providers" ) ) . toEqual (
230- expect . objectContaining ( { tone : "info " } )
272+ expect . objectContaining ( { tone : "secondary " } )
231273 ) ;
232274 }
233275 } ) ;
0 commit comments