diff --git a/packages/blocks/src/embed-github-block/styles.ts b/packages/blocks/src/embed-github-block/styles.ts index 0fd64951cbc2d..b6ab0cb668567 100644 --- a/packages/blocks/src/embed-github-block/styles.ts +++ b/packages/blocks/src/embed-github-block/styles.ts @@ -32,6 +32,7 @@ export const styles = css` .affine-embed-github-content-title { display: flex; + min-height: 22px; flex-direction: row; gap: 8px; align-items: center; @@ -54,7 +55,7 @@ export const styles = css` .affine-embed-github-content-title-icons svg { width: 16px; height: 16px; - fill: var(--affine-background-primary-color); + color: var(--affine-pure-white); } .affine-embed-github-content-title-site-icon { @@ -63,6 +64,11 @@ export const styles = css` height: 16px; justify-content: center; align-items: center; + + .github-icon { + fill: var(--affine-black); + color: var(--affine-black); + } } .affine-embed-github-content-title-status-icon { @@ -126,7 +132,7 @@ export const styles = css` word-break: break-word; overflow: hidden; text-overflow: ellipsis; - color: var(--affine-text-primary-color); + color: var(--affine-pure-white); font-family: var(--affine-font-family); font-size: var(--affine-font-sm); @@ -386,17 +392,17 @@ export const styles = css` `; export const GithubIcon = html` `; @@ -404,7 +410,7 @@ export const GithubIssueOpenIcon = html` @@ -413,11 +419,6 @@ export const GithubIssueOpenIcon = html` `; -// -// -// -// - export const GithubIssueClosedSuccessIcon = html`