Adding additional duplicate _colors with different file extension (.scss) (#58)

* Adding additional _colors with different file extension (.scss) as iotc is upgrading to node16 and is now using sass instead of node-sass
This commit is contained in:
hmmorales 2023-03-23 10:50:04 -07:00 коммит произвёл GitHub
Родитель d6b96e02f3
Коммит 9f993fbed1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -1,7 +1,10 @@
# CHANGELOG
## v8.2.1
### Changed
- Added an additional instance of _colors with the file extensions .scss as IoTC is now using sass as opposed to node-sass and .scss are required to render styles.
## v8.2.0
## Changed
### Changed
- Updated colors to match fluent colors for light theme
- Added `--color-global-background-severe-warning` and `--color-global-foreground-severe-warning`
- Added `color-scheme` and `accent-color` CSS rules to themes to have a better default browser support.

2
package-lock.json сгенерированный
Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/azure-iot-ux-fluent-css",
"version": "8.2.0",
"version": "8.2.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

Просмотреть файл

@ -1,7 +1,7 @@
{
"name": "@microsoft/azure-iot-ux-fluent-css",
"description": "Azure IoT common styles library for CSS, Colors and Themes",
"version": "8.2.0",
"version": "8.2.1",
"license": "MIT",
"main": "lib/index.js",
"types": "lib/index.d.ts",

5
src/_colors.scss Normal file
Просмотреть файл

@ -0,0 +1,5 @@
/**
* Import palettes for different supported themes
*/
@import "./themes/color.light";
@import "./themes/color.dark";