Skip to content

Commit

Permalink
feat: add custom palettes to _kendo-palettes(#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
PetroSuch authored Jul 22, 2024
1 parent 2e1211c commit 841f088
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
"nativescript-masked-text-field": "~4.0.3"
},
"devDependencies": {
"@nativescript/webpack": "~2.1.0",
"babel-eslint": "^10.0.3",
"cache-loader": "4.1.0",
"eslint": "6.4.0",
"glob": "7.1.4",
"lazy": "1.0.11",
"@nativescript/webpack": "~2.1.0",
"resolve-url-loader": "3.1.1",
"sass": "~1.77.8",
"sass-lint": "~1.13.1",
Expand Down
5 changes: 5 additions & 0 deletions src/scss/core/primitives/_kendo-palletes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,11 @@ $palettes: (

);

@if (global_variable_exists("palettes-custom")) {
$palettes:map-merge($palettes-custom, $palettes);
}


@function get-base-palette($name) {
@return map-get( $palettes, $name );
}
Expand Down

0 comments on commit 841f088

Please sign in to comment.