epfl-elements 4.6.0 → 4.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/config/bootstrap-variables.scss +2 -1
- package/assets/config/colors.json +1 -0
- package/dist/components/atoms/link/link-button.twig +2 -0
- package/dist/components/atoms/link/link.yml +6 -0
- package/dist/css/elements.css +190 -308
- package/dist/css/elements.min.css +1 -1
- package/dist/css/elements.min.css.map +1 -1
- package/dist/css/reader.css +4 -4
- package/dist/css/reader.min.css +1 -1
- package/dist/css/reader.min.css.map +1 -1
- package/dist/icons/icons.svg +1 -1
- package/dist/js/reader.js +33 -24
- package/dist/js/reader.min.js +1 -1
- package/dist/js/reader.min.js.map +1 -1
- package/dist/package.json +2 -2
- package/package.json +2 -2
|
@@ -14,6 +14,7 @@ $white: #fff !default;
|
|
|
14
14
|
$gray-100: #e6e6e6 !default;
|
|
15
15
|
$gray-200: #d5d5d5 !default;
|
|
16
16
|
$gray-300: #c1c1c1 !default;
|
|
17
|
+
$gray-500: #8e8e8e !default;
|
|
17
18
|
$gray-600: #707070 !default;
|
|
18
19
|
$black: #212121 !default;
|
|
19
20
|
|
|
@@ -383,7 +384,7 @@ $input-bg: $white !default;
|
|
|
383
384
|
$input-disabled-bg: $gray-100 !default;
|
|
384
385
|
|
|
385
386
|
$input-color: $black !default;
|
|
386
|
-
$input-border-color: $gray-
|
|
387
|
+
$input-border-color: $gray-500 !default;
|
|
387
388
|
$input-border-width: $input-btn-border-width !default;
|
|
388
389
|
$input-box-shadow: inset 0 1px 1px rgba($black, .075) !default;
|
|
389
390
|
|
|
@@ -25,3 +25,9 @@ variants:
|
|
|
25
25
|
- name: login
|
|
26
26
|
title: Login link
|
|
27
27
|
notes:
|
|
28
|
+
- name: button
|
|
29
|
+
title: Button link
|
|
30
|
+
notes: |
|
|
31
|
+
Use the classes `btn`, `btn-primary` or `btn-secondary` to create a link with the look of a button.
|
|
32
|
+
|
|
33
|
+
⚠️ Button links should be used to target a page or section of a page – like a regular link. To trigger an action, use an [HTML button](#/atoms/button).
|