removed unused packages, enabled tailwind preflight

This commit is contained in:
AT 2023-04-16 12:20:39 +02:00
parent aefa687bd5
commit 65cc743079
7 changed files with 27 additions and 1909 deletions

1919
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,9 +23,6 @@
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"autoprefixer": "^10.4.7",
"babel-core": "^6.26.3",
"babel-loader": "^9.1.2",
"babel-runtime": "^6.26.0",
"daisyui": "^2.19.0",
"eslint": "^8.24.0",
"eslint-plugin-react": "^7.31.8",

View File

@ -23,7 +23,7 @@ export default function AddButton({setSelectMode} : {setSelectMode: React.Dispat
<a>
<div className="tooltip tooltip-left" data-tip={layer.menuText}>
<button tabIndex={0}
className="z-500 border-0 p-0 mb-2 mt-2 w-10 h-10 cursor-pointer rounded-full mouse drop-shadow-md transition ease-in duration-200 focus:outline-none"
className="z-500 border-0 pl-2 p-0 mb-2 mt-2 w-10 h-10 cursor-pointer rounded-full mouse drop-shadow-md transition ease-in duration-200 focus:outline-none"
style={{ backgroundColor: layer.menuColor }}
onClick={() => { setSelectMode(layer) }}>
<DynamicHeroIcon icon={layer.menuIcon} />

View File

@ -40,7 +40,7 @@ const Popup = (props: UtopiaPopupProps) => {
</div>
<div className='basis-1/6'>
<div className="dropdown dropdown-right">
<label tabIndex={0} className="btn m-1 bg-white hover:bg-white text-gray-500 hover:text-gray-700 leading-3">
<label tabIndex={0} className="btn m-1 bg-white hover:bg-white text-gray-500 hover:text-gray-700 leading-3 border-none">
<svg xmlns="http://www.w3.org/2000/svg" className="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" />
</svg>

View File

@ -34,7 +34,7 @@ textarea {
.calendar-icon {
position: relative;
top: -40px;
top: -35px;
left: 10px;
width: 13px;
}
@ -42,7 +42,7 @@ textarea {
.circle-icon {
position: relative;
top: -38px;
top: -33px;
left: 10px;
width: 13px;
}

View File

@ -16,8 +16,6 @@ module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
corePlugins: {
preflight: false
},
darkMode: 'class',
}

View File

@ -13,9 +13,7 @@
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"noUnusedParameters": true,