styles

A set of SCSS styling rules for a PatternFly-based interface. SCSS is a stylesheet language that adds reusable features to CSS, and PatternFly is a UI design system.

In plain words
What is it for?
It is for styling interface components with PatternFly theme variables, BEM naming, and project conventions such as avoiding !important.
Why use it?
It keeps spacing, colors, borders, links, and layout styles consistent with the project's theme and dark-mode support.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/kubev2v/forklift-console-plugin/styles
Clone the repo
git clone --depth 1 https://github.com/kubev2v/forklift-console-plugin

Made for: Cursor.

Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,097 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01097
Opus 5 $0.00000 $0.00549
Sonnet 5 $0.00000 $0.00219
Haiku 4.5 $0.00000 $0.00110

Measured 2d ago against content hash f9599c43aecd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

styles scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/styles.mdc · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SCSS Styling Guidelines (Supplement)

For core styling conventions (SCSS preference, BEM methodology, no !important), see AGENTS.md. This rule adds PatternFly theme variable references (version-agnostic) and layout patterns.


1. PatternFly Theme Variables

Use --pf-t--global--* theme tokens (version-agnostic). The project uses these in StorageMapDetailsPage.scss, OverviewPage.scss, and similar files.

Spacing

padding: var(--pf-t--global--spacer--xs);   // 4px
padding: var(--pf-t--global--spacer--sm);   // 8px
padding: var(--pf-t--global--spacer--md);   // 16px
padding: var(--pf-t--global--spacer--lg);   // 24px
padding: var(--pf-t--global--spacer--xl);   // 32px
padding: var(--pf-t--global--spacer--2xl);  // 48px
padding: var(--pf-t--global--spacer--3xl);  // 64px

Colors

// Text
color: var(--pf-t--global--text--color--regular);   // Primary text
color: var(--pf-t--global--text--color--muted);     // Secondary text

// Borders
border-color: var(--pf-t--global--border--color--default);

// Links
color: var(--pf-t--global--link--Color);
color: var(--pf-t--global--link--Color--hover);

// Status (icons, labels) — prefer over hardcoded hex for dark-mode support
color: var(--pf-t--global--color--status--info--default);
color: var(--pf-t--global--color--status--warning--default);
color: var(--pf-t--global--color--status--danger--default);
color: var(--pf-t--global--color--status--success--default);

Typography

font-size: var(--pf-t--global--FontSize--xs);   // 12px
font-size: var(--pf-t--global--FontSize--sm);   // 14px
font-size: var(--pf-t--global--FontSize--md);   // 16px
font-size: var(--pf-t--global--FontSize--lg);   // 18px
font-size: var(--pf-t--global--FontSize--xl);   // 20px
font-size: var(--pf-t--global--FontSize--2xl);  // 24px

font-weight: var(--pf-t--global--FontWeight--normal); // 400
font-weight: var(--pf-t--global--FontWeight--bold);   // 700

Borders & Shadows

border-width: var(--pf-t--global--BorderWidth--sm);   // 1px
border-radius: var(--pf-t--global--BorderRadius--sm);
box-shadow: var(--pf-t--global--BoxShadow--sm);

Read the full file on GitHub · 117 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 117 lines · 0 tokens per session scan A f9599c43aecd

Subscribe to this mod's changes

styles is a cursor rule published in the GitHub repository kubev2v/forklift-console-plugin (11 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,097 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.