Open majodu opened 2 months ago
Thank you for taking the time to submit an Issue! You should get a response to this issue within one to two days.
Similar to when you import bootstrap styles import 'bootstrap/dist/css/bootstrap.css';
The terminal styling is currently imported: https://github.com/jonmbake/react-terminal-ui/blob/master/src/index.tsx#L4. Currently there is not a great way to override the style that was imported. In order to allow style overrides, I think we'd have to add a prop like:
terminalStyle?: React.CSSProperties;
A simple way would just have the imports separately. You could import the package, and then import the css. This way you import the default styles and then put your own styles underneath to override them.
Hi @majodu. Feel to submit a PR.
Its kind of a pain to override some of the styles.
Is it possible to have the CSS separate from the code?