diff --git a/CHANGELOG.md b/CHANGELOG.md index bd895dc5f..a483bb763 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,28 @@ Changelog is rather internal in nature. See release notes for the public overvie ## Upcoming version 5.x.x (`develop` branch) +- [#723] + - **Description:** Updates $core-time value from 0.25s to 0.15s + - **Products impact:** User experience - faster transitions + - **Addresses:** Updates KDS to the latest guidance from the design team + - **Components:** `KButton`, `KExternalLink`, `KRouterLink`, `KModal`, `KCard`, `KIcon`, `KTabsList`, `KTabs`, and places in consumers that imports `$core-time` + - **Breaking:** no + - **Impacts a11y:** no + - **Guidance:** - + +[#723]: https://github.com/learningequality/kolibri-design-system/pull/723 + + +- [#723] + - **Description:** Updates drop shadows documentation to the latest guidance from the design team + - **Products impact:** - + - **Addresses:** Updates KDS to the latest guidance from the design team + - **Components:** - + - **Breaking:** no + - **Impacts a11y:** no + - **Guidance:** - + +[#723]: https://github.com/learningequality/kolibri-design-system/pull/723 - [#728] - **Description:** Adds `$darken_` utility functions for darkening palette colors and ensures compatibility with Node.js v10 by pinning the `color` package version to `3.2.1`. - **Products impact:** Kolibri Design System diff --git a/docs/pages/styling/index.vue b/docs/pages/styling/index.vue index 919d5ad54..72482a512 100644 --- a/docs/pages/styling/index.vue +++ b/docs/pages/styling/index.vue @@ -22,7 +22,7 @@ The design system provides a set of reusable style constants, snippets, and dynamic values.
- Constants are made available as $radius
(defined as 4px
) and a placeholder selector called %dropshadow-2dp
which creates a 4dp drop shadow. These can be used to style an element by importing the definitions file:
+ Constants are made available as $radius
(defined as 4px
) and a placeholder selector called %dropshadow-2dp
which creates a 2dp drop shadow. These can be used to style an element by importing the definitions file:
Use these by importing the design system's definitions.scss
file. For example, this HTML and SCSS in a Vue template:
@@ -38,7 +38,7 @@
@import '~kolibri-design-system/lib/styles/definitions'
.box {
- @extend %dropshadow-4dp;
+ @extend %dropshadow-2dp;
border-radius: $radius;
text-align: center;
@@ -47,7 +47,7 @@
can help easily reproduce styles like:
- The design system provides a set of pre-defined
For example:
+Follow the guidance below to decide what depth to use for a drop shadow:
+- can be achieved by with the dropshadow helpers. + This can be achieved by with the dropshadow helpers: