Skip to content

Commit

Permalink
Merge pull request #28 from MysticalMike60t/dev
Browse files Browse the repository at this point in the history
Added basic styling and structure to testing, and decreased border-ra…
  • Loading branch information
MysticalMike60t authored Sep 10, 2024
2 parents a44bc92 + 07cad02 commit 8366f9f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/styles/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
background: var(--primary-background);
color: var(--primary-color);
border: 1px solid var(--primary-border);
border-radius: 10px;
border-radius: 5px;
padding: 10px 20px;
transition: 100ms ease all;
cursor: pointer;
Expand Down
25 changes: 24 additions & 1 deletion testing/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,43 @@
}

.container {
width: 100%;
display: flex;
align-items: center;
justify-content: flex-start;
flex-direction: column;
gap: 10px;
padding: 20px;
padding-top: 50px;
padding-bottom: 100px;
}

.container > .section {
width: 100%;
display: flex;
align-items: center;
justify-content: flex-start;
flex-direction: column;
}

.container > .section > .section-title {
width: 100%;
text-align: left;
}

.container > .section > .section-content {
display: flex;
align-items: center;
justify-content: flex-start;
flex-direction: column;
gap: 10px;
}

@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
}
7 changes: 6 additions & 1 deletion testing/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ import "caden/lib/styles/css/index.css";
function App() {
return (
<div className="container">
<UI.Buttons.Submit>Submit</UI.Buttons.Submit>
<div className="section">
<h1 className="section-title">Buttons</h1>
<div className="section-content">
<UI.Buttons.Submit>Submit</UI.Buttons.Submit>
</div>
</div>
</div>
);
}
Expand Down

0 comments on commit 8366f9f

Please sign in to comment.