mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
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:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user