mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
refactor: move blog related options to a accordion
This commit is contained in:
parent
3094eb764b
commit
c081711f58
22 changed files with 175 additions and 153 deletions
|
|
@ -1,11 +1,12 @@
|
|||
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
||||
import { ListItemText as ListItemTextRaw, Tab as TabRaw } from '@material-ui/core';
|
||||
import { Tab as TabRaw } from '@material-ui/core';
|
||||
import { TabContext, TabList as TabListRaw, TabPanel as TabPanelRaw } from '@material-ui/lab';
|
||||
import { SupportedStorageServices } from '@services/types';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import styled, { DefaultTheme, keyframes } from 'styled-components';
|
||||
|
||||
import { ListItemText } from '../ListItem';
|
||||
import { GitTokenForm } from './GitTokenForm';
|
||||
|
||||
const Container = styled.div`
|
||||
|
|
@ -14,16 +15,6 @@ const Container = styled.div`
|
|||
flex-direction: column;
|
||||
background-color: ${({ theme }) => theme.palette.background.paper};
|
||||
`;
|
||||
export const ListItemText: typeof ListItemTextRaw = styled(ListItemTextRaw)`
|
||||
color: ${({ theme }) => theme.palette.text.primary};
|
||||
input {
|
||||
color: ${({ theme }) => theme.palette.text.primary};
|
||||
}
|
||||
p,
|
||||
label {
|
||||
color: ${({ theme }) => theme.palette.text.secondary};
|
||||
}
|
||||
`;
|
||||
const TabPanel = styled(TabPanelRaw)`
|
||||
padding: 5px 0 !important;
|
||||
padding-left: 16px !important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue