Compile hook-inverse colours as CSS variables now components don't import the full less theme
This commit is contained in:
parent
21d0beedb9
commit
7aab8b742a
4 changed files with 24 additions and 23 deletions
|
|
@ -63,14 +63,7 @@ export default {
|
|||
|
||||
.progress .indeterminate,
|
||||
.progress .determinate {
|
||||
background-color: @global-primary-background;
|
||||
}
|
||||
|
||||
.hook-inverse() {
|
||||
.progress .indeterminate,
|
||||
.progress .determinate {
|
||||
background-color: @inverse-primary-muted-color;
|
||||
}
|
||||
background-color: var(--theme-primary-background);
|
||||
}
|
||||
|
||||
.progress .indeterminate::before {
|
||||
|
|
|
|||
|
|
@ -81,14 +81,7 @@ export default {
|
|||
|
||||
.progress .indeterminate,
|
||||
.progress .determinate {
|
||||
background-color: @global-primary-background;
|
||||
}
|
||||
|
||||
.hook-inverse() {
|
||||
.progress .indeterminate,
|
||||
.progress .determinate {
|
||||
background-color: @inverse-primary-muted-color;
|
||||
}
|
||||
background-color: var(--theme-primary-background);
|
||||
}
|
||||
|
||||
.progress .indeterminate::before {
|
||||
|
|
|
|||
|
|
@ -147,13 +147,7 @@ export default {
|
|||
}
|
||||
|
||||
.copy-button:hover {
|
||||
color: @global-color;
|
||||
}
|
||||
|
||||
.hook-inverse() {
|
||||
.copy-button:hover {
|
||||
color: @inverse-global-color;
|
||||
}
|
||||
color: var(--themed-global-colour);
|
||||
}
|
||||
|
||||
.copy-button.success {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue