|
|
@ -36,7 +36,7 @@ const CopyButton = React.memo(function CopyButton({ text }) {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
export default ({ theme, copyable, code }) => (
|
|
|
|
export default ({ theme, copyable, code, light }) => (
|
|
|
|
<div className="window-controls">
|
|
|
|
<div className="window-controls">
|
|
|
|
{theme === 'bw' ? <ControlsBW /> : <Controls />}
|
|
|
|
{theme === 'bw' ? <ControlsBW /> : <Controls />}
|
|
|
|
<div className="window-title-container">
|
|
|
|
<div className="window-title-container">
|
|
|
@ -73,6 +73,7 @@ export default ({ theme, copyable, code }) => (
|
|
|
|
border: none;
|
|
|
|
border: none;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 14px;
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
color: ${light ? COLORS.BLACK : COLORS.SECONDARY};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.copy-button {
|
|
|
|
.copy-button {
|
|
|
|