File: init.scss

package info (click to toggle)
cockpit 358-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 317,272 kB
  • sloc: javascript: 775,788; python: 41,626; ansic: 33,970; cpp: 11,141; sh: 3,566; makefile: 581; xml: 262
file content (33 lines) | stat: -rw-r--r-- 1,816 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// stylelint-disable scss/dollar-variable-pattern
$version-root: 6 !default;

// Patternfly options
$pf-global--namespace: 'pf-' !default;
$pf-global--version: 'v#{$version-root}-' !default;

// Namespace prefix and version
$pf-prefix: #{$pf-global--namespace} + #{$pf-global--version} !default;

// Global variable, namespace prefix and version
$pf-global: #{$pf-prefix} + 'global' !default;
// stylelint-enable

// Thematic variables
// stylelint-disable scss/dollar-variable-pattern
$pf-global--theme--namespace: $pf-global--namespace !default;
$pf-global--theme--version: $pf-global--version !default;
$pf-global--theme-dark--class: 'theme-dark' !default;
$pf-global--theme-dark--placeholder--class: 't-dark' !default;
$pf-global--theme-light--class: 'theme-light' !default;
$pf-global--theme-light--placeholder--class: 't-light' !default;
// stylelint-enable

// Dark theme versioned variables
$pf-v6--theme-dark--class: '.' + #{$pf-global--theme--namespace} + #{$pf-global--theme--version} + #{$pf-global--theme-dark--class} !default; // include the operator here
$pf-v6--theme-dark--target: '' !default; // include the operator here
$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

// Light theme versioned variables
$pf-v6--theme-light--class: '.' + #{$pf-global--theme--namespace} + #{$pf-global--theme--version} + #{$pf-global--theme-light--class} !default; // include the operator here
$pf-v6--theme-light--target: '' !default; // include the operator here
$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