Sha256: 85f5b0da19cb0d781403a5ee4710687d77c6b38c228a1940d47d37ccc3eb35bb

Contents?: true

Size: 556 Bytes

Versions: 4

Compression:

Stored size: 556 Bytes

Contents

// color-scheme
// Enables color modes for native elements

@include color-mode(light) { color-scheme: light; }

@include color-mode(dark) { color-scheme: dark; }

[data-color-mode] {
  color: var(--color-fg-default);
  background-color: var(--color-canvas-default);
}

// Windows High Contrast mode

// Improves focus state for various components when Windows High Contrast mode is enabled
// stylelint-disable selector-max-type
@media (forced-colors: active) {
  body {
    --color-accent-emphasis: Highlight;
    --color-fg-on-emphasis: LinkText;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-v4-theme-primer-0.12.0 _sass/@primer/css/color-modes/native.scss
jekyll-v4-theme-primer-0.11.0 _sass/@primer/css/color-modes/native.scss
jekyll-v4-theme-primer-0.10.0 _sass/@primer/css/color-modes/native.scss
jekyll-v4-theme-primer-0.9.0 _sass/@primer/css/color-modes/native.scss