Skip to content

Commit

Permalink
Start creating custom design
Browse files Browse the repository at this point in the history
  • Loading branch information
chrieinv committed Aug 29, 2023
1 parent ceb8022 commit a3d585f
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 20 deletions.
30 changes: 15 additions & 15 deletions sourcecode/hub/package-lock.json

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

2 changes: 1 addition & 1 deletion sourcecode/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@fontsource/lato": "^4.5.10",
"@popperjs/core": "^2.11.7",
"bootstrap": "^5.3.0-alpha3",
"bootstrap": "^5.3.1",
"bootstrap-icons": "^1.10.4"
}
}
47 changes: 44 additions & 3 deletions sourcecode/hub/resources/css/app.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,48 @@
@import "bootstrap/scss/bootstrap";
@import '@fontsource/lato';
@import 'bootstrap-icons/font/bootstrap-icons.css';

:root {
--bs-font-sans-serif: Lato, sans-serif;
// 1. Include functions first (so you can manipulate colors, SVGs, calc, etc)
@import "bootstrap/scss/functions";

// 2. Include any default variable overrides here
$font-family-sans-serif: Lato, sanf-serif;

// 3. Include remainder of required Bootstrap stylesheets
@import "bootstrap/scss/variables";
@import "bootstrap/scss/variables-dark";

// 4. Include any default map overrides here

// 5. Include remainder of required parts
@import "bootstrap/scss/maps";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/root";

// 6. Optionally include any other parts as needed
@import "bootstrap/scss/utilities";
@import "bootstrap/scss/reboot";
@import "bootstrap/scss/type";
@import "bootstrap/scss/images";
@import "bootstrap/scss/containers";
@import "bootstrap/scss/grid";
@import "bootstrap/scss/helpers";
@import "bootstrap/scss/nav";
@import "bootstrap/scss/navbar";
@import "bootstrap/scss/forms";
@import "bootstrap/scss/buttons";
@import "bootstrap/scss/dropdown";
@import "bootstrap/scss/alert";
@import "bootstrap/scss/close";

// 7. Optionally include utilities API last to generate classes based on the Sass map in `_utilities.scss`
@import "bootstrap/scss/utilities/api";

// 8. Add additional custom code here
[data-bs-theme="edlib"] {
--bs-body-color: var(--bs-gray-700);
--bs-border-color: var(--bs-gray-400);

.btn-primary {
@include button-variant($green-100, $gray-400, $gray-900, lighten($green-100, 5%), $green-100, $gray-900);
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" data-bs-theme="edlib">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down

0 comments on commit a3d585f

Please sign in to comment.