From a3644a542020ee46f9c2899ad218db4709c1e64e Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Tue, 14 May 2019 14:51:08 -0400 Subject: [PATCH] test(theming): update theming tests --- .../components/toolbar/test/colors/index.html | 22 ++++++++ .../themes/test/css-variables/css/dark.css | 17 ++++++ core/src/themes/test/css-variables/index.html | 54 ++++++++++++------- 3 files changed, 75 insertions(+), 18 deletions(-) diff --git a/core/src/components/toolbar/test/colors/index.html b/core/src/components/toolbar/test/colors/index.html index d7662a97e5..e3f62ca3ca 100644 --- a/core/src/components/toolbar/test/colors/index.html +++ b/core/src/components/toolbar/test/colors/index.html @@ -20,8 +20,10 @@ + Solid + Clear @@ -34,8 +36,10 @@ + Outline + Clear @@ -48,8 +52,10 @@ + Solid + Clear @@ -62,8 +68,10 @@ + Outline + Clear @@ -76,8 +84,10 @@ + Solid + Clear @@ -90,8 +100,10 @@ + Outline + Clear @@ -104,8 +116,10 @@ + Solid + Clear @@ -118,8 +132,10 @@ + Solid + Outline @@ -132,8 +148,10 @@ + Solid + Clear @@ -146,8 +164,10 @@ + Solid + Clear @@ -160,8 +180,10 @@ + Solid + Clear diff --git a/core/src/themes/test/css-variables/css/dark.css b/core/src/themes/test/css-variables/css/dark.css index ae546c2485..0b836b752e 100644 --- a/core/src/themes/test/css-variables/css/dark.css +++ b/core/src/themes/test/css-variables/css/dark.css @@ -27,4 +27,21 @@ --ion-item-background: #1b2025; --ion-item-background-activated: #051b35; + + /* Custom Toolbar CSS (optional) */ + --ion-toolbar-background: #000; + --ion-toolbar-border-color: #333; + --ion-toolbar-color: limegreen; + --ion-toolbar-color-activated: rgb(35, 156, 35); } + +/* Customize the Toolbar Segment by Mode */ +.ios { + --ion-toolbar-color-unchecked: limegreen; + --ion-toolbar-color-checked: limegreen; +} + +.md { + --ion-toolbar-color-unchecked: rgba(255, 255, 255, .6); + --ion-toolbar-color-checked: #fff; +} \ No newline at end of file diff --git a/core/src/themes/test/css-variables/index.html b/core/src/themes/test/css-variables/index.html index b879675856..661bcb3f03 100644 --- a/core/src/themes/test/css-variables/index.html +++ b/core/src/themes/test/css-variables/index.html @@ -11,6 +11,8 @@ + +