Skip to content

Commit 950f396

Browse files
bundyomanoldonev
authored andcommitted
fix: accents, separate default core styling (#199)
1 parent 787a751 commit 950f396

21 files changed

Lines changed: 70 additions & 60 deletions

app-compat/app.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// other than “light”, switch the path to the alternative scheme,
33
// for example '~@nativescript/theme/scss/dark'.
44
@import '~@nativescript/theme/core.compat';
5+
@import '~@nativescript/theme/default.compat';
56

67
@import '~/assets/css/font-awesome.scss';
78

app-compat/customized.compat.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ $complementary: #F74E2F;
2020

2121
// Skin
2222
$background: #F0EED2;
23-
$text-color: $primary;
2423

2524
// Buttons
2625
$btn-color: $focus;

app/app.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// other than “light”, switch the path to the alternative scheme,
33
// for example '~@nativescript/theme/scss/dark'.
44
@import '~@nativescript/theme/core';
5+
@import '~@nativescript/theme/default';
56

67
@import '~/assets/css/font-awesome.scss';
78

app/customized.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ $complementary: #F74E2F;
1818

1919
// Skin
2020
$background: #F0EED2;
21-
$text-color: $primary;
2221

2322
// Buttons
2423
$btn-color: $focus;

package-lock.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/theme",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"description": "Telerik NativeScript Core Theme",
55
"author": "Telerik <support@telerik.com>",
66
"homepage": "https://www.nativescript.org",
@@ -21,7 +21,7 @@
2121
}
2222
},
2323
"dependencies": {
24-
"@nativescript/core": "^6.2.0-rc-2019-10-17-131337-09",
24+
"@nativescript/core": "6.2.0-rc-2019-10-24-132340-02",
2525
"@nativescript/theme": "./src",
2626
"bootstrap": "4.3.1",
2727
"nativescript-picker": "2.1.2",
@@ -31,7 +31,7 @@
3131
"nativescript-ui-sidedrawer": "7.0.3",
3232
"nativescript-ui-dataform": "5.1.1",
3333
"nativescript-ui-listview": "7.1.0",
34-
"tns-core-modules": "6.2.0-rc-2019-10-23-134734-07"
34+
"tns-core-modules": "6.2.0-rc-2019-10-24-132340-02"
3535
},
3636
"devDependencies": {
3737
"@babel/core": "7.6.4",
@@ -41,7 +41,7 @@
4141
"eslint": "6.4.0",
4242
"glob": "7.1.4",
4343
"lazy": "1.0.11",
44-
"nativescript-dev-webpack": "1.3.0-rc-2019-10-23-165129-02",
44+
"nativescript-dev-webpack": "1.3.0-rc-2019-10-23-205429-04",
4545
"resolve-url-loader": "3.1.0",
4646
"sass": "1.23.0",
4747
"sass-lint": "1.13.1",

src/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
@import './scss/core/index';
2+
@import './scss/index';

src/default.compat.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*!
2+
* NativeScript Compatibility Theme __VERSION__ (https://nativescript.org)
3+
* Copyright 2016-2016 The Theme Authors
4+
* Copyright 2016-2019 Progress Software
5+
* Licensed under Apache 2.0 (https://github.com/NativeScript/theme/blob/master/LICENSE)
6+
*/
7+
8+
$compat: true;
9+
10+
// Default
11+
@import './default';

src/default.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*!
2+
* NativeScript Theme __VERSION__ (https://nativescript.org)
3+
* Copyright 2016-2016 The Theme Authors
4+
* Copyright 2016-2019 Progress Software
5+
* Licensed under Apache 2.0 (https://github.com/NativeScript/theme/blob/master/LICENSE)
6+
*/
7+
8+
// Default
9+
@import './scss/variables/default';
10+
@import './scss/index';

src/scss/_controls.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,13 @@
5959
@include form-fields-skin();
6060

6161
@include input-component-skin(
62-
('NTInput',
63-
'.nt-input')
62+
('.nt-input')
6463
);
6564

6665
@include action-bar-skin(
6766
('ActionBar',
68-
'NTActionBar',
6967
'.nt-action-bar'),
70-
('NTIcon',
71-
'Label',
68+
('Label',
7269
'Button',
7370
'.nt-action-bar__item')
7471
);

0 commit comments

Comments
 (0)