mirror of
https://github.com/koel/koel
synced 2025-02-16 05:18:37 +00:00
feat: allow theming of input elements
This commit is contained in:
parent
e25d22b41c
commit
c9e4c08e4a
3 changed files with 7 additions and 0 deletions
2
resources/assets/js/types.d.ts
vendored
2
resources/assets/js/types.d.ts
vendored
|
@ -333,6 +333,8 @@ type ThemeableProperty = '--color-text-primary'
|
|||
| '--color-bg-primary'
|
||||
| '--color-bg-secondary'
|
||||
| '--color-highlight'
|
||||
| '--color-bg-input'
|
||||
| '--color-text-input'
|
||||
| '--bg-image'
|
||||
| '--bg-position'
|
||||
| '--bg-attachment'
|
||||
|
|
|
@ -43,6 +43,8 @@ textarea,
|
|||
padding: .5rem .6rem;
|
||||
border-radius: .3rem;
|
||||
margin: 0;
|
||||
background: var(--color-bg-input);
|
||||
color: var(--color-input);
|
||||
|
||||
&:required,
|
||||
&:invalid {
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
--color-accent: var(--color-highlight);
|
||||
--color-bg-context-menu: var(--color-bg-primary);
|
||||
|
||||
--color-input: #333;
|
||||
--color-bg-input: #fff;
|
||||
|
||||
--bg-image: none;
|
||||
--bg-position: center;
|
||||
--bg-attachment: fixed;
|
||||
|
|
Loading…
Add table
Reference in a new issue