Skip to content

Commit be22f18

Browse files
committed
feat: Update text color to use theme variable in List and Quote components
1 parent 991c040 commit be22f18

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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)