Skip to content

Commit 3968cad

Browse files
authored
Merge pull request #83 from 01-binary/issue#80-2
Issue#80 2
2 parents 991c040 + 2a96163 commit 3968cad

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.changeset/legal-points-glow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"notion-to-jsx": patch
3+
---
4+
5+
Update text color to use theme variable in List and Quote components

packages/notion-to-jsx/src/components/Renderer/components/List/styles.css.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export const list = recipe({
66
base: {
77
padding: `${vars.spacing.xs} ${vars.spacing.xxs}`,
88
paddingLeft: vars.spacing.lg,
9+
color: vars.colors.text,
910
},
1011
variants: {
1112
type: {

packages/notion-to-jsx/src/components/Renderer/components/Quote/styles.css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const container = style({
66
margin: `${vars.spacing.xs} 0`,
77
padding: `${vars.spacing.xs} 0 ${vars.spacing.xs} 1rem`,
88
borderLeft: '3px solid #e1e1e1',
9-
color: '#37352f',
9+
color: vars.colors.text,
1010
fontSize: vars.typography.fontSize.base,
1111
lineHeight: vars.typography.lineHeight.base,
1212
fontStyle: 'italic',

0 commit comments

Comments
 (0)