Introduce new border radius variables for stable theming.

This commit is contained in:
LambdAurora
2021-08-30 23:39:02 +02:00
parent d368820aeb
commit 1d42f0a60a
5 changed files with 20 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ import styled, { css } from "styled-components";
import { useContext } from "preact/hooks";
import { ThemeContext } from "../../../context/Theme";
import { AppContext, useClient } from "../../../context/revoltjs/RevoltClient";
import { useClient } from "../../../context/revoltjs/RevoltClient";
import IconBase, { IconBaseProps } from "../IconBase";
import fallback from "../assets/user.png";
@@ -104,6 +104,7 @@ export default observer(
width={size}
height={size}
hover={hover}
borderRadius="--border-radius-user-profile-picture"
aria-hidden="true"
viewBox="0 0 32 32">
<foreignObject