tahoma2d/stuff/config/qss/Medium/less/themes/Light.less
Jeremy Bullock af90cdedbe
UI update and Icons from Konero (#126)
* add multi arc mockup

* implement mutli arc

* add join and smooth option

* reset multiarc and arc when deactivated

* create self loop if the last point is the same as the first

* make join option in multiarc consistent with tape tool

* fix a bug where thickness don't affect mutliarc in vector level

* remove join option in geometric tool

* stop mutliarc after closing shape

* double click can also end multi arc

* fix a bug where multiArc will produce buggy stroke

* fix a bug where geometric tools is not deactivated

* add multiArc shortcut

* rewrite multiArc

* revert changes to tvectorimage

* add undo data for multiArc

* Paste as Copy Command for XSheet

* Remove unneeded code

* Bug fix

* prevent guide lines from jumping around in MultiArc

* make stroke color consistent in MultiArc

* remove color in MultiArc's undo data

* make color consistent in MultiArc with previous version

* Fix single image raster levels

* fix compilation error

* fix a bug where multiArc might generate bugged stroke

* Remove ICONV dep (#3304)

* fix crash on saving studio palette

* Move to Paste Special Menu

* Don't Set Fixed Width if Docking a Floating Panel

* Update how_to_build_win.md

New draft of pr for requested changes to windows build instructions.

* fix geometric tool multiarc smooth option

* fix level saving failure

* fix wrong warning after saving palette

* fix a bug where moving a control point while holding alt has unintended result

* fix travis-install (#3389)

* Fix assert debug crash in flipconsole.cpp

Fix crash when using the viewer controls in the console (debug)

* Redraw Audio Waveform

Fills the waveform rather than outlines it.

* Update .gitignore

* fix undo data when drawing arc and mutliarc

* fix overwriting raster drawing palette (#3387)

* mode sensitive fx settings

* Create New Style Command Button (#3394)

* Create New Style Command Button

This PR creates a new button in the pallette editor that creates a new style.  Button is large and easy access for a faster and easier workflow.  Original code developed by Turtletooth for Tahoma.  Given permission to develop within Openoonz.

Co-Authored-By: Jeremy Bullock <turtletooth@users.noreply.github.com>

* Update paletteviewergui.cpp

Made changes to the PR per request by Shun.

* Fixed a space within the code that wasn't suppose to be there.

Co-authored-by: Jeremy Bullock <turtletooth@users.noreply.github.com>

* tahoma license (#3396)

* new style button optional

* fix loading pegbars (removing updateKeyframes)

* periodic random expression

* add fx in linear color space
this commit is based on source for the ComposeAdd plugin fx by DWANGO Co., Ltd.
in dwango_opentoonz_plugins and opentoonz_plugin_utility repositories.

* fractal noise iwa fx

* skip unnecessary icon invalidation

* fix frame range fill with tablet

* stop function editor to open by dbl clicking key

* Expanding the radius of the rotation handle.

This just changes when the cursor transforms into the rotation tool.

(cherry picked from commit 7722ae989bbdc6aa5cb48df7a4c08bae1fe6ea39)

* fix vector img patern stroke style

* Update Stylesheets

- Support the new icon sizes
- XSheet and Timeline significantly redesigned
- Lots of margin fixes and refactoring
- Remove deprecated icons, as some icons are moved into binary
- New Light theme

* New Icons

- Redesigns almost every icon as symbolic
- Adds icons for most commands

* Add Option for Icon Themes

- Adds option for icon themes
- Removes useless label from Preferences category list

* Update Icon Functions

- Adds themePath() boolean
- Adds function for recoloring black pixels in pixmaps to any color
- Rebuilds createQIcon to use fromTheme() and recolorPixmap()
- Removes createQIconOnOff as it seemed to be a rarely used duplicate of createQIcon
- Removes a grey horizontal line drawn above the console play bar in the viewer

* Set Default Icon Theme and Paths

- Sets search paths for icons for use with QIcon::fromTheme()
- Sets default start icon theme on first install
- Sets flag for displaying icons in menus, so we can selectively hide them

* Set Icons for Commands

- Sets icons for the commands
- Hides icons being displayed in menus as most icons are 20x20, they will look blurry when shrunk to 16x16
- Selectively allows icons to display for Tools in menus

* Change Icon Sizes, General Fixes and Stylesheet Additions

- Change icon sizes to new size
- Remove margin around FX Editor window
- Remove white line under color sliders in Style Editor
- Make keyframe icons uniform and color stylable in the stylesheets
- Removes deprecated stylesheet strings
- Redesign GUI for palette list view
- Make tree list header sort row stylable
- Remove black lines from scrollbars in New Project window
- Remove margin around combobox in Level Strip
- Alter how some lines are drawn in the Timeline to fix some alpha issues
- Make conditional fixed onion skin and normal onion skin dots contrast more against a light background area to make sure they have good visibility
- Make text always viewable in the FPS field in console bar
- Increase size of radio buttons in Cleanup Settings
- Increase size of switches in motion path nodes
- Remove unessesary "Layer" label in Timeline and other rects
- Various colors made stylable in the stylesheets; palette numpad and selection frame, cleanup settings border, scene cast folder path, schematic lines, ruler, xsheet lines, keyframes, cell input box and more
- Moves some external stylesheet icons into binary

* Make TPanelTitleBar Icon States Stylable

- Makes icon states for TPanelTitleBar buttons stylable in stylesheets

* Travis Fixes

* Swap Startup Popup Logos

They were in the wrong folders

* Revert "Swap Startup Popup Logos"

This reverts commit 815908a9f3e725f48507dab8a2270bdfa045649d.

* Fix Startup Popup Logo

It wasn't switching

* Feedback Changes

- Change render visualization to clapboard
- Fix text contrast on levels in XSheet

* Make Cell Selection More Clear

* Darken Light Theme and Tint Empty Cell Selection

* Fix missing icons

* Fix memo button

* Bring back colors

* Hide Motion Tab

* Fix Play Range Area (Light)

Make play range area more visible

* Vector Column Color

Co-authored-by: pojienie <pojienie@gmail.com>
Co-authored-by: rim <11380091+rozhuk-im@users.noreply.github.com>
Co-authored-by: shun-iwasawa <shun.iwasawa@ghibli.jp>
Co-authored-by: Rodney <rodney.baker@gmail.com>
Co-authored-by: DoctorRyan <65507211+DoctorRyan@users.noreply.github.com>
Co-authored-by: shun-iwasawa <shun-iwasawa@users.noreply.github.com>
Co-authored-by: Kite <konero@users.noreply.github.com>
Co-authored-by: Jeremy Bullock <turtletooth@users.noreply.github.com>
Co-authored-by: DoctorRyan <doctorryan1969.gmail.com>
2020-08-31 12:51:22 -06:00

240 lines
9.7 KiB
Text

// out: ../../../Light/Light.qss
// -----------------------------------------------------------------------------
// LIGHT
// -----------------------------------------------------------------------------
// This inherits from NEUTRAL theme, when updating NEUTRAL make sure to check
// changes against LIGHT.
// -----------------------------------------------------------------------------
// Override
@import 'Neutral.less';
// Resource Location
@img-url: '../Medium/imgs/black';
@bg: #DBDBDB;
@accent: darken(@bg, 20);
@dock-bg-color: darken(@bg, 30);
@hl-bg-color: #a0c1dd;
@hl-text-color: #000;
@hl-bg-color-secondary: darken(@bg, 15);
@dialogButtonFrame-bg-color: @bg;
// -----------------------------------------------------------------------------
// Tabs
// -----------------------------------------------------------------------------
@tabbar-bg-color: darken(@bg, 9);
// -----------------------------------------------------------------------------
// Menu
// -----------------------------------------------------------------------------
@menu-bg-color: @bg;
@menu-checkbox-text-color-selected: @text-color;
@menu-icon-checked-bg-color: @toolbutton-bg-color-checked;
@menu-icon-checked-border-color: @toolbutton-border-color-checked;
// -----------------------------------------------------------------------------
// Scrollbars
// -----------------------------------------------------------------------------
// Container
@scrollbar-bg-color: darken(@bg, 5);
@scrollbar-handle-bg-color: darken(@bg, 28);
@scrollbar-handle-bg-color-hover: darken(@scrollbar-handle-bg-color, 10);
@scrollbar-handle-bg-color-pressed: darken(@scrollbar-handle-bg-color-hover, 15);
// -----------------------------------------------------------------------------
// Titlebars
// -----------------------------------------------------------------------------
@title-text-color: fade(@text-color, 50);
@title-text-color-active: @text-color;
// Title pane icon colors
@title-button-pressed-color: darken(@hl-bg-color, 8);
@title-button-rollover-color: darken(@title-bg-color, 20);
@title-button-freeze-color: #e0625c;
@title-button-preview-color: #2cb856;
// -----------------------------------------------------------------------------
// Button
// -----------------------------------------------------------------------------
@button-bg-color: darken(@bg, 8);
@button-border-color: darken(@button-bg-color, 15);
@button-bg-color-hover: lighten(@button-bg-color, 5);
@button-border-color-checked: darken(@button-bg-color-checked, 15);
@button-text-color-checked: @text-color;
@button-bg-color-disabled: darken(@bg, 4);
@button-border-color-disabled: darken(@button-bg-color-disabled, 10);
@button-bg-color-focus: mix(@hl-bg-color, @button-bg-color, 70);
@button-border-color-focus: darken(@button-bg-color-focus, 10);
// -----------------------------------------------------------------------------
// Tool Buttons
// -----------------------------------------------------------------------------
@toolbutton-border-color-checked: darken(@toolbutton-bg-color-checked, 10);
@toolbutton-bg-color-hover: darken(@bg, 15);
@toolbutton-lock-bg-color-checked: @title-button-freeze-color;
@toolbutton-lock-border-color-checked: darken(@toolbutton-lock-bg-color-checked, 20);
// -----------------------------------------------------------------------------
// Textfield
// -----------------------------------------------------------------------------
@input-bg-color: lighten(@bg, 10);
@input-text-color: #000;
@input-border-color: @accent;
@input-border-color-focus: saturate(darken(@hl-bg-color, 20), 20);
@input-bg-color-disabled: lighten(@bg, 8);
// -----------------------------------------------------------------------------
// CheckBox
// -----------------------------------------------------------------------------
@checkbox-bg-color-hover: lighten(@hl-bg-color, 10);
@checkbox-border-color-hover: darken(@bg, 40);
@checkbox-text-color-hover: @text-color;
@checkbox-bg-color-checked-hover: darken(@bg, 50);
@checkbox-border-color-checked-hover: @checkbox-bg-color-checked-hover;
@checkbox-bg-color-disabled: @bg;
// -----------------------------------------------------------------------------
// Viewer Window
// -----------------------------------------------------------------------------
// FlipSlider
@flipmarker-img: 'flipmarker_light.svg';
@flipslider-img: 'flipslider_light.svg';
@flipslider-base-color: darken(@bg, 10);
@flipslider-notstarted-color: rgb(195, 60, 60);
@flipslider-started-color: rgb(16, 221, 64);
// Ruler
@viewer-ruler-handle-color: black;
@viewer-ruler-handle-drag-color: red;
// -----------------------------------------------------------------------------
// Palette Window
// -----------------------------------------------------------------------------
// All views (except list);
@palette-SelectedBorderColor: rgb(66, 82, 100);
@palette-NumpadShortcutBgColor: rgba(0, 0, 0, 0.15);
@palette-NumpadShortcutBorderColor: rgb(128, 128, 128);
// List view
@palette-ListNumpadShortcutBorderColor: rgb(105, 105, 105);
// -----------------------------------------------------------------------------
// File Browser / Trees
// -----------------------------------------------------------------------------
// Trees
@tree-bg-color: darken(@bg, 5);
@tree-bg-color-alt: lighten(@tree-bg-color, -4);
// -----------------------------------------------------------------------------
// Keyframes
// -----------------------------------------------------------------------------
@keyframe-total-color: #f8a145;
// For use in FX Settings Panels
@keyframe-inbetween-color: #e6dbb6;
@keyframe-modified-color: rgb(243, 226, 129);
// -----------------------------------------------------------------------------
// Slider
// -----------------------------------------------------------------------------
// Single
@slider-groove-img: 'slider-groove_light.svg';
@slider-groove-img-disabled: 'slider-groove_disabled_light.svg';
@slider-handle-img: 'slider-handle_light.svg';
@slider-handle-img-disabled: 'slider-handle_disabled_light.svg';
// This one is used only for #ViewerFpsSlider
@slider-handle-bg-color: lighten(@bg, -10);
@slider-handle-border-color: darken(@bg, 30);
// DoublePairField, IntPairField
@slider-groove-color: darken(@bg, 35);
// -----------------------------------------------------------------------------
// XSheet
// -----------------------------------------------------------------------------
// XSheet Spreadsheet Viewer
@xsheet-bg-color: darken(@bg, 5);
@xsheet-LightLine-color: rgba(0, 0, 0, 0.15);
@xsheet-VerticalLine-color: rgba(0, 0, 0, 0.15);
@xsheet-ColumnIconLine-color: rgb(112, 112, 112);
@xsheet-MarkerLine-color: rgba(0, 0, 0, 0.3);
@xsheet-OnionSkinAreaBG-color: darken(@bg, 10);
@xsheet-PreviewFrameText-color: #2d42b9;
@xsheet-CurrentRowBG-color: saturate(lighten(fade(@hl-bg-color, 70), -8), 8);
@xsheet-VerticalLineHead-color: rgba(0, 0, 0, 0.3);
@xsheet-SelectedColumnHead-color: fade(black, 15);
@xsheet-FoldedColumnBG-color: lighten(@bg, -20);
@xsheet-FoldedColumnLine-color: darken(@bg, 40);
// Level Type Colors Adjustment
@columnBorderDesaturation: 8;
@columnBorderDarkness: 15;
@cellHighlightLightness: 10;
@xsheet-EmptyCell-color: @xsheet-OnionSkinAreaBG-color;
@xsheet-NotEmptyColumn-color: @xsheet-bg-color;
@xsheet-SelectedEmptyCell-color: fade(mix(lighten(@xsheet-EmptyCell-color, -20), @cellHighlightTintColor, 80), 50);
@xsheet-LevelColumn-color: #9ed49e;
@xsheet-VectorColumn-color: #d39ab5;
@xsheet-ChildColumn-color: #cca3cc;
@xsheet-FullColorColumn-color: #b0cbdd;
@xsheet-FxColumn-color: #ceb694;
@xsheet-ReferenceColumn-color: #c2c2c2;
@xsheet-PaletteColumn-color: #a9d4ca;
@xsheet-MeshColumn-color: #b8a2cf;
@xsheet-SoundColumn-color: #aad6d6;
@xsheet-SoundTextColumn-color: #c2c2c2;
@xsheet-ActiveCamera-color: #79b5ee;
@xsheet-OtherCamera-color: #6eb7c2;
// Orientation: Timeline
@timeline-IconLine-color: rgba(0, 0, 0, 0.144);
@timeline-FrameRangeMarkerLine-color: rgba(0, 0, 0, 0.3);
// Orientation: XSheet
@xsheet-CamstandButtonBgOn-color: rgb(255, 166, 131);
@xsheet-PreviewButtonBgOn-color: rgb(233, 233, 127);
// -----------------------------------------------------------------------------
// Schematic Viewer
// -----------------------------------------------------------------------------
// Node Viewer
@schematic-viewer-bg-color: rgb(128, 128, 128);
// Node Type Colors Adjustment
@nodeLightness: 15;
@nodeSaturation: 15;
// -----------------------------------------------------------------------------
// Function Editor
// -----------------------------------------------------------------------------
// Function Curve Panel
@function-panel-bg-color: @schematic-viewer-bg-color;
@function-panel-OtherCurves-color: rgb(218, 218, 218);
@function-panel-Text-color: @text-color;
@function-panel-Sub-color: #fff;
@function-panel-Selected-color: #ffe033;
@function-SelectedKeyFrame-color: mix(shade(@function-KeyFrame-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);