@skyscanner/backpack-web 41.3.0 → 41.5.0
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/bpk-component-bubble/src/BpkBubble.module.css +1 -1
- package/bpk-component-card-list/src/BpkCardListRowRail/BpkCardListCarousel.module.css +1 -1
- package/bpk-component-code/index.d.ts +6 -0
- package/bpk-component-code/index.js +3 -1
- package/bpk-component-code/src/BpkCode.d.ts +9 -0
- package/bpk-component-code/src/BpkCode.js +14 -33
- package/bpk-component-code/src/BpkCodeBlock.d.ts +9 -0
- package/bpk-component-code/src/BpkCodeBlock.js +15 -28
- package/bpk-component-fieldset/src/BpkFieldset.js +0 -1
- package/bpk-component-label/index.d.ts +3 -0
- package/bpk-component-label/index.js +3 -1
- package/bpk-component-label/src/BpkLabel.d.ts +11 -0
- package/bpk-component-label/src/BpkLabel.js +11 -22
- package/bpk-component-navigation-tab-group/src/BpkNavigationTabGroup.js +3 -2
- package/bpk-component-nudger/src/BpkNudger.js +0 -1
- package/bpk-component-segmented-control/index.d.ts +3 -2
- package/bpk-component-segmented-control/index.js +2 -1
- package/bpk-component-segmented-control/src/BpkSegmentedControl.d.ts +36 -1
- package/bpk-component-segmented-control/src/BpkSegmentedControl.js +138 -13
- package/bpk-component-text/src/BpkText.module.css +1 -1
- package/bpk-component-theme-toggle/index.d.ts +4 -0
- package/bpk-component-theme-toggle/src/BpkThemeToggle.d.ts +16 -0
- package/bpk-component-theme-toggle/src/BpkThemeToggle.js +10 -7
- package/bpk-component-theme-toggle/src/theming.d.ts +136 -0
- package/bpk-component-theme-toggle/src/updateOnThemeChange.d.ts +42 -0
- package/bpk-component-theme-toggle/src/updateOnThemeChange.js +10 -8
- package/bpk-component-theme-toggle/src/utils.d.ts +3 -0
- package/bpk-component-theme-toggle/src/utils.js +1 -1
- package/bpk-mixins/_typography.scss +3 -3
- package/bpk-stylesheets/base.css +1 -1
- package/bpk-stylesheets/font.css +1 -1
- package/bpk-stylesheets/font.scss +423 -75
- package/bpk-stylesheets/index.scss +1 -1
- package/bpk-stylesheets/larken.css +1 -1
- package/bpk-stylesheets/larken.scss +268 -95
- package/package.json +2 -2
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export type Theme = {
|
|
2
|
+
themeName: string;
|
|
3
|
+
primaryColor: string;
|
|
4
|
+
logoFillColor: string;
|
|
5
|
+
accordionActiveColor: string;
|
|
6
|
+
accordionColor: string;
|
|
7
|
+
accordionHoverColor: string;
|
|
8
|
+
badgeBackgroundColor: string;
|
|
9
|
+
badgeSuccessBackgroundColor: string;
|
|
10
|
+
badgeDestructiveBackgroundColor: string;
|
|
11
|
+
bannerAlertPrimaryColor: string;
|
|
12
|
+
bannerAlertSuccessColor: string;
|
|
13
|
+
bannerAlertWarnColor: string;
|
|
14
|
+
bannerAlertErrorColor: string;
|
|
15
|
+
barchartBarBackgroundColor: string;
|
|
16
|
+
barchartBarHoverBackgroundColor: string;
|
|
17
|
+
barchartBarActiveBackgroundColor: string;
|
|
18
|
+
barchartBarSelectedBackgroundColor: string;
|
|
19
|
+
blockquoteBarColor: string;
|
|
20
|
+
buttonFontSize: string;
|
|
21
|
+
buttonPrimaryTextColor: string;
|
|
22
|
+
buttonPrimaryHoverTextColor: string;
|
|
23
|
+
buttonPrimaryActiveTextColor: string;
|
|
24
|
+
buttonPrimaryGradientStartColor: string;
|
|
25
|
+
buttonPrimaryGradientEndColor: string;
|
|
26
|
+
buttonPrimaryBackgroundColor: string;
|
|
27
|
+
buttonPrimaryHoverBackgroundColor: string;
|
|
28
|
+
buttonPrimaryActiveBackgroundColor: string;
|
|
29
|
+
buttonSecondaryTextColor: string;
|
|
30
|
+
buttonSecondaryHoverTextColor: string;
|
|
31
|
+
buttonSecondaryActiveTextColor: string;
|
|
32
|
+
buttonSecondaryBorderColor: string;
|
|
33
|
+
buttonSecondaryHoverBorderColor: string;
|
|
34
|
+
buttonSecondaryActiveBorderColor: string;
|
|
35
|
+
buttonSecondaryBackgroundColor: string;
|
|
36
|
+
buttonSecondaryHoverBackgroundColor: string;
|
|
37
|
+
buttonSecondaryActiveBackgroundColor: string;
|
|
38
|
+
buttonFeaturedTextColor: string;
|
|
39
|
+
buttonFeaturedHoverTextColor: string;
|
|
40
|
+
buttonFeaturedActiveTextColor: string;
|
|
41
|
+
buttonFeaturedGradientStartColor: string;
|
|
42
|
+
buttonFeaturedGradientEndColor: string;
|
|
43
|
+
buttonFeaturedBackgroundColor: string;
|
|
44
|
+
buttonFeaturedHoverBackgroundColor: string;
|
|
45
|
+
buttonFeaturedActiveBackgroundColor: string;
|
|
46
|
+
buttonDestructiveTextColor: string;
|
|
47
|
+
buttonDestructiveHoverTextColor: string;
|
|
48
|
+
buttonDestructiveActiveTextColor: string;
|
|
49
|
+
buttonDestructiveBorderColor: string;
|
|
50
|
+
buttonDestructiveHoverBorderColor: string;
|
|
51
|
+
buttonDestructiveActiveBorderColor: string;
|
|
52
|
+
buttonDestructiveBackgroundColor: string;
|
|
53
|
+
buttonDestructiveHoverBackgroundColor: string;
|
|
54
|
+
buttonDestructiveActiveBackgroundColor: string;
|
|
55
|
+
chipDefaultSelectedBackgroundColor: string;
|
|
56
|
+
chipDefaultSelectedTextColor: string;
|
|
57
|
+
chipOnDarkSelectedBackgroundColor: string;
|
|
58
|
+
chipOnDarkSelectedTextColor: string;
|
|
59
|
+
chipOnImageSelectedBackgroundColor: string;
|
|
60
|
+
chipOnImageSelectedHoverBackgroundColor: string;
|
|
61
|
+
chipOnImageSelectedActiveBackgroundColor: string;
|
|
62
|
+
chipOnImageSelectedTextColor: string;
|
|
63
|
+
fieldsetLabelTextColor: string;
|
|
64
|
+
formValidationIconFill: string;
|
|
65
|
+
formValidationTextColor: string;
|
|
66
|
+
inputInvalidBorderColor: string;
|
|
67
|
+
linkColor: string;
|
|
68
|
+
linkHoverColor: string;
|
|
69
|
+
linkActiveColor: string;
|
|
70
|
+
linkVisitedColor: string;
|
|
71
|
+
linkAlternateColor: string;
|
|
72
|
+
linkAlternateHoverColor: string;
|
|
73
|
+
linkAlternateActiveColor: string;
|
|
74
|
+
linkAlternateVisitedColor: string;
|
|
75
|
+
horizontalNavBarSelectedColor: string;
|
|
76
|
+
horizontalNavLinkSelectedColor: string;
|
|
77
|
+
horizontalNavLinkColor: string;
|
|
78
|
+
horizontalNavLinkHoverColor: string;
|
|
79
|
+
horizontalNavLinkActiveColor: string;
|
|
80
|
+
selectInvalidBorderColor: string;
|
|
81
|
+
spinnerPrimaryColor: string;
|
|
82
|
+
starRatingFilledColor: string;
|
|
83
|
+
sliderBarColor: string;
|
|
84
|
+
textareaInvalidBorderColor: string;
|
|
85
|
+
paginationNudgerActiveColor: string;
|
|
86
|
+
paginationNudgerColor: string;
|
|
87
|
+
paginationNudgerHoverColor: string;
|
|
88
|
+
paginationSelectedBackgroundColor: string;
|
|
89
|
+
progressBarFillColor: string;
|
|
90
|
+
calendarDateTextColor: string;
|
|
91
|
+
calendarDateTextHoverColor: string;
|
|
92
|
+
calendarDateTextActiveColor: string;
|
|
93
|
+
calendarDateTextFocusColor: string;
|
|
94
|
+
calendarDateTextSelectedColor: string;
|
|
95
|
+
calendarDateSelectedBackgroundColor: string;
|
|
96
|
+
calendarDateFocusedBorderColor: string;
|
|
97
|
+
calendarNudgerIconColor: string;
|
|
98
|
+
calendarNudgerIconHoverColor: string;
|
|
99
|
+
calendarNudgerIconActiveColor: string;
|
|
100
|
+
checkboxCheckedColor: string;
|
|
101
|
+
radioCheckedColor: string;
|
|
102
|
+
switchCheckedColor: string;
|
|
103
|
+
ratingHighTextColor: string;
|
|
104
|
+
ratingHighColor: string;
|
|
105
|
+
ratingMediumTextColor: string;
|
|
106
|
+
ratingMediumColor: string;
|
|
107
|
+
ratingLowColor: string;
|
|
108
|
+
iconMarkerDefaultBackgroundColor: string;
|
|
109
|
+
iconMarkerDefaultSelectedColor: string;
|
|
110
|
+
iconMarkerDefaultDisabledColor: string;
|
|
111
|
+
iconMarkerDefaultDisabledBackgroundColor: string;
|
|
112
|
+
priceMarkerBackgroundColor: string;
|
|
113
|
+
priceMarkerSelectedBorderColor: string;
|
|
114
|
+
priceMarkerSelectedColor: string;
|
|
115
|
+
priceMarkerViewedBackgroundColor: string;
|
|
116
|
+
priceMarkerViewedBorderColor: string;
|
|
117
|
+
priceMarkerViewedColor: string;
|
|
118
|
+
skipLinkBackgroundColor: string;
|
|
119
|
+
navigationBarIconButtonColor: string;
|
|
120
|
+
navigationBarIconButtonHoverColor: string;
|
|
121
|
+
navigationBarIconButtonActiveColor: string;
|
|
122
|
+
navigationBarButtonLinkColor: string;
|
|
123
|
+
navigationBarButtonLinkHoverColor: string;
|
|
124
|
+
navigationBarButtonLinkActiveColor: string;
|
|
125
|
+
navigationBarButtonLinkVisitedColor: string;
|
|
126
|
+
navigationBarTitleColor: string;
|
|
127
|
+
navigationBarBackgroundColor: string;
|
|
128
|
+
docsSidebarBackground: string;
|
|
129
|
+
docsSidebarLink: string;
|
|
130
|
+
docsSidebarLinkBorder: string;
|
|
131
|
+
docsSidebarSelectedArrowColor: string;
|
|
132
|
+
};
|
|
133
|
+
declare const bpkCustomThemes: {
|
|
134
|
+
[key: string]: Theme;
|
|
135
|
+
};
|
|
136
|
+
export default bpkCustomThemes;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import type { Theme } from './theming';
|
|
3
|
+
type ThemeChangeEvent = CustomEvent<{
|
|
4
|
+
theme: Theme | null;
|
|
5
|
+
}>;
|
|
6
|
+
type UpdateOnThemeChangeProps = {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
};
|
|
9
|
+
type UpdateOnThemeChangeState = {
|
|
10
|
+
theme: Theme | null;
|
|
11
|
+
};
|
|
12
|
+
declare const updateOnThemeChange: <P extends object>(EnhancedComponent: ComponentType<P & {
|
|
13
|
+
theme: Theme | null;
|
|
14
|
+
}>) => {
|
|
15
|
+
new (props: P & UpdateOnThemeChangeProps): {
|
|
16
|
+
componentDidMount(): void;
|
|
17
|
+
componentWillUnmount(): void;
|
|
18
|
+
onThemeChange: (e: ThemeChangeEvent) => void;
|
|
19
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
context: unknown;
|
|
21
|
+
setState<K extends "theme">(state: UpdateOnThemeChangeState | ((prevState: Readonly<UpdateOnThemeChangeState>, props: Readonly<P & UpdateOnThemeChangeProps>) => UpdateOnThemeChangeState | Pick<UpdateOnThemeChangeState, K> | null) | Pick<UpdateOnThemeChangeState, K> | null, callback?: (() => void) | undefined): void;
|
|
22
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
|
23
|
+
readonly props: Readonly<P & UpdateOnThemeChangeProps>;
|
|
24
|
+
state: Readonly<UpdateOnThemeChangeState>;
|
|
25
|
+
refs: {
|
|
26
|
+
[key: string]: import("react").ReactInstance;
|
|
27
|
+
};
|
|
28
|
+
shouldComponentUpdate?(nextProps: Readonly<P & UpdateOnThemeChangeProps>, nextState: Readonly<UpdateOnThemeChangeState>, nextContext: any): boolean;
|
|
29
|
+
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
30
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<P & UpdateOnThemeChangeProps>, prevState: Readonly<UpdateOnThemeChangeState>): any;
|
|
31
|
+
componentDidUpdate?(prevProps: Readonly<P & UpdateOnThemeChangeProps>, prevState: Readonly<UpdateOnThemeChangeState>, snapshot?: any): void;
|
|
32
|
+
componentWillMount?(): void;
|
|
33
|
+
UNSAFE_componentWillMount?(): void;
|
|
34
|
+
componentWillReceiveProps?(nextProps: Readonly<P & UpdateOnThemeChangeProps>, nextContext: any): void;
|
|
35
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<P & UpdateOnThemeChangeProps>, nextContext: any): void;
|
|
36
|
+
componentWillUpdate?(nextProps: Readonly<P & UpdateOnThemeChangeProps>, nextState: Readonly<UpdateOnThemeChangeState>, nextContext: any): void;
|
|
37
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<P & UpdateOnThemeChangeProps>, nextState: Readonly<UpdateOnThemeChangeState>, nextContext: any): void;
|
|
38
|
+
};
|
|
39
|
+
displayName: string;
|
|
40
|
+
contextType?: import("react").Context<any> | undefined;
|
|
41
|
+
};
|
|
42
|
+
export default updateOnThemeChange;
|
|
@@ -16,24 +16,29 @@
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
import PropTypes from 'prop-types';
|
|
20
19
|
import { Component } from 'react';
|
|
21
20
|
import { wrapDisplayName } from "../../bpk-react-utils";
|
|
22
21
|
import { getHtmlElement, THEME_CHANGE_EVENT } from "./utils";
|
|
23
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
23
|
const updateOnThemeChange = EnhancedComponent => {
|
|
25
24
|
class UpdateOnThemeChange extends Component {
|
|
26
|
-
constructor() {
|
|
27
|
-
super();
|
|
25
|
+
constructor(props) {
|
|
26
|
+
super(props);
|
|
28
27
|
this.state = {
|
|
29
28
|
theme: null
|
|
30
29
|
};
|
|
31
30
|
}
|
|
32
31
|
componentDidMount() {
|
|
33
|
-
getHtmlElement()
|
|
32
|
+
const htmlElement = getHtmlElement();
|
|
33
|
+
if (htmlElement) {
|
|
34
|
+
htmlElement.addEventListener(THEME_CHANGE_EVENT, this.onThemeChange, false);
|
|
35
|
+
}
|
|
34
36
|
}
|
|
35
37
|
componentWillUnmount() {
|
|
36
|
-
getHtmlElement()
|
|
38
|
+
const htmlElement = getHtmlElement();
|
|
39
|
+
if (htmlElement) {
|
|
40
|
+
htmlElement.removeEventListener(THEME_CHANGE_EVENT, this.onThemeChange, false);
|
|
41
|
+
}
|
|
37
42
|
}
|
|
38
43
|
onThemeChange = e => {
|
|
39
44
|
const {
|
|
@@ -52,9 +57,6 @@ const updateOnThemeChange = EnhancedComponent => {
|
|
|
52
57
|
}
|
|
53
58
|
}
|
|
54
59
|
UpdateOnThemeChange.displayName = wrapDisplayName(EnhancedComponent, 'updateOnThemeChange');
|
|
55
|
-
UpdateOnThemeChange.propTypes = {
|
|
56
|
-
children: PropTypes.node.isRequired
|
|
57
|
-
};
|
|
58
60
|
return UpdateOnThemeChange;
|
|
59
61
|
};
|
|
60
62
|
export default updateOnThemeChange;
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
18
|
const THEME_CHANGE_EVENT = 'bpkchangetheme';
|
|
19
|
-
const getHtmlElement = () => typeof document !== 'undefined' ? document.querySelector('html') :
|
|
19
|
+
const getHtmlElement = () => typeof document !== 'undefined' ? document.querySelector('html') : null;
|
|
20
20
|
export { THEME_CHANGE_EVENT, getHtmlElement };
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
/// }
|
|
507
507
|
|
|
508
508
|
@mixin bpk-editorial-1 {
|
|
509
|
-
font-family: tokens.$bpk-font-family-larken;
|
|
509
|
+
font-family: var(--bpk-larken-font-stack, tokens.$bpk-font-family-larken);
|
|
510
510
|
|
|
511
511
|
@include _bpk-text-factory(
|
|
512
512
|
tokens.$bpk-font-size-xxxxl,
|
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
/// }
|
|
524
524
|
|
|
525
525
|
@mixin bpk-editorial-2 {
|
|
526
|
-
font-family: tokens.$bpk-font-family-larken;
|
|
526
|
+
font-family: var(--bpk-larken-font-stack, tokens.$bpk-font-family-larken);
|
|
527
527
|
|
|
528
528
|
@include _bpk-text-factory(
|
|
529
529
|
tokens.$bpk-font-size-xxl,
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
/// }
|
|
541
541
|
|
|
542
542
|
@mixin bpk-editorial-3 {
|
|
543
|
-
font-family: tokens.$bpk-font-family-larken;
|
|
543
|
+
font-family: var(--bpk-larken-font-stack, tokens.$bpk-font-family-larken);
|
|
544
544
|
|
|
545
545
|
@include _bpk-text-factory(
|
|
546
546
|
tokens.$bpk-font-size-lg,
|
package/bpk-stylesheets/base.css
CHANGED
|
@@ -16,4 +16,4 @@
|
|
|
16
16
|
* See the License for the specific language governing permissions and
|
|
17
17
|
* limitations under the License.
|
|
18
18
|
*
|
|
19
|
-
*//*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}template,[hidden]{display:none}a{background-color:
|
|
19
|
+
*//*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}template,[hidden]{display:none}a{background-color:rgba(0,0,0,0);-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button,input,optgroup,select,textarea{font:inherit;margin:0}optgroup{font-weight:bold}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}html{font-size:100%;box-sizing:border-box}*{box-sizing:inherit}*::before,*::after{box-sizing:inherit}body{color:#161616;font-family:var(--bpk-base-font-stack, "Skyscanner Relative", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans", "Noto Sans Devanagari", "Noto Sans Thai", "Noto Sans SC", "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);font-size:1rem;line-height:1.3rem}body.scaffold-font-size{font-size:13px}body.enable-font-smoothing{-webkit-font-smoothing:antialiased}:focus-visible{outline:.125rem solid #0062e3;outline-offset:.125rem}.hidden,.hide{display:none !important}.visuallyhidden,.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap;overflow:hidden;clip:rect(0 0 0 0)}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus,.visually-hidden.focusable:active,.visually-hidden.focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.invisible{visibility:hidden}.clearfix::before,.clearfix::after{content:"";display:table}.clearfix::after{clear:both}
|
package/bpk-stylesheets/font.css
CHANGED
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
-
@font-face{font-family:"Skyscanner Relative";font-style:normal;font-weight:400;src:url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Book-f9356ad6.woff2") format("woff2"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Book-46f9f429.woff") format("woff"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Book-ab1dbcbe.ttf") format("ttf")}@font-face{font-family:"Skyscanner Relative";font-style:italic;font-weight:400;src:url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Italic-10532ac3.woff2") format("woff2"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Italic-db5d0ac5.woff") format("woff"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Italic-8eec3f3a.ttf") format("ttf")}@font-face{font-family:"Skyscanner Relative";font-style:normal;font-weight:500;src:url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Medium-c08dc28b.woff2") format("woff2"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Medium-865e167a.woff") format("woff"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Medium-d0ae478a.ttf") format("ttf")}@font-face{font-family:"Skyscanner Relative";font-style:italic;font-weight:500;src:url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-MediumItalic-81517f37.woff2") format("woff2"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-MediumItalic-bbdb6b0c.woff") format("woff"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-MediumItalic-226fe64c.ttf") format("ttf")}@font-face{font-family:"Skyscanner Relative";font-style:normal;font-weight:700;src:url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Bold-8545937e.woff2") format("woff2"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Bold-a099c9f7.woff") format("woff"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Bold-ec4cc5a7.ttf") format("ttf")}@font-face{font-family:"Skyscanner Relative";font-style:italic;font-weight:700;src:url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-BoldItalic-01b5d138.woff2") format("woff2"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-BoldItalic-4d6d36e3.woff") format("woff"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-BoldItalic-dc9284dc.ttf") format("ttf")}@font-face{font-family:"Skyscanner Relative";font-style:normal;font-weight:900;src:url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Black-bb3c9434.woff2") format("woff2"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Black-bba2eb55.woff") format("woff"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Black-314703cc.ttf") format("ttf")}@font-face{font-family:"Skyscanner Relative";font-style:italic;font-weight:900;src:url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-BlackItalic-c2149c91.woff2") format("woff2"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-BlackItalic-a34cd594.woff") format("woff"),url("https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-BlackItalic-7e516ee5.ttf") format("ttf")}
|
|
18
|
+
@font-face{font-family:"Skyscanner Relative";font-style:normal;font-weight:400;src:url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Book-f9356ad6.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Book-46f9f429.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Book-ab1dbcbe.ttf') format('ttf')}@font-face{font-family:"Skyscanner Relative";font-style:italic;font-weight:400;src:url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Italic-10532ac3.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Italic-db5d0ac5.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Italic-8eec3f3a.ttf') format('ttf')}@font-face{font-family:"Skyscanner Relative";font-style:normal;font-weight:500;src:url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Medium-c08dc28b.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Medium-865e167a.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Medium-d0ae478a.ttf') format('ttf')}@font-face{font-family:"Skyscanner Relative";font-style:italic;font-weight:500;src:url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-MediumItalic-81517f37.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-MediumItalic-bbdb6b0c.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-MediumItalic-226fe64c.ttf') format('ttf')}@font-face{font-family:"Skyscanner Relative";font-style:normal;font-weight:700;src:url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Bold-8545937e.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Bold-a099c9f7.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Bold-ec4cc5a7.ttf') format('ttf')}@font-face{font-family:"Skyscanner Relative";font-style:italic;font-weight:700;src:url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-BoldItalic-01b5d138.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-BoldItalic-4d6d36e3.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-BoldItalic-dc9284dc.ttf') format('ttf')}@font-face{font-family:"Skyscanner Relative";font-style:normal;font-weight:900;src:url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Black-bb3c9434.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Black-bba2eb55.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-Black-314703cc.ttf') format('ttf')}@font-face{font-family:"Skyscanner Relative";font-style:italic;font-weight:900;src:url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-BlackItalic-c2149c91.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-BlackItalic-a34cd594.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/SkyscannerRelative-BlackItalic-7e516ee5.ttf') format('ttf')}@font-face{font-family:"Noto Sans JP";font-style:normal;font-weight:900;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansJP-ExtraBold-d4e678e6.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansJP-ExtraBold-071fa89b.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansJP-ExtraBold-71fc7f76.ttf') format('ttf')}@font-face{font-family:"Noto Sans JP";font-style:normal;font-weight:700;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansJP-Bold-b656150c.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansJP-Bold-6ddf472f.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansJP-Bold-deeb2988.ttf') format('ttf')}@font-face{font-family:"Noto Sans JP";font-style:normal;font-weight:400;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansJP-Regular-6ab10d56.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansJP-Regular-70c49e9e.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansJP-Regular-68d5dc69.ttf') format('ttf')}@font-face{font-family:"Noto Sans KR";font-style:normal;font-weight:900;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansKR-ExtraBold-1dfe3b92.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansKR-ExtraBold-6c571306.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansKR-ExtraBold-f350038a.ttf') format('ttf')}@font-face{font-family:"Noto Sans KR";font-style:normal;font-weight:700;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansKR-Bold-5286cc6d.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansKR-Bold-74c4cbc7.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansKR-Bold-5651f33d.ttf') format('ttf')}@font-face{font-family:"Noto Sans KR";font-style:normal;font-weight:400;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansKR-Regular-b6a2ff73.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansKR-Regular-96147637.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansKR-Regular-a2cd60b3.ttf') format('ttf')}@font-face{font-family:"Noto Sans SC";font-style:normal;font-weight:900;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansSC-Bold-22c3e4e0.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansSC-Bold-87ef5110.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansSC-Bold-57f04989.ttf') format('ttf')}@font-face{font-family:"Noto Sans SC";font-style:normal;font-weight:700;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansSC-Bold-22c3e4e0.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansSC-Bold-87ef5110.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansSC-Bold-57f04989.ttf') format('ttf')}@font-face{font-family:"Noto Sans SC";font-style:normal;font-weight:400;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansSC-Regular-97e50cfd.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansSC-Regular-cba63765.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansSC-Regular-f793115b.ttf') format('ttf')}@font-face{font-family:"Noto Sans TC";font-style:normal;font-weight:900;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansTC-Bold-355d38e9.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansTC-Bold-2abc3583.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansTC-Bold-86244830.ttf') format('ttf')}@font-face{font-family:"Noto Sans TC";font-style:normal;font-weight:700;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansTC-Bold-355d38e9.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansTC-Bold-2abc3583.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansTC-Bold-86244830.ttf') format('ttf')}@font-face{font-family:"Noto Sans TC";font-style:normal;font-weight:400;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansTC-Regular-5d6d6915.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansTC-Regular-c4185417.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansTC-Regular-d4301ce6.ttf') format('ttf')}@font-face{font-family:"Noto Sans Thai";font-style:normal;font-weight:900;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansThai-Bold-74e247cc.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansThai-Bold-91433b5b.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansThai-Bold-778d694c.ttf') format('ttf')}@font-face{font-family:"Noto Sans Thai";font-style:normal;font-weight:700;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansThai-Bold-74e247cc.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansThai-Bold-91433b5b.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansThai-Bold-778d694c.ttf') format('ttf')}@font-face{font-family:"Noto Sans Thai";font-style:normal;font-weight:400;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansThai-Regular-49d26bc7.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansThai-Regular-bc78fb35.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansThai-Regular-84e59eed.ttf') format('ttf')}@font-face{font-family:"Noto Sans Devanagari";font-style:normal;font-weight:900;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansDevanagari-ExtraBold-ff675d8c.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansDevanagari-ExtraBold-2b68fdf3.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansDevanagari-ExtraBold-ad7aee12.ttf') format('ttf')}@font-face{font-family:"Noto Sans Devanagari";font-style:normal;font-weight:700;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansDevanagari-Bold-19924491.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansDevanagari-Bold-2598dc51.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansDevanagari-Bold-bca34adc.ttf') format('ttf')}@font-face{font-family:"Noto Sans Devanagari";font-style:normal;font-weight:400;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansDevanagari-Regular-2ddbe014.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansDevanagari-Regular-b7e8aefe.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansDevanagari-Regular-e0474da6.ttf') format('ttf')}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:900;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-ExtraBold-d8d5cc89.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-ExtraBold-177dbfc0.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-ExtraBold-cac84afc.ttf') format('ttf')}@font-face{font-family:"Noto Sans";font-style:italic;font-weight:900;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-ExtraBoldItalic-cf3e028d.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-ExtraBoldItalic-be131c58.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-ExtraBoldItalic-c435f928.ttf') format('ttf')}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:700;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-Bold-0b4b7c45.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-Bold-68b2bc2e.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-Bold-bc7f5e39.ttf') format('ttf')}@font-face{font-family:"Noto Sans";font-style:italic;font-weight:700;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-BoldItalic-61b665f1.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-BoldItalic-eff19cbf.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-BoldItalic-695e28bf.ttf') format('ttf')}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:400;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-Regular-31a7a3e7.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-Regular-aa4384e7.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-Regular-f04a504e.ttf') format('ttf')}@font-face{font-family:"Noto Sans";font-style:italic;font-weight:400;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-Italic-136bdc6a.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-Italic-7cd36c44.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSans-Italic-716d03e4.ttf') format('ttf')}@font-face{font-family:"Noto Sans Arabic";font-style:normal;font-weight:900;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansArabic-ExtraBold-da8cf050.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansArabic-ExtraBold-4ac084a2.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansArabic-ExtraBold-a965fbb5.ttf') format('ttf')}@font-face{font-family:"Noto Sans Arabic";font-style:normal;font-weight:700;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansArabic-Bold-237618dd.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansArabic-Bold-9e0190d0.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansArabic-Bold-d93e430c.ttf') format('ttf')}@font-face{font-family:"Noto Sans Arabic";font-style:normal;font-weight:400;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansArabic-Regular-15a84e58.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansArabic-Regular-a2985c7a.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansArabic-Regular-471fde3d.ttf') format('ttf')}@font-face{font-family:"Noto Sans Hebrew";font-style:normal;font-weight:900;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansHebrew-ExtraBold-e04df8b4.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansHebrew-ExtraBold-3303fb69.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansHebrew-ExtraBold-4cfb24e3.ttf') format('ttf')}@font-face{font-family:"Noto Sans Hebrew";font-style:normal;font-weight:700;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansHebrew-Bold-ad38ec01.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansHebrew-Bold-6ecb028a.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansHebrew-Bold-752057d4.ttf') format('ttf')}@font-face{font-family:"Noto Sans Hebrew";font-style:normal;font-weight:400;src:url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansHebrew-Regular-d42b5a85.woff2') format('woff2'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansHebrew-Regular-bdcbbd78.woff') format('woff'), url('https://js.skyscnr.com/sttc/bpk-fonts/NotoSansHebrew-Regular-41f881f3.ttf') format('ttf')}[lang=ja-JP],:lang(ja-JP){--bpk-base-font-stack: "Skyscanner Relative", "Noto Sans JP", "Noto Sans SC", "Noto Sans TC", "Noto Sans KR", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans", "Noto Sans Devanagari", "Noto Sans Thai", -apple-system, blinkmacsystemfont, roboto, oxygen, ubuntu, cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif}[lang=zh-TW],:lang(zh-TW){--bpk-base-font-stack: "Skyscanner Relative", "Noto Sans TC", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans", "Noto Sans Devanagari", "Noto Sans Thai", -apple-system, blinkmacsystemfont, roboto, oxygen, ubuntu, cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif}:where([lang]){font-family:var(--bpk-base-font-stack)}
|