UNPKG

@blueprintjs/core

Version:

Core styles & components

55 lines (52 loc) • 3.8 kB
/** * Do not edit directly, this file was auto-generated. */ [data-bp-color-scheme="dark"], .bp6-dark { --bp-surface-border-color-default: #ffffff33; --bp-surface-border-color-strong: #ffffff4d; --bp-surface-shadow-0: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2), 0px 0px 10px 0px rgba(0, 0, 0, 0.2); /** Level 0 - border only, inset 0 0 0 1px rgba(white, 20%), 0 0 10px 0 rgba(0,0,0, 20%) */ --bp-surface-shadow-1: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2), 0px 1px 10px 0px rgba(0, 0, 0, 0.2), 0px 1px 10px -1px rgba(0, 0, 0, 0.2); /** Level 1 - subtle elevation with inner highlights */ --bp-surface-shadow-2: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2), 0px 4px 6px -4px rgba(0, 0, 0, 0.5), 0px 10px 30px -5px rgba(0, 0, 0, 0.5); /** Level 2 - standard elevation */ --bp-surface-shadow-3: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2), 0px 20px 25px -5px rgba(0, 0, 0, 0.3), 0px 10px 30px -5px rgba(0, 0, 0, 0.3); /** Level 3 - popover/dialog elevation */ --bp-surface-shadow-4: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2), 0px 25px 60px -12px rgba(0, 0, 0, 0.85); /** Level 4 - maximum elevation */ --bp-surface-color-code: #1114184d; --bp-surface-background-color-default-rest: #111418; --bp-surface-background-color-default-hover: #1c2127; --bp-surface-background-color-default-active: #252a31; --bp-surface-background-color-default-disabled: #111418; --bp-typography-color-muted: var(--bp-palette-gray-4); --bp-typography-color-default-rest: var(--bp-palette-light-gray-5); --bp-typography-color-default-hover: var(--bp-palette-white); --bp-typography-color-default-active: var(--bp-palette-light-gray-4); --bp-typography-color-default-disabled: #abb3bf99; --bp-typography-color-primary-rest: var(--bp-palette-blue-5); --bp-typography-color-primary-hover: var(--bp-palette-blue-5); --bp-typography-color-primary-active: var(--bp-palette-blue-6); --bp-typography-color-primary-disabled: var(--bp-palette-blue-4); --bp-typography-color-success-rest: var(--bp-palette-green-5); --bp-typography-color-success-hover: var(--bp-palette-green-5); --bp-typography-color-success-active: var(--bp-palette-green-6); --bp-typography-color-success-disabled: var(--bp-palette-green-4); --bp-typography-color-warning-rest: var(--bp-palette-orange-5); --bp-typography-color-warning-hover: var(--bp-palette-orange-5); --bp-typography-color-warning-active: var(--bp-palette-orange-6); --bp-typography-color-warning-disabled: var(--bp-palette-orange-4); --bp-typography-color-danger-rest: var(--bp-palette-red-5); --bp-typography-color-danger-hover: var(--bp-palette-red-5); --bp-typography-color-danger-active: var(--bp-palette-red-6); --bp-typography-color-danger-disabled: var(--bp-palette-red-4); } @supports (color: oklch(from var(--any-color) l c h)) { [data-bp-color-scheme="dark"], .bp6-dark { --bp-surface-border-color-default: oklch(from var(--bp-palette-white) l c h / 0.2); --bp-surface-border-color-strong: oklch(from var(--bp-palette-white) l c h / 0.3); --bp-surface-color-code: oklch(from var(--bp-palette-black) l c h / 0.3); --bp-surface-background-color-default-rest: oklch(from var(--bp-intent-default-rest) calc(l * 0.362) calc(c * 0.308) calc(h + -1.44)); --bp-surface-background-color-default-hover: oklch(from var(--bp-intent-default-hover) calc(l * 0.615) calc(c * 0.597) calc(h + -5.29)); --bp-surface-background-color-default-active: oklch(from var(--bp-intent-default-active) calc(l * 0.782) calc(c * 0.84) calc(h + -1.58)); --bp-surface-background-color-default-disabled: oklch(from var(--bp-intent-default-disabled) calc(l * 0.279) calc(c * 0.377) calc(h + -2.74)); --bp-typography-color-default-disabled: oklch(from var(--bp-palette-gray-4) l c h / 0.6); } }