@cds/core
Version:
Clarity Design System - common components, themes, and utilties
44 lines (37 loc) • 980 B
CSS
/*
* Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
html {
font-size: calc((var(--cds-global-base) / 16) * 100%);
box-sizing: border-box ;
}
*,
*:before,
*:after {
box-sizing: inherit ;
}
[cds-base-font="16"] {
--cds-global-base: 16;
}
[cds-theme] {
background: var(--cds-alias-object-app-background);
color: var(--cds-global-typography-color-500);
}
[cds-control] ::-webkit-input-placeholder {
/* Chrome/Opera/Safari/Chromium Edge */
color: var(--cds-global-typography-color-200);
}
[cds-control] ::-moz-placeholder {
/* Firefox 19+ */
color: var(--cds-global-typography-color-200);
}
[cds-control][_disabled] {
--cds-global-typography-color-200: var(--cds-alias-status-disabled);
}
html[cds-focus-trap] {
overflow: hidden ;
width: 100vw;
height: 100vh;
}