mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
restore active reaction bg color to be transparent version of accent color
This commit is contained in:
parent
23a325b18d
commit
7bdd23e767
@ -80,6 +80,7 @@ Currently supported operations are:
|
|||||||
| -------- | -------- | -------- |
|
| -------- | -------- | -------- |
|
||||||
| darker | percentage | color |
|
| darker | percentage | color |
|
||||||
| lighter | percentage | color |
|
| lighter | percentage | color |
|
||||||
|
| alpha | alpha percentage | color |
|
||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
It is possible give aliases to variables in the `theme.css` file:
|
It is possible give aliases to variables in the `theme.css` file:
|
||||||
|
@ -36,5 +36,8 @@ export function derive(value, operation, argument, isDark) {
|
|||||||
const newColorString = offColor(value).lighten(argumentAsNumber / 100).hex();
|
const newColorString = offColor(value).lighten(argumentAsNumber / 100).hex();
|
||||||
return newColorString;
|
return newColorString;
|
||||||
}
|
}
|
||||||
|
case "alpha": {
|
||||||
|
return offColor(value).rgba(argumentAsNumber / 100);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -364,7 +364,7 @@ only loads when the top comes into view*/
|
|||||||
}
|
}
|
||||||
|
|
||||||
.Timeline_messageReactions button.active {
|
.Timeline_messageReactions button.active {
|
||||||
background-color: var(--background-color-secondary);
|
background-color: var(--accent-color--alpha-11);
|
||||||
border-color: var(--accent-color);
|
border-color: var(--accent-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user