@microsoft/atlas-css 3.30.0 → 3.32.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/dist/tokens.json CHANGED
@@ -1 +1 @@
1
- {"animation":{"name":"animation","location":"/css/src/tokens/animation.scss","tokens":{"$input-timing-function":"cubic-bezier(0.4, 0, 0.23, 1)","$input-transition-duration":"200ms","$nav-bar-transition-duration":"86ms"}},"border":{"name":"border","location":"/css/src/tokens/border.scss","tokens":{"$border-width":"1px","$border-width-md":"0.125rem","$border-width-lg":"0.25rem","$border-radius-sm":"0.125rem","$border-radius":"0.25rem","$border-radius-lg":"0.375rem","$border-radius-rounded":"290486px"}},"breakpoints":{"name":"breakpoints","location":"/css/src/tokens/breakpoints.scss","tokens":{"$container-gap":"64px","$breakpoint-tablet":"768px","$breakpoint-desktop":"1088px","$breakpoint-widescreen":"1800px"}},"colors":{"name":"colors","location":"/css/src/tokens/colors.scss","tokens":{"$white-static":"#fff","$black-static":"#000","$text":"var(--theme-text)","$text-subtle":"var(--theme-text-subtle)","$text-invert":"var(--theme-text-invert)","$hyperlink":"var(--theme-hyperlink)","$text-glow-high-contrast":"var(--theme-text-glow-high-contrast)","$box-shadow-color-light":"var(--theme-box-shadow-light)","$box-shadow-color-medium":"var(--theme-box-shadow-medium)","$box-shadow-color-heavy":"var(--theme-box-shadow-heavy)","$box-shadow-color-extra-heavy":"var(--theme-box-shadow-extra-heavy)","$body-background":"var(--theme-body-background)","$body-background-medium":"var(--theme-body-background-medium)","$body-background-accent":"var(--theme-body-background-accent)","$alternate-background":"var(--theme-alternate-background)","$alternate-background-medium":"var(--theme-alternate-background-medium)","$overlay":"var(--theme-overlay)","$overlay-invert":"var(--theme-overlay-invert)","$overlay-static":"hsla(0deg, 0%, 0%, 0.5)","$border":"var(--theme-border)","$border-accent":"var(--theme-border-accent)","$card-background":"var(--theme-card-background)","$code-header":"var(--theme-code-header)","$code-block":"var(--theme-code-block)","$inline-code":"var(--theme-inline-code)","$control-border":"var(--theme-control-border)","$table-header":"var(--theme-table-header)","$table-row":"var(--theme-table-row)","$table-row-header":"var(--theme-table-row-header)","$table-border-dark":"var(--theme-table-border-dark)","$facepile-red":"var(--theme-facepile-red)","$facepile-teal":"var(--theme-facepile-teal)","$facepile-blue":"var(--theme-facepile-blue)","$gradient-text-purple":"var(--theme-gradient-text-purple)","$gradient-text-blue":"var(--theme-gradient-text-blue)","$default-hover":"var(--theme-hover-base)","$default-hover-invert":"var(--theme-body-background-medium)","$border-white-high-contrast":"var(--theme-border-white-high-contrast)","$border-yellow-high-contrast":"var(--theme-border-yellow-high-contrast)","$code-highlight-background":"var(--theme-code-highlight-background)","$visited":"var(--theme-visited)","$score-low-off":"var(--theme-score-low-off)","$score-low":"var(--theme-score-low)","$score-medium-off":"var(--theme-score-medium-off)","$score-medium":"var(--theme-score-medium)","$score-high-off":"var(--theme-score-high-off)","$score-high":"var(--theme-score-high)","$primary":"var(--theme-primary-base)","$primary-background":"var(--theme-primary-background)","$primary-background-glow-high-contrast":"var(--theme-primary-background-glow-high-contrast)","$primary-dark":"var(--theme-primary-dark)","$primary-hover":"var(--theme-primary-hover)","$primary-active":"var(--theme-primary-active)","$primary-invert":"var(--theme-primary-invert)","$primary-box-shadow":"var(--theme-primary-box-shadow)","$secondary":"var(--theme-secondary-base)","$secondary-background":"var(--theme-secondary-background)","$secondary-background-glow-high-contrast":"var(--theme-secondary-background-glow-high-contrast)","$secondary-dark":"var(--theme-secondary-dark)","$secondary-hover":"var(--theme-secondary-hover)","$secondary-active":"var(--theme-secondary-active)","$secondary-invert":"var(--theme-secondary-invert)","$secondary-box-shadow":"var(--theme-secondary-box-shadow)","$tertiary":"var(--theme-tertiary-base)","$tertiary-background":"var(--theme-tertiary-background)","$tertiary-background-glow-high-contrast":"var(--theme-tertiary-background-glow-high-contrast)","$tertiary-dark":"var(--theme-tertiary-dark)","$tertiary-hover":"var(--theme-tertiary-hover)","$tertiary-active":"var(--theme-tertiary-active)","$tertiary-invert":"var(--theme-tertiary-invert)","$tertiary-box-shadow":"var(--theme-tertiary-box-shadow)","$success":"var(--theme-success-base)","$success-background":"var(--theme-success-background)","$success-background-glow-high-contrast":"var(--theme-success-background-glow-high-contrast)","$success-dark":"var(--theme-success-dark)","$success-hover":"var(--theme-success-hover)","$success-active":"var(--theme-success-active)","$success-invert":"var(--theme-success-invert)","$success-box-shadow":"var(--theme-success-box-shadow)","$info":"var(--theme-info-base)","$info-background":"var(--theme-info-background)","$info-background-glow-high-contrast":"var(--theme-info-background-glow-high-contrast)","$info-dark":"var(--theme-info-dark)","$info-hover":"var(--theme-info-hover)","$info-active":"var(--theme-info-active)","$info-invert":"var(--theme-info-invert)","$info-box-shadow":"var(--theme-info-box-shadow)","$warning":"var(--theme-warning-base)","$warning-background":"var(--theme-warning-background)","$warning-background-glow-high-contrast":"var(--theme-warning-background-glow-high-contrast)","$warning-dark":"var(--theme-warning-dark)","$warning-hover":"var(--theme-warning-hover)","$warning-active":"var(--theme-warning-active)","$warning-invert":"var(--theme-warning-invert)","$warning-box-shadow":"var(--theme-warning-box-shadow)","$danger":"var(--theme-danger-base)","$danger-background":"var(--theme-danger-background)","$danger-background-glow-high-contrast":"var(--theme-danger-background-glow-high-contrast)","$danger-dark":"var(--theme-danger-dark)","$danger-hover":"var(--theme-danger-hover)","$danger-active":"var(--theme-danger-active)","$danger-invert":"var(--theme-danger-invert)","$danger-box-shadow":"var(--theme-danger-box-shadow)","$colors":{"primary":"var(--theme-primary-base),var(--theme-primary-background),var(--theme-primary-dark),var(--theme-primary-hover),var(--theme-primary-active),var(--theme-primary-invert),var(--theme-primary-box-shadow),var(--theme-primary-background-glow-high-contrast)","secondary":"var(--theme-secondary-base),var(--theme-secondary-background),var(--theme-secondary-dark),var(--theme-secondary-hover),var(--theme-secondary-active),var(--theme-secondary-invert),var(--theme-secondary-box-shadow),var(--theme-secondary-background-glow-high-contrast)","tertiary":"var(--theme-tertiary-base),var(--theme-tertiary-background),var(--theme-tertiary-dark),var(--theme-tertiary-hover),var(--theme-tertiary-active),var(--theme-tertiary-invert),var(--theme-tertiary-box-shadow),var(--theme-tertiary-background-glow-high-contrast)","success":"var(--theme-success-base),var(--theme-success-background),var(--theme-success-dark),var(--theme-success-hover),var(--theme-success-active),var(--theme-success-invert),var(--theme-success-box-shadow),var(--theme-success-background-glow-high-contrast)","info":"var(--theme-info-base),var(--theme-info-background),var(--theme-info-dark),var(--theme-info-hover),var(--theme-info-active),var(--theme-info-invert),var(--theme-info-box-shadow),var(--theme-info-background-glow-high-contrast)","warning":"var(--theme-warning-base),var(--theme-warning-background),var(--theme-warning-dark),var(--theme-warning-hover),var(--theme-warning-active),var(--theme-warning-invert),var(--theme-warning-box-shadow),var(--theme-warning-background-glow-high-contrast)","danger":"var(--theme-danger-base),var(--theme-danger-background),var(--theme-danger-dark),var(--theme-danger-hover),var(--theme-danger-active),var(--theme-danger-invert),var(--theme-danger-box-shadow),var(--theme-danger-background-glow-high-contrast)"},"$color-index-base":"1","$color-index-background":"2","$color-index-dark":"3","$color-index-hover":"4","$color-index-active":"5","$color-index-invert":"6","$color-index-box-shadow":"7","$color-index-background-glow-high-contrast":"8"}},"direction":{"name":"direction","location":"/css/src/tokens/direction.scss","tokens":{"$user-text-direction":"ltr","$user-left":"left","$user-right":"right","$user-translate-x-direction":"1","$directions":{"top":"top","right":"right","bottom":"bottom","left":"left"},"$logical-directions":{"top":"block-start","right":"inline-end","bottom":"block-end","left":"inline-start"}}},"display":{"name":"display","location":"/css/src/tokens/display.scss","tokens":{"$displays":"block, flex, inline, inline-block, inline-flex, grid, none"}},"focus":{"name":"focus","location":"/css/src/tokens/focus.scss","tokens":{"$focus-width":"0.125rem","$focus-style":"dashed","$focus-outline-offset":"0.25rem","$focus-visible-use-polyfill":false}},"font-stack":{"name":"font-stack","location":"/css/src/tokens/font-stack.scss","tokens":{"$monospace-font-stack":"SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace","$normal-font-stack":"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji","$quote-font-stack":"Arial, Helvetica Neue, Helvetica, sans-serif"}},"layout":{"name":"layout","location":"/css/src/tokens/layout.scss","tokens":{"$column-gap":"0.75rem","$large-column-gap":"1.5rem","$reading-max-width":"50rem","$layout-gap":"16px","$layout-widescreen-width":"1768px","$layout-widescreen-gap":"calc(50% - 1768px / 2)"}},"palette":{"name":"palette","location":"/css/src/tokens/palette.scss","tokens":{"$palette-grey-10":"#fafafa","$palette-grey-20":"#f2f2f2","$palette-grey-30":"#e6e6e6","$palette-grey-40":"#d2d2d2","$palette-grey-50":"#bcbcbc","$palette-grey-60":"#a2a2a2","$palette-grey-70":"#8e8e8e","$palette-grey-80":"#757575","$palette-grey-90":"#505050","$palette-grey-100":"#404040","$palette-grey-110":"#2f2f2f","$palette-grey-120":"#171717","$palette-grey-130":"#161616","$palette-black":"#000","$palette-black-opacity-90":"hsla(0deg, 0%, 0%, 0.9)","$palette-black-opacity-80":"hsla(0deg, 0%, 0%, 0.8)","$palette-black-opacity-70":"hsla(0deg, 0%, 0%, 0.7)","$palette-black-opacity-60":"hsla(0deg, 0%, 0%, 0.6)","$palette-black-opacity-50":"hsla(0deg, 0%, 0%, 0.5)","$palette-black-opacity-40":"hsla(0deg, 0%, 0%, 0.4)","$palette-black-opacity-30":"hsla(0deg, 0%, 0%, 0.3)","$palette-black-opacity-20":"hsla(0deg, 0%, 0%, 0.2)","$palette-black-opacity-10":"hsla(0deg, 0%, 0%, 0.1)","$palette-black-opacity-0":"hsla(0deg, 0%, 0%, 0)","$palette-white":"#fff","$palette-white-opacity-0":"hsla(0deg, 0%, 100%, 0)","$palette-white-opacity-10":"hsla(0deg, 0%, 100%, 0.1)","$palette-white-opacity-20":"hsla(0deg, 0%, 100%, 0.2)","$palette-white-opacity-30":"hsla(0deg, 0%, 100%, 0.3)","$palette-white-opacity-40":"hsla(0deg, 0%, 100%, 0.4)","$palette-white-opacity-50":"hsla(0deg, 0%, 100%, 0.5)","$palette-white-opacity-60":"hsla(0deg, 0%, 100%, 0.6)","$palette-white-opacity-70":"hsla(0deg, 0%, 100%, 0.7)","$palette-white-opacity-80":"hsla(0deg, 0%, 100%, 0.8)","$palette-white-opacity-90":"hsla(0deg, 0%, 100%, 0.9)","$palette-black-opacity-108":"hsla(0deg, 0%, 0%, 0.11)","$palette-black-opacity-132":"hsla(0deg, 0%, 0%, 0.13)","$palette-black-opacity-22":"hsla(0deg, 0%, 0%, 0.22)","$palette-black-opacity-18":"hsla(0deg, 0%, 0%, 0.18)","$palette-white-opacity-108":"hsla(0deg, 0%, 100%, 0.11)","$palette-white-opacity-132":"hsla(0deg, 0%, 100%, 0.13)","$palette-white-opacity-22":"hsla(0deg, 0%, 100%, 0.22)","$palette-white-opacity-18":"hsla(0deg, 0%, 100%, 0.18)","$palette-blue-10":"#d7eaf8","$palette-blue-20":"#9ccbee","$palette-blue-30":"#75b6e7","$palette-blue-40":"#278cda","$palette-blue-50":"#0078d4","$palette-blue-60":"#0065b3","$palette-blue-70":"#00579a","$palette-blue-80":"#004173","$palette-blue-90":"#002b4d","$palette-blue-100":"#000a13","$palette-blue-a":"#9ccbee","$palette-blue-opacity-30":"hsla(206deg, 100%, 35%, 0.3)","$palette-blue-opacity-70":"hsla(206deg, 100%, 35%, 0.7)","$palette-blue-black":"#091f2c","$palette-navy-10":"#dfe5ee","$palette-navy-20":"#c1cbdc","$palette-navy-30":"#a4b2c9","$palette-navy-40":"#899ab5","$palette-navy-50":"#70819f","$palette-navy-60":"#4a5d7e","$palette-navy-70":"#243a5e","$palette-navy-80":"#14294c","$palette-navy-90":"#061329","$palette-navy-100":"#000910","$palette-navy-opacity-30":"hsla(189deg, 52%, 12%, 0.3)","$palette-navy-opacity-70":"hsla(189deg, 52%, 12%, 0.7)","$palette-turqoise-10":"#e9fbff","$palette-turqoise-20":"#bdf5ff","$palette-turqoise-30":"#7becff","$palette-turqoise-40":"#50e6ff","$palette-turqoise-50":"#41b9cf","$palette-turqoise-60":"#328e9f","$palette-turqoise-70":"#28727f","$palette-turqoise-80":"#19474f","$palette-turqoise-90":"#0f2a2f","$palette-turqoise-100":"#050e0f","$palette-green-10":"#dff6dd","$palette-green-20":"#acd7aa","$palette-green-30":"#7cbb7b","$palette-green-40":"#489d48","$palette-green-50":"#2a8b2a","$palette-green-60":"#107c10","$palette-green-70":"#0b6413","$palette-green-80":"#054b16","$palette-green-90":"#05350c","$palette-green-100":"#061a00","$palette-green-opacity-30":"hsla(120deg, 37%, 45%, 0.3)","$palette-green-opacity-70":"hsla(120deg, 37%, 45%, 0.7)","$palette-purple-10":"#efd9fd","$palette-purple-20":"#e0b7fe","$palette-purple-30":"#d59dff","$palette-purple-40":"#ac7ee1","$palette-purple-50":"#9970d3","$palette-purple-60":"#8661c5","$palette-purple-70":"#624991","$palette-purple-80":"#3b2e58","$palette-purple-90":"#201843","$palette-purple-100":"#03002c","$palette-purple-a":"#cd9bcf","$palette-purple-b":"#702573","$palette-purple-opacity-30":"hsla(251deg, 47%, 18%, 0.3)","$palette-purple-opacity-70":"hsla(251deg, 47%, 18%, 0.7)","$palette-yellow-10":"#fff4ce","$palette-yellow-20":"#ffe79f","$palette-yellow-30":"#ffdf84","$palette-yellow-40":"#ffcb3f","$palette-yellow-50":"#ffb900","$palette-yellow-60":"#d19501","$palette-yellow-70":"#966802","$palette-yellow-80":"#6a4b16","$palette-yellow-90":"#4f340e","$palette-yellow-100":"#2d1703","$palette-yellow-opacity-30":"hsla(44deg, 100%, 50%, 0.3)","$palette-yellow-opacity-70":"hsla(44deg, 100%, 50%, 0.7)","$palette-yellow-sand":"#e8e6df","$palette-red-10":"#fde7e9","$palette-red-20":"#e5a7a8","$palette-red-30":"#d4797a","$palette-red-40":"#c54f4f","$palette-red-50":"#b62626","$palette-red-60":"#a80000","$palette-red-70":"#870000","$palette-red-80":"#630001","$palette-red-90":"#470001","$palette-red-100":"#290001","$palette-red-opacity-30":"hsla(0deg, 100%, 33%, 0.3)","$palette-red-opacity-70":"hsla(0deg, 100%, 33%, 0.7)","$palette-yellow-high-contrast":"#ff0","$palette-yellow-high-contrast-hover":"#ff3","$palette-visited-high-contrast":"#3cff00"}},"position":{"name":"position","location":"/css/src/tokens/position.scss","tokens":{"$positions":"fixed, absolute, relative, sticky"}},"schemes":{"name":"schemes","location":"/css/src/tokens/schemes.scss","tokens":{"$color-schemes":{"light":"light","dark":"dark","high-contrast":"dark"}}},"shadow":{"name":"shadow","location":"/css/src/tokens/shadow.scss","tokens":{"$box-shadow-light":"0 1.6px 3.6px 0 var(--theme-box-shadow-medium), 0 0.3px 0.9px 0 var(--theme-box-shadow-light)","$box-shadow-medium":"0 3.2px 7.2px 0 var(--theme-box-shadow-medium), 0 0.6px 1.8px 0 var(--theme-box-shadow-light)","$box-shadow-heavy":"0 6.4px 14.4px 0 var(--theme-box-shadow-medium), 0 1.2px 3.6px 0 var(--theme-box-shadow-light)","$box-shadow-extra-heavy":"0 25.6px 57.6px 0 var(--theme-box-shadow-extra-heavy), 0 4.8px 14.4px 0 var(--theme-box-shadow-heavy)"}},"spacing":{"name":"spacing","location":"/css/src/tokens/spacing.scss","tokens":{"$layout-0":"0","$layout-1":"0.5rem","$layout-2":"1rem","$layout-3":"1.5rem","$layout-4":"2rem","$layout-5":"3rem","$layout-6":"4rem","$layout-7":"6rem","$layout-8":"8rem","$spacer-0":"0","$spacer-1":"0.125rem","$spacer-2":"0.25rem","$spacer-3":"0.5rem","$spacer-4":"0.75rem","$spacer-5":"1rem","$spacer-6":"1.25rem","$spacer-7":"1.5rem","$spacer-8":"2rem","$spacer-9":"2.5rem","$spacer-10":"3rem"}},"themes":{"name":"themes","location":"/css/src/tokens/themes.scss","tokens":{"$themes":{"light":{"text":"#161616","text-subtle":"#505050","text-invert":"#fff","text-glow-high-contrast":"#171717","box-shadow-light":"hsla0deg,0%,0%,0.11)","box-shadow-medium":"hsla(0deg,0%,0%,0.13)","box-shadow-heavy":"hsla(0deg,0%,0%,0.18)","box-shadow-extra-heavy":"hsla(0deg,0%,0%,0.22)","overlay":"hsla(0deg,0%,0%,0.7)","overlay-invert":"#fff","body-background":"#fff","body-background-accent":"#e8e6df","body-background-medium":"#f2f2f2","alternate-background":"#171717","alternate-background-medium":"#2f2f2f","card-background":"#fff","border":"#e6e6e6","border-accent":"#e8e6df","border-white-high-contrast":"hsla(0deg,0%,100%,0)","border-yellow-high-contrast":"hsla(0deg,0%,0%,0)","table-header":"#e6e6e6","table-row":"#f2f2f2","table-row-header":"#fafafa","table-border-dark":"#d2d2d2","hover-base":"#2f2f2f","hover-invert":"#fafafa","code-header":"#e6e6e6","code-block":"#f2f2f2","control-border":"#757575","inline-code":"#e6e6e6","code-highlight-background":"#fff4ce","visited":"#624991","score-low-off":"hsla(0deg,100%,33%,0.3)","score-low":"#b62626","score-medium-off":"hsla(44deg,100%,50%,0.3)","score-medium":"#ffb900","score-high-off":"hsla(120deg,37%,45%,0.3)","score-high":"#2a8b2a","hyperlink":"#0065b3","primary-base":"#0078d4","primary-background":"#d7eaf8","primary-background-glow-high-contrast":"#d7eaf8","primary-dark":"#004173","primary-hover":"#0065b3","primary-active":"#00579a","primary-box-shadow":"hsla(206deg,100%,35%,0.3)","primary-invert":"#fff","secondary-base":"#a2a2a2","secondary-background":"#e6e6e6","secondary-background-glow-high-contrast":"#e6e6e6","secondary-dark":"#2f2f2f","secondary-hover":"#d2d2d2","secondary-active":"#d2d2d2","secondary-box-shadow":"hsla(0deg,0%,0%,0.3)","secondary-invert":"#000","tertiary-base":"#243a5e","tertiary-background":"#061329","tertiary-background-glow-high-contrast":"#061329","tertiary-dark":"#a4b2c9","tertiary-hover":"#14294c","tertiary-active":"#70819f","tertiary-box-shadow":"hsla(262deg,46%,17%,0.3)","tertiary-invert":"#fff","success-base":"#107c10","success-background":"#dff6dd","success-background-glow-high-contrast":"#dff6dd","success-dark":"#054b16","success-hover":"#0b6413","success-active":"#054b16","success-box-shadow":"hsla(120deg,37%,45%,0.3)","success-invert":"#fff","info-base":"#8661c5","info-background":"#efd9fd","info-background-glow-high-contrast":"#efd9fd","info-dark":"#3b2e58","info-hover":"#8661c5","info-active":"#624991","info-box-shadow":"hsla(251deg,47%,18%,0.3)","info-invert":"#fff","warning-base":"#ffb900","warning-background":"#fff4ce","warning-background-glow-high-contrast":"#fff4ce","warning-dark":"#6a4b16","warning-hover":"#d19501","warning-active":"#966802","warning-box-shadow":"hsla(44deg,100%,50%,0.3)","warning-invert":"#000","danger-base":"#a80000","danger-background":"#fde7e9","danger-background-glow-high-contrast":"#fde7e9","danger-dark":"#470001","danger-hover":"#870000","danger-active":"#630001","danger-box-shadow":"hsla(0deg,100%,33%,0.3)","danger-invert":"#fff","facepile-red":"#a80000","facepile-teal":"#328e9f","facepile-blue":"#0078d4","gradient-text-purple":"#702573","gradient-text-blue":"#00579a"},"dark":{"text":"#e6e6e6","text-subtle":"#d2d2d2","text-invert":"#2f2f2f","text-glow-high-contrast":"#e6e6e6","box-shadow-light":"hsla0deg,0%,0%,0.11)","box-shadow-medium":"hsla(0deg,0%,0%,0.13)","box-shadow-heavy":"hsla(0deg,0%,0%,0.18)","box-shadow-extra-heavy":"hsla(0deg,0%,0%,0.22)","overlay":"hsla(0deg,0%,0%,0.7)","overlay-invert":"#fff","body-background":"#171717","body-background-accent":"#091f2c","body-background-medium":"#2f2f2f","alternate-background":"#f2f2f2","alternate-background-medium":"#fafafa","border":"#404040","border-accent":"#505050","border-white-high-contrast":"hsla(0deg,0%,100%,0)","border-yellow-high-contrast":"hsla(0deg,0%,0%,0)","card-background":"#091f2c","table-header":"#404040","table-row":"#2f2f2f","table-row-header":"#2f2f2f","table-border-dark":"#505050","hover-base":"#d2d2d2","hover-invert":"#2f2f2f","code-header":"#404040","code-block":"#2f2f2f","control-border":"#d2d2d2","inline-code":"#404040","code-highlight-background":"#0b6413","visited":"#ac7ee1","score-low-off":"hsla(0deg,100%,33%,0.7)","score-low":"#b62626","score-medium-off":"hsla(44deg,100%,50%,0.3)","score-medium":"#ffcb3f","score-high-off":"hsla(120deg,37%,45%,0.7)","score-high":"#489d48","hyperlink":"#75b6e7","primary-base":"#75b6e7","primary-background":"#004173","primary-background-glow-high-contrast":"#004173","primary-dark":"#9ccbee","primary-hover":"#278cda","primary-active":"#0078d4","primary-box-shadow":"hsla(206deg,100%,35%,0.3)","primary-invert":"#000","secondary-base":"#757575","secondary-background":"#404040","secondary-background-glow-high-contrast":"#404040","secondary-dark":"#e6e6e6","secondary-hover":"#8e8e8e","secondary-active":"#a2a2a2","secondary-box-shadow":"hsla(0deg,0%,0%,0.7)","secondary-invert":"#fff","tertiary-base":"#404040","tertiary-background":"#171717","tertiary-background-glow-high-contrast":"#171717","tertiary-dark":"#e6e6e6","tertiary-hover":"#505050","tertiary-active":"#757575","tertiary-box-shadow":"hsla(206deg,100%,35%,0.3)","tertiary-invert":"#fff","success-base":"#7cbb7b","success-background":"#054b16","success-background-glow-high-contrast":"#054b16","success-dark":"#dff6dd","success-hover":"#489d48","success-active":"#7cbb7b","success-box-shadow":"hsla(120deg,37%,45%,0.7)","success-invert":"#000","info-base":"#9970d3","info-background":"#3b2e58","info-background-glow-high-contrast":"#3b2e58","info-dark":"#efd9fd","info-hover":"#ac7ee1","info-active":"#d59dff","info-box-shadow":"hsla(251deg,47%,18%,0.7)","info-invert":"#000","warning-base":"#ffb900","warning-background":"#6a4b16","warning-background-glow-high-contrast":"#6a4b16","warning-dark":"#fff4ce","warning-hover":"#ffcb3f","warning-active":"#ffdf84","warning-box-shadow":"hsla(44deg,100%,50%,0.7)","warning-invert":"#000","danger-base":"#e5a7a8","danger-background":"#630001","danger-background-glow-high-contrast":"#630001","danger-dark":"#fde7e9","danger-hover":"#c54f4f","danger-active":"#d4797a","danger-box-shadow":"hsla(0deg,100%,33%,0.7)","danger-invert":"#000","facepile-red":"#c54f4f","facepile-teal":"#50e6ff","facepile-blue":"#278cda","gradient-text-purple":"#cd9bcf","gradient-text-blue":"#9ccbee"},"high-contrast":{"text":"#fff","text-subtle":"#fff","text-invert":"#000","text-glow-high-contrast":"#ff0","box-shadow-light":"hsla0deg,0%,0%,0.11)","box-shadow-medium":"hsla(0deg,0%,0%,0.13)","box-shadow-heavy":"hsla(0deg,0%,0%,0.18)","box-shadow-extra-heavy":"hsla(0deg,0%,0%,0.22)","overlay":"#404040","overlay-invert":"#fff","body-background":"#000","body-background-accent":"#000","body-background-medium":"#000","alternate-background":"#fff","alternate-background-medium":"#fff","border":"#fff","border-accent":"#fff","border-white-high-contrast":"#fff","border-yellow-high-contrast":"#ff0","card-background":"#000","table-header":"#505050","table-row":"#000","table-row-header":"#171717","table-border-dark":"#fff","hover-base":"#ff0","hover-invert":"#000","code-header":"#000","code-block":"#000","control-border":"#fff","inline-code":"#2f2f2f","code-highlight-background":"#0b6413","visited":"#3cff00","score-low-off":"#a80000","score-low":"#fde7e9","score-medium-off":"hsla(44deg,100%,50%,0.7)","score-medium":"#ffe79f","score-high-off":"#107c10","score-high":"#dff6dd","hyperlink":"#ff0","primary-base":"#ff0","primary-background":"#000","primary-background-glow-high-contrast":"#ff0","primary-dark":"#ff0","primary-hover":"#ff3","primary-active":"#ff3","primary-box-shadow":"#fff","primary-invert":"#000","secondary-base":"#e6e6e6","secondary-background":"#000","secondary-background-glow-high-contrast":"#505050","secondary-dark":"#e6e6e6","secondary-hover":"#d2d2d2","secondary-active":"#d2d2d2","secondary-box-shadow":"#e6e6e6","secondary-invert":"#000","tertiary-base":"#fff","tertiary-background":"#000","tertiary-background-glow-high-contrast":"#fff","tertiary-dark":"#fff","tertiary-hover":"#e6e6e6","tertiary-active":"#e6e6e6","tertiary-box-shadow":"#fff","tertiary-invert":"#000","success-base":"#7cbb7b","success-background":"#000","success-background-glow-high-contrast":"#7cbb7b","success-dark":"#acd7aa","success-hover":"#acd7aa","success-active":"#acd7aa","success-box-shadow":"#fff","success-invert":"#000","info-base":"#e0b7fe","info-background":"#000","info-background-glow-high-contrast":"#e0b7fe","info-dark":"#efd9fd","info-hover":"#efd9fd","info-active":"#efd9fd","info-box-shadow":"#fff","info-invert":"#000","warning-base":"#ffe79f","warning-background":"#000","warning-background-glow-high-contrast":"#ffe79f","warning-dark":"#fff4ce","warning-hover":"#fff4ce","warning-active":"#fff4ce","warning-box-shadow":"#fff","warning-invert":"#000","danger-base":"#e5a7a8","danger-background":"#000","danger-background-glow-high-contrast":"#e5a7a8","danger-dark":"#fde7e9","danger-hover":"#fde7e9","danger-active":"#fde7e9","danger-box-shadow":"#fff","danger-invert":"#000","facepile-red":"#d4797a","facepile-teal":"#7becff","facepile-blue":"#75b6e7","gradient-text-purple":"#fff","gradient-text-blue":"#fff"}}}},"typography":{"name":"typography","location":"/css/src/tokens/typography.scss","tokens":{"$document-font-size":"16px","$font-size-9":"0.75rem","$font-size-8":"0.875rem","$font-size-7":"1rem","$font-size-6":"1.125rem","$font-size-5":"1.25rem","$font-size-4":"1.5rem","$font-size-3":"1.75rem","$font-size-2":"2.125rem","$font-size-1":"2.5rem","$font-size-0":"3.375rem","$weight-light":"100","$weight-semilight":"200","$weight-normal":"400","$weight-semibold":"600","$weight-bold":"700","$letter-spacing-medium":"0.125rem","$letter-spacing-wide":"0.225rem"}},"z-index":{"name":"z-index","location":"/css/src/tokens/z-index.scss","tokens":{"$zindex-active":"1","$zindex-hover":"2","$zindex-focus":"3","$zindex-multi":"4","$zindex-dropdown":"1000","$zindex-sticky":"1020","$zindex-fixed":"1030","$zindex-modal-backdrop":"1040","$zindex-modal":"1050","$zindex-popover":"1060","$zindex-tooltip":"1070","$zindex-stretched-link":"1"}}}
1
+ {"animation":{"name":"animation","location":"/css/src/tokens/animation.scss","tokens":{"$input-timing-function":"cubic-bezier(0.4, 0, 0.23, 1)","$input-transition-duration":"200ms","$nav-bar-transition-duration":"86ms"}},"border":{"name":"border","location":"/css/src/tokens/border.scss","tokens":{"$border-width":"1px","$border-width-md":"0.125rem","$border-width-lg":"0.25rem","$border-radius-sm":"0.125rem","$border-radius":"0.25rem","$border-radius-lg":"0.375rem","$border-radius-rounded":"290486px"}},"breakpoints":{"name":"breakpoints","location":"/css/src/tokens/breakpoints.scss","tokens":{"$container-gap":"64px","$breakpoint-tablet":"768px","$breakpoint-desktop":"1088px","$breakpoint-widescreen":"1800px"}},"colors":{"name":"colors","location":"/css/src/tokens/colors.scss","tokens":{"$white-static":"#fff","$black-static":"#000","$text":"var(--theme-text)","$text-subtle":"var(--theme-text-subtle)","$text-invert":"var(--theme-text-invert)","$hyperlink":"var(--theme-hyperlink)","$text-glow-high-contrast":"var(--theme-text-glow-high-contrast)","$box-shadow-color-light":"var(--theme-box-shadow-light)","$box-shadow-color-medium":"var(--theme-box-shadow-medium)","$box-shadow-color-heavy":"var(--theme-box-shadow-heavy)","$box-shadow-color-extra-heavy":"var(--theme-box-shadow-extra-heavy)","$body-background":"var(--theme-body-background)","$body-background-medium":"var(--theme-body-background-medium)","$body-background-accent":"var(--theme-body-background-accent)","$alternate-background":"var(--theme-alternate-background)","$alternate-background-medium":"var(--theme-alternate-background-medium)","$overlay":"var(--theme-overlay)","$overlay-invert":"var(--theme-overlay-invert)","$overlay-static":"hsla(0deg, 0%, 0%, 0.5)","$border":"var(--theme-border)","$border-accent":"var(--theme-border-accent)","$card-background":"var(--theme-card-background)","$code-header":"var(--theme-code-header)","$code-block":"var(--theme-code-block)","$inline-code":"var(--theme-inline-code)","$control-border":"var(--theme-control-border)","$table-header":"var(--theme-table-header)","$table-row":"var(--theme-table-row)","$table-row-header":"var(--theme-table-row-header)","$table-border-dark":"var(--theme-table-border-dark)","$facepile-red":"var(--theme-facepile-red)","$facepile-teal":"var(--theme-facepile-teal)","$facepile-blue":"var(--theme-facepile-blue)","$gradient-text-purple":"var(--theme-gradient-text-purple)","$gradient-text-blue":"var(--theme-gradient-text-blue)","$gradient-vivid-start":"var(--theme-gradient-vivid-start)","$gradient-vivid-end":"var(--theme-gradient-vivid-end)","$default-hover":"var(--theme-hover-base)","$default-hover-invert":"var(--theme-body-background-medium)","$border-white-high-contrast":"var(--theme-border-white-high-contrast)","$border-yellow-high-contrast":"var(--theme-border-yellow-high-contrast)","$code-highlight-background":"var(--theme-code-highlight-background)","$visited":"var(--theme-visited)","$score-low-off":"var(--theme-score-low-off)","$score-low":"var(--theme-score-low)","$score-medium-off":"var(--theme-score-medium-off)","$score-medium":"var(--theme-score-medium)","$score-high-off":"var(--theme-score-high-off)","$score-high":"var(--theme-score-high)","$primary":"var(--theme-primary-base)","$primary-background":"var(--theme-primary-background)","$primary-background-glow-high-contrast":"var(--theme-primary-background-glow-high-contrast)","$primary-dark":"var(--theme-primary-dark)","$primary-hover":"var(--theme-primary-hover)","$primary-active":"var(--theme-primary-active)","$primary-invert":"var(--theme-primary-invert)","$primary-box-shadow":"var(--theme-primary-box-shadow)","$secondary":"var(--theme-secondary-base)","$secondary-background":"var(--theme-secondary-background)","$secondary-background-glow-high-contrast":"var(--theme-secondary-background-glow-high-contrast)","$secondary-dark":"var(--theme-secondary-dark)","$secondary-hover":"var(--theme-secondary-hover)","$secondary-active":"var(--theme-secondary-active)","$secondary-invert":"var(--theme-secondary-invert)","$secondary-box-shadow":"var(--theme-secondary-box-shadow)","$tertiary":"var(--theme-tertiary-base)","$tertiary-background":"var(--theme-tertiary-background)","$tertiary-background-glow-high-contrast":"var(--theme-tertiary-background-glow-high-contrast)","$tertiary-dark":"var(--theme-tertiary-dark)","$tertiary-hover":"var(--theme-tertiary-hover)","$tertiary-active":"var(--theme-tertiary-active)","$tertiary-invert":"var(--theme-tertiary-invert)","$tertiary-box-shadow":"var(--theme-tertiary-box-shadow)","$success":"var(--theme-success-base)","$success-background":"var(--theme-success-background)","$success-background-glow-high-contrast":"var(--theme-success-background-glow-high-contrast)","$success-dark":"var(--theme-success-dark)","$success-hover":"var(--theme-success-hover)","$success-active":"var(--theme-success-active)","$success-invert":"var(--theme-success-invert)","$success-box-shadow":"var(--theme-success-box-shadow)","$info":"var(--theme-info-base)","$info-background":"var(--theme-info-background)","$info-background-glow-high-contrast":"var(--theme-info-background-glow-high-contrast)","$info-dark":"var(--theme-info-dark)","$info-hover":"var(--theme-info-hover)","$info-active":"var(--theme-info-active)","$info-invert":"var(--theme-info-invert)","$info-box-shadow":"var(--theme-info-box-shadow)","$warning":"var(--theme-warning-base)","$warning-background":"var(--theme-warning-background)","$warning-background-glow-high-contrast":"var(--theme-warning-background-glow-high-contrast)","$warning-dark":"var(--theme-warning-dark)","$warning-hover":"var(--theme-warning-hover)","$warning-active":"var(--theme-warning-active)","$warning-invert":"var(--theme-warning-invert)","$warning-box-shadow":"var(--theme-warning-box-shadow)","$danger":"var(--theme-danger-base)","$danger-background":"var(--theme-danger-background)","$danger-background-glow-high-contrast":"var(--theme-danger-background-glow-high-contrast)","$danger-dark":"var(--theme-danger-dark)","$danger-hover":"var(--theme-danger-hover)","$danger-active":"var(--theme-danger-active)","$danger-invert":"var(--theme-danger-invert)","$danger-box-shadow":"var(--theme-danger-box-shadow)","$colors":{"primary":"var(--theme-primary-base),var(--theme-primary-background),var(--theme-primary-dark),var(--theme-primary-hover),var(--theme-primary-active),var(--theme-primary-invert),var(--theme-primary-box-shadow),var(--theme-primary-background-glow-high-contrast)","secondary":"var(--theme-secondary-base),var(--theme-secondary-background),var(--theme-secondary-dark),var(--theme-secondary-hover),var(--theme-secondary-active),var(--theme-secondary-invert),var(--theme-secondary-box-shadow),var(--theme-secondary-background-glow-high-contrast)","tertiary":"var(--theme-tertiary-base),var(--theme-tertiary-background),var(--theme-tertiary-dark),var(--theme-tertiary-hover),var(--theme-tertiary-active),var(--theme-tertiary-invert),var(--theme-tertiary-box-shadow),var(--theme-tertiary-background-glow-high-contrast)","success":"var(--theme-success-base),var(--theme-success-background),var(--theme-success-dark),var(--theme-success-hover),var(--theme-success-active),var(--theme-success-invert),var(--theme-success-box-shadow),var(--theme-success-background-glow-high-contrast)","info":"var(--theme-info-base),var(--theme-info-background),var(--theme-info-dark),var(--theme-info-hover),var(--theme-info-active),var(--theme-info-invert),var(--theme-info-box-shadow),var(--theme-info-background-glow-high-contrast)","warning":"var(--theme-warning-base),var(--theme-warning-background),var(--theme-warning-dark),var(--theme-warning-hover),var(--theme-warning-active),var(--theme-warning-invert),var(--theme-warning-box-shadow),var(--theme-warning-background-glow-high-contrast)","danger":"var(--theme-danger-base),var(--theme-danger-background),var(--theme-danger-dark),var(--theme-danger-hover),var(--theme-danger-active),var(--theme-danger-invert),var(--theme-danger-box-shadow),var(--theme-danger-background-glow-high-contrast)"},"$color-index-base":"1","$color-index-background":"2","$color-index-dark":"3","$color-index-hover":"4","$color-index-active":"5","$color-index-invert":"6","$color-index-box-shadow":"7","$color-index-background-glow-high-contrast":"8"}},"direction":{"name":"direction","location":"/css/src/tokens/direction.scss","tokens":{"$user-text-direction":"ltr","$user-left":"left","$user-right":"right","$user-translate-x-direction":"1","$directions":{"top":"top","right":"right","bottom":"bottom","left":"left"},"$logical-directions":{"top":"block-start","right":"inline-end","bottom":"block-end","left":"inline-start"}}},"display":{"name":"display","location":"/css/src/tokens/display.scss","tokens":{"$displays":"block, flex, inline, inline-block, inline-flex, grid, none"}},"focus":{"name":"focus","location":"/css/src/tokens/focus.scss","tokens":{"$focus-width":"0.125rem","$focus-style":"dashed","$focus-outline-offset":"0.25rem","$focus-visible-use-polyfill":false}},"font-stack":{"name":"font-stack","location":"/css/src/tokens/font-stack.scss","tokens":{"$monospace-font-stack":"SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace","$normal-font-stack":"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji","$quote-font-stack":"Arial, Helvetica Neue, Helvetica, sans-serif"}},"layout":{"name":"layout","location":"/css/src/tokens/layout.scss","tokens":{"$column-gap":"0.75rem","$large-column-gap":"1.5rem","$reading-max-width":"50rem","$layout-gap":"16px","$layout-widescreen-width":"1768px","$layout-widescreen-gap":"calc(50% - 1768px / 2)"}},"palette":{"name":"palette","location":"/css/src/tokens/palette.scss","tokens":{"$palette-grey-10":"#fafafa","$palette-grey-20":"#f2f2f2","$palette-grey-30":"#e6e6e6","$palette-grey-40":"#d2d2d2","$palette-grey-50":"#bcbcbc","$palette-grey-60":"#a2a2a2","$palette-grey-70":"#8e8e8e","$palette-grey-80":"#757575","$palette-grey-90":"#505050","$palette-grey-100":"#404040","$palette-grey-110":"#2f2f2f","$palette-grey-120":"#171717","$palette-grey-130":"#161616","$palette-black":"#000","$palette-black-opacity-90":"hsla(0deg, 0%, 0%, 0.9)","$palette-black-opacity-80":"hsla(0deg, 0%, 0%, 0.8)","$palette-black-opacity-70":"hsla(0deg, 0%, 0%, 0.7)","$palette-black-opacity-60":"hsla(0deg, 0%, 0%, 0.6)","$palette-black-opacity-50":"hsla(0deg, 0%, 0%, 0.5)","$palette-black-opacity-40":"hsla(0deg, 0%, 0%, 0.4)","$palette-black-opacity-30":"hsla(0deg, 0%, 0%, 0.3)","$palette-black-opacity-20":"hsla(0deg, 0%, 0%, 0.2)","$palette-black-opacity-10":"hsla(0deg, 0%, 0%, 0.1)","$palette-black-opacity-0":"hsla(0deg, 0%, 0%, 0)","$palette-white":"#fff","$palette-white-opacity-0":"hsla(0deg, 0%, 100%, 0)","$palette-white-opacity-10":"hsla(0deg, 0%, 100%, 0.1)","$palette-white-opacity-20":"hsla(0deg, 0%, 100%, 0.2)","$palette-white-opacity-30":"hsla(0deg, 0%, 100%, 0.3)","$palette-white-opacity-40":"hsla(0deg, 0%, 100%, 0.4)","$palette-white-opacity-50":"hsla(0deg, 0%, 100%, 0.5)","$palette-white-opacity-60":"hsla(0deg, 0%, 100%, 0.6)","$palette-white-opacity-70":"hsla(0deg, 0%, 100%, 0.7)","$palette-white-opacity-80":"hsla(0deg, 0%, 100%, 0.8)","$palette-white-opacity-90":"hsla(0deg, 0%, 100%, 0.9)","$palette-black-opacity-108":"hsla(0deg, 0%, 0%, 0.11)","$palette-black-opacity-132":"hsla(0deg, 0%, 0%, 0.13)","$palette-black-opacity-22":"hsla(0deg, 0%, 0%, 0.22)","$palette-black-opacity-18":"hsla(0deg, 0%, 0%, 0.18)","$palette-white-opacity-108":"hsla(0deg, 0%, 100%, 0.11)","$palette-white-opacity-132":"hsla(0deg, 0%, 100%, 0.13)","$palette-white-opacity-22":"hsla(0deg, 0%, 100%, 0.22)","$palette-white-opacity-18":"hsla(0deg, 0%, 100%, 0.18)","$palette-blue-10":"#d7eaf8","$palette-blue-20":"#9ccbee","$palette-blue-30":"#75b6e7","$palette-blue-40":"#278cda","$palette-blue-50":"#0078d4","$palette-blue-60":"#0065b3","$palette-blue-70":"#00579a","$palette-blue-80":"#004173","$palette-blue-90":"#002b4d","$palette-blue-100":"#000a13","$palette-blue-a":"#9ccbee","$palette-blue-opacity-30":"hsla(206deg, 100%, 35%, 0.3)","$palette-blue-opacity-70":"hsla(206deg, 100%, 35%, 0.7)","$palette-blue-black":"#091f2c","$palette-navy-10":"#dfe5ee","$palette-navy-20":"#c1cbdc","$palette-navy-30":"#a4b2c9","$palette-navy-40":"#899ab5","$palette-navy-50":"#70819f","$palette-navy-60":"#4a5d7e","$palette-navy-70":"#243a5e","$palette-navy-80":"#14294c","$palette-navy-90":"#061329","$palette-navy-100":"#000910","$palette-navy-opacity-30":"hsla(189deg, 52%, 12%, 0.3)","$palette-navy-opacity-70":"hsla(189deg, 52%, 12%, 0.7)","$palette-turqoise-10":"#e9fbff","$palette-turqoise-20":"#bdf5ff","$palette-turqoise-30":"#7becff","$palette-turqoise-40":"#50e6ff","$palette-turqoise-50":"#41b9cf","$palette-turqoise-60":"#328e9f","$palette-turqoise-70":"#28727f","$palette-turqoise-80":"#19474f","$palette-turqoise-90":"#0f2a2f","$palette-turqoise-100":"#050e0f","$palette-green-10":"#dff6dd","$palette-green-20":"#acd7aa","$palette-green-30":"#7cbb7b","$palette-green-40":"#489d48","$palette-green-50":"#2a8b2a","$palette-green-60":"#107c10","$palette-green-70":"#0b6413","$palette-green-80":"#054b16","$palette-green-90":"#05350c","$palette-green-100":"#061a00","$palette-green-opacity-30":"hsla(120deg, 37%, 45%, 0.3)","$palette-green-opacity-70":"hsla(120deg, 37%, 45%, 0.7)","$palette-purple-10":"#efd9fd","$palette-purple-20":"#e0b7fe","$palette-purple-30":"#d59dff","$palette-purple-40":"#ac7ee1","$palette-purple-50":"#9970d3","$palette-purple-60":"#8661c5","$palette-purple-70":"#624991","$palette-purple-80":"#3b2e58","$palette-purple-90":"#201843","$palette-purple-100":"#03002c","$palette-purple-a":"#cd9bcf","$palette-purple-b":"#702573","$palette-purple-c":"#b84dc6","$palette-purple-opacity-30":"hsla(251deg, 47%, 18%, 0.3)","$palette-purple-opacity-70":"hsla(251deg, 47%, 18%, 0.7)","$palette-yellow-10":"#fff4ce","$palette-yellow-20":"#ffe79f","$palette-yellow-30":"#ffdf84","$palette-yellow-40":"#ffcb3f","$palette-yellow-50":"#ffb900","$palette-yellow-60":"#d19501","$palette-yellow-70":"#966802","$palette-yellow-80":"#6a4b16","$palette-yellow-90":"#4f340e","$palette-yellow-100":"#2d1703","$palette-yellow-opacity-30":"hsla(44deg, 100%, 50%, 0.3)","$palette-yellow-opacity-70":"hsla(44deg, 100%, 50%, 0.7)","$palette-yellow-sand":"#e8e6df","$palette-red-10":"#fde7e9","$palette-red-20":"#e5a7a8","$palette-red-30":"#d4797a","$palette-red-40":"#c54f4f","$palette-red-50":"#b62626","$palette-red-60":"#a80000","$palette-red-70":"#870000","$palette-red-80":"#630001","$palette-red-90":"#470001","$palette-red-100":"#290001","$palette-red-opacity-30":"hsla(0deg, 100%, 33%, 0.3)","$palette-red-opacity-70":"hsla(0deg, 100%, 33%, 0.7)","$palette-yellow-high-contrast":"#ff0","$palette-yellow-high-contrast-hover":"#ff3","$palette-visited-high-contrast":"#3cff00"}},"position":{"name":"position","location":"/css/src/tokens/position.scss","tokens":{"$positions":"fixed, absolute, relative, sticky"}},"schemes":{"name":"schemes","location":"/css/src/tokens/schemes.scss","tokens":{"$color-schemes":{"light":"light","dark":"dark","high-contrast":"dark"}}},"shadow":{"name":"shadow","location":"/css/src/tokens/shadow.scss","tokens":{"$box-shadow-light":"0 1.6px 3.6px 0 var(--theme-box-shadow-medium), 0 0.3px 0.9px 0 var(--theme-box-shadow-light)","$box-shadow-medium":"0 3.2px 7.2px 0 var(--theme-box-shadow-medium), 0 0.6px 1.8px 0 var(--theme-box-shadow-light)","$box-shadow-heavy":"0 6.4px 14.4px 0 var(--theme-box-shadow-medium), 0 1.2px 3.6px 0 var(--theme-box-shadow-light)","$box-shadow-extra-heavy":"0 25.6px 57.6px 0 var(--theme-box-shadow-extra-heavy), 0 4.8px 14.4px 0 var(--theme-box-shadow-heavy)"}},"spacing":{"name":"spacing","location":"/css/src/tokens/spacing.scss","tokens":{"$layout-0":"0","$layout-1":"0.5rem","$layout-2":"1rem","$layout-3":"1.5rem","$layout-4":"2rem","$layout-5":"3rem","$layout-6":"4rem","$layout-7":"6rem","$layout-8":"8rem","$spacer-0":"0","$spacer-1":"0.125rem","$spacer-2":"0.25rem","$spacer-3":"0.5rem","$spacer-4":"0.75rem","$spacer-5":"1rem","$spacer-6":"1.25rem","$spacer-7":"1.5rem","$spacer-8":"2rem","$spacer-9":"2.5rem","$spacer-10":"3rem"}},"themes":{"name":"themes","location":"/css/src/tokens/themes.scss","tokens":{"$themes":{"light":{"text":"#161616","text-subtle":"#505050","text-invert":"#fff","text-glow-high-contrast":"#171717","box-shadow-light":"hsla0deg,0%,0%,0.11)","box-shadow-medium":"hsla(0deg,0%,0%,0.13)","box-shadow-heavy":"hsla(0deg,0%,0%,0.18)","box-shadow-extra-heavy":"hsla(0deg,0%,0%,0.22)","overlay":"hsla(0deg,0%,0%,0.7)","overlay-invert":"#fff","body-background":"#fff","body-background-accent":"#e8e6df","body-background-medium":"#f2f2f2","alternate-background":"#171717","alternate-background-medium":"#2f2f2f","card-background":"#fff","border":"#e6e6e6","border-accent":"#e8e6df","border-white-high-contrast":"hsla(0deg,0%,100%,0)","border-yellow-high-contrast":"hsla(0deg,0%,0%,0)","table-header":"#e6e6e6","table-row":"#f2f2f2","table-row-header":"#fafafa","table-border-dark":"#d2d2d2","hover-base":"#2f2f2f","hover-invert":"#fafafa","code-header":"#e6e6e6","code-block":"#f2f2f2","control-border":"#757575","inline-code":"#e6e6e6","code-highlight-background":"#fff4ce","visited":"#624991","score-low-off":"hsla(0deg,100%,33%,0.3)","score-low":"#b62626","score-medium-off":"hsla(44deg,100%,50%,0.3)","score-medium":"#ffb900","score-high-off":"hsla(120deg,37%,45%,0.3)","score-high":"#2a8b2a","hyperlink":"#0065b3","primary-base":"#0078d4","primary-background":"#d7eaf8","primary-background-glow-high-contrast":"#d7eaf8","primary-dark":"#004173","primary-hover":"#0065b3","primary-active":"#00579a","primary-box-shadow":"hsla(206deg,100%,35%,0.3)","primary-invert":"#fff","secondary-base":"#a2a2a2","secondary-background":"#e6e6e6","secondary-background-glow-high-contrast":"#e6e6e6","secondary-dark":"#2f2f2f","secondary-hover":"#d2d2d2","secondary-active":"#d2d2d2","secondary-box-shadow":"hsla(0deg,0%,0%,0.3)","secondary-invert":"#000","tertiary-base":"#243a5e","tertiary-background":"#061329","tertiary-background-glow-high-contrast":"#061329","tertiary-dark":"#a4b2c9","tertiary-hover":"#14294c","tertiary-active":"#70819f","tertiary-box-shadow":"hsla(262deg,46%,17%,0.3)","tertiary-invert":"#fff","success-base":"#107c10","success-background":"#dff6dd","success-background-glow-high-contrast":"#dff6dd","success-dark":"#054b16","success-hover":"#0b6413","success-active":"#054b16","success-box-shadow":"hsla(120deg,37%,45%,0.3)","success-invert":"#fff","info-base":"#8661c5","info-background":"#efd9fd","info-background-glow-high-contrast":"#efd9fd","info-dark":"#3b2e58","info-hover":"#8661c5","info-active":"#624991","info-box-shadow":"hsla(251deg,47%,18%,0.3)","info-invert":"#fff","warning-base":"#ffb900","warning-background":"#fff4ce","warning-background-glow-high-contrast":"#fff4ce","warning-dark":"#6a4b16","warning-hover":"#d19501","warning-active":"#966802","warning-box-shadow":"hsla(44deg,100%,50%,0.3)","warning-invert":"#000","danger-base":"#a80000","danger-background":"#fde7e9","danger-background-glow-high-contrast":"#fde7e9","danger-dark":"#470001","danger-hover":"#870000","danger-active":"#630001","danger-box-shadow":"hsla(0deg,100%,33%,0.3)","danger-invert":"#fff","facepile-red":"#a80000","facepile-teal":"#328e9f","facepile-blue":"#0078d4","gradient-text-purple":"#702573","gradient-text-blue":"#00579a","gradient-vivid-start":"#b84dc6","gradient-vivid-end":"#0078d4"},"dark":{"text":"#e6e6e6","text-subtle":"#d2d2d2","text-invert":"#2f2f2f","text-glow-high-contrast":"#e6e6e6","box-shadow-light":"hsla0deg,0%,0%,0.11)","box-shadow-medium":"hsla(0deg,0%,0%,0.13)","box-shadow-heavy":"hsla(0deg,0%,0%,0.18)","box-shadow-extra-heavy":"hsla(0deg,0%,0%,0.22)","overlay":"hsla(0deg,0%,0%,0.7)","overlay-invert":"#fff","body-background":"#171717","body-background-accent":"#091f2c","body-background-medium":"#2f2f2f","alternate-background":"#f2f2f2","alternate-background-medium":"#fafafa","border":"#404040","border-accent":"#505050","border-white-high-contrast":"hsla(0deg,0%,100%,0)","border-yellow-high-contrast":"hsla(0deg,0%,0%,0)","card-background":"#091f2c","table-header":"#404040","table-row":"#2f2f2f","table-row-header":"#2f2f2f","table-border-dark":"#505050","hover-base":"#d2d2d2","hover-invert":"#2f2f2f","code-header":"#404040","code-block":"#2f2f2f","control-border":"#d2d2d2","inline-code":"#404040","code-highlight-background":"#0b6413","visited":"#ac7ee1","score-low-off":"hsla(0deg,100%,33%,0.7)","score-low":"#b62626","score-medium-off":"hsla(44deg,100%,50%,0.3)","score-medium":"#ffcb3f","score-high-off":"hsla(120deg,37%,45%,0.7)","score-high":"#489d48","hyperlink":"#75b6e7","primary-base":"#75b6e7","primary-background":"#004173","primary-background-glow-high-contrast":"#004173","primary-dark":"#9ccbee","primary-hover":"#278cda","primary-active":"#0078d4","primary-box-shadow":"hsla(206deg,100%,35%,0.3)","primary-invert":"#000","secondary-base":"#757575","secondary-background":"#404040","secondary-background-glow-high-contrast":"#404040","secondary-dark":"#e6e6e6","secondary-hover":"#8e8e8e","secondary-active":"#a2a2a2","secondary-box-shadow":"hsla(0deg,0%,0%,0.7)","secondary-invert":"#fff","tertiary-base":"#404040","tertiary-background":"#171717","tertiary-background-glow-high-contrast":"#171717","tertiary-dark":"#e6e6e6","tertiary-hover":"#505050","tertiary-active":"#757575","tertiary-box-shadow":"hsla(206deg,100%,35%,0.3)","tertiary-invert":"#fff","success-base":"#7cbb7b","success-background":"#054b16","success-background-glow-high-contrast":"#054b16","success-dark":"#dff6dd","success-hover":"#489d48","success-active":"#7cbb7b","success-box-shadow":"hsla(120deg,37%,45%,0.7)","success-invert":"#000","info-base":"#9970d3","info-background":"#3b2e58","info-background-glow-high-contrast":"#3b2e58","info-dark":"#efd9fd","info-hover":"#ac7ee1","info-active":"#d59dff","info-box-shadow":"hsla(251deg,47%,18%,0.7)","info-invert":"#000","warning-base":"#ffb900","warning-background":"#6a4b16","warning-background-glow-high-contrast":"#6a4b16","warning-dark":"#fff4ce","warning-hover":"#ffcb3f","warning-active":"#ffdf84","warning-box-shadow":"hsla(44deg,100%,50%,0.7)","warning-invert":"#000","danger-base":"#e5a7a8","danger-background":"#630001","danger-background-glow-high-contrast":"#630001","danger-dark":"#fde7e9","danger-hover":"#c54f4f","danger-active":"#d4797a","danger-box-shadow":"hsla(0deg,100%,33%,0.7)","danger-invert":"#000","facepile-red":"#c54f4f","facepile-teal":"#50e6ff","facepile-blue":"#278cda","gradient-text-purple":"#cd9bcf","gradient-text-blue":"#9ccbee","gradient-vivid-start":"#b84dc6","gradient-vivid-end":"#75b6e7"},"high-contrast":{"text":"#fff","text-subtle":"#fff","text-invert":"#000","text-glow-high-contrast":"#ff0","box-shadow-light":"hsla0deg,0%,0%,0.11)","box-shadow-medium":"hsla(0deg,0%,0%,0.13)","box-shadow-heavy":"hsla(0deg,0%,0%,0.18)","box-shadow-extra-heavy":"hsla(0deg,0%,0%,0.22)","overlay":"#404040","overlay-invert":"#fff","body-background":"#000","body-background-accent":"#000","body-background-medium":"#000","alternate-background":"#fff","alternate-background-medium":"#fff","border":"#fff","border-accent":"#fff","border-white-high-contrast":"#fff","border-yellow-high-contrast":"#ff0","card-background":"#000","table-header":"#505050","table-row":"#000","table-row-header":"#171717","table-border-dark":"#fff","hover-base":"#ff0","hover-invert":"#000","code-header":"#000","code-block":"#000","control-border":"#fff","inline-code":"#2f2f2f","code-highlight-background":"#0b6413","visited":"#3cff00","score-low-off":"#a80000","score-low":"#fde7e9","score-medium-off":"hsla(44deg,100%,50%,0.7)","score-medium":"#ffe79f","score-high-off":"#107c10","score-high":"#dff6dd","hyperlink":"#ff0","primary-base":"#ff0","primary-background":"#000","primary-background-glow-high-contrast":"#ff0","primary-dark":"#ff0","primary-hover":"#ff3","primary-active":"#ff3","primary-box-shadow":"#fff","primary-invert":"#000","secondary-base":"#e6e6e6","secondary-background":"#000","secondary-background-glow-high-contrast":"#505050","secondary-dark":"#e6e6e6","secondary-hover":"#d2d2d2","secondary-active":"#d2d2d2","secondary-box-shadow":"#e6e6e6","secondary-invert":"#000","tertiary-base":"#fff","tertiary-background":"#000","tertiary-background-glow-high-contrast":"#fff","tertiary-dark":"#fff","tertiary-hover":"#e6e6e6","tertiary-active":"#e6e6e6","tertiary-box-shadow":"#fff","tertiary-invert":"#000","success-base":"#7cbb7b","success-background":"#000","success-background-glow-high-contrast":"#7cbb7b","success-dark":"#acd7aa","success-hover":"#acd7aa","success-active":"#acd7aa","success-box-shadow":"#fff","success-invert":"#000","info-base":"#e0b7fe","info-background":"#000","info-background-glow-high-contrast":"#e0b7fe","info-dark":"#efd9fd","info-hover":"#efd9fd","info-active":"#efd9fd","info-box-shadow":"#fff","info-invert":"#000","warning-base":"#ffe79f","warning-background":"#000","warning-background-glow-high-contrast":"#ffe79f","warning-dark":"#fff4ce","warning-hover":"#fff4ce","warning-active":"#fff4ce","warning-box-shadow":"#fff","warning-invert":"#000","danger-base":"#e5a7a8","danger-background":"#000","danger-background-glow-high-contrast":"#e5a7a8","danger-dark":"#fde7e9","danger-hover":"#fde7e9","danger-active":"#fde7e9","danger-box-shadow":"#fff","danger-invert":"#000","facepile-red":"#d4797a","facepile-teal":"#7becff","facepile-blue":"#75b6e7","gradient-text-purple":"#fff","gradient-text-blue":"#fff","gradient-vivid-start":"#fff","gradient-vivid-end":"#fff"}}}},"typography":{"name":"typography","location":"/css/src/tokens/typography.scss","tokens":{"$document-font-size":"16px","$font-size-9":"0.75rem","$font-size-8":"0.875rem","$font-size-7":"1rem","$font-size-6":"1.125rem","$font-size-5":"1.25rem","$font-size-4":"1.5rem","$font-size-3":"1.75rem","$font-size-2":"2.125rem","$font-size-1":"2.5rem","$font-size-0":"3.375rem","$weight-light":"100","$weight-semilight":"200","$weight-normal":"400","$weight-semibold":"600","$weight-bold":"700","$letter-spacing-medium":"0.125rem","$letter-spacing-wide":"0.225rem"}},"z-index":{"name":"z-index","location":"/css/src/tokens/z-index.scss","tokens":{"$zindex-active":"1","$zindex-hover":"2","$zindex-focus":"3","$zindex-multi":"4","$zindex-dropdown":"1000","$zindex-sticky":"1020","$zindex-fixed":"1030","$zindex-modal-backdrop":"1040","$zindex-modal":"1050","$zindex-popover":"1060","$zindex-tooltip":"1070","$zindex-stretched-link":"1"}}}
package/dist/tokens.ts CHANGED
@@ -110,6 +110,8 @@ export interface ColorsTokens {
110
110
  "$facepile-blue": string;
111
111
  "$gradient-text-purple": string;
112
112
  "$gradient-text-blue": string;
113
+ "$gradient-vivid-start": string;
114
+ "$gradient-vivid-end": string;
113
115
  "$default-hover": string;
114
116
  "$default-hover-invert": string;
115
117
  "$border-white-high-contrast": string;
@@ -421,11 +423,25 @@ export class Convert {
421
423
  }
422
424
  }
423
425
 
424
- function invalidValue(typ: any, val: any, key: any = ''): never {
425
- if (key) {
426
- throw Error(`Invalid value for key "${key}". Expected type ${JSON.stringify(typ)} but got ${JSON.stringify(val)}`);
426
+ function invalidValue(typ: any, val: any, key: any, parent: any = ''): never {
427
+ const prettyTyp = prettyTypeName(typ);
428
+ const parentText = parent ? ` on ${parent}` : '';
429
+ const keyText = key ? ` for key "${key}"` : '';
430
+ throw Error(`Invalid value${keyText}${parentText}. Expected ${prettyTyp} but got ${JSON.stringify(val)}`);
431
+ }
432
+
433
+ function prettyTypeName(typ: any): string {
434
+ if (Array.isArray(typ)) {
435
+ if (typ.length === 2 && typ[0] === undefined) {
436
+ return `an optional ${prettyTypeName(typ[1])}`;
437
+ } else {
438
+ return `one of [${typ.map(a => { return prettyTypeName(a); }).join(", ")}]`;
439
+ }
440
+ } else if (typeof typ === "object" && typ.literal !== undefined) {
441
+ return typ.literal;
442
+ } else {
443
+ return typeof typ;
427
444
  }
428
- throw Error(`Invalid value ${JSON.stringify(val)} for type ${JSON.stringify(typ)}`, );
429
445
  }
430
446
 
431
447
  function jsonToJSProps(typ: any): any {
@@ -446,10 +462,10 @@ function jsToJSONProps(typ: any): any {
446
462
  return typ.jsToJSON;
447
463
  }
448
464
 
449
- function transform(val: any, typ: any, getProps: any, key: any = ''): any {
465
+ function transform(val: any, typ: any, getProps: any, key: any = '', parent: any = ''): any {
450
466
  function transformPrimitive(typ: string, val: any): any {
451
467
  if (typeof typ === typeof val) return val;
452
- return invalidValue(typ, val, key);
468
+ return invalidValue(typ, val, key, parent);
453
469
  }
454
470
 
455
471
  function transformUnion(typs: any[], val: any): any {
@@ -461,17 +477,17 @@ function transform(val: any, typ: any, getProps: any, key: any = ''): any {
461
477
  return transform(val, typ, getProps);
462
478
  } catch (_) {}
463
479
  }
464
- return invalidValue(typs, val);
480
+ return invalidValue(typs, val, key, parent);
465
481
  }
466
482
 
467
483
  function transformEnum(cases: string[], val: any): any {
468
484
  if (cases.indexOf(val) !== -1) return val;
469
- return invalidValue(cases, val);
485
+ return invalidValue(cases.map(a => { return l(a); }), val, key, parent);
470
486
  }
471
487
 
472
488
  function transformArray(typ: any, val: any): any {
473
489
  // val must be an array with no invalid elements
474
- if (!Array.isArray(val)) return invalidValue("array", val);
490
+ if (!Array.isArray(val)) return invalidValue(l("array"), val, key, parent);
475
491
  return val.map(el => transform(el, typ, getProps));
476
492
  }
477
493
 
@@ -481,24 +497,24 @@ function transform(val: any, typ: any, getProps: any, key: any = ''): any {
481
497
  }
482
498
  const d = new Date(val);
483
499
  if (isNaN(d.valueOf())) {
484
- return invalidValue("Date", val);
500
+ return invalidValue(l("Date"), val, key, parent);
485
501
  }
486
502
  return d;
487
503
  }
488
504
 
489
505
  function transformObject(props: { [k: string]: any }, additional: any, val: any): any {
490
506
  if (val === null || typeof val !== "object" || Array.isArray(val)) {
491
- return invalidValue("object", val);
507
+ return invalidValue(l(ref || "object"), val, key, parent);
492
508
  }
493
509
  const result: any = {};
494
510
  Object.getOwnPropertyNames(props).forEach(key => {
495
511
  const prop = props[key];
496
512
  const v = Object.prototype.hasOwnProperty.call(val, key) ? val[key] : undefined;
497
- result[prop.key] = transform(v, prop.typ, getProps, prop.key);
513
+ result[prop.key] = transform(v, prop.typ, getProps, key, ref);
498
514
  });
499
515
  Object.getOwnPropertyNames(val).forEach(key => {
500
516
  if (!Object.prototype.hasOwnProperty.call(props, key)) {
501
- result[key] = transform(val[key], additional, getProps, key);
517
+ result[key] = transform(val[key], additional, getProps, key, ref);
502
518
  }
503
519
  });
504
520
  return result;
@@ -507,10 +523,12 @@ function transform(val: any, typ: any, getProps: any, key: any = ''): any {
507
523
  if (typ === "any") return val;
508
524
  if (typ === null) {
509
525
  if (val === null) return val;
510
- return invalidValue(typ, val);
526
+ return invalidValue(typ, val, key, parent);
511
527
  }
512
- if (typ === false) return invalidValue(typ, val);
528
+ if (typ === false) return invalidValue(typ, val, key, parent);
529
+ let ref: any = undefined;
513
530
  while (typeof typ === "object" && typ.ref !== undefined) {
531
+ ref = typ.ref;
514
532
  typ = typeMap[typ.ref];
515
533
  }
516
534
  if (Array.isArray(typ)) return transformEnum(typ, val);
@@ -518,7 +536,7 @@ function transform(val: any, typ: any, getProps: any, key: any = ''): any {
518
536
  return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val)
519
537
  : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val)
520
538
  : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val)
521
- : invalidValue(typ, val);
539
+ : invalidValue(typ, val, key, parent);
522
540
  }
523
541
  // Numbers can be parsed by Date but shouldn't be.
524
542
  if (typ === Date && typeof val !== "number") return transformDate(val);
@@ -533,6 +551,10 @@ function uncast<T>(val: T, typ: any): any {
533
551
  return transform(val, typ, jsToJSONProps);
534
552
  }
535
553
 
554
+ function l(typ: any) {
555
+ return { literal: typ };
556
+ }
557
+
536
558
  function a(typ: any) {
537
559
  return { arrayItems: typ };
538
560
  }
@@ -649,6 +671,8 @@ const typeMap: any = {
649
671
  { json: "$facepile-blue", js: "$facepile-blue", typ: "" },
650
672
  { json: "$gradient-text-purple", js: "$gradient-text-purple", typ: "" },
651
673
  { json: "$gradient-text-blue", js: "$gradient-text-blue", typ: "" },
674
+ { json: "$gradient-vivid-start", js: "$gradient-vivid-start", typ: "" },
675
+ { json: "$gradient-vivid-end", js: "$gradient-vivid-end", typ: "" },
652
676
  { json: "$default-hover", js: "$default-hover", typ: "" },
653
677
  { json: "$default-hover-invert", js: "$default-hover-invert", typ: "" },
654
678
  { json: "$border-white-high-contrast", js: "$border-white-high-contrast", typ: "" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/atlas-css",
3
- "version": "3.30.0",
3
+ "version": "3.32.0",
4
4
  "description": "Styles backing the Atlas Design System used by Microsoft's Developer Relations.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -73,19 +73,19 @@
73
73
  "license": "MIT",
74
74
  "devDependencies": {
75
75
  "@microsoft/stylelint-config-atlas": "4.0.2",
76
- "@parcel/transformer-sass": "^2.7.0",
77
- "css-tree": "^2.2.1",
78
- "eslint-plugin-security": "^1.5.0",
79
- "fs-extra": "^10.1.0",
80
- "parcel": "^2.7.0",
81
- "lightningcss": "1.16.0",
82
- "prettier": "^2.7.1",
83
- "quicktype-core": "^6.0.62",
76
+ "@parcel/transformer-sass": "^2.8.3",
77
+ "css-tree": "^2.3.1",
78
+ "eslint-plugin-security": "^1.7.1",
79
+ "fs-extra": "^11.1.1",
80
+ "parcel": "^2.8.3",
81
+ "lightningcss": "1.19.0",
82
+ "prettier": "^2.8.7",
83
+ "quicktype-core": "^23.0.19",
84
84
  "grass": "^1.0.2",
85
85
  "sass-export": "^2.1.2",
86
- "stylelint": "^14.13.0",
87
- "stylelint-config-prettier": "^9.0.3",
88
- "stylelint-prettier": "^2.0.0",
86
+ "stylelint": "^14.16.1",
87
+ "stylelint-config-prettier": "^9.0.5",
88
+ "stylelint-prettier": "^3.0.0",
89
89
  "wireit": "^0.9.5"
90
90
  }
91
91
  }
@@ -164,6 +164,10 @@
164
164
 
165
165
  // Alignment
166
166
 
167
+ .text-align-left {
168
+ text-align: start !important;
169
+ }
170
+
167
171
  .text-align-center {
168
172
  text-align: center !important;
169
173
  }
@@ -173,6 +177,10 @@
173
177
  }
174
178
 
175
179
  @include tablet {
180
+ .text-align-left-tablet {
181
+ text-align: start !important;
182
+ }
183
+
176
184
  .text-align-center-tablet {
177
185
  text-align: center !important;
178
186
  }
@@ -181,3 +189,9 @@
181
189
  text-align: end !important;
182
190
  }
183
191
  }
192
+
193
+ // Line height
194
+
195
+ .line-height-normal {
196
+ line-height: 1.3;
197
+ }
@@ -0,0 +1,47 @@
1
+ $banner-background: $info-background !default;
2
+ $banner-padding: $spacer-5 !default;
3
+
4
+ $banner-font-size: $font-size-7 !default;
5
+ $banner-color: $info-dark !default;
6
+
7
+ $banner-border-color: $border-white-high-contrast !default;
8
+ $banner-border-width: $border-width !default;
9
+
10
+ .banner {
11
+ @extend %layout-gap;
12
+
13
+ display: block;
14
+ position: relative;
15
+ outline-color: $text;
16
+ background-color: $banner-background;
17
+ color: $banner-color;
18
+ font-size: $banner-font-size;
19
+ padding-block: $banner-padding;
20
+ word-wrap: break-word;
21
+ word-break: break-word;
22
+ border-block: $banner-border-width solid $banner-border-color;
23
+
24
+ &.is-loading {
25
+ color: transparent;
26
+
27
+ > :first-child {
28
+ margin-inline-start: calc($banner-padding + 0.375em);
29
+ }
30
+
31
+ &::before {
32
+ @include loader;
33
+
34
+ position: absolute;
35
+ border-color: transparent transparent $banner-color $banner-color;
36
+ }
37
+ }
38
+
39
+ a:not(.button) {
40
+ color: currentColor;
41
+ font-weight: $weight-semibold;
42
+
43
+ .theme-high-contrast & {
44
+ color: $hyperlink;
45
+ }
46
+ }
47
+ }
@@ -6,9 +6,7 @@ $button-background-color: $body-background !default;
6
6
  $button-lg-font-size: $font-size-6 !default;
7
7
  $button-sm-font-size: $font-size-8 !default;
8
8
 
9
- $button-icon-font-size: $font-size-8 !default;
10
- $button-icon-sm-font-size: $font-size-9 !default;
11
- $button-icon-lg-font-size: $font-size-7 !default;
9
+ $button-icon-font-size: 0.875em !default;
12
10
 
13
11
  $button-border-color: $text-subtle !default;
14
12
  $button-border-width: $control-border-width !default;
@@ -80,26 +78,14 @@ $button-font-weight: $weight-semibold !default;
80
78
 
81
79
  // Sizes
82
80
 
83
- /* stylelint-disable no-descending-specificity */
84
-
85
81
  &.button-sm {
86
82
  font-size: $button-sm-font-size;
87
-
88
- .icon {
89
- font-size: $button-icon-sm-font-size;
90
- }
91
83
  }
92
84
 
93
85
  &.button-lg {
94
86
  font-size: $button-lg-font-size;
95
-
96
- .icon {
97
- font-size: $button-icon-lg-font-size;
98
- }
99
87
  }
100
88
 
101
- /* stylelint-enable no-descending-specificity */
102
-
103
89
  // Modifiers
104
90
 
105
91
  &.is-disabled,
@@ -1,3 +1,4 @@
1
+ @import './banner.scss';
1
2
  @import './breadcrumbs.scss';
2
3
  @import './button.scss';
3
4
  @import './buttons.scss';
@@ -9,6 +10,7 @@
9
10
  @import './link-button.scss';
10
11
  @import './markdown.scss'; // must be ordered after code-block
11
12
  @import './media.scss';
13
+ @import './notification.scss';
12
14
  @import './icon.scss';
13
15
  @import './image.scss';
14
16
  @import './popover.scss';
@@ -0,0 +1,81 @@
1
+ $notification-background: $secondary-background !default;
2
+ $notification-padding: $spacer-5 !default;
3
+
4
+ $notification-font-size: $font-size-7 !default;
5
+ $notification-color: $text !default;
6
+
7
+ $notification-border-color: $control-border !default;
8
+ $notification-border-width: $border-width !default;
9
+ $notification-border-radius: $border-radius !default;
10
+
11
+ .notification {
12
+ display: block;
13
+ position: relative;
14
+ padding: $notification-padding;
15
+ border: $notification-border-width solid $notification-border-color;
16
+ border-radius: $notification-border-radius;
17
+ outline-color: $text;
18
+ background-color: $notification-background;
19
+ color: $notification-color;
20
+ font-size: $notification-font-size;
21
+ word-wrap: break-word;
22
+ word-break: break-word;
23
+
24
+ @each $name, $color-set in $colors {
25
+ $base: nth($color-set, $color-index-base);
26
+ $dark: nth($color-set, $color-index-dark);
27
+ $background: nth($color-set, $color-index-background);
28
+
29
+ &.notification-#{$name} {
30
+ border-color: $dark;
31
+ background-color: $background;
32
+ color: $dark;
33
+
34
+ &.is-loading::before {
35
+ border-color: transparent transparent $dark $dark;
36
+ }
37
+ }
38
+ }
39
+
40
+ &.is-loading {
41
+ color: transparent;
42
+
43
+ > :first-child {
44
+ margin-inline-start: calc($notification-padding + 0.375em);
45
+ }
46
+
47
+ &::before {
48
+ @include loader;
49
+
50
+ position: absolute;
51
+ inset-block-start: $notification-padding;
52
+ inset-inline-start: $notification-padding;
53
+ border-color: transparent transparent $notification-color $notification-color;
54
+ }
55
+ }
56
+
57
+ .notification-title,
58
+ a:not(.button) {
59
+ color: currentColor;
60
+ font-weight: $weight-semibold;
61
+ }
62
+
63
+ a:not(.button) {
64
+ .theme-high-contrast & {
65
+ color: $hyperlink;
66
+ }
67
+ }
68
+
69
+ .notification-title {
70
+ display: flex;
71
+ align-items: center;
72
+ justify-content: flex-start;
73
+ margin-block-end: $layout-1;
74
+
75
+ .icon {
76
+ flex-shrink: 0;
77
+ align-self: start;
78
+ margin-inline-end: 0.375em;
79
+ }
80
+ }
81
+ }
@@ -32,3 +32,7 @@ fieldset {
32
32
  min-width: 0; // as a replaced element min-width:0 is required to enable it to work in responsive layouts
33
33
  border: none;
34
34
  }
35
+
36
+ ::target-text {
37
+ background-color: $code-highlight-background;
38
+ }
@@ -46,6 +46,8 @@ $facepile-blue: var(--theme-facepile-blue);
46
46
 
47
47
  $gradient-text-purple: var(--theme-gradient-text-purple);
48
48
  $gradient-text-blue: var(--theme-gradient-text-blue);
49
+ $gradient-vivid-start: var(--theme-gradient-vivid-start);
50
+ $gradient-vivid-end: var(--theme-gradient-vivid-end);
49
51
 
50
52
  $default-hover: var(--theme-hover-base);
51
53
  $default-hover-invert: $body-background-medium;
@@ -152,6 +152,7 @@ $palette-purple-100: #03002c !default;
152
152
 
153
153
  $palette-purple-a: #cd9bcf !default;
154
154
  $palette-purple-b: #702573 !default; // light
155
+ $palette-purple-c: #b84dc6 !default;
155
156
 
156
157
  $palette-purple-opacity-30: hsl(251deg 47% 18% / 30%) !default;
157
158
  $palette-purple-opacity-70: hsl(251deg 47% 18% / 70%) !default;
@@ -102,7 +102,9 @@ $themes: (
102
102
  'facepile-teal': $palette-turqoise-60,
103
103
  'facepile-blue': $palette-blue-50,
104
104
  'gradient-text-purple': $palette-purple-b,
105
- 'gradient-text-blue': $palette-blue-70
105
+ 'gradient-text-blue': $palette-blue-70,
106
+ 'gradient-vivid-start': $palette-purple-c,
107
+ 'gradient-vivid-end': $palette-blue-50
106
108
  ),
107
109
  'dark': (
108
110
  'text': $palette-grey-30,
@@ -204,7 +206,9 @@ $themes: (
204
206
  'facepile-teal': $palette-turqoise-40,
205
207
  'facepile-blue': $palette-blue-40,
206
208
  'gradient-text-purple': $palette-purple-a,
207
- 'gradient-text-blue': $palette-blue-a
209
+ 'gradient-text-blue': $palette-blue-a,
210
+ 'gradient-vivid-start': $palette-purple-c,
211
+ 'gradient-vivid-end': $palette-blue-30
208
212
  ),
209
213
  'high-contrast': (
210
214
  'text': $palette-white,
@@ -306,7 +310,9 @@ $themes: (
306
310
  'facepile-teal': $palette-turqoise-30,
307
311
  'facepile-blue': $palette-blue-30,
308
312
  'gradient-text-purple': $white-static,
309
- 'gradient-text-blue': $white-static
313
+ 'gradient-text-blue': $white-static,
314
+ 'gradient-vivid-start': $white-static,
315
+ 'gradient-vivid-end': $white-static
310
316
  )
311
317
  ) !default;
312
318
  //@end-sass-export-section