For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { index, prefix, route } from "@react-router/dev/routes"; | |
| import { camelize, pluralize, singularize } from "inflected"; | |
| function createCrud(base = "./views") { | |
| /** | |
| * Create a CRUD route configuration. | |
| * @param name The name of the resource. It will be pluralized for the path. | |
| * @param options The options for the crud. | |
| * @param options.member Extra routes to add to each member. | |
| * @param options.collection Extra routes to add to the collection. |