project
└───packages
└───ui
├───lib
│ ├───shaders
│ │ └─── shimmer.frag
│ ├───src
│ │ └─── shimmer.dart
│ └───ui.dart
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
| /* | |
| * Custom render object | |
| * https://gist.github.com/PlugFox/58b92cde63e137b0a88ce7666ff0ee88 | |
| * https://dartpad.dev?id=58b92cde63e137b0a88ce7666ff0ee88 | |
| * Mike Matiunin <[email protected]>, 24 June 2025 | |
| */ | |
| // ignore_for_file: cascade_invocations, unnecessary_overrides | |
| import 'dart:async'; |
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 'dart:async'; | |
| import 'package:control/src/mutex.dart'; | |
| /// {@template linked_mutex} | |
| /// A mutex implementation using a linked list of tasks. | |
| /// This allows for synchronizing access to a critical section of code, | |
| /// ensuring that only one task can execute the critical section at a time. | |
| /// {@endtemplate} | |
| class LinkedMutex implements Mutex { |
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 'package:flutter/material.dart'; | |
| import 'package:ui/src/theme/extensions/typography.dart'; | |
| /// Helper widget to display text with the App's typography. | |
| /// | |
| /// https://docs.flutter.dev/ui/design/text/typography | |
| /// https://m3.material.io/styles/typography/overview | |
| /// https://api.flutter.dev/flutter/material/Typography-class.html | |
| /// https://api.flutter.dev/flutter/widgets/Text-class.html | |
| class AppText extends StatelessWidget { |
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
| // ==UserScript== | |
| // @name Auto Scroll Toggle for comick.io | |
| // @namespace plugfox | |
| // @version 1.3 | |
| // @description Toggle auto scroll on and off with a hotkey, and stop on page blur | |
| // @author @plugfox | |
| // @run-at document-idle | |
| // @homepage https://gist.github.com/PlugFox/7315cad8ef028e2751f4a971ca9d59e9 | |
| // @homepageURL https://gist.github.com/PlugFox/7315cad8ef028e2751f4a971ca9d59e9 | |
| // @match *://comick.io/* |
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
| /* Extension to the Kagi CSS */ | |
| /* https://gist.github.com/joshellington/51765a15d8f780089619b638fc6aea6b */ | |
| .logo svg, .app-logo, .doggo_sit_a, .footer { display: none } | |
| .m-h .m-app-logo { display: none } | |
| .top_nav_links, #accountContainer .header_links { display: none } | |
| .search-form .search-submit-wrapper .search-submit-wrapper-inner { display: none } |
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
| :root { | |
| --font-main: "Inter", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |
| --font-lufga: "Inter", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |
| } | |
| .theme_dark, .theme_moon_dark, .theme_moon_dark_conditional { | |
| --app-bg: #181715; | |
| --page-text: #F2E6D7; | |
| --app-text: #F2E6D7; | |
| --primary: #F2E6D7; |
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 'package:flutter/widgets.dart'; | |
| import 'sizer.dart'; | |
| class AdaptiveWidget extends StatefulWidget { | |
| const AdaptiveWidget({ | |
| required this.compactChild, | |
| required this.extendedChild, | |
| this.alignment = Alignment.center, | |
| super.key, | |
| }); |
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
| void main() => runZonedGuarded<void>( | |
| () => runApp(const App()), | |
| (error, stackTrace) => log('Top level exception $error'), | |
| ); | |
| class App extends StatelessWidget { | |
| const App({super.key}); | |
| @override | |
| Widget build(BuildContext context) => MaterialApp( |
NewerOlder