LearnNewsExamplesServices
Frontmatter
id3604
titleneo theme files: auto-generate css vars
stateClosed
labels
enhancementgood first issuestale
assignees[]
createdAtDec 15, 2022, 11:40 PM
updatedAtSep 14, 2024, 4:26 AM
githubUrlhttps://github.com/neomjs/neo/issues/3604
authortobiu
commentsCount4
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 14, 2024, 4:26 AM

neo theme files: auto-generate css vars

Closed v8.1.0 enhancementgood first issuestale
tobiu
tobiu commented on Dec 15, 2022, 11:40 PM

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.

tobiu added the enhancement label on Dec 15, 2022, 11:40 PM
tobiu
tobiu Dec 15, 2022, 11:40 PM

@maxrahder

tobiu added the good first issue label on Dec 15, 2022, 11:42 PM
tobiu
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 stale label

@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