@@ -4,7 +4,7 @@ import typography from '@tailwindcss/typography'
44import scrollbarHide from 'tailwind-scrollbar-hide'
55
66function color ( variable , fallback ) {
7- return 'color-mix(in srgb, var(' + variable + ', ' + fallback + ') calc(100% * <alpha-value>), transparent)'
7+ return 'color-mix(in srgb, var(' + variable + ', ' + fallback + ') calc(100% * <alpha-value>), transparent)'
88}
99
1010export default {
@@ -54,7 +54,6 @@ export default {
5454 muted : color ( '--background-muted' , colors . gray [ 50 ] ) ,
5555 } ,
5656
57-
5857 // TODO: check all these colors within the templates and replace
5958 // neutral: 'rgb(var(--neutral) / <alpha-value>)', // Text
6059 // inactive: 'rgb(var(--inactive) / <alpha-value>)', // Inactive text
@@ -63,12 +62,12 @@ export default {
6362 // disabled: 'rgb(var(--disabled) / <alpha-value>)', // Disabled
6463 // base: 'rgb(var(--base) / <alpha-value>)', // Background
6564 } ,
66- textColor : theme => theme ( 'colors.foreground' ) ,
67- borderColor : theme => ( {
65+ textColor : ( theme ) => theme ( 'colors.foreground' ) ,
66+ borderColor : ( theme ) => ( {
6867 default : theme ( 'colors.border' ) ,
6968 ...theme ( 'colors.border' ) ,
7069 } ) ,
71- backgroundColor : theme => theme ( 'colors.background' ) ,
70+ backgroundColor : ( theme ) => theme ( 'colors.background' ) ,
7271 } ,
7372 container : {
7473 center : true ,
0 commit comments