diff --git a/projekt/package-lock.json b/projekt/package-lock.json index d67c19f..ddf5e4d 100644 --- a/projekt/package-lock.json +++ b/projekt/package-lock.json @@ -15,6 +15,9 @@ "react-dom": "^18.2.0", "react-scripts": "5.0.1", "web-vitals": "^2.1.4" + }, + "devDependencies": { + "tailwindcss": "^3.3.2" } }, "node_modules/@adobe/css-tools": { diff --git a/projekt/package.json b/projekt/package.json index e91aa77..31dc3cb 100644 --- a/projekt/package.json +++ b/projekt/package.json @@ -34,5 +34,8 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "devDependencies": { + "tailwindcss": "^3.3.2" } } diff --git a/projekt/src/App.css b/projekt/src/App.css index 74b5e05..461f0df 100644 --- a/projekt/src/App.css +++ b/projekt/src/App.css @@ -1,38 +1,18 @@ -.App { - text-align: center; + + +.round-border-10 +{ + border-radius: 10px; + border-width: 0; } -.App-logo { - height: 40vmin; - pointer-events: none; +.default-button +{ + background-color: #0d52ce; + color: #ffffff; } -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} +.font-middle +{ + font-size: 20px ; +} \ No newline at end of file diff --git a/projekt/src/App.js b/projekt/src/App.js index 3784575..82a32f6 100644 --- a/projekt/src/App.js +++ b/projekt/src/App.js @@ -1,25 +1,13 @@ import logo from './logo.svg'; import './App.css'; +import Button from "./components/Button"; function App() { - return ( -
- Edit src/App.js and save to reload.
-