Skip to content

Commit

Permalink
SMK Update
Browse files Browse the repository at this point in the history
This updates package.json to consume the latest version of SMK. It also adds the BC Sans font and related styling.
  • Loading branch information
michaelpnelson committed Nov 27, 2024
1 parent e3d2720 commit 323ef97
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
Binary file added assets/BCSans-Regular.woff
Binary file not shown.
11 changes: 10 additions & 1 deletion assets/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
@font-face {
font-family: 'BC Sans';
src: url('BCSans-Regular.woff') format('woff');
}

body {
position: absolute;
top: 0;
Expand All @@ -12,7 +17,11 @@ body {
justify-content: stretch;
align-items: stretch;

font-family: Helvetica,Arial,sans-serif;
font-family: 'BC Sans',Helvetica,Arial,sans-serif;
}

button, input {
font-family: inherit;
}

header {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title></title>
<!-- SMK BOOTSTRAP - - - - - - - -->
<link rel="stylesheet" type="text/css" href="./assets/style.css"/>
<script src="./node_modules/smk/dist/smk.js"></script>
<script src="./node_modules/@bcgov/smk/dist/smk.js"></script>
<!-- - - - - - - - - - - - - - - -->
</head>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Kevin Netherton",
"dependencies": {
"http-server": "^0.12.3",
"smk": "1.0.0-beta.3"
"@bcgov/smk": "1.2.3"
},
"scripts": {
"browse": "http-server -o -c-1 -p 8080"
Expand Down
5 changes: 3 additions & 2 deletions smk-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
],
"zoom": 6.676380220353304
},
"baseMap": "Streets"
"esriApiKey": "<to be provided>",
"baseMap": "bcgov"
},
"layers": [],
"version": "0.9.0-beta.3",
"version": "1.0.1",
"createdBy": "Kevin Netherton",
"createdDate": "2020-08-10T18:46:29.944Z",
"tools": [
Expand Down

0 comments on commit 323ef97

Please sign in to comment.