Last active
August 28, 2025 09:00
-
-
Save billybonks/38b6cd7087c14dc77deb5a0e9c7150fc to your computer and use it in GitHub Desktop.
last button
Author
billybonks
commented
Aug 28, 2025
LLM Variable exctraction
Extract and organize all CSS variables from this file with the following structure:
1. Group variables by their purpose/component
2. Use indentation to show dependencies (child variables under parent)
3. Mark variables that have no default values or rely on external dependencies with *(no default - external dependency)*
4. Mark variables that fallback to other variables with *(fallback to `--variable-name`)*
5. Show the hierarchy where light/dark variants are children of their main color variable
Format as markdown lists with proper indentation using dashes and sub-bullets.
Example format:
**Component variables:**
- `--main-variable`
- `--main-variable-light`
- `--main-variable-dark`
- `--external-variable` *(no default - external dependency)*
- `--fallback-variable` *(fallback to `--other-variable`)*
This prompt will analyze any CSS file and give you the same structured breakdown of variables with their dependencies and relationships.
⏺ General button variables (used by all):
- --button-font-size
- --button-text-icon-gutter
- --button-padding (no default - external dependency)
- --button-border-radius (no default - external dependency)
- --font-family (no default - external dependency)
- --button-font-weight (fallback to --bold-font-weight)
- --bold-font-weight (no default - external dependency)
Primary button variables (overridden by secondary/destructive):
- --button-primary-font-color
- --button-primary-font-color-light
- --button-primary-font-color-dark
- --button-background-color
- --button-background-color-light
- --button-background-color-dark
Secondary button variables:
- --button-secondary-background-color
- --button-secondary-background-color-light
- --button-secondary-background-color-dark
- --button-secondary-font-color (no default - external dependency)
- --button-secondary-font-color-light
- --button-secondary-font-color-dark
Destructive button variables:
- --button-destructive-background-color
- --button-destructive-background-color-light
- --button-destructive-background-color-dark
- --button-destructive-font-color (no default - external dependency)
- --button-destructive-font-color-light
- --button-destructive-font-color-dark
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment