Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fowles/tooltip] => [master] Remove Boxshadow in Dark Mode #79

Merged
merged 4 commits into from
Sep 29, 2021
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

---

## [10.1.1] - 09-29-2021

### Added

- Added token for the tooltip `boxShadow` to display `'none'` when theme is set to dark.

## [10.1.0] - 09-07-2021

### Added
Expand Down
4 changes: 2 additions & 2 deletions dist/output/css/dark.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
** mx-design-tokens (10.1.0)
**
** css variables auto-generated on 2021-09-07
** css variables auto-generated on 2021-09-28
** from https://github.com/mxenabled/mx-design-tokens to /css/dark.css
*/
:root {
Expand Down Expand Up @@ -90,7 +90,7 @@
--mx-BoxShadow_Focus: 0px 0px 0px 2px rgba(82, 138, 224, 0.8);
--mx-BoxShadow_FocusRingDefault: 0px 0px 0px 2px rgba(82, 138, 224, 0.8);
--mx-BoxShadow_SelectionBoxShadow: none;
--mx-BoxShadow_Tooltip: 0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06);
--mx-BoxShadow_Tooltip: none;
--mx-BorderRadius_Small: 2px;
--mx-BorderRadius_Medium: 4px;
--mx-BorderRadius_Large: 8px;
Expand Down
2 changes: 1 addition & 1 deletion dist/output/css/light.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
** mx-design-tokens (10.1.0)
**
** css variables auto-generated on 2021-09-07
** css variables auto-generated on 2021-09-28
** from https://github.com/mxenabled/mx-design-tokens to /css/light.css
*/
:root {
Expand Down
2 changes: 1 addition & 1 deletion dist/output/json/dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"DropdownMenu": "",
"Modal": "",
"SelectionBoxShadow": "none",
"Tooltip": "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)"
"Tooltip": "none"
},
"BorderRadius": {
"Small": 2,
Expand Down
4 changes: 2 additions & 2 deletions dist/output/md/tokens.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MX Design Tokens

#### <sup><code>mx-design-tokens (10.1.0)</code> &nbsp; _last generated: 2021-09-07_</sup>
#### <sup><code>mx-design-tokens (10.1.0)</code> &nbsp; _last generated: 2021-09-28_</sup>

## 🌞 LIGHT THEME TOKENS

Expand Down Expand Up @@ -626,7 +626,7 @@
| DropdownMenu | &nbsp; |
| Modal | &nbsp; |
| SelectionBoxShadow | none |
| Tooltip | 0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06) |
| Tooltip | none |

---

Expand Down
4 changes: 2 additions & 2 deletions dist/output/scss/dark.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
** mx-design-tokens (10.1.0)
**
** sass variables auto-generated on 2021-09-07
** sass variables auto-generated on 2021-09-28
** from https://github.com/mxenabled/mx-design-tokens to /scss/dark.scss
*/
$Color: (
Expand Down Expand Up @@ -94,7 +94,7 @@ $BoxShadow: (
"Focus": "0px 0px 0px 2px rgba(82, 138, 224, 0.8)",
"FocusRingDefault": "0px 0px 0px 2px rgba(82, 138, 224, 0.8)",
"SelectionBoxShadow": none,
"Tooltip": "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)",
"Tooltip": none,
);
$BorderRadius: (
"Small": 2px,
Expand Down
2 changes: 1 addition & 1 deletion dist/output/scss/light.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
** mx-design-tokens (10.1.0)
**
** sass variables auto-generated on 2021-09-07
** sass variables auto-generated on 2021-09-28
** from https://github.com/mxenabled/mx-design-tokens to /scss/light.scss
*/
$Color: (
Expand Down
4 changes: 3 additions & 1 deletion dist/tokens/boxShadow.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ var dark = function dark(core) {
// Modal
Modal: '',
// SelectionBox
SelectionBoxShadow: 'none'
SelectionBoxShadow: 'none',
// Tooltip
Tooltip: 'none'
});
};

Expand Down
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mx-design-tokens",
"version": "10.1.0",
"version": "10.1.1",
"description": "Design Tokens",
"main": "dist/index.js",
"engines": {
Expand Down
2 changes: 2 additions & 0 deletions src/tokens/boxShadow.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ const dark = (core) => ({
Modal: '',
// SelectionBox
SelectionBoxShadow: 'none',
// Tooltip
Tooltip: 'none',
})

export default {
Expand Down