@@ -20,6 +20,7 @@ import { cssVarsBlock } from "./sass/add-css-vars.ts";
2020import  {  md5HashBytes  }  from  "./hash.ts" ; 
2121import  {  kSourceMappingRegexes  }  from  "../config/constants.ts" ; 
2222import  {  writeTextFileSyncPreserveMode  }  from  "./write.ts" ; 
23+ import  {  quartoConfig  }  from  "../core/quarto.ts" ; 
2324
2425export  interface  SassVariable  { 
2526  name : string ; 
@@ -107,6 +108,7 @@ export async function compileSass(
107108  // * Rules may use functions, variables, and mixins 
108109  //   (theme follows framework so it can override the framework rules) 
109110  let  scssInput  =  [ 
111+     `// quarto-scss-analysis-annotation { "quarto-version": "${ quartoConfig . version ( ) }  " }` , 
110112    '// quarto-scss-analysis-annotation { "origin": "\'use\' section from format" }' , 
111113    ...frameWorkUses , 
112114    '// quarto-scss-analysis-annotation { "origin": "\'use\' section from Quarto" }' , 
@@ -119,11 +121,11 @@ export async function compileSass(
119121    ...quartoFunctions , 
120122    '// quarto-scss-analysis-annotation { "origin": "\'functions\' section from user-defined SCSS" }' , 
121123    ...userFunctions , 
122-     '// quarto-scss-analysis-annotation { "origin": "user-defined defaults " }' , 
124+     '// quarto-scss-analysis-annotation { "origin": "Defaults from  user-defined SCSS " }' , 
123125    ...userDefaults . reverse ( ) , 
124-     '// quarto-scss-analysis-annotation { "origin": "quarto-specific defaults " }' , 
126+     '// quarto-scss-analysis-annotation { "origin": "Defaults from Quarto\'s SCSS " }' , 
125127    ...quartoDefaults . reverse ( ) , 
126-     '// quarto-scss-analysis-annotation { "origin": "format framework defaults " }' , 
128+     '// quarto-scss-analysis-annotation { "origin": "Defaults from the format SCSS " }' , 
127129    ...frameworkDefaults . reverse ( ) , 
128130    '// quarto-scss-analysis-annotation { "origin": "\'mixins\' section from format" }' , 
129131    ...frameworkMixins , 
0 commit comments