mirror of
https://github.com/wassname/talk.git
synced 2026-08-16 11:29:31 +08:00
[next] Admin Authentication (#2155)
* feat: Support sign in via E-Mail, and social logins + permission check * feat: no permission info * test: unit test * test: fix remaining tests * test: add integration tests * feat: add admin account completion * test: auth completion feature tests * fix: translation * fix: comment marker design * fix: linting issues * chore: address pr review comments * chore: add comment
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
border-left: 1px solid currentColor;
|
||||
margin-left: calc(0.5 * var(--spacing-unit));
|
||||
margin-right: calc(-0.5 * var(--spacing-unit));
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
padding-left: calc(0.5 * var(--spacing-unit));
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -98,6 +98,10 @@
|
||||
color: var(--palette-text-secondary);
|
||||
}
|
||||
|
||||
.colorTextLight {
|
||||
color: var(--palette-text-light);
|
||||
}
|
||||
|
||||
.colorError {
|
||||
color: var(--palette-error-main);
|
||||
}
|
||||
|
||||
@@ -47,6 +47,7 @@ interface InnerProps extends HTMLAttributes<any> {
|
||||
| "primary"
|
||||
| "textPrimary"
|
||||
| "textSecondary"
|
||||
| "textLight"
|
||||
| "error"
|
||||
| "success";
|
||||
/**
|
||||
@@ -104,6 +105,7 @@ const Typography: StatelessComponent<InnerProps> = props => {
|
||||
{
|
||||
[classes.colorTextPrimary]: color === "textPrimary",
|
||||
[classes.colorTextSecondary]: color === "textSecondary",
|
||||
[classes.colorTextLight]: color === "textLight",
|
||||
[classes.colorPrimary]: color === "primary",
|
||||
[classes.colorError]: color === "error",
|
||||
[classes.colorSuccess]: color === "success",
|
||||
|
||||
Reference in New Issue
Block a user