@@ -3,17 +3,17 @@ import type { DocumentMarkColor } from '@gitbook/api';
33
44export const textColorToStyle : { [ color in DocumentMarkColor [ 'data' ] [ 'text' ] ] : ClassValue } = {
55 default : [ ] ,
6- blue : [ 'text-blue-500' ] ,
7- red : [ 'text-red-500' ] ,
8- green : [ 'text-green-500' ] ,
9- yellow : [ 'text-yellow-600' ] ,
10- purple : [ 'text-purple-500' ] ,
11- orange : [ 'text-orange-500' ] ,
12- $primary : [ 'text-primary' ] ,
13- $info : [ 'text-info' ] ,
14- $success : [ 'text-success' ] ,
15- $warning : [ 'text-warning' ] ,
16- $danger : [ 'text-danger' ] ,
6+ blue : [ 'text-blue-500 contrast-more:text-blue-800 ' ] ,
7+ red : [ 'text-red-500 contrast-more:text-red-800 ' ] ,
8+ green : [ 'text-green-500 contrast-more:text-green-800 ' ] ,
9+ yellow : [ 'text-yellow-600 contrast-more:text-yellow-800 ' ] ,
10+ purple : [ 'text-purple-500 contrast-more:text-purple-800 ' ] ,
11+ orange : [ 'text-orange-500 contrast-more:text-orange-800 ' ] ,
12+ $primary : [ 'text-primary-subtle contrast-more:text-primary ' ] ,
13+ $info : [ 'text-info-subtle contrast-more:text-info ' ] ,
14+ $success : [ 'text-success-subtle contrast-more:text-success ' ] ,
15+ $warning : [ 'text-warning-subtle contrast-more:text-warning ' ] ,
16+ $danger : [ 'text-danger-subtle contrast-more:text-danger ' ] ,
1717} ;
1818
1919export const backgroundColorToStyle : {
0 commit comments