import type { PrismTheme } from 'prism-react-renderer'; const theme: PrismTheme = { plain: { //@gluestack/design-system color: '#fafafa', backgroundColor: '#000', }, styles: [ { types: ['changed'], style: { color: 'rgb(162, 191, 252)', fontStyle: 'italic', }, }, { types: ['deleted'], style: { color: 'rgba(239, 83, 80, 0.56)', fontStyle: 'italic', }, }, { types: ['inserted', 'attr-name'], style: { color: '#cd1d8d', fontStyle: 'italic', }, }, { types: ['comment'], style: { color: 'rgb(99, 119, 119)', fontStyle: 'italic', }, }, { types: ['string', 'url'], style: { color: '#cd1d8d', }, }, { types: ['variable'], style: { color: 'rgb(214, 222, 235)', }, }, { types: ['number'], style: { color: 'rgb(247, 140, 108)', }, }, { types: ['builtin', 'char', 'constant', 'function'], style: { //Yarn add - Command color: '#fafafa', }, }, { // This was manually added after the auto-generation // so that punctuations are not italicised types: ['punctuation'], style: { color: '#0081f1', }, }, { types: ['selector', 'doctype'], style: { color: 'rgb(199, 146, 234)', fontStyle: 'italic', }, }, { types: ['class-name'], style: { color: '#0081f1', }, }, { types: ['operator', 'keyword'], style: { color: '#fafafa', }, }, { types: ['tag'], style: { color: '#D9757D', }, }, { types: ['boolean'], style: { color: 'rgb(255, 88, 116)', }, }, { types: ['property'], style: { color: 'rgb(128, 203, 196)', }, }, { types: ['namespace'], style: { color: 'rgb(178, 204, 214)', }, }, ], }; export default theme;