Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit c4823d1

Browse files
authored
Merge pull request #741 from mrtrimble/rt/platform-ui#692/remove-highlight-and-animate
Remove AnimateCSS and HighlightJS from Platform UI
2 parents b68aded + c4897e6 commit c4823d1

File tree

6 files changed

+14
-33
lines changed

6 files changed

+14
-33
lines changed

gulpfile.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ function css() {
7676
return src([
7777
'node_modules/normalize.css/normalize.css', // normalize.css
7878
'src/assets/stylesheets/sass/main.scss', // platform ui scss
79-
'node_modules/highlight.js/styles/solarized-light.css', // highlight.js
80-
'node_modules/animate.css/animate.min.css' // animate.css
8179
])
8280
.pipe(sass())
8381
.pipe(concat('platform-ui.min.css'))

package-lock.json

Lines changed: 1 addition & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ritterim/platform-ui",
3-
"version": "1.3.12",
3+
"version": "1.3.13",
44
"description": "A CSS framework used by Ritter Insurance Marketing (RIM) for our platform of agent tools.",
55
"homepage": "https://style.rimdev.io",
66
"main": "gulpfile.js",
@@ -39,7 +39,6 @@
3939
"devDependencies": {
4040
"@babel/core": "^7.8.4",
4141
"@babel/preset-env": "^7.8.4",
42-
"animate.css": "^3.7.2",
4342
"autoprefixer": "^9.7.4",
4443
"cssnano": "^5.0.10",
4544
"gulp": "^4.0.2",
@@ -54,7 +53,6 @@
5453
"gulp-sass": "^5.0.0",
5554
"gulp-sourcemaps": "^2.6.5",
5655
"gulp-uglify": "^3.0.2",
57-
"highlight.js": "^10.4.1",
5856
"icon-font-generator": "^2.1.10",
5957
"kss": "3.0.0-beta.25",
6058
"merge-stream": "^2.0.0",

templates/extend/hljs.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

templates/index.hbs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans|Roboto|Inconsolata&display=swap" rel="stylesheet">
1212
<link rel="stylesheet" href="site-assets/stylesheets/platform-ui.min.css">
1313
{{{styles}}}
14+
<link rel="stylesheet"
15+
href="https://unpkg.com/[email protected]/styles/base16/solarized-light.css">
16+
<link
17+
rel="stylesheet"
18+
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
19+
/>
1420

1521
<link rel="apple-touch-icon" sizes="180x180" href="site-assets/images/favicon/apple-touch-icon.png">
1622
<link rel="icon" type="image/png" sizes="32x32" href="site-assets/images/favicon/favicon-32x32.png">
@@ -242,7 +248,10 @@
242248
<!-- SCRIPTS -->
243249

244250
<script src="site-assets/js/platform-ui.min.js"></script>
251+
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/highlight.min.js"></script>
245252
<script>
253+
hljs.highlightAll();
254+
246255
{{!-- Specific JS for tables. Markdown does not
247256
support adding classes --}}
248257
var table = document.querySelectorAll('table');
@@ -254,6 +263,5 @@
254263
255264
</script>
256265
{{{scripts}}}
257-
258266
</body>
259267
</html>

version-history.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Version History
22

33
---
4+
## 1.3.13
5+
- Removed AnimateCSS from Platform UI
6+
- Removed HighlightJS from Platform UI
47
## 1.3.12
58
- Remove z-index from toggle option
69
## 1.3.11

0 commit comments

Comments
 (0)