1.1.2 • Published 10 months ago
@equinor/fusion-wc-theme v1.1.2
@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.2
10 months ago
1.1.1
1 year ago
1.1.0
2 years ago
1.0.0
2 years ago
0.2.35
2 years ago
0.2.34
2 years ago
0.2.34-next.0
2 years ago
0.2.34-next.1
2 years ago
0.2.30
2 years ago
0.2.33
2 years ago
0.2.32
2 years ago
0.2.31
2 years ago
0.2.29
3 years ago
0.2.27
3 years ago
0.2.26
3 years ago
0.2.28
3 years ago
0.2.25
3 years ago
0.2.24
3 years ago
0.2.23
3 years ago
0.2.22
3 years ago
0.2.21
3 years ago
0.2.20
3 years ago
0.2.19
4 years ago
0.2.18
4 years ago
0.2.17
4 years ago
0.2.15
4 years ago
0.2.14
4 years ago
0.2.13
4 years ago
0.2.12
4 years ago
0.2.11
4 years ago
0.2.9
4 years ago
0.2.10
4 years ago
0.2.8
4 years ago
0.2.7
4 years ago
0.2.6
4 years ago
0.2.5
4 years ago
0.2.4
4 years ago
0.2.3
4 years ago