diff --git a/src/html/css.html b/src/html/css.html index bb7f48f..d17921c 100644 --- a/src/html/css.html +++ b/src/html/css.html @@ -1,5 +1,5 @@ - + @@ -7,74 +7,76 @@ -
-
-

Heading 1

-

Heading 2

-

Heading 3

-

Heading 4

-
Heading 5
-
Heading 6
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent varius dolor purus, et eleifend lectus congue id. Quisque tempor metus ligula, lacinia rutrum enim ultrices eget. Etiam vitae sem massa. Pellentesque vestibulum ex lectus, nec cursus - tortor sollicitudin ut. Nullam volutpat ligula ut odio condimentum, sit amet facilisis nulla tempus. Morbi et hendrerit diam, sit amet luctus orci. Quisque egestas, lacus ac iaculis accumsan, quam eros tempus sem, ac ultrices felis eros porttitor - nibh. Nunc condimentum mauris dapibus, pretium ipsum ac, lacinia nisi. Nulla facilisi.

+
+
+
+

Heading 1

+

Heading 2

+

Heading 3

+

Heading 4

+
Heading 5
+
Heading 6
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent varius dolor purus, et eleifend lectus congue id. Quisque tempor metus ligula, lacinia rutrum enim ultrices eget. Etiam vitae sem massa. Pellentesque vestibulum ex lectus, nec cursus + tortor sollicitudin ut. Nullam volutpat ligula ut odio condimentum, sit amet facilisis nulla tempus. Morbi et hendrerit diam, sit amet luctus orci. Quisque egestas, lacus ac iaculis accumsan, quam eros tempus sem, ac ultrices felis eros porttitor + nibh. Nunc condimentum mauris dapibus, pretium ipsum ac, lacinia nisi. Nulla facilisi.

-
-

Button styles

-

- Button - Button Empty - Button Black - Button Black Empty +
+

Button styles

+

+ Button + Button Empty + Button Black + Button Black Empty -

-

+ +

-
-

Buttons with shadows

-

- Button - Button Empty - Button Black - Button Black Empty -

- Link -

+
+

Buttons with shadows

+

+ Button + Button Empty + Button Black + Button Black Empty +

+ Link +

-
-

Rounded buttons

-

- Button - Button Empty - Button Black - Button Black Empty -

-

+
+

Rounded buttons

+

+ Button + Button Empty + Button Black + Button Black Empty +

+

-
-

Heading 1 + P

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

-

Heading 2 + P

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

-

Heading 3 + P

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

-

Heading 4 + P

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

-
Heading 5 + P
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

-
Heading 6 + P
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

-
-
- +
+

Heading 1 + P

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+

Heading 2 + P

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+

Heading 3 + P

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+

Heading 4 + P

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+
Heading 5 + P
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+
Heading 6 + P
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+
+
+ - + + \ No newline at end of file diff --git a/src/html/index.html b/src/html/index.html index 9a92e3d..0800350 100644 --- a/src/html/index.html +++ b/src/html/index.html @@ -1,9 +1,9 @@ - + Froala Design Blocks - + @@ -40,51 +40,54 @@ -
-
-
-
-

Froala Design Blocks

-

Over 170 responsive design blocks ready to be used in your web or mobile apps. All blocks are based on the Bootstrap Library, and they are the building blocks for beautiful websites.

-

- Github Docs - Official Website -

+ +
+
+
+
+
+

Froala Design Blocks

+

Over 170 responsive design blocks ready to be used in your web or mobile apps. All blocks are based on the Bootstrap Library, and they are the building blocks for beautiful websites.

+

+ Github Docs + Official Website +

+
-
-
+ - + -
-
+
+
+ - + \ No newline at end of file diff --git a/src/html/layout.pug b/src/html/layout.pug index 504ef7c..fcb8e12 100644 --- a/src/html/layout.pug +++ b/src/html/layout.pug @@ -1,9 +1,9 @@ doctype html -html +html(lang='en') block vars head title Froala Design Blocks - #{blockName} - meta(name='viewport', content='width=device-width, height=device-height, initial-scale=1.0') + meta(name='viewport', content='width=device-width, initial-scale=1.0') link(rel='stylesheet', href='https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css', integrity='sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO', crossorigin='anonymous') link(href='https://fonts.googleapis.com/css?family=Lato', rel='stylesheet') link(rel='stylesheet', href='https://use.fontawesome.com/releases/v5.3.1/css/all.css') diff --git a/src/scss/froala_blocks.scss b/src/scss/froala_blocks.scss index 7f216e0..9bf760f 100644 --- a/src/scss/froala_blocks.scss +++ b/src/scss/froala_blocks.scss @@ -237,3 +237,26 @@ header + header { background-color: #f4f7fe; color: $font-color; } + +// ============================================== +// Accesibility overrides +// ============================================== + +// Insufficient contrast + +.btn-primary { + background-color: hsl(207, 92%, 43%); + border-color: hsl(207, 92%, 43%); +} + +.btn-outline-primary { + color: hsl(207, 92%, 43%); + border-color: hsl(207, 92%, 43%); +} + +// .lead +p { + color: hsl(215, 11%, 47%); +} + +