search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

DayPilot.Modal.alert Theme is not working

Asked by Anonymous
4 months ago.

From URL https://code.daypilot.org/11136/javascript-alert-replacement
I tried to apply blue theme on Modal.alert but its not working. I put .blue_* code in a modal_blue.css file and reference this in styles. scss as "@import url('themes/modal_blue.css');"

I used above theme as below but its not working. Screenshot of Modal Alert is giving below
DayPilot.Modal.alert("Hello, World!", { theme: "blue" });

Answer posted by Dan Letecky [DayPilot]
4 months ago.

Have you tried the attached project? It seems to work fine.

You may want to check that the CSS import works correctly and that you are using the latest DayPilot.Modal version from https://code.daypilot.org/81367/daypilot-modal (version 2.6+ is required).

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.