mirror of
https://github.com/ChatGPTNextWeb/NextChat.git
synced 2026-03-04 07:48:05 +08:00
feat: light theme mode
This commit is contained in:
@@ -68,9 +68,6 @@ export default function DangerItems() {
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
const btnStyle = " !shadow-none !bg-gray-50";
|
||||
const textStyle = " !text-sm";
|
||||
|
||||
return (
|
||||
<List
|
||||
widgetStyle={{
|
||||
@@ -126,7 +123,6 @@ export default function DangerItems() {
|
||||
>
|
||||
<Btn
|
||||
text={Locale.Settings.Danger.Reset.Action}
|
||||
className={btnStyle}
|
||||
onClick={async () => {
|
||||
if (await showConfirm(Locale.Settings.Danger.Reset.Confirm)) {
|
||||
appConfig.reset();
|
||||
@@ -141,7 +137,6 @@ export default function DangerItems() {
|
||||
>
|
||||
<Btn
|
||||
text={Locale.Settings.Danger.Clear.Action}
|
||||
className={btnStyle}
|
||||
onClick={async () => {
|
||||
if (await showConfirm(Locale.Settings.Danger.Clear.Confirm)) {
|
||||
chatStore.clearAllData();
|
||||
|
||||
Reference in New Issue
Block a user