@@ -1087,6 +1087,17 @@ describe("components.css theme-sensitive surfaces", () => {
10871087 const mobileTerminalSheet = getLastRuleBlock ( ".mobile-terminal-sheet" ) ;
10881088 const mobileTerminal = getLastRuleBlock ( ".mobile-terminal-sheet .bottom-terminal" ) ;
10891089 const mobileFilesSurface = getLastRuleBlock ( ".mobile-sheet--files .file-tree-shell--mobile" ) ;
1090+ const mobileFilesGitSurface = getLastRuleBlock ( ".mobile-sheet--files .git-panel--mobile" ) ;
1091+ const mobileFilesSegmented = getLastRuleBlock ( ".mobile-files-sheet__segmented" ) ;
1092+ const mobileFilesSegment = getLastRuleBlock ( ".mobile-files-sheet__segment" ) ;
1093+ const mobileFilesSegmentActive = getLastRuleBlock ( ".mobile-files-sheet__segment.active" ) ;
1094+ const mobileFilesSegmentIndicator = getLastRuleBlock (
1095+ ".mobile-files-sheet__segment.active::after"
1096+ ) ;
1097+ const mobileFilesTabAction = getLastRuleBlock ( ".mobile-files-sheet__tab-action" ) ;
1098+ const mobileFileSearch = getLastRuleBlock ( ".file-tree-shell--mobile .file-tree-search" ) ;
1099+ const mobileFileRow = getLastRuleBlock ( ".file-tree-shell--mobile .tree-item" ) ;
1100+ const mobileFileRowSelected = getLastRuleBlock ( ".file-tree-shell--mobile .tree-item.selected" ) ;
10901101 const supervisorRoot = getLastRuleBlock ( ".mobile-supervisor-sheet__root" ) ;
10911102 const supervisorHeader = getLastRuleBlock ( ".mobile-supervisor-sheet__detail-header" ) ;
10921103 const drawerItem = getLastRuleBlock ( ".mobile-workspace-drawer__item" ) ;
@@ -1104,7 +1115,40 @@ describe("components.css theme-sensitive surfaces", () => {
11041115 expect ( mobileTerminalSheet ) . not . toContain ( "linear-gradient(" ) ;
11051116 expect ( mobileTerminal ) . toContain ( "border-radius: 0" ) ;
11061117 expect ( mobileTerminal ) . not . toContain ( "var(--radius-xl) var(--radius-xl) 0 0" ) ;
1107- expect ( mobileFilesSurface ) . toContain ( "border-radius: var(--radius-xl) var(--radius-xl) 0 0" ) ;
1118+ expect ( mobileFilesSegmented ) . toContain (
1119+ "border-bottom: 1px solid color-mix(in srgb, var(--border) 78%, transparent)"
1120+ ) ;
1121+ expect ( mobileFilesSegmented ) . toContain ( "border-radius: 0" ) ;
1122+ expect ( mobileFilesSegmented ) . not . toContain ( "linear-gradient(" ) ;
1123+ expect ( mobileFilesSegmented ) . toContain ( "box-shadow: none" ) ;
1124+ expect ( mobileFilesSegment ) . toContain ( "padding: 0" ) ;
1125+ expect ( mobileFilesSegment ) . toContain ( "font-weight: var(--type-label-weight)" ) ;
1126+ expect ( mobileFilesSegmentActive ) . toContain ( "background: transparent" ) ;
1127+ expect ( mobileFilesSegmentIndicator ) . toContain ( "height: 1.5px" ) ;
1128+ expect ( mobileFilesTabAction ) . toContain ( "border: none" ) ;
1129+ expect ( mobileFilesTabAction ) . toContain ( "border-radius: 6px" ) ;
1130+ expect ( mobileFilesTabAction ) . toContain ( "background: transparent" ) ;
1131+ expect ( mobileFilesSurface ) . toContain (
1132+ "border: 1px solid color-mix(in srgb, var(--border) 80%, transparent)"
1133+ ) ;
1134+ expect ( mobileFilesSurface ) . toContain ( "border-radius: var(--radius-md)" ) ;
1135+ expect ( mobileFilesSurface ) . toContain ( "box-shadow: none" ) ;
1136+ expect ( mobileFilesSurface ) . not . toContain ( "linear-gradient(" ) ;
1137+ expect ( mobileFilesGitSurface ) . toContain (
1138+ "border: 1px solid color-mix(in srgb, var(--border) 80%, transparent)"
1139+ ) ;
1140+ expect ( mobileFilesGitSurface ) . toContain ( "border-radius: var(--radius-md)" ) ;
1141+ expect ( mobileFilesGitSurface ) . toContain ( "box-shadow: none" ) ;
1142+ expect ( mobileFileSearch ) . toContain ( "margin: 0" ) ;
1143+ expect ( mobileFileSearch ) . toContain ( "border-radius: 0" ) ;
1144+ expect ( mobileFileSearch ) . toContain ( "border-right: none" ) ;
1145+ expect ( mobileFileSearch ) . toContain ( "border-left: none" ) ;
1146+ expect ( mobileFileSearch ) . toContain ( "background: transparent" ) ;
1147+ expect ( mobileFileRow ) . toContain ( "min-height: 40px" ) ;
1148+ expect ( mobileFileRow ) . toContain ( "border-radius: 0" ) ;
1149+ expect ( mobileFileRowSelected ) . toContain (
1150+ "border-left: 2px solid color-mix(in srgb, var(--accent-blue) 88%, white 12%)"
1151+ ) ;
11081152 expect ( supervisorRoot ) . toContain ( "border-radius: var(--radius-xl) var(--radius-xl) 0 0" ) ;
11091153 expect ( supervisorHeader ) . toContain ( "border-radius: var(--radius-xl)" ) ;
11101154 expect ( drawerItem ) . toContain ( "border-radius: var(--radius-xl)" ) ;
0 commit comments