Skip to content

Commit

Permalink
Update tailwind & themes
Browse files Browse the repository at this point in the history
  • Loading branch information
undercode99 committed Jan 30, 2021
1 parent d86afcd commit f78c3c5
Show file tree
Hide file tree
Showing 30 changed files with 18,863 additions and 5,905 deletions.
38 changes: 38 additions & 0 deletions config-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
header:
title: "Jakarta LTE - Free and Open Source Premium Admin Templates with rich UI Kit base on Tailwind CSS"
content:
brand: "Jakarta"
sub_brand: "LTE"
avatar: "./../dist/avatar/nis.png"
profile: "Zero Black Coder"
sub_profile: "Anggota DPR"
lorem:
l6: "Lorem ipsum dolor sit amet"
l5: "Lorem ipsum dolor sit amet, consectetur adipiscing elit"
l4: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. "
l3: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
l2: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident."
l1: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."

config_themes:
- name: "green"
background: "bg-gray-100"
color:
background: "bg-green-500"
background_active: "text-green-500"
background_hover: "hover:bg-green-400"

text: "text-white"
text_active: "text-green-500"

border: "border-green-500"
border_active: "border-green-500"
border_hover: "hover:border-green-400"

active_themes: "green"






18 changes: 9 additions & 9 deletions dist/js/jakarta-lte.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@
* Dropdown
*/
$(function () {
var $dropdownClass = $(".dropdown-toggle");
var $dropdownData = "dropdown";
const $dropdownClass = $(".dropdown-toggle");
const $dropdownData = "dropdown";
$dropdownClass.on("click", function (e) {
e.preventDefault();
var dropdownId = $(this).data($dropdownData);
const dropdownId = $(this).data($dropdownData);
$("#" + dropdownId).toggle();
$dropdownClass.each(function () {
var alldropdown = $(this).data($dropdownData);
if (alldropdown === dropdownId) {
const all_dropdown = $(this).data($dropdownData);
if (all_dropdown === dropdownId) {
return;
}
$("#" + alldropdown).hide();
$("#" + all_dropdown).hide();
});
});
$(document).on("click", function (e) {
e.stopPropagation();
if ($dropdownClass.has(e.target).length === 0) {
$dropdownClass.each(function () {
var dropdownId = $(this).data($dropdownData);
const dropdownId = $(this).data($dropdownData);
$("#" + dropdownId).hide();
});
}
});
$(document).on("keyup", function (e) {
var key = e.key;
const key = e.key;
if (key === "Escape" || key === "Esc" || key === 27) {
$dropdownClass.each(function () {
var dropdownId = $(this).data($dropdownData);
const dropdownId = $(this).data($dropdownData);
$("#" + dropdownId).hide();
});
}
Expand Down
2 changes: 1 addition & 1 deletion dist/js/jakarta-lte.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/libs/apexcharts/apexcharts.amd.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/libs/apexcharts/apexcharts.common.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/libs/apexcharts/apexcharts.esm.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/libs/apexcharts/apexcharts.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit f78c3c5

Please sign in to comment.