![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
flatpickr-bulma-theme
Advanced tools
Bulma theme for flatpickr built with Sass
Install the package using npm.
npm i -D flatpickr-bulma-theme
Import flatpickr-bulma.scss
after importing Bulma.
@import "../node_modules/bulma/bulma";
//...
@import "../node_modules/flatpickr-bulma-theme/flatpickr-bulma";
If you don't need RTL support, you can import
src/sass/flatpickr.scss
instead for smaller file size.
Instead of flatpickr's, include this theme's css in your HTML file
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr-bulma-theme/dist/flatpickr-bulma.min.css">
dist/flatpickr-bulma.css
into your project<link rel="stylesheet" type="text/css" href="_your_css_dir_/flatpickr-bulma.css">
You can use these variables to customize this theme. (For the computed values, see Bulma's document)
Name | Type | Default value |
---|---|---|
$flatpickr-font-size | size | $size-normal |
$flatpickr-month-font-size | size | $size-medium |
$flatpickr-line-height | size | 1.5 |
$flatpickr-day-size | size | 2.5rem |
$flatpickr-month-nav-height | size | 2.25rem |
$flatpickr-weekdays-height | size | $size-small * 1.5 |
$flatpickr-calendar-background | color | $white |
$flatpickr-calendar-border-color | color | rgba($black, 0.1) |
$flatpickr-calendar-shadow | size | 0 2px 3px $flatpickr-calendar-border-color |
$flatpickr-month-background | color | transparent |
$flatpickr-month-foreground | color | $text-strong |
$flatpickr-arrow-hover-color | color | $red |
$flatpickr-weekdays-background | color | transparent |
$flatpickr-weekdays-foreground | color | $text-light |
$flatpickr-day-foreground | color | $text |
$flatpickr-day-hover-background | color | $light |
$flatpickr-today-color | color | $primary |
$flatpickr-today-fg-color | color | $white |
$flatpickr-selected-day-background | color | $link |
$flatpickr-selected-day-foreground | color | $white |
$flatpickr-disabled-color | color | $text-light |
$flatpickr-disabled-border-color | color | transparent |
$flatpickr-disabled-day-foreground | color | $grey-lighter |
The package includes stylesheet for plugins. To use them, simply include the stylesheet file into your project after this theme. You can also customize the stylesheet using the variables.
@import "../node_modules/flatpickr-bulma-theme/src/plugins/confirmDate/confirmDate";
or
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr-bulma-theme/dist/plugins/confirmDate.min.css">
Name | Type | Default value |
---|---|---|
$flatpickr-confirm-height | size | 2.25rem |
$flatpickr-confirm-background | color | $background |
@import "../node_modules/flatpickr-bulma-theme/src/plugins/weekSelect/weekSelect";
or
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr-bulma-theme/dist/plugins/weekSelect.min.css">
Stylesheet for the Shortcut buttons plugin (shortcut-buttons-flatpickr).
@import "../node_modules/flatpickr-bulma-theme/src/plugins/shortcut-buttons-flatpickr/shortcut-buttons-flatpickr";
or
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr-bulma-theme/dist/plugins/shortcut-buttons-flatpickr.min.css">
Name | Type | Default value |
---|---|---|
$flatpickr-scbtns-background | color | $background |
$flatpickr-scbtns-foreground | color | $flatpickr-day-foreground |
$flatpickr-scbtns-button-font-size | size | $size-small |
$flatpickr-scbtns-button-line-height | size | 1.5 |
$flatpickr-scbtns-button-color | color | $grey-darker |
$flatpickr-scbtns-button-background-color | color | $white |
$flatpickr-scbtns-button-border | size | 1px solid $grey-lighter |
$flatpickr-scbtns-button-border-radius | size | $radius-small |
$flatpickr-scbtns-button-padding | size | calc(0.375em - 1px) 0.75em |
$flatpickr-scbtns-button-hover-color | color | $link-hover |
$flatpickr-scbtns-button-hover-border-color | color | $link-hover-border |
$flatpickr-scbtns-button-focus-color | color | $link-focus |
$flatpickr-scbtns-button-focus-border-color | color | $link-focus-border |
$flatpickr-scbtns-button-focus-box-shadow | size | 0 0 0 0.125em rgba($link, 0.25) |
$flatpickr-scbtns-button-active-color | color | $link-active |
$flatpickr-scbtns-button-active-border-color | color | $link-active-border |
FAQs
Flatpicker theme for Bulma
We found that flatpickr-bulma-theme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.