Skip to content

Defining variables within dictionary CSS doesn't work well #1907

@Casheeew

Description

@Casheeew

Currently defining something such as:

:root {
    --red: #C00000;
    --light-red: #D96666;
    --gray: #888;
    --hinshi-mark: #444;
    --kakomi-border: #999;
    --metadata-background: #999;
    --example-katsuyou-mark: #666;
    --mark-border: #660;
    --gogi-panel-header: #F9E6E6;
    --ruigo-panel-background: #444;
    --ruigo-panel-border: #AAA;
    --appendix-title-background: #633;
    --gendai-mark: #888;
}

or font-family only seems to work in the Yomitan Popup CSS and not Dictionary CSS.

This may be due to the dictionary CSS having to be scoped to the dictionary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions