Skip to content

Commit 5eca224

Browse files
authored
Merge pull request Expensify#67826 from Expensify/Rory-UnusedStyleChecker
[No QA] Fix path matcher in unused-styles
2 parents a12912a + f5df3a8 commit 5eca224

2 files changed

Lines changed: 1 addition & 36 deletions

File tree

.github/workflows/unused-styles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66
types: [opened, synchronize]
77
branches-ignore: [staging, production]
8-
paths: ['src', '.github/workflows/unused-styles.yml', 'scripts/findUnusedStyles.ts']
8+
paths: ['src/**', '.github/workflows/unused-styles.yml', 'scripts/findUnusedStyles.ts']
99

1010
concurrency:
1111
group: ${{ github.ref == 'refs/heads/main' && format('{0}-{1}', github.ref, github.sha) || github.ref }}-unused-styles

src/styles/index.ts

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3791,16 +3791,6 @@ const styles = (theme: ThemeColors) =>
37913791
zIndex: 2,
37923792
},
37933793

3794-
dropInnerWrapper: {
3795-
borderWidth: 2,
3796-
borderStyle: 'dashed',
3797-
},
3798-
3799-
reportDropOverlay: {
3800-
backgroundColor: theme.dropUIBG,
3801-
zIndex: 2,
3802-
},
3803-
38043794
fileDropOverlay: {
38053795
backgroundColor: theme.fileDropUIBG,
38063796
},
@@ -4597,10 +4587,6 @@ const styles = (theme: ThemeColors) =>
45974587
gap: 8,
45984588
},
45994589

4600-
reportPreviewAmountSubtitleContainer: {
4601-
gap: 4,
4602-
},
4603-
46044590
expenseAndReportPreviewTextButtonContainer: {
46054591
gap: 16,
46064592
},
@@ -5455,20 +5441,6 @@ const styles = (theme: ThemeColors) =>
54555441
alignSelf: 'center',
54565442
},
54575443

5458-
tripReservationRow: {
5459-
flexDirection: 'row',
5460-
alignItems: 'center',
5461-
maxWidth: '50%',
5462-
flexShrink: 1,
5463-
},
5464-
5465-
iconWrapper: {
5466-
justifyContent: 'center',
5467-
alignItems: 'center',
5468-
alignSelf: 'flex-start', // Keeps icon from dropping below
5469-
paddingTop: 2, // Adjust slightly for vertical centering
5470-
},
5471-
54725444
textLineThrough: {
54735445
textDecorationLine: 'line-through',
54745446
},
@@ -5610,13 +5582,6 @@ const styles = (theme: ThemeColors) =>
56105582
borderLeftWidth: isExtraLargeScreenWidth ? 1 : 0,
56115583
borderLeftColor: theme.border,
56125584
}),
5613-
reportPreviewCarouselDots: {
5614-
borderRadius: 50,
5615-
width: 8,
5616-
height: 8,
5617-
alignItems: 'center',
5618-
justifyContent: 'center',
5619-
},
56205585
reportPreviewArrowButton: {
56215586
borderRadius: 50,
56225587
width: variables.w28,

0 commit comments

Comments
 (0)