open-index/open-npm huggingface dataset:
npm package: @gallocss/gallo
Description: A classless CSS framework with character.
Author: Chetan Raj
Latest version: 1.0.2

# 🐓 Gallo CSS

[![npm version](https://img.shields.io/npm/v/@gallocss/gallo?color=e8931a)](https://www.npmjs.com/package/@gallocss/gallo)
[![License](https://img.shields.io/badge/license-MIT-e8931a)](./LICENSE.md)

A classless CSS framework with character. Drop in one stylesheet, write semantic HTML, get a beautiful result with three baked-in themes including the signature **Gallo** dark theme.

- 🎨 Three themes — Light, Dark &  Gallo
- 🏷️ Classless — pure semantic HTML
- ⚡ Zero dependencies, zero build step for users
- 📦 ~10 KB minified
- 🎛️ Fully customizable via CSS variables

---

## Quick start

### CDN (fastest)

```html
<!-- Latest minified -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@gallocss/gallo/gallo.min.css">

<!-- Pin to a version -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@gallocss/gallo@1.0.1/gallo.min.css">
```

### npm

```bash
npm install @gallocss/gallo
```

Then in your HTML:
```html
<link rel="stylesheet" href="node_modules/@gallocss/gallo/gallo.min.css">
```

Or import in your CSS/JS bundler:
```css
import "@gallocss/gallo/gallo.css";
```

### Download manually

Grab `gallo.min.css` from the [latest release](https://github.com/gallocss/gallo/releases/latest) and link it in your `<head>`.

---

## Themes

Switch themes by setting `data-theme` on your `<html>` element:

```html
<html data-theme="light">   <!-- default -->
<html data-theme="dark">
<html data-theme="gallo">   <!-- signature warm dark theme -->
```

Toggle with JavaScript:
```js
document.documentElement.dataset.theme = 'dark'
```

Auto-detect system preference:
```js
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
  document.documentElement.dataset.theme = 'dark'
}
```

---

## CSS Variables

All design tokens are CSS custom properties prefixed with `--g-`. Override any of them in your own stylesheet:

```css
:root {
  --g-accent:  hotpink;
  --g-radius:  0px;        /* go full square */
  --g-measure: 80ch;       /* wider line length */
  --g-font:    "Georgia", serif;
}
```

| Token | Description |
|---|---|
| `--g-bg` | Page background |
| `--g-bg-alt` | Alternate background (code, table rows) |
| `--g-surface` | Surface background (cards, dialogs) |
| `--g-border` | Border color |
| `--g-text` | Primary text color |
| `--g-text-muted` | Secondary / muted text |
| `--g-accent` | Accent color (links, buttons, focus) |
| `--g-accent-fg` | Text on accent background |
| `--g-accent-h` | Accent hover state |
| `--g-focus` | Focus ring color (rgba) |
| `--g-danger` | Destructive action color |
| `--g-success` | Success state color |
| `--g-radius` | Base border radius |
| `--g-radius-lg` | Large border radius |
| `--g-font` | Body font stack |
| `--g-mono` | Monospace font stack |
| `--g-sans` | Sans-serif stack (UI elements) |
| `--g-leading` | Line height |
| `--g-measure` | Max line width |
| `--g-form-gap` | Spacing between form elements |

---

## Browser support

Tested on the latest stable versions of Chrome, Firefox, Safari, and Edge.

---

## License

[MIT](./LICENSE)
npm package: @galower/http-client
Description: HTTP client for browser based on fetch/XHR
Latest version: 1.0.0

# HTTP Client (Vanilla JS, Browser)

Axios-like HTTP client for browser apps.

- Uses `fetch` by default.
- Switches to `XMLHttpRequest` only when `onUploadProgress` is provided.
- Supports API methods: `request`, `get`, `delete`, `head`, `options`, `post`, `put`, `patch`.

## Project Structure

- `src/index.js` - default client export
- `src/HttpClient.js` - client class and `createHttpClient`
- `src/adapters/fetchAdapter.js` - fetch transport
- `src/adapters/xhrAdapter.js` - XHR transport
- `example/` - browser demo app (Vite root)

## Scripts

```bash
npm run dev
npm run build
npm run preview
```

## Build Outputs

- `lib/` - package build for installation in other projects
- `dist/` - demo build from `example/`

## Install From GitHub

```bash
npm i github:<your-account>/<your-repo>#v1.0.0
```

Examples:

```bash
npm i github:my-user/http-client#v1.0.0
npm i github:my-user/http-client#main
```

## Publish To npm (optional)

1. Set unique package name in `package.json` (for example `@my-scope/http-client`).
2. Login:

```bash
npm login
```

3. Publish:

```bash
npm publish --access public
```

## Versioning (SemVer)

Use `npm version` to bump version and create git tag:

```bash
npm version patch
npm version minor
npm version major
```

Then push commit + tags:

```bash
git push
git push --tags
```

Recommended release flow:

1. `npm run build`
2. `npm version patch|minor|major`
3. `git push && git push --tags`
4. (optional) `npm publish --access public`
npm package: @galoymoney/client
Description: JavaScript client library for the Galoy stack. This is used in front-end applications like the web and mobile wallets.
Latest version: 0.2.14

# Galoy Client

JavaScript client library for the Galoy stack. This is used in front-end applications like the web and mobile wallets.

## Installation

Install the package with:

```bash
yarn add @galoymoney/client
```

## Usage

### parsePaymentDestination

```js
import { parsePaymentDestination } from "@galoymoney/client"

const { valid, paymentType, amount } = parsePaymentDestination({
  destination: "username or invoice or bitcoin address",
  network: "mainnet", // or signet or regtest
})
```

## Test

Test with Jest framework:

```bash
yarn test
```

## Build

Build production (distribution) files in **dist** folder:

```bash
yarn build
```

## Local development

### using yarn

Run:

```bash
yarn link
```

and in your test project run:

```bash
yarn link @galoymoney/client
```

If you want to remove the symlink, run:

```bash
# in your test project
yarn unlink @galoymoney/client

# in galoymoney/client folder
yarn unlink
```

### using yalc

Run:

```bash
# in galoymoney/client folder
yalc publish
```

in your test project run:

```bash
yalc add @galoymoney/client
```

If you want to remove the symlink, run:

```bash
# in your test project
yalc remove @galoymoney/client
```

to update changes, you have to run <code>yalc publish</code> before run:

```bash
# in your test project
yalc update
```
npm package: @galoymoney/react
Description: A React library for the Galoy stack. This is used in front-end applications like the web and mobile wallets.
Latest version: 0.1.14

# Galoy React components and hooks

A React library for the Galoy stack. This is used in front-end applications like the web and mobile wallets.

## Installation

Install the package:

```bash
yarn add @galoymoney/react
```

## Test

Test with Jest framework:

```bash
yarn test
```

## Build

Build production (distribution) files in **dist** folder:

```bash
yarn build
```

## Local development

Run:

```bash
yarn link
```

and in your test project run:

```bash
yarn link @galoymoney/react
```

If you want to remove the symlink, run:

```bash
# in your test project
yarn unlink @galoymoney/react

# in galoymoney/react folder
yarn unlink
```
npm package: @galoymoney/react-native-geetest-module
Description: A React Native GeeTest module for gt3 that can protect server endpoints.
Author: GaloyMoney
Latest version: 0.1.5

# react-native-geetest-module

A React Native Geetest module for gt3 that can protect server endpoints.

## Installation

```sh
yarn add react-native-geetest-module
```

or

```sh
npm install react-native-geetest-module
```

then

```sh
npx pod-install
```

## App Configuration

#### Android

In `AndroidManifest.xml`:

```xml
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
```

In `proguard-rules.pro`

```
-dontwarn com.geetest.sdk.**
-keep class com.geetest.sdk.**{*;}
```

## Usage

This module requires a server with register (API1) and validation (API2) endpoints.

![Geetest Flow](GeetestFlow.png)

Documentation from Geetest is provided [here](https://docs.geetest.com/captcha/deploy/server/node)

Set up the module in the component that uses Geetest
```js
import * as React from "react"
import {NativeModules, NativeEventEmitter} from "react-native"
import GeetestModule from "react-native-geetest-module";

// ...

const onGeetestDialogResultListener = React.useRef<EventSubscription>()
const onGeetestFailedListener = React.useRef<EventSubscription>()

// ...

React.useEffect(() => {
  GeetestModule.setUp()

  const eventEmitter = new NativeEventEmitter(NativeModules.GeetestModule)

  onGeetestDialogResultListener.current = eventEmitter.addListener(
    "GT3-->onDialogResult-->",
    (event) => {
      const parsedDialogResult = JSON.parse(event.result)
      console.log( "GT3-->onDialogResult-->", parsedDialogResult)
    },
  )

  onGeetestFailedListener.current = eventEmitter.addListener(
    "GT3-->onFailed-->",
    (event) => {
      console.log("GT3-->onFailed->", event.error)
    },
  )

  return () => {
    GeetestModule.tearDown()

    onGeetestDialogResultListener.current?.remove()
    onGeetestFailedListener.current?.remove()
  }
}, [])
```

Call the module with the results from the register request as a json string
```js
GeetestModule.handleRegisteredGeeTestCaptcha(/*
  JSON.stringify({
    success,
    challenge,
    gt,
    new_captcha,
  })
*/)
```

Then use the parsedDialogResult to validate a call to your server's endpoint. 

See the [example](example/src/App.tsx).

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT