catppuccin / logseq

đŸ¦« Soothing pastel theme for Logseq
MIT License
154 stars 3 forks source link

feat: initial release #1

Closed griimick closed 1 year ago

griimick commented 2 years ago

scss partials hierarchy

variable usage

// ctp-<variant>.scss
--ctp-surface1: x, y, z

// theme.scss: apply specific accent if defined else fallback for full-palette
--ctp-color-100: rgb(--ctp-accent, --ctp-surface1)

// ctp-vars.scss: single place to customise the theme (potentially expose this to settings)
--ctp-component-color: var(--ctp-color-100)
--ctp-switch-background: var(--ctp-accent, --ctp-surface1)

// custom.scss: for elements which need custom selectors for customisation
a.ui__toggle > span {
    background-color: var(--ctp-switch-background)
}

// ls-vars.scss: default variables defined and used by logseq
--ls-component-color: var(--ctp-component-color);

Roadmap

Aim is to cover main layout and pages. Target only colors for first release.

Feature and Plugins

Components

griimick commented 2 years ago