Skip to content

Commit

Permalink
[UI] Add new themes into website (#9926)
Browse files Browse the repository at this point in the history
Added new Dark theme and refreshed Light theme with new components.
  • Loading branch information
martinrrm authored Jun 21, 2024
1 parent bb074ac commit ccd0171
Show file tree
Hide file tree
Showing 159 changed files with 5,508 additions and 1,404 deletions.
14 changes: 3 additions & 11 deletions src/Bootstrap/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ module.exports = function (grunt) {
core: {
src: 'dist/css/<%= pkg.name %>.css'
},
theme: {
src: 'dist/css/<%= pkg.name %>-theme.css'
}
},

cssmin: {
Expand All @@ -141,13 +138,9 @@ module.exports = function (grunt) {
}
},
core: {
src: 'dist/css/<%= pkg.name %>.css',
src: ['dist/css/<%= pkg.name %>.css', 'dist/css/<%= pkg.name %>-theme.css'],
dest: 'dist/css/<%= pkg.name %>.min.css'
},
theme: {
src: 'dist/css/<%= pkg.name %>-theme.css',
dest: 'dist/css/<%= pkg.name %>-theme.min.css'
}
},

copy: {
Expand All @@ -160,8 +153,7 @@ module.exports = function (grunt) {
expand: true,
cwd: 'dist/css/',
src: [
'bootstrap.css',
'bootstrap-theme.css'
'bootstrap.min.css',
],
dest: '../NuGetGallery/Content/gallery/css/'
},
Expand Down Expand Up @@ -191,7 +183,7 @@ module.exports = function (grunt) {
grunt.registerTask('dist-js', ['concat', 'uglify:core']);

// CSS distribution task.
grunt.registerTask('dist-css', ['less:core', 'less:theme', 'postcss:core', 'postcss:theme', 'cssmin:core', 'cssmin:theme']);
grunt.registerTask('dist-css', ['less:core', 'less:theme', 'postcss:core', 'cssmin:core']);

// Full distribution task.
grunt.registerTask('dist', ['clean:dist', 'dist-css', 'copy:fonts', 'dist-js', 'copy:gallerycss', 'copy:galleryjs']);
Expand Down
Loading

0 comments on commit ccd0171

Please sign in to comment.