| 1 |
// stylelint-disable scss/dollar-variable-pattern |
| 2 |
$version-root: 6 !default; |
| 3 |
|
| 4 |
// Patternfly options |
| 5 |
$pf-global--namespace: 'pf-' !default; |
| 6 |
$pf-global--version: 'v#{$version-root}-' !default; |
| 7 |
|
| 8 |
// Namespace prefix and version |
| 9 |
$pf-prefix: #{$pf-global--namespace} + #{$pf-global--version} !default; |
| 10 |
|
| 11 |
// Global variable, namespace prefix and version |
| 12 |
$pf-global: #{$pf-prefix} + 'global' !default; |
| 13 |
// stylelint-enable |
| 14 |
|
| 15 |
// Thematic variables |
| 16 |
// stylelint-disable scss/dollar-variable-pattern |
| 17 |
$pf-global--theme--namespace: $pf-global--namespace !default; |
| 18 |
$pf-global--theme--version: $pf-global--version !default; |
| 19 |
$pf-global--theme-dark--class: 'theme-dark' !default; |
| 20 |
$pf-global--theme-dark--placeholder--class: 't-dark' !default; |
| 21 |
$pf-global--theme-light--class: 'theme-light' !default; |
| 22 |
$pf-global--theme-light--placeholder--class: 't-light' !default; |
| 23 |
// stylelint-enable |
| 24 |
|
| 25 |
// Dark theme versioned variables |
| 26 |
$pf-v6--theme-dark--class: '.' + #{$pf-global--theme--namespace} + #{$pf-global--theme--version} + #{$pf-global--theme-dark--class} !default; // include the operator here |
| 27 |
$pf-v6--theme-dark--target: '' !default; // include the operator here |
| 28 |
$pf-v6--theme-dark--placeholder--class: '.' + #{$pf-global--theme--namespace} + #{$pf-global--theme--version} + #{$pf-global--theme-dark--placeholder--class} !default; // include the operator here |
| 29 |
|
| 30 |
// Light theme versioned variables |
| 31 |
$pf-v6--theme-light--class: '.' + #{$pf-global--theme--namespace} + #{$pf-global--theme--version} + #{$pf-global--theme-light--class} !default; // include the operator here |
| 32 |
$pf-v6--theme-light--target: '' !default; // include the operator here |
| 33 |
$pf-v6--theme-light--placeholder--class: '.' + #{$pf-global--theme--namespace} + #{$pf-global--theme--version} + #{$pf-global--theme-light--placeholder--class} !default; // include the operator here |