mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2025-07-27 17:00:06 +02:00

Always apply overall dark theme with IEEE-branded editor and tear down ieee-stylesheet feature flag, second attempt GitOrigin-RevId: 311d125a77a46ee3f34769064005b6edea7ce013
8 lines
233 B
TypeScript
8 lines
233 B
TypeScript
import getMeta from '@/utils/meta'
|
|
|
|
export function isIEEEBranded() {
|
|
const brandVariation = getMeta('ol-brandVariation')
|
|
const { ieeeBrandId } = getMeta('ol-ExposedSettings')
|
|
|
|
return brandVariation?.brand_id === ieeeBrandId
|
|
}
|