Socket
Socket
Sign inDemoInstall

@hig/themes

Package Overview
Dependencies
Maintainers
5
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/themes - npm Package Compare versions

Comparing version 0.1.0-alpha.af7ea4ff to 0.1.0-alpha.b668624b

src/themes/HIGDarkBlueTheme.js

7

build/index.es.js

@@ -9,2 +9,7 @@ import PropTypes from 'prop-types';

var HIGDarkBlueTheme = {
themeId: 'hig-dark-blue',
themeClass: 'hig--dark-blue-theme'
};
var MatrixTheme = {

@@ -116,2 +121,2 @@ themeId: 'matrix',

export { HIGLightTheme, MatrixTheme, index as ThemeContext };
export { HIGLightTheme, HIGDarkBlueTheme, MatrixTheme, index as ThemeContext };

@@ -15,2 +15,7 @@ 'use strict';

var HIGDarkBlueTheme = {
themeId: 'hig-dark-blue',
themeClass: 'hig--dark-blue-theme'
};
var MatrixTheme = {

@@ -123,3 +128,4 @@ themeId: 'matrix',

exports.HIGLightTheme = HIGLightTheme;
exports.HIGDarkBlueTheme = HIGDarkBlueTheme;
exports.MatrixTheme = MatrixTheme;
exports.ThemeContext = index;

11

package.json
{
"name": "@hig/themes",
"version": "0.1.0-alpha.af7ea4ff",
"version": "0.1.0-alpha.b668624b",
"description": "HIG theme definitions and supporting components",

@@ -8,7 +8,12 @@ "author": "Autodesk Inc.",

"homepage": "https://hig.autodesk.com",
"publishConfig": {
"access": "public"
},
"main": "build/index.js",
"module": "build/index.es.js",
"devDependencies": {
"@hig/scripts": "0.2.0-alpha.af7ea4ff",
"@hig/styles": "0.1.0-alpha.af7ea4ff"
"@hig/babel-preset": "0.2.0-alpha.b668624b",
"@hig/banner": "0.2.0-alpha.b668624b",
"@hig/scripts": "0.2.0-alpha.b668624b",
"@hig/styles": "0.1.0-alpha.b668624b"
},

@@ -15,0 +20,0 @@ "peerDependencies": {

@@ -5,2 +5,8 @@ # ThemeContext component

## Getting started
```
yarn add @hig/themes
```
## Provide a theme to components

@@ -15,2 +21,2 @@ ```

}
```
```

@@ -13,2 +13,3 @@ import React from "react";

import HIGLightTheme from "../themes/HIGLightTheme";
import HIGDarkBlueTheme from "../themes/HIGDarkBlueTheme";
import MatrixTheme from "../themes/MatrixTheme";

@@ -18,2 +19,3 @@

"hig-light": "HIG Light",
"hig-dark-blue": "HIG Dark Blue",
"matrix": "BIM360 Matrix"

@@ -24,2 +26,3 @@ }

"hig-light": HIGLightTheme,
"hig-dark-blue": HIGDarkBlueTheme,
"matrix": MatrixTheme

@@ -26,0 +29,0 @@ }

export { default as HIGLightTheme } from './themes/HIGLightTheme';
export { default as HIGDarkBlueTheme } from './themes/HIGDarkBlueTheme';
export { default as MatrixTheme } from './themes/MatrixTheme';
export { default as ThemeContext } from './ThemeContext';

@@ -17,2 +17,6 @@ import * as index from "./index";

{
name: "HIGDarkBlueTheme",
value: expect.any(Object)
},
{
name: "MatrixTheme",

@@ -19,0 +23,0 @@ value: expect.any(Object)

export { default as HIGLightTheme } from "./HIGLightTheme";
export { default as HIGDarkBlueTheme } from "./HIGDarkBlueTheme";
export { default as MatrixTheme } from "./MatrixTheme";

@@ -10,2 +10,6 @@ import * as index from "./index";

{
name: "HIGDarkBlueTheme",
value: expect.any(Object)
},
{
name: "MatrixTheme",

@@ -12,0 +16,0 @@ value: expect.any(Object)

@@ -1,4 +0,4 @@

import { HIGLightTheme, MatrixTheme } from "./index";
import { HIGLightTheme, HIGDarkBlueTheme, MatrixTheme } from "./index";
[HIGLightTheme, MatrixTheme].forEach(theme => {
[HIGLightTheme, HIGDarkBlueTheme, MatrixTheme].forEach(theme => {
describe(`${theme}`, () => {

@@ -5,0 +5,0 @@ it("has a themeId", () => {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc