1.1.1 • Published 2 months ago
@equinor/fusion-wc-theme v1.1.1
@equinor/fusion-wc-theme
Install
npm install @equinor/fusion-wc-theme
Fusion Web Components are base of Material Web Components, but uses the EDS (Equinor Design System) for styling / theming. This component is necessary to override the css attributes used in MD (material design)
Usage
Vanilla JS/HTML
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>My Example App</title>
</head>
<body>
<!-- Add the Fusion Theme variables to the DOM. -->
<fwc-theme>
<!-- The rest of your app code... -->
<div id="my-app"></div>
</fwc-theme>
<!-- The Fusion Web Components use standard JavaScript modules. -->
<script type="module">
import '@equinor/fusion-wc-theme';
</script>
</body>
</html>
React
import Theme from '@equinor/fusion-wc-theme';
Theme;
export const App => {
return (
<fwc-theme>
<!-- The rest of your react app code. -->
<MyComponent />
</fwc-theme>
);
}
1.1.1
2 months ago
1.1.0
5 months ago
1.0.0
7 months ago
0.2.35
7 months ago
0.2.34
7 months ago
0.2.34-next.0
8 months ago
0.2.34-next.1
8 months ago
0.2.30
1 year ago
0.2.33
11 months ago
0.2.32
11 months ago
0.2.31
1 year ago
0.2.29
1 year ago
0.2.27
1 year ago
0.2.26
2 years ago
0.2.28
1 year ago
0.2.25
2 years ago
0.2.24
2 years ago
0.2.23
2 years ago
0.2.22
2 years ago
0.2.21
2 years ago
0.2.20
2 years ago
0.2.19
3 years ago
0.2.18
3 years ago
0.2.17
3 years ago
0.2.15
3 years ago
0.2.14
3 years ago
0.2.13
3 years ago
0.2.12
3 years ago
0.2.11
3 years ago
0.2.9
3 years ago
0.2.10
3 years ago
0.2.8
3 years ago
0.2.7
3 years ago
0.2.6
3 years ago
0.2.5
3 years ago
0.2.4
3 years ago
0.2.3
3 years ago