Skip to content

Commit

Permalink
Remove unused semi-transparent colors (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatoBeltran authored Nov 20, 2020
1 parent cbfd614 commit 5baf531
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 28 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v8.1.4
### Changed
- Remove unused semi-transparent colors.

## v8.1.3
### Changed
- Update `focus-visible` outline color from `foreground-default` to `foreground-inactive`
Expand Down
2 changes: 1 addition & 1 deletion 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,7 +1,7 @@
{
"name": "@microsoft/azure-iot-ux-fluent-css",
"description": "Azure IoT common styles library for CSS, Colors and Themes",
"version": "8.1.3",
"version": "8.1.4",
"license": "MIT",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
31 changes: 5 additions & 26 deletions src/_colors.css
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
/**
* Common Azure IoT Colors
*/


/**
* These are the colors that are always constant, no matter what the theme is.
*/
:root {
/* Semi-transparent Colors */
--color-dark-transparent-primary: rgba(0, 0, 0, 0.8);
--color-dark-transparent-half: rgba(0, 0, 0, 0.5);
--color-dark-transparent-third: rgba(0, 0, 0, 0.3);
--color-dark-transparent-tenth: rgba(0, 0, 0, 0.1);

--color-light-transparent-primary: rgba(255, 255, 255, 0.8);
--color-light-transparent-half: rgba(255, 255, 255, 0.5);
--color-light-transparent-third: rgba(255, 255, 255, 0.3);
--color-light-transparent-tenth: rgba(255, 255, 255, 0.1);
}

/**
* Import palettes for different supported themes
*/
@import "./themes/color.light";
@import "./themes/color.dark";
/**
* Import palettes for different supported themes
*/
@import "./themes/color.light";
@import "./themes/color.dark";

0 comments on commit 5baf531

Please sign in to comment.