@quadrel-enterprise-ui/framework 21.18.0 → 21.18.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadrel-enterprise-ui/framework",
3
- "version": "21.18.0",
3
+ "version": "21.18.1",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {
@@ -1,3 +1,5 @@
1
+ @use "settings.colors";
2
+
1
3
  // Animation
2
4
  $transition-time: 0.3s;
3
5
 
@@ -15,3 +17,8 @@ $spacing-xs: 12px;
15
17
 
16
18
  // Typography
17
19
  $font-weight-medium: 500;
20
+
21
+ // Focus
22
+ $focus-ring-width: 2px;
23
+ $focus-ring-offset: 2px;
24
+ $focus-ring-color: settings.$cerulean;
@@ -1,4 +1,5 @@
1
1
  @use "../settings/settings.colors";
2
+ @use "../settings/settings.tokens" as tokens;
2
3
 
3
4
  // Fonts
4
5
  @mixin font-header {
@@ -104,3 +105,9 @@
104
105
  background: $background-color;
105
106
  color: $color;
106
107
  }
108
+
109
+ // Focus
110
+ @mixin focus-ring {
111
+ outline: tokens.$focus-ring-width solid tokens.$focus-ring-color;
112
+ outline-offset: tokens.$focus-ring-offset;
113
+ }