Frontmatter
| id | 3604 |
| title | neo theme files: auto-generate css vars |
| state | Closed |
| labels | enhancementgood first issuestale |
| assignees | [] |
| createdAt | Dec 15, 2022, 11:40 PM |
| updatedAt | Sep 14, 2024, 4:26 AM |
| githubUrl | https://github.com/neomjs/neo/issues/3604 |
| author | tobiu |
| commentsCount | 4 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 14, 2024, 4:26 AM |
neo theme files: auto-generate css vars

tobiu
Dec 15, 2022, 11:40 PM
@maxrahder

tobiu
Dec 15, 2022, 11:43 PM
added the good first issue label, since this ticket does not require any knowledge about the framework.
@github-actions - 2024-08-30T02:27:36Z
This issue is stale because it has been open for 90 days with no activity.
- 2024-08-30T02:27:36Z @github-actions added the
stalelabel
@github-actions - 2024-09-14T02:26:37Z
This issue was closed because it has been inactive for 14 days since being marked as stale.
- 2024-09-14T02:26:38Z @github-actions closed this issue
we do have boilerplate code inside our theme files:
$neoMap: map-merge($neoMap, ( 'boxlabel-background-color': #323232, 'boxlabel-border' : 0, 'boxlabel-color' : #ddd )); @if $useCssVars == true { :root .neo-theme-dark { // .neo-box-label --boxlabel-background-color: #{neo(boxlabel-background-color)}; --boxlabel-border : #{neo(boxlabel-border)}; --boxlabel-color : #{neo(boxlabel-color)}; } }we should check if the build and watch-themes scripts could auto-generate the part inside the if statement.