Merge pull request #22468 from overleaf/td-bs5-ieee-overall-theme

Always apply overall dark theme with IEEE-branded editor and tear down ieee-stylesheet feature flag

GitOrigin-RevId: 80d10a911f3a188867db9b825f3ae8413f555b64
This commit is contained in:
Tim Down
2024-12-13 09:05:24 +00:00
committed by Copybot
parent 9d4eeeea90
commit 4cd624e6a5
7 changed files with 25 additions and 19 deletions
@@ -0,0 +1,8 @@
import getMeta from '@/utils/meta'
export function isIEEEBranded() {
const brandVariation = getMeta('ol-brandVariation')
const { ieeeBrandId } = getMeta('ol-ExposedSettings')
return brandVariation?.brand_id === ieeeBrandId
}