Merge pull request #22506 from overleaf/td-bs5-ieee-overall-theme-take-2

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

GitOrigin-RevId: 311d125a77a46ee3f34769064005b6edea7ce013
This commit is contained in:
Tim Down
2024-12-17 09:05:28 +00:00
committed by Copybot
parent 79e4b76551
commit e68d2e88e0
7 changed files with 30 additions and 22 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
}