mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Fixed #5667 - Remove base option from theme config
This commit is contained in:
parent
6d688ef675
commit
0979dde96d
438 changed files with 10872 additions and 11957 deletions
|
@ -1,5 +1,46 @@
|
|||
import BaseStyle from 'primevue/base/style';
|
||||
|
||||
const theme = ({ dt }) => `
|
||||
.p-terminal {
|
||||
height: 18rem;
|
||||
overflow: auto;
|
||||
background: ${dt('terminal.background')};
|
||||
color: ${dt('terminal.color')};
|
||||
border: 1px solid ${dt('terminal.border.color')};
|
||||
padding: 0.5rem 0.75rem;
|
||||
border-radius: ${dt('rounded.base')};
|
||||
}
|
||||
|
||||
.p-terminal-prompt {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.p-terminal-prompt-value {
|
||||
flex: 1 1 auto;
|
||||
border: 0 none;
|
||||
background-color: transparent;
|
||||
color: inherit;
|
||||
padding: 0;
|
||||
outline: 0 none;
|
||||
font-family: inherit;
|
||||
font-feature-settings: inherit;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.p-terminal-prompt-label {
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.p-terminal-input::-ms-clear {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.p-terminal-command-response {
|
||||
margin: 2px 0;
|
||||
}
|
||||
`;
|
||||
|
||||
const classes = {
|
||||
root: 'p-terminal p-component',
|
||||
welcomeMessage: 'p-terminal-welcome-message',
|
||||
|
@ -14,5 +55,6 @@ const classes = {
|
|||
|
||||
export default BaseStyle.extend({
|
||||
name: 'terminal',
|
||||
theme,
|
||||
classes
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue