[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 :root { 2 // Note: Custom variable values only support SassScript inside `#{}`. 3 4 // Colors 5 // 6 // Generate palettes for full colors, grays, and theme colors. 7 8 @each $color, $value in $colors { 9 --#{$variable-prefix}#{$color}: #{$value}; 10 } 11 12 @each $color, $value in $grays { 13 --#{$variable-prefix}gray-#{$color}: #{$value}; 14 } 15 16 @each $color, $value in $theme-colors { 17 --#{$variable-prefix}#{$color}: #{$value}; 18 } 19 20 @each $color, $value in $theme-colors-rgb { 21 --#{$variable-prefix}#{$color}-rgb: #{$value}; 22 } 23 24 @each $color, $value in $atum-colors { 25 --#{$variable-prefix}#{$color}: #{$value}; 26 } 27 28 --#{$variable-prefix}white-rgb: #{to-rgb($white)}; 29 --#{$variable-prefix}black-rgb: #{to-rgb($black)}; 30 --#{$variable-prefix}body-color-rgb: #{to-rgb($body-color)}; 31 --#{$variable-prefix}body-bg-rgb: #{to-rgb($body-bg)}; 32 33 // Fonts 34 35 // Note: Use `inspect` for lists so that quoted items keep the quotes. 36 // See https://github.com/sass/sass/issues/2383#issuecomment-336349172 37 --#{$variable-prefix}font-sans-serif: #{inspect($font-family-sans-serif)}; 38 --#{$variable-prefix}font-monospace: #{inspect($font-family-monospace)}; 39 --#{$variable-prefix}gradient: #{$gradient}; 40 41 // Root and body 42 // stylelint-disable custom-property-empty-line-before 43 // scss-docs-start root-body-variables 44 @if $font-size-root != null { 45 --#{$variable-prefix}root-font-size: #{$font-size-root}; 46 } 47 --#{$variable-prefix}body-font-family: #{$font-family-base}; 48 --#{$variable-prefix}body-font-size: #{$font-size-base}; 49 --#{$variable-prefix}body-font-weight: #{$font-weight-base}; 50 --#{$variable-prefix}body-line-height: #{$line-height-base}; 51 --#{$variable-prefix}body-color: var(--template-text-dark); 52 @if $body-text-align != null { 53 --#{$variable-prefix}body-text-align: #{$body-text-align}; 54 } 55 --#{$variable-prefix}body-bg: #{$body-bg}; 56 // scss-docs-end root-body-variables 57 // stylelint-enable custom-property-empty-line-before 58 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |