oaf-bootstrap-4

WebJar for oaf-bootstrap-4

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

oaf-bootstrap-4
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

oaf-bootstrap-4
WebJar for oaf-bootstrap-4
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/danielnixon/oaf-bootstrap-4

Скачать oaf-bootstrap-4

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/oaf-bootstrap-4/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>oaf-bootstrap-4</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/oaf-bootstrap-4/
implementation 'org.webjars.npm:oaf-bootstrap-4:0.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/oaf-bootstrap-4/
implementation ("org.webjars.npm:oaf-bootstrap-4:0.1.0")
'org.webjars.npm:oaf-bootstrap-4:jar:0.1.0'
<dependency org="org.webjars.npm" name="oaf-bootstrap-4" rev="0.1.0">
  <artifact name="oaf-bootstrap-4" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='oaf-bootstrap-4', version='0.1.0')
)
libraryDependencies += "org.webjars.npm" % "oaf-bootstrap-4" % "0.1.0"
[org.webjars.npm/oaf-bootstrap-4 "0.1.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Build Status npm

dependencies Status devDependencies Status peerDependencies Status

Oaf Bootstrap 4

Accessibility fixes for Bootstrap 4.

Installation

# yarn
yarn add --dev oaf-bootstrap-4

# npm
npm install --save-dev oaf-bootstrap-4

Usage

You'll need to recompile Bootstrap's Sass yourself.

Assuming src/styles/index.scss:

// Your Bootstrap variable overrides.
...

// Accessibility fixes that need to come _before_ the Bootstrap import.
@import "../../node_modules/oaf-bootstrap-4/scss/top.scss";

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

// Accessibility fixes that need to come _after_ the Bootstrap import.
@import "../../node_modules/oaf-bootstrap-4/scss/bottom.scss";

// Other styles.
...

Fixes

Restore link underlines

We include a fix for Bootstrap issue 15304. That issue is four and a half years old, so don't hold your breath.

From Bootstrap issue 15304:

For aesthetic reasons, by default Bootstrap links have no underlines, relying instead just on a color difference from surrounding text. This in itself violates WCAG 2.0 "1.4.1 Use of color" http://www.w3.org/TR/WCAG20/#visual-audio-contrast-without-color

Restore focus outline for tabindex="-1" elements

We include a fix for Bootstrap issue 28425.

See also

Версии библиотеки

Версия
0.1.0