Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/italia/bootstrap-italia-playground
Bootstrap Italia Playground
https://github.com/italia/bootstrap-italia-playground
Last synced: about 2 months ago
JSON representation
Bootstrap Italia Playground
- Host: GitHub
- URL: https://github.com/italia/bootstrap-italia-playground
- Owner: italia
- License: bsd-3-clause
- Created: 2018-03-12T11:36:02.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T18:33:09.000Z (4 months ago)
- Last Synced: 2024-06-16T22:34:02.093Z (3 months ago)
- Language: HTML
- Homepage: bootstrap-italia-playground.vercel.app
- Size: 810 KB
- Stars: 19
- Watchers: 13
- Forks: 22
- Open Issues: 2
-
Metadata Files:
- Readme: README.EN.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
- .github - bootstrap-italia-playground
README
# Bootstrap Italia Playground
This little project is the easiest way to start playing with [Bootstrap Italia](https://italia.github.io/bootstrap-italia/).
## What's included
You'll find a plain HTML page linking Bootstrap Italia files and empty CSS and JS files to enable styling.
```
bootstrap-italia-playground/
│ index.html # main html file
├── scss/
│ ├── _custom_.scss # working SCSS file
└── js/
└── main.js # working JS file
```## Getting started
* Install dependencies: `npm install`
* Run a local server: `npm run serve` (auto refresh on every change)
* Point a browser to: `http://127.0.0.1:3000/`## Updating Bootstrap Italia colours
To update Bootstrap Italia primary colour, please refer to the `scss/_custom.scss` file, where `$primary` colour variable is overridden.
Just run `npm run serve`: everything should be red! :)## Changes from Bootstrap Italia version 2.3.0
From [Bootstrap Italia v2.3.0](https://github.com/italia/bootstrap-italia/releases/tag/v2.3.0) we have introduced new semantic variables (linked to the next integration of design tokens).
These variables are:
```scss
$color-background-primary-lighter
$color-text-primary-active
$color-text-primary-hover
```declared in `_colors_vars.scss` ([from line 392](https://github.com/italia/bootstrap-italia/blob/main/src/scss/utilities/colors_vars.scss)).
Some components now use these variables instead of the old ones (like `$neutral-` or `complementary-`).To correctly customize the main theme of your BI installation, you must assign a value to the them. You can use HEX, HSL, or HSB values.
## Reference
Bootstrap Italia documentation is hosted on GitHub pages at https://italia.github.io/bootstrap-italia/docs/come-iniziare/personalizzazione-della-libreria/ (in italian).