File tree 3 files changed +571
-0
lines changed
3 files changed +571
-0
lines changed Original file line number Diff line number Diff line change @@ -558,6 +558,7 @@ pub fn run(
558
558
// prevent rule conflicts
559
559
scx. style_files . push ( StylePath { path : PathBuf :: from ( "light.css" ) , disabled : false } ) ;
560
560
scx. style_files . push ( StylePath { path : PathBuf :: from ( "dark.css" ) , disabled : true } ) ;
561
+ scx. style_files . push ( StylePath { path : PathBuf :: from ( "ayu.css" ) , disabled : true } ) ;
561
562
562
563
let dst = output;
563
564
scx. ensure_dir ( & dst) ?;
@@ -654,6 +655,12 @@ fn write_shared(
654
655
static_files:: themes:: DARK ,
655
656
options. enable_minification ,
656
657
) ?,
658
+ "ayu" => write_minify (
659
+ & cx. shared . fs ,
660
+ cx. path ( "ayu.css" ) ,
661
+ static_files:: themes:: AYU ,
662
+ options. enable_minification ,
663
+ ) ?,
657
664
_ => {
658
665
// Handle added third-party themes
659
666
let content = try_err ! ( fs:: read( & entry. path) , & entry. path) ;
You can’t perform that action at this time.
0 commit comments