Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytebase/bytebase
/ derive.test.ts
File
derive.test.ts
frontend/src/react/components/sql-editor/theme/derive.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, test } from
"vitest"
;
2
import
{
3
deriveThemeFromAnchors,
4
isDarkTheme,
Callers
nothing calls this directly
Calls
12
themeToCssVars
Function · 0.90
monacoThemeName
Function · 0.90
isDarkTheme
Function · 0.90
resolveAdminTheme
Function · 0.90
validateTheme
Function · 0.90
deriveThemeFromAnchors
Function · 0.90
themeToAnchors
Function · 0.90
test
Struct · 0.85
lightThemed
Function · 0.85
darkThemed
Function · 0.85
keys
Method · 0.80
fixture
Function · 0.70
Tested by
no test coverage detected