@autobusal/operator-routes 1.10.2 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Locations/Propose/styles.ts +10 -1
- package/Prices/Browse/styles.ts +2 -2
- package/Pricing/styles.ts +3 -1
- package/package.json +1 -1
|
@@ -99,7 +99,16 @@ export const Chosen = styled.div`
|
|
|
99
99
|
export const Similar = styled.div`
|
|
100
100
|
margin-top: 15px;
|
|
101
101
|
padding: 12px 14px;
|
|
102
|
-
|
|
102
|
+
/*
|
|
103
|
+
* Claude - 2026-08-30: the hardcoded '#e0a800' fallback that stood here was
|
|
104
|
+
* a workaround for a token nothing defined - theme.font.warning was styled
|
|
105
|
+
* with in four places and present in no palette, and a missing token
|
|
106
|
+
* silently drops the whole declaration rather than failing. It exists now
|
|
107
|
+
* (obtapi's default-settings.json, floored onto every label by
|
|
108
|
+
* Labels\ThemeColors), so this shows the brand's own amber instead of one
|
|
109
|
+
* hardcoded here.
|
|
110
|
+
*/
|
|
111
|
+
border: 1px solid ${ props => props.theme.font.warning };
|
|
103
112
|
border-radius: 4px;
|
|
104
113
|
|
|
105
114
|
p {
|
package/Prices/Browse/styles.ts
CHANGED
|
@@ -75,7 +75,7 @@ export const Tools = styled.div`
|
|
|
75
75
|
*/
|
|
76
76
|
export const Dirty = styled.span`
|
|
77
77
|
font-size: ${ props => props.theme.size.s };
|
|
78
|
-
color: ${ props => props.theme.font.
|
|
78
|
+
color: ${ props => props.theme.font.warning };
|
|
79
79
|
`;
|
|
80
80
|
|
|
81
81
|
export const Copy = styled.button`
|
|
@@ -234,7 +234,7 @@ export const Changed = styled.span`
|
|
|
234
234
|
height: 7px;
|
|
235
235
|
|
|
236
236
|
border-radius: 50%;
|
|
237
|
-
background: ${ props => props.theme.font.
|
|
237
|
+
background: ${ props => props.theme.font.warning };
|
|
238
238
|
`;
|
|
239
239
|
|
|
240
240
|
export const Small = styled.span`
|
package/Pricing/styles.ts
CHANGED
|
@@ -85,7 +85,9 @@ export const Text = styled.span`
|
|
|
85
85
|
export const Percent = styled.strong<{ $up: boolean }>`
|
|
86
86
|
flex: 0 0 auto;
|
|
87
87
|
font-size: ${ props => props.theme.size.m };
|
|
88
|
-
|
|
88
|
+
/* amber against the green of a cut - the pairing this always wanted, and
|
|
89
|
+
could not have while font.warning was a token no palette defined */
|
|
90
|
+
color: ${ props => (props.$up ? props.theme.font.warning : props.theme.font.success) };
|
|
89
91
|
`;
|
|
90
92
|
|
|
91
93
|
/**
|