{name}
@@ -1338,7 +1338,7 @@ function SmallScreenIndexTableWithAllElementsExample() {
onClearAll={handleClearAll}
/>
+
```
@@ -100,7 +100,7 @@ Include the CSS stylesheet in your HTML. We suggest copying the styles file into
```html
```
diff --git a/src/components/Sheet/README.md b/src/components/Sheet/README.md
index 444bd52a4f8..d84e9739271 100644
--- a/src/components/Sheet/README.md
+++ b/src/components/Sheet/README.md
@@ -157,7 +157,7 @@ function SheetExample() {
borderBottom: '1px solid #DFE3E8',
display: 'flex',
justifyContent: 'space-between',
- padding: '1.6rem',
+ padding: '1rem',
width: '100%',
}}
>
@@ -169,7 +169,7 @@ function SheetExample() {
plain
/>
-
+
diff --git a/src/styles/foundation/_utilities.scss b/src/styles/foundation/_utilities.scss
index 85c28bda793..d99b1bf3f4e 100644
--- a/src/styles/foundation/_utilities.scss
+++ b/src/styles/foundation/_utilities.scss
@@ -1,5 +1,5 @@
$default-browser-font-size: 16px;
-$base-font-size: 10px;
+$base-font-size: 16px;
/// Returns the value in rem for a given pixel value.
/// @param {Number} $value - The pixel value to be converted.
diff --git a/src/utilities/theme/tokens.ts b/src/utilities/theme/tokens.ts
index 389b586c313..73c475f2e14 100644
--- a/src/utilities/theme/tokens.ts
+++ b/src/utilities/theme/tokens.ts
@@ -1,8 +1,8 @@
export const Tokens = {
// Border Radiuses
- borderRadiusSlim: '0.2rem',
- borderRadiusBase: '0.4rem',
- borderRadiusWide: '0.8rem',
+ borderRadiusSlim: '2px',
+ borderRadiusBase: '4px',
+ borderRadiusWide: '8px',
borderRadiusFull: '50%',
// Shadows
@@ -26,31 +26,31 @@ export const Tokens = {
overrideLoadingZIndex: '514',
buttonFontWeight: '500',
nonNullContent: "''",
- choiceSize: '2rem',
- iconSize: '1rem',
- choiceMargin: '0.1rem',
- controlBorderWidth: '0.2rem',
+ choiceSize: '20px',
+ iconSize: '10px',
+ choiceMargin: '1px',
+ controlBorderWidth: '2px',
bannerBorderDefault: buildBannerBorder('--p-border-neutral-subdued'),
bannerBorderSuccess: buildBannerBorder('--p-border-success-subdued'),
bannerBorderHighlight: buildBannerBorder('--p-border-highlight-subdued'),
bannerBorderWarning: buildBannerBorder('--p-border-warning-subdued'),
bannerBorderCritical: buildBannerBorder('--p-border-critical-subdued'),
badgeMixBlendMode: 'luminosity',
- thinBorderSubdued: '0.1rem solid var(--p-border-subdued)',
- textFieldSpinnerOffset: '0.2rem',
- textFieldFocusRingOffset: '-0.4rem',
- textFieldFocusRingBorderRadius: '0.7rem',
- buttonGroupItemSpacing: '-0.1rem',
+ thinBorderSubdued: '1px solid var(--p-border-subdued)',
+ textFieldSpinnerOffset: '2px',
+ textFieldFocusRingOffset: '-4px',
+ textFieldFocusRingBorderRadi: '7px',
+ buttonGroupItemSpacing: '-1px',
duration100: '100ms',
duration150: '150ms',
easeIn: 'cubic-bezier(0.5, 0.1, 1, 1)',
ease: 'cubic-bezier(0.4, 0.22, 0.28, 1)',
- rangeSliderThumbSizeBase: '1.6rem',
- rangeSliderThumbSizeActive: '2.4rem',
+ rangeSliderThumbSizeBase: '16px',
+ rangeSliderThumbSizeActive: '24px',
rangeSliderThumbScale: '1.5',
badgeFontWeight: '400',
};
function buildBannerBorder(cssVar: string) {
- return `inset 0 0.1rem 0 0 var(${cssVar}), inset 0 0 0 0.1rem var(${cssVar})`;
+ return `inset 0 1px 0 0 var(${cssVar}), inset 0 0 0 1px var(${cssVar})`;
}
diff --git a/yarn.lock b/yarn.lock
index 3fcb247a07c..cd27f34b7a3 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3835,10 +3835,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.10.tgz#93f4b095af275a0427114579c10ec7aa696729d7"
integrity sha512-09x2d6kNBwjHgyh3jOUE2GE4DFoxDriDvWdu6mFhMP1ysynGYazt4ecZmJlL6/fe4Zi2vtYvTvtL7epjQQrBhA==
-"@types/node@^12.7.5":
- version "12.12.47"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.47.tgz#5007b8866a2f9150de82335ca7e24dd1d59bdfb5"
- integrity sha512-yzBInQFhdY8kaZmqoL2+3U5dSTMrKaYcb561VU+lDzAYvqt+2lojvBEy+hmpSNuXnPTx7m9+04CzWYOUqWME2A==
+"@types/node@^16.11.11":
+ version "16.11.11"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.11.tgz#6ea7342dfb379ea1210835bada87b3c512120234"
+ integrity sha512-KB0sixD67CeecHC33MYn+eYARkqTheIRNuu97y2XMjR7Wu3XibO1vaY6VBV6O/a89SPI81cEUIYT87UqUWlZNw==
"@types/normalize-package-data@^2.4.0":
version "2.4.0"