Title: CSS Variable System (beyond just color) · Issue #221 · ycode/ycode · GitHub
Open Graph Title: CSS Variable System (beyond just color) · Issue #221 · ycode/ycode
X Title: CSS Variable System (beyond just color) · Issue #221 · ycode/ycode
Description: Problem or motivation It can become very messy (and inefficient) to try to manage all styles via classes. With Webflow's recent price increase and the community being very unsatisfied with them, many members will be looking for alternati...
Open Graph Description: Problem or motivation It can become very messy (and inefficient) to try to manage all styles via classes. With Webflow's recent price increase and the community being very unsatisfied with them, ma...
X Description: Problem or motivation It can become very messy (and inefficient) to try to manage all styles via classes. With Webflow's recent price increase and the community being very unsatisfied with them...
Opengraph URL: https://github.com/ycode/ycode/issues/221
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CSS Variable System (beyond just color)","articleBody":"### Problem or motivation\n\nIt can become very messy (and inefficient) to try to manage all styles via classes. With Webflow's recent price increase and the community being very unsatisfied with them, many members will be looking for alternatives to Webflow such as Ycode, but easily managing style variables will be extremely important to them. Plus, Figma relies heavily on variables so it is difficult to go from Figma designs that include variables to a website builder that does not allow for them.\n\n### Proposed solution\n\nA central feature for managing and creating style variables would be a massive boost in efficiency and organization of projects. **Just like Webflow and Figma, variables could include things like:**\n- Color (already in Ycode, thank you!)\n- Font Family\n- REM/EM/PX values (for margin, padding, border width, border radius, width, height, shadow sizing, font size, line height, etc)\n\n**The variables system would also include:**\n- Variable collections (just like Figma/Webflow, ability to create multiple collections of variables for organization reasons and have the ability to create custom \"modes\" for each collection)\n- Variable collection modes (just like Figma/Webflow, the user can create \"modes\" for each collection of variables. Things like \"theme\" to control light/dark/color modes, \"breakpoint\" to auto-adjust text sizing across defined breakpoints for each mode (Webflow has this feature and it is very useful), etc)\n- Ability to set one variable's value to another variables value. This unlocks the ability to have primitive variables that power semantic ones\n- Ability to group variables within a collection. This helps organize things such as \"background colors\" and \"text colors\" within a \"Color Themes\" collection\n\n### Alternatives considered\n\nNice to haves later on:\n- ability write CSS formulas within variables that can take in values from other variables and manipulate them\n\n### Area\n\nVisual Editor\n\n### Additional context\n\n\u003cimg width=\"1484\" height=\"971\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/1a47e8dd-cde2-4976-88f4-52a8a02caca6\" />\n\u003cimg width=\"2186\" height=\"1670\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/b6d56080-489f-4360-a329-415949307e82\" />","author":{"url":"https://github.com/basildesignco","@type":"Person","name":"basildesignco"},"datePublished":"2026-05-14T14:55:00Z","url":"https://github.com/ycode/ycode/issues/221"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f1390086-11b9-feef-0aa8-9f146adf4a5b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 853E:28A255:272905:34441E:6AFE2A0D |
| html-safe-nonce | 8ffd06248942949e9abbdd1b04bc8caba2ddf1ba6c438890f9f85e3125064ef7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTNFOjI4QTI1NToyNzI5MDU6MzQ0NDFFOjZBRkUyQTBEIiwidmlzaXRvcl9pZCI6IjE4Mzk5MDk2MjU3MDU0MDkwMzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 024969f4781b1dd1ee412c8129581ebb93cf7f7e721987c754bc00bc79c6a1a3 |
| hovercard-subject-tag | issue:4446911301 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ycode/ycode/221/issue_layout |
| twitter:image | https://opengraph.githubassets.com/02adb2e52f8e934228680d4cf00c2b7d77ee303e6d68f816a6d5bf0f3900e108/ycode/ycode/issues/221 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02adb2e52f8e934228680d4cf00c2b7d77ee303e6d68f816a6d5bf0f3900e108/ycode/ycode/issues/221 |
| og:image:alt | Problem or motivation It can become very messy (and inefficient) to try to manage all styles via classes. With Webflow's recent price increase and the community being very unsatisfied with them, ma... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | basildesignco |
| hostname | github.com |
| expected-hostname | github.com |
| None | e973f9ec3625f3faad8cac5c2d11a214b7ffe45f3cc563b828459b290ecaeed3 |
| turbo-cache-control | no-preview |
| go-import | github.com/ycode/ycode git https://github.com/ycode/ycode.git |
| octolytics-dimension-user_id | 65892203 |
| octolytics-dimension-user_login | ycode |
| octolytics-dimension-repository_id | 1165452593 |
| octolytics-dimension-repository_nwo | ycode/ycode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1165452593 |
| octolytics-dimension-repository_network_root_nwo | ycode/ycode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1f92c367595b9190e0be293896078033886b1913 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width