Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Repository
nativescript-theme-core/
package-lock.json

# NativeScript
hooks/
node_modules/
Expand Down
6 changes: 6 additions & 0 deletions src/scss/core/_controls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
'.nt-label')
);


@include frame(
('Frame',
'.nt-frame')
);

@include page(
('Page',
'.nt-page')
Expand Down
6 changes: 6 additions & 0 deletions src/scss/mixins/components/_controls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
}
}

@mixin frame($selectors) {
#{$selectors} {
@include colorize($background-color: background);
}
}

@mixin page($selectors) {
#{$selectors} {
@include colorize(
Expand Down