mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
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:
@@ -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