Background: At time of writing, Fomantic-UI is the live-development fork of Semantic-UI which will one day be rolled into Semantic-UI and is for the mean time the de facto supported genus of Semantic-UI.
Fomantic has a capable calendar / date picker, but how can I make it appear with inverted colors?
$('#standard_calendar')
.calendar();
$('#inverted_calendar')
.calendar({
className: {
table: 'ui inverted celled center aligned unstackable table'
}
});
<link href="https://fomantic-ui.com/dist/semantic.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://fomantic-ui.com/dist/semantic.js"></script>
<body>
<div class='daContent'>
<p>
An example of a Fomantic calendar.
</p>
<span>Standard colors calendar</span>
<div class="ui calendar" id="standard_calendar">
<div class="ui input left icon">
<i class="calendar icon"></i>
<input type="text" placeholder="Date/Time">
</div>
</div>
</p>
</body>