Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
maltaesousa committed Mar 21, 2023
0 parents commit c030329
Show file tree
Hide file tree
Showing 9 changed files with 314 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.vscode
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# SITN Bootstrap

This is just Boostrap compiled with SITN colors

![Colors](./colors.png)

## How to compile

```powershell
npm i
sass --style=compressed src:dist
```

Then you can copy `sitn-bootstrap.css` in your project.
Binary file added colors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions demo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./dist/sitn-bootstrap.css">
<title>Document</title>
</head>

<body>
<header class="navbar sticky-top navbar-expand-lg bg-primary shadow">
<div class="container">
<a class="navbar-brand text-white fw-bold" href="#">SITN</a>
<span class="text-white fw-bold">Démonstration Bootstrap SITN</span>
<a class="btn btn-secondary nav-link p-2" href="https://github.com/sitn/sitn-bootstrap"
target="_blank" rel="noopener">GitHub</a>
</div>
</header>
<div class="container mt-5">
<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button>
<button type="button" class="btn btn-success">Success</button>
<button type="button" class="btn btn-danger">Danger</button>
<button type="button" class="btn btn-warning">Warning</button>
<button type="button" class="btn btn-info">Info</button>
<button type="button" class="btn btn-light">Light</button>
<button type="button" class="btn btn-dark">Dark</button>

<button type="button" class="btn btn-link">Link</button>
</div>
</body>

</html>
6 changes: 6 additions & 0 deletions dist/sitn-bootstrap.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/sitn-bootstrap.css.map

Large diffs are not rendered by default.

241 changes: 241 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"dependencies": {
"bootstrap": "^5.2.3",
"sass": "^1.59.3"
}
}
9 changes: 9 additions & 0 deletions src/sitn-bootstrap.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$primary: #26a59a;
$secondary: #b9cfcc;
$success: #146056;
$warning: #f6c8c8;
$danger: #e24848;
$info: #bee4e1;
$min-contrast-ratio: 3;

@import "../node_modules/bootstrap/scss/bootstrap";

0 comments on commit c030329

Please sign in to comment.