MCPcopy Create free account
hub / github.com/027xiguapi/code-box / getStyle

Function getStyle

contents/copycode.tsx:29–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29export const getStyle: PlasmoGetStyle = () => {
30 const style = document.createElement("style")
31 style.textContent = `
32 .codebox-copyCodeHeader {
33 height: 0;
34 display: flex;
35 justify-content: space-between;
36 width: 100%;
37 background: transparent;
38 }
39 .codebox-copyCodeBtn {
40 margin-right: 3px;
41 border: 0;
42 cursor: pointer;
43 height: 28px;
44 }`
45 return style
46}
47
48const HOST_ID = "codebox-copycode"
49export const getShadowHostId: PlasmoGetShadowHostId = () => HOST_ID

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected