diff --git a/Backpack/src/main/res/values-night/backpack.internal.color.xml b/Backpack/src/main/res/values-night/backpack.internal.color.xml index dbaef41668..891492c4ed 100644 --- a/Backpack/src/main/res/values-night/backpack.internal.color.xml +++ b/Backpack/src/main/res/values-night/backpack.internal.color.xml @@ -20,6 +20,7 @@ + #ff243346 #ff243346 #ffff649c #ffff649c @@ -51,6 +52,12 @@ #ff054184 #80ffffff #ff054184 + #ff131d2b + #ffff649c + #ffbdc4cb + #ff131d2b + #ff62f1c6 + #fffeeb87 #ffffffff #ff94c3ff #cc000000 diff --git a/Backpack/src/main/res/values/backpack.internal.color.xml b/Backpack/src/main/res/values/backpack.internal.color.xml index 62c30c6e95..be45ffa217 100644 --- a/Backpack/src/main/res/values/backpack.internal.color.xml +++ b/Backpack/src/main/res/values/backpack.internal.color.xml @@ -20,6 +20,7 @@ + #ffeff1f2 #ffe0e3e5 #ffc80456 #ffc80456 @@ -51,6 +52,12 @@ #ffffffff #ff545860 #ffffffff + #ffeff1f2 + #ffe70866 + #ff545860 + #ffffffff + #ff0c838a + #fff55d42 #ff05203c #ff94c3ff #ccffffff diff --git a/backpack-compose/src/main/kotlin/net/skyscanner/backpack/compose/tokens/internal/BpkBadgeColors.kt b/backpack-compose/src/main/kotlin/net/skyscanner/backpack/compose/tokens/internal/BpkBadgeColors.kt new file mode 100644 index 0000000000..730cb965c4 --- /dev/null +++ b/backpack-compose/src/main/kotlin/net/skyscanner/backpack/compose/tokens/internal/BpkBadgeColors.kt @@ -0,0 +1,32 @@ +/** + * Backpack for Android - Skyscanner's Design System + * + * Copyright 2018 Skyscanner Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Auto-generated: do not edit +@file:Suppress("RedundantVisibilityModifier", "unused") + +package net.skyscanner.backpack.compose.tokens.`internal` + +import androidx.compose.runtime.Composable +import androidx.compose.ui.graphics.Color +import net.skyscanner.backpack.compose.utils.dynamicColorOf + +internal object BpkBadgeColors { + internal val backgroundNormal: Color + @Composable + get() = dynamicColorOf(Color(0xFFEFF1F2), Color(0xFF243346)) +} diff --git a/backpack-compose/src/main/kotlin/net/skyscanner/backpack/compose/tokens/internal/BpkInfoBannerColors.kt b/backpack-compose/src/main/kotlin/net/skyscanner/backpack/compose/tokens/internal/BpkInfoBannerColors.kt new file mode 100644 index 0000000000..2b9c9a506b --- /dev/null +++ b/backpack-compose/src/main/kotlin/net/skyscanner/backpack/compose/tokens/internal/BpkInfoBannerColors.kt @@ -0,0 +1,52 @@ +/** + * Backpack for Android - Skyscanner's Design System + * + * Copyright 2018 Skyscanner Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Auto-generated: do not edit +@file:Suppress("RedundantVisibilityModifier", "unused") + +package net.skyscanner.backpack.compose.tokens.`internal` + +import androidx.compose.runtime.Composable +import androidx.compose.ui.graphics.Color +import net.skyscanner.backpack.compose.utils.dynamicColorOf + +internal object BpkInfoBannerColors { + internal val default: Color + @Composable + get() = dynamicColorOf(Color(0xFFEFF1F2), Color(0xFF131D2B)) + + internal val error: Color + @Composable + get() = dynamicColorOf(Color(0xFFE70866), Color(0xFFFF649C)) + + internal val info: Color + @Composable + get() = dynamicColorOf(Color(0xFF545860), Color(0xFFBDC4CB)) + + internal val onContrast: Color + @Composable + get() = dynamicColorOf(Color(0xFFFFFFFF), Color(0xFF131D2B)) + + internal val success: Color + @Composable + get() = dynamicColorOf(Color(0xFF0C838A), Color(0xFF62F1C6)) + + internal val warning: Color + @Composable + get() = dynamicColorOf(Color(0xFFF55D42), Color(0xFFFEEB87)) +} diff --git a/package-lock.json b/package-lock.json index 08aea3d362..da54c225f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,19 +18,19 @@ } }, "node_modules/@skyscanner/bpk-foundations-android": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@skyscanner/bpk-foundations-android/-/bpk-foundations-android-7.4.0.tgz", - "integrity": "sha512-Kcci/jCg19XWhzkC022gb6LtpfGUuABO38XUy1gpA40fOa6O8eaIxKPVWETCGTiM3py///5n29OJfjI7KwAa1A==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/@skyscanner/bpk-foundations-android/-/bpk-foundations-android-7.6.2.tgz", + "integrity": "sha512-2FHPPBA/74P6WJ9duj3cYYTalTelUpTe8yRtYpLrB/wuZw2js+TgJOOaDUuy66BEdT+jQDoy3465hiWxKzgvZQ==", "dev": true, "dependencies": { - "@skyscanner/bpk-foundations-common": "^6.4.0", + "@skyscanner/bpk-foundations-common": "^6.6.2", "color": "^3.0.0" } }, "node_modules/@skyscanner/bpk-foundations-common": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@skyscanner/bpk-foundations-common/-/bpk-foundations-common-6.4.0.tgz", - "integrity": "sha512-trFad0VwqhuYRNhJgAi8hZpw/iDxZCrH4DbzhZDJ5/CTKBR2bT2azOMhVqgJODImvHYJmigRINUwr/s3uwtHXA==", + "version": "6.6.2", + "resolved": "https://registry.npmjs.org/@skyscanner/bpk-foundations-common/-/bpk-foundations-common-6.6.2.tgz", + "integrity": "sha512-H7xhFXmmVyztvMV33xAX/jsFCA5Z4uzGG+XJ0cdSCMQjAaAgWaRfo6twBBRBF1zBUaegoX27YHfQc4lyND8IdA==", "dev": true, "dependencies": { "color": "^3.0.0" @@ -99,19 +99,19 @@ }, "dependencies": { "@skyscanner/bpk-foundations-android": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@skyscanner/bpk-foundations-android/-/bpk-foundations-android-7.4.0.tgz", - "integrity": "sha512-Kcci/jCg19XWhzkC022gb6LtpfGUuABO38XUy1gpA40fOa6O8eaIxKPVWETCGTiM3py///5n29OJfjI7KwAa1A==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/@skyscanner/bpk-foundations-android/-/bpk-foundations-android-7.6.2.tgz", + "integrity": "sha512-2FHPPBA/74P6WJ9duj3cYYTalTelUpTe8yRtYpLrB/wuZw2js+TgJOOaDUuy66BEdT+jQDoy3465hiWxKzgvZQ==", "dev": true, "requires": { - "@skyscanner/bpk-foundations-common": "^6.4.0", + "@skyscanner/bpk-foundations-common": "^6.6.2", "color": "^3.0.0" } }, "@skyscanner/bpk-foundations-common": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@skyscanner/bpk-foundations-common/-/bpk-foundations-common-6.4.0.tgz", - "integrity": "sha512-trFad0VwqhuYRNhJgAi8hZpw/iDxZCrH4DbzhZDJ5/CTKBR2bT2azOMhVqgJODImvHYJmigRINUwr/s3uwtHXA==", + "version": "6.6.2", + "resolved": "https://registry.npmjs.org/@skyscanner/bpk-foundations-common/-/bpk-foundations-common-6.6.2.tgz", + "integrity": "sha512-H7xhFXmmVyztvMV33xAX/jsFCA5Z4uzGG+XJ0cdSCMQjAaAgWaRfo6twBBRBF1zBUaegoX27YHfQc4lyND8IdA==", "dev": true, "requires": { "color": "^3.0.0"