autumn-cli 0.6.0

CLI tool for the Autumn web framework
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@import "tailwindcss";

/*
 * Widget component CSS (autumn-field, autumn-submit, autumn-nav, etc.) ships
 * from the framework itself — see `autumn_web::ui::WIDGETS_CSS_PATH`, linked
 * from this project's layout. Add only this app's own custom styles below.
 */

@layer utilities {
  /* Skip-to-content link — visually hidden at rest, revealed on keyboard focus.
     Pair with the skip_link() helper from autumn_web::form. */
  .skip-link {
    @apply absolute -top-full left-0 z-50 px-4 py-2 bg-white text-gray-900 border border-gray-300 rounded-b font-medium text-sm;
  }
  .skip-link:focus {
    @apply top-0 outline-none ring-2 ring-offset-2 ring-blue-500;
  }
}