mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-04 22:40:29 +03:00
Improve text contrast in IDP profile settings element
This commit is contained in:
parent
4c515bb72e
commit
79b37e177b
1 changed files with 5 additions and 16 deletions
|
|
@ -1,17 +1,5 @@
|
||||||
import React, {
|
import React, { useCallback, useLayoutEffect, useMemo, useState } from 'react';
|
||||||
useCallback,
|
import { Box, Text, Button, config, Spinner, Line } from 'folds';
|
||||||
useLayoutEffect,
|
|
||||||
useMemo,
|
|
||||||
useState,
|
|
||||||
} from 'react';
|
|
||||||
import {
|
|
||||||
Box,
|
|
||||||
Text,
|
|
||||||
Button,
|
|
||||||
config,
|
|
||||||
Spinner,
|
|
||||||
Line,
|
|
||||||
} from 'folds';
|
|
||||||
import { UserEvent, ValidatedAuthMetadata } from 'matrix-js-sdk';
|
import { UserEvent, ValidatedAuthMetadata } from 'matrix-js-sdk';
|
||||||
import { SequenceCard } from '../../../components/sequence-card';
|
import { SequenceCard } from '../../../components/sequence-card';
|
||||||
import { SettingTile } from '../../../components/setting-tile';
|
import { SettingTile } from '../../../components/setting-tile';
|
||||||
|
|
@ -59,7 +47,6 @@ function IdentityProviderSettings({ authMetadata }: { authMetadata: ValidatedAut
|
||||||
return (
|
return (
|
||||||
<CutoutCard style={{ padding: config.space.S200 }} variant="Surface">
|
<CutoutCard style={{ padding: config.space.S200 }} variant="Surface">
|
||||||
<SettingTile
|
<SettingTile
|
||||||
description="Change profile settings in your homeserver's account dashboard."
|
|
||||||
after={
|
after={
|
||||||
<Button
|
<Button
|
||||||
size="300"
|
size="300"
|
||||||
|
|
@ -72,7 +59,9 @@ function IdentityProviderSettings({ authMetadata }: { authMetadata: ValidatedAut
|
||||||
<Text size="B300">Open</Text>
|
<Text size="B300">Open</Text>
|
||||||
</Button>
|
</Button>
|
||||||
}
|
}
|
||||||
/>
|
>
|
||||||
|
<Text size="T200">Change profile settings in your homeserver's account dashboard.</Text>
|
||||||
|
</SettingTile>
|
||||||
</CutoutCard>
|
</CutoutCard>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue