Skip to content

Commit

Permalink
changed to ESM syntax; fixed missing data-theme; fixed color-scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
feserm committed Dec 12, 2024
1 parent c5f9584 commit 8bb96a3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/basic.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ window.config = {
showProgressBar: true,
showSelectionDefaults: true,
persistance: {
// pdf: 'https://aruna-engine.org/',
pdf: 'https://odrl.gi.denbi.de/',
// roc: 'https://git.nfdi4plants.org/',
// repo: 'https://aruna-engine.org/'
}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="en" data-theme="">
<html lang="en" data-theme="light">
<head>
<meta charset="UTF-8" />

Expand Down
2 changes: 1 addition & 1 deletion src/components/odrl/entity/Duty.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
}) || $odrlObj.obligation.find((r) => {
return r.action === componentConfig.item;
}) || config.general.showSelectionDefaults}
<p class="italic p-2 my-2 bg-neutral-50 rounded-lg">
<p class="italic p-2 my-2 bg-base-300 rounded-lg">
{#if $odrlObj.obligation.find((r) => {
return r.action === componentConfig.item;
})}
Expand Down
2 changes: 1 addition & 1 deletion src/components/odrl/entity/RuleSwitch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
}) || $odrlObj.prohibition.find((r) => {
return r.action === componentConfig.item;
}) || config.general.showSelectionDefaults}
<p class="italic p-2 my-2 bg-neutral-50 rounded-lg">
<p class="italic p-2 my-2 bg-base-300 rounded-lg">
{#if $odrlObj.permission.find((r) => {
return r.action === componentConfig.item;
})}
Expand Down
3 changes: 2 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/** @type {import('tailwindcss').Config} */
import daisyui from "daisyui"
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {},
plugins: [require('daisyui')],
plugins: [daisyui],
daisyui: {
themes: [
{
Expand Down

0 comments on commit 8bb96a3

Please sign in to comment.